/**
 * DX Studio — layout/css/studio-spa.css  (v2.0.0)
 * 음악 SPA 화면: 홈 · 차트 · 곡 · 아티스트 · 보관함 · 검색 · 스튜디오 게시판 · 글쓰기
 * 색은 studio.css 의 토큰 (--p, --dxs-acc2, --bg-card, --text-main …) → 다크/라이트 자동
 */

/* ── 화면 틀 ─────────────────────────────────── */
.dxs-view { display: block; outline: none; min-height: 60vh; }
.dxs-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 28px 40px; box-sizing: border-box; display: flex; flex-direction: column; gap: 32px; }
.dxs-view.is-full .dxs-wrap { padding-top: 34px; }
.dxs-muted { color: var(--text-muted); }
.dxs-count { font: 600 13px/1 var(--dxs-disp); color: var(--text-muted); margin-left: 4px; }
.dxs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dxs-link { border: 0; background: none; padding: 0; color: var(--text-muted); font: 600 13px var(--dxs-font); cursor: pointer; text-decoration: none; }
.dxs-link:hover { color: var(--p); }
.dxs-link.bad:hover { color: #f43f5e; }
.dxs-more { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.dxs-more:hover { color: var(--p); }
.dxs-sec-act { display: flex; gap: 14px; align-items: baseline; }
.dxs-btn-block { width: 100%; }
.dxs-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; margin-bottom: -12px; }
.dxs-back:hover { color: var(--p); }
.dxs-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 28px 110px; border-top: 1px solid var(--dxs-line); color: var(--text-muted); font-size: 12.5px; }
.dxs-foot nav { display: flex; gap: 16px; }
.dxs-foot a { color: var(--text-muted); text-decoration: none; }
.dxs-foot a:hover { color: var(--p); }
.dxs-skel { display: flex; flex-direction: column; gap: 14px; padding: 34px 28px; max-width: 1200px; margin: 0 auto; }
.dxs-skel i { display: block; height: 120px; border-radius: 18px; background: linear-gradient(90deg, var(--hover-row), var(--bg-card), var(--hover-row)); background-size: 200% 100%; animation: dxs-sh 1.2s linear infinite; }
.dxs-skel i:first-child { height: 320px; }
@keyframes dxs-sh { to { background-position: -200% 0; } }
.dxs-noscript { padding: 40px; text-align: center; }

.dxs-page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dxs-page-h h1 { margin: 8px 0 4px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--text-main); }
.dxs-page-h p { margin: 0; font-size: 13.5px; }
.dxs-page-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.dxs-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--hover-row); width: max-content; max-width: 100%; overflow-x: auto; }
.dxs-tabs a { padding: 8px 16px; border-radius: 10px; color: var(--text-muted); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dxs-tabs a[aria-current] { background: var(--bg-card); color: var(--text-main); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.dxs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dxs-chips a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.dxs-chips a[aria-current] { background: var(--p); border-color: var(--p); color: #fff; }

.dxs-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 20px; text-align: center; color: var(--text-muted); }
.dxs-empty > i { font-size: 30px; opacity: .55; }
.dxs-empty p { margin: 0; line-height: 1.7; }
.dxs-empty-s { margin: 0; padding: 18px 4px; color: var(--text-muted); font-size: 13.5px; list-style: none; }

/* ── 곡 행 ───────────────────────────────────── */
.dxs-rows { list-style: none; margin: 0; padding: 0; }
.dxs-row { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr) 70px 64px; align-items: center; gap: 12px; padding: 7px 10px; margin: 0 -10px; border-radius: 12px; transition: background-color .12s; }
.dxs-rows-sm .dxs-row { grid-template-columns: 26px 42px minmax(0, 1fr) 54px; }
.dxs-row:hover { background: var(--hover-row); }
.dxs-row-no { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dxs-row-no b { font: 700 14px/1 var(--dxs-disp); color: var(--text-main); font-variant-numeric: tabular-nums; }
.dxs-rows-chart .dxs-row:nth-child(-n+3) .dxs-row-no b { color: var(--p); font-size: 17px; }
.dxs-mv { font: 700 9.5px/1 var(--dxs-disp); }
.dxs-mv.up { color: #f43f5e; } .dxs-mv.down { color: #3b82f6; } .dxs-mv.same { color: var(--text-muted); } .dxs-mv.new { color: var(--dxs-acc2); }
.dxs-row-cover { position: relative; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--border); }
.dxs-rows-sm .dxs-row-cover { width: 42px; height: 42px; }
.dxs-row-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); display: block; }
.dxs-row-cover > i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: 13px; opacity: 0; transition: opacity .15s; }
.dxs-row:hover .dxs-row-cover > i, .dxs-row-cover:focus-visible > i { opacity: 1; }
.dxs-mini-eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 12px; background: rgba(0,0,0,.5); }
.dxs-mini-eq i { width: 3px; border-radius: 1px; background: var(--dxs-acc2); animation: dxs-eq 1s ease-in-out infinite; }
.dxs-mini-eq i:nth-child(2) { animation-delay: -.4s; } .dxs-mini-eq i:nth-child(3) { animation-delay: -.7s; }
.dxsp-playing .dxs-mini-eq, .dxsp-playing > .dxs-row-cover .dxs-mini-eq { display: flex; }
.dxsp-playing .dxs-row-cover > i { display: none; }
.dxsp-current .dxs-row-t { color: var(--p); }
.dxs-row-tx { display: flex; flex-direction: column; min-width: 0; }
.dxs-row-t, .dxs-row-a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.dxs-row-t { font-size: 14.5px; font-weight: 700; color: var(--text-main); }
.dxs-row-t:hover { text-decoration: underline; }
.dxs-row-a { font-size: 12.5px; color: var(--text-muted); }
.dxs-row-a:hover { color: var(--text-main); }
.dxs-row-st { font: 500 12px/1 var(--dxs-disp); color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
.dxs-row-st i { font-size: 9px; margin-right: 5px; opacity: .6; }
.dxs-heart { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; border: 0; background: none; color: var(--text-muted); font: 600 12px/1 var(--dxs-disp); cursor: pointer; padding: 6px 0; }
.dxs-heart:hover { color: #fb7185; }
.dxs-heart.on { color: #fb7185; }
.dxs-heart-lg { height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 13px; font-size: 14px; }
.dxs-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

/* ── 곡 카드 ─────────────────────────────────── */
.dxs-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 20px 18px; }
.dxs-cards-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.dxs-cards-scroll > li { flex: 0 0 168px; scroll-snap-align: start; }
.dxs-tcard { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dxs-tcard-art { position: relative; aspect-ratio: 1; margin-bottom: 8px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--border); cursor: pointer; box-shadow: 0 14px 28px -18px rgba(0,0,0,.6); }
.dxs-tcard-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: block; }
.dxs-tcard:hover .dxs-tcard-art img { transform: scale(1.42); }
.dxs-tcard-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--p); color: #fff; font-size: 14px; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.dxs-tcard-play .fa-pause { display: none; }
.dxs-tcard:hover .dxs-tcard-play, .dxs-tcard-art:focus-visible .dxs-tcard-play, .dxs-tcard.dxsp-current .dxs-tcard-play { opacity: 1; transform: none; }
.dxs-tcard.dxsp-playing .fa-play { display: none; } .dxs-tcard.dxsp-playing .fa-pause { display: inline; }
.dxs-tcard-t { font-size: 14px; font-weight: 700; color: var(--text-main); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.dxs-tcard.dxsp-current .dxs-tcard-t { color: var(--p); }
.dxs-tcard-a { font-size: 12.5px; color: var(--text-muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 장르 · 아티스트 */
.dxs-genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.dxs-genre { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 96px; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none; overflow: hidden; }
.dxs-genre b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.dxs-genre small { font-size: 12px; opacity: .8; }
.dxs-genre.g0 { background: linear-gradient(135deg, #7c3aed, #db2777); } .dxs-genre.g1 { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.dxs-genre.g2 { background: linear-gradient(135deg, #f59e0b, #ef4444); } .dxs-genre.g3 { background: linear-gradient(135deg, #10b981, #3b82f6); }
.dxs-genre.g4 { background: linear-gradient(135deg, #6366f1, #0ea5e9); } .dxs-genre.g5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.dxs-genre:hover { filter: brightness(1.08); }
.dxs-artists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.dxs-artists a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--text-main); }
.dxs-artists b { font-size: 14px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-artists small { font-size: 12px; color: var(--text-muted); }
.dxs-av { display: inline-grid; place-items: center; flex-shrink: 0; width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: linear-gradient(140deg, var(--p), var(--dxs-acc2)); color: #fff; font-weight: 800; margin-bottom: 6px; }
.dxs-av img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.dxs-av-sm { width: 34px; height: 34px; margin: 0; font-size: 13px; }
.dxs-av-sm img, .dxs-av-xs img { transform: none; }
.dxs-av-xs { width: 20px; height: 20px; margin: 0; font-size: 10px; }
.dxs-av-xl { width: 180px; height: 180px; margin: 0; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); }

/* ── 곡 상세 ─────────────────────────────────── */
.dxs-track-hero, .dxs-coll-h { position: relative; display: flex; align-items: flex-end; gap: 32px; padding: 56px 28px 34px; max-width: none; overflow: hidden; isolation: isolate; color: #fff; }
.dxs-track-hero::before, .dxs-coll-h::before { content: ""; position: absolute; inset: -40px; z-index: -2; background: var(--bg) center/cover; filter: blur(50px) saturate(1.3); transform: scale(1.2); }
.dxs-track-hero::after, .dxs-coll-h::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,7,14,.35), rgba(8,7,14,.88)); }
.dxs-track-art { position: relative; flex-shrink: 0; width: 240px; aspect-ratio: 1; }
.dxs-track-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.dxs-vinyl-sm { position: absolute; top: 6%; right: -14%; bottom: 6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--p) 0 10%, #0d0d12 10.5% 12%, transparent 12.5%), repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, transparent 1px 4px), radial-gradient(circle, #16151d, #0a0a0e 70%); }
.dxs-track-art.dxsp-playing .dxs-vinyl-sm { animation: dxs-spin 3s linear infinite; }
@keyframes dxs-spin { to { transform: rotate(360deg); } }
.dxs-track-meta { min-width: 0; padding-left: 20px; }
.dxs-track-meta .dxs-kicker, .dxs-coll-h .dxs-kicker { color: rgba(255,255,255,.7); }
.dxs-track-meta .dxs-kicker a { color: inherit; }
.dxs-track-meta h1, .dxs-coll-h h1 { margin: 10px 0 8px; font-size: clamp(26px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; word-break: keep-all; }
.dxs-track-artist { font-size: 17px; font-weight: 700; color: rgba(255,255,255,.9); text-decoration: none; }
.dxs-track-artist:hover { text-decoration: underline; }
.dxs-track-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 16px 0 22px; padding: 0; font-size: 13.5px; color: rgba(255,255,255,.75); }
.dxs-track-stats i { margin-right: 6px; opacity: .7; }
.dxs-track-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dxs-track-acts .dxs-heart-lg { border-color: rgba(255,255,255,.25); color: #fff; }
.dxs-track-acts .dxs-heart-lg.on { color: #fb7185; }
.dxs-track-acts .dxs-btn:not(.dxs-btn-p), .dxs-track-acts .dxs-ibtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.dxs-track-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.dxs-track-main { flex: 1 1 480px; }
.dxs-track-side { flex: 1 1 300px; max-width: 100%; }
.dxs-track-side:empty { display: none; }
.dxs-track-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.dxs-lyrics { position: relative; }
.dxs-lyrics-in { white-space: pre-wrap; line-height: 1.95; font-size: 15px; color: var(--text-main); }
.dxs-lyrics[data-collapsed="1"] .dxs-lyrics-in { max-height: 240px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.dxs-lyrics .dxs-link { margin-top: 10px; }
.dxs-stars { display: inline-flex; gap: 2px; color: #fbbf24; font-size: 12px; vertical-align: middle; }
.dxs-stars.lg { font-size: 16px; } .dxs-stars.sm { font-size: 10.5px; }

/* 평가 */
.dxs-rv-top { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 20px; border: 1px solid var(--dxs-line); border-radius: 16px; background: var(--bg-card); }
.dxs-rv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dxs-rv-score b { font: 800 40px/1 var(--dxs-disp); color: var(--text-main); }
.dxs-rv-score small { font-size: 12px; color: var(--text-muted); }
.dxs-dist-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); margin: 5px 0; }
.dxs-dist-row i { display: block; height: 7px; border-radius: 99px; background: linear-gradient(90deg, #fbbf24 var(--w), var(--border) var(--w)); }
.dxs-dist-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.dxs-rv-form, .dxs-cform { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); }
.dxs-rv-form textarea, .dxs-cform textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-body); color: var(--text-main); font: 14px/1.6 var(--dxs-font); resize: vertical; }
.dxs-rv-form textarea:focus, .dxs-cform textarea:focus { outline: none; border-color: var(--p); }
.dxs-rv-form-top, .dxs-rv-form-f, .dxs-cform-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dxs-cform-f > span { display: flex; gap: 8px; }
.dxs-star-in { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.dxs-star-in label { cursor: pointer; font-size: 24px; color: var(--border); transition: color .1s, transform .1s; }
.dxs-star-in input { position: absolute; opacity: 0; }
.dxs-star-in label:hover, .dxs-star-in label:hover ~ label, .dxs-star-in input:checked ~ i, .dxs-star-in label:has(input:checked), .dxs-star-in label:has(input:checked) ~ label { color: #fbbf24; }
.dxs-star-in label:hover { transform: scale(1.12); }
.dxs-star-in input:focus-visible + i { outline: 2px solid var(--p); outline-offset: 2px; border-radius: 4px; }
.dxs-rv-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 16px 18px; border: 1px dashed var(--border); border-radius: 16px; color: var(--text-muted); }
.dxs-rv-login p { margin: 0; }
.dxs-rvs, .dxs-cmtlist { list-style: none; margin: 16px 0 0; padding: 0; }
.dxs-rv, .dxs-cmt { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--dxs-line); }
.dxs-cmt { padding-left: calc(var(--d, 0) * 28px); }
.dxs-rv.is-mine { background: color-mix(in srgb, var(--p) 5%, transparent); margin: 0 -12px; padding: 14px 12px; border-radius: 12px; }
.dxs-rv-b, .dxs-cmt-b { flex: 1; min-width: 0; }
.dxs-rv-h, .dxs-cmt-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; font-size: 13px; }
.dxs-rv-h b, .dxs-cmt-h b { color: var(--text-main); }
.dxs-rv-h time, .dxs-cmt-h time { font-size: 12px; color: var(--text-muted); }
.dxs-rv-h .dxs-link { margin-left: auto; font-size: 12px; }
.dxs-rv-t { margin: 0; white-space: pre-wrap; font-size: 14px; line-height: 1.7; color: var(--text-main); word-break: break-word; }
.dxs-cmt-t { font-size: 14px; line-height: 1.7; color: var(--text-main); word-break: break-word; }
.dxs-cmt-t img { max-width: 100%; border-radius: 8px; }
.dxs-cmt-a { display: flex; gap: 12px; margin: 6px 0 0; }
.dxs-cmt-a .dxs-link { font-size: 12px; }
.dxs-cmt .dxs-cform { margin-top: 10px; }

/* 아티스트 · 장르 머리 */
.dxs-coll-h { padding: 64px 28px 40px; }
.dxs-coll-h p { margin: 0 0 18px; color: rgba(255,255,255,.75); }

/* 보관함 · 검색 */
.dxs-bigsearch { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); color: var(--text-muted); font-size: 17px; }
.dxs-bigsearch:focus-within { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 18%, transparent); }
.dxs-bigsearch input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: none !important; color: var(--text-main); font: 600 17px var(--dxs-font); outline: none; box-shadow: none !important; }
.dxs-posts { list-style: none; margin: 0; padding: 0; }
.dxs-posts a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 10px; margin: 0 -10px; border-radius: 12px; color: var(--text-main); text-decoration: none; }
.dxs-posts a:hover { background: var(--hover-row); }
.dxs-post-b { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--hover-row); color: var(--text-muted); }
.dxs-posts b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-posts em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--p); }
.dxs-posts time { font-size: 12px; color: var(--text-muted); }

/* ── 스튜디오 게시판 ─────────────────────────── */
.dxs-board { max-width: 980px; }
.dxs-bsearch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card); color: var(--text-muted); }
.dxs-bsearch input { width: 180px; border: 0 !important; background: none !important; color: var(--text-main); font: 500 14px var(--dxs-font); outline: none; box-shadow: none !important; }
.dxs-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--hover-row); color: var(--text-muted); font-size: 11.5px; font-weight: 700; margin-right: 6px; }
.dxs-pill.p { background: var(--p); color: #fff; }
.dxs-bposts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--dxs-line); border-radius: 18px; background: var(--bg-card); overflow: hidden; }
.dxs-bpost + .dxs-bpost { border-top: 1px solid var(--dxs-line); }
.dxs-bpost > a { display: flex; gap: 14px; align-items: center; padding: 15px 20px; color: var(--text-main); text-decoration: none; }
.dxs-bpost > a:hover { background: var(--hover-row); }
.dxs-bpost.is-notice > a { background: color-mix(in srgb, var(--p) 5%, transparent); }
.dxs-bpost-th { flex-shrink: 0; width: 72px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--border); }
.dxs-bpost-th img { width: 100%; height: 100%; object-fit: cover; }
.dxs-bpost-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.dxs-bpost-t { display: flex; align-items: center; gap: 4px; min-width: 0; }
.dxs-bpost-t b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-bpost-t > i { font-size: 11px; color: var(--text-muted); margin: 0 3px; }
.dxs-cc { font-style: normal; font-size: 12px; font-weight: 800; color: var(--p); margin-left: 4px; }
.dxs-bpost-m { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; }
.dxs-bpost-m > span, .dxs-bpost-m > time { display: inline-flex; align-items: center; gap: 5px; }
.dxs-bpost-m .dxs-av-xs { margin-right: 2px; }
.dxs-pager { display: flex; justify-content: center; gap: 4px; }
.dxs-pager a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-main); font: 600 13px var(--dxs-disp); text-decoration: none; }
.dxs-pager a[aria-current] { background: var(--p); border-color: var(--p); color: #fff; }

.dxs-post-h h1 { margin: 10px 0 14px; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; word-break: keep-all; color: var(--text-main); }
.dxs-post-m { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--dxs-line); font-size: 13px; color: var(--text-muted); }
.dxs-post-m b { color: var(--text-main); }
.dxs-post-m > span { display: inline-flex; align-items: center; gap: 5px; }
.dxs-post-own { margin-left: auto; gap: 14px !important; }
.dxs-post-track { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--dxs-line); border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--p) 10%, var(--bg-card)), var(--bg-card)); }
.dxs-post-track > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dxs-post-track a { color: var(--text-main); text-decoration: none; }
.dxs-post-track small { color: var(--text-muted); }
.dxs-post-body { font-size: 15.5px; line-height: 1.9; color: var(--text-main); word-break: break-word; overflow-wrap: anywhere; }
.dxs-post-body img, .dxs-post-body iframe, .dxs-post-body video { max-width: 100%; border-radius: 12px; }
.dxs-post-body iframe { aspect-ratio: 16 / 9; height: auto; width: 100%; }
.dxs-post-link a { color: var(--p); word-break: break-all; }
.dxs-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dxs-files a, .dxs-files-edit li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--dxs-line); border-radius: 12px; color: var(--text-main); text-decoration: none; font-size: 13.5px; }
.dxs-files a:hover { border-color: var(--p); }
.dxs-files small { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.dxs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dxs-tags a { font-size: 13px; color: var(--p); text-decoration: none; }
.dxs-post-like { display: flex; justify-content: center; }
.dxs-plike { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; min-width: 96px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); color: var(--text-muted); cursor: pointer; font: 600 12px var(--dxs-font); transition: border-color .15s, color .15s, transform .15s; }
.dxs-plike i { font-size: 22px; }
.dxs-plike b { font: 800 16px/1 var(--dxs-disp); color: var(--text-main); }
.dxs-plike:hover { border-color: #fb7185; color: #fb7185; }
.dxs-plike.on { border-color: #fb7185; color: #fb7185; }
.dxs-plike:active { transform: scale(.96); }
.dxs-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dxs-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--dxs-line); border-radius: 14px; color: var(--text-main); text-decoration: none; min-width: 0; }
.dxs-prevnext a.nx { text-align: right; }
.dxs-prevnext a:hover { border-color: var(--p); }
.dxs-prevnext small { font-size: 11.5px; color: var(--text-muted); }
.dxs-prevnext b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-chk { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.dxs-chk input { accent-color: var(--p); }

/* 글쓰기 */
.dxs-wform { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--dxs-line); border-radius: 18px; background: var(--bg-card); }
.dxs-f { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text-main); }
.dxs-f input:not([type=checkbox]):not([type=file]), .dxs-f select, .dxs-f textarea { width: 100%; box-sizing: border-box; height: 44px; padding: 0 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-body); color: var(--text-main); font: 500 14.5px var(--dxs-font); }
.dxs-f textarea { height: auto; padding: 12px 13px; line-height: 1.7; }
.dxs-f input:focus, .dxs-f select:focus, .dxs-f textarea:focus { outline: none; border-color: var(--p); }
.dxs-ed { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dxs-ed-bar { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--border); background: var(--hover-row); flex-wrap: wrap; }
.dxs-ed-bar button { width: 34px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--text-muted); cursor: pointer; }
.dxs-ed-bar button:hover { background: var(--bg-card); color: var(--text-main); }
.dxs-ed-area { min-height: 320px; max-height: 70vh; overflow-y: auto; padding: 16px; font: 400 15px/1.8 var(--dxs-font); font-weight: 400; color: var(--text-main); background: var(--bg-body); outline: none; }
.dxs-ed-area:empty::before { content: attr(data-ph); color: var(--text-muted); }
.dxs-ed-area img, .dxs-ed-area iframe { max-width: 100%; }
.dxs-wopts { display: flex; gap: 18px; }
.dxs-msg { margin: 0; min-height: 1em; color: #f43f5e; font-size: 13.5px; font-weight: 600; }
.dxs-msg:empty { display: none; }
.dxs-wform-f { display: flex; justify-content: flex-end; gap: 8px; }

/* 기존 화면 */
.dxs-legacy { min-height: 50vh; }
.dxs-view .dxs-legacy #dx-main { max-width: 1180px !important; padding: 28px 28px 24px !important; }

/* 알림 */
.dxs-toasts { position: fixed; left: 50%; bottom: 110px; z-index: 100002; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.dxs-toastmsg { padding: 11px 16px; border-radius: 12px; background: rgba(20,19,31,.95); border: 1px solid var(--dxs-line); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.dxs-toastmsg.show { opacity: 1; transform: none; }
.dxs-toastmsg.bad { background: #e11d48; }

/* 홈 스테이지 (SPA 안) */
.dxs-view .dxs-stagehero { min-height: clamp(440px, 64vh, 700px); }

/* ── 반응형 ─────────────────────────────────── */
@media (max-width: 1100px) {
  .dxs-cols2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .dxs-wrap { padding: 20px 14px 32px; gap: 26px; }
  .dxs-row { grid-template-columns: 34px 44px minmax(0, 1fr) 44px; }
  .dxs-row-st { display: none; }
  .dxs-row-cover { width: 44px; height: 44px; }
  .dxs-track-hero, .dxs-coll-h { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 18px 26px; }
  .dxs-track-art { width: 180px; }
  .dxs-track-meta { padding-left: 0; }
  .dxs-av-xl { width: 130px; height: 130px; }
  .dxs-rv-top { grid-template-columns: 1fr; }
  .dxs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .dxs-bpost > a { padding: 13px 14px; }
  .dxs-bpost-th { width: 56px; height: 44px; }
  .dxs-bsearch input { width: 120px; }
  .dxs-prevnext { grid-template-columns: 1fr; }
  .dxs-prevnext a.nx { text-align: left; }
  .dxs-cmt { padding-left: calc(var(--d, 0) * 14px); }
  .dxs-wform { padding: 16px; }
  .dxs-posts a { grid-template-columns: minmax(0, 1fr) auto; }
  .dxs-post-b, .dxs-posts em { display: none; }
}

/* 화면 전환 후 포커스 이동 — 테두리는 표시하지 않음 */
#dxs-view:focus, #dxs-view:focus-visible { outline: none; }
/* 넓은 화면에서만 인기곡 2단 */
.dxs-cols2 .dxs-row { grid-template-columns: 40px 44px minmax(0, 1fr) 52px; }
.dxs-cols2 .dxs-row-st { display: none; }
@media (max-width: 1500px) { .dxs-cols2 { grid-template-columns: minmax(0, 1fr); } .dxs-cols2 .dxs-row { grid-template-columns: 44px 48px minmax(0, 1fr) 70px 64px; } .dxs-cols2 .dxs-row-st { display: block; } }

/* ══ v2.1.0 ═══════════════════════════════════════════════ */
/* 화면 폭 전체 사용 — default style.css 의 body flex(세로) 해제 */
body.dxs-body { display: block; }
.dxs-app, .dxs-app--nodeck { grid-template-columns: var(--dxs-rail) minmax(0, 1fr); width: 100%; }
/* 재생목록 패널이 열리면 넓은 화면에서는 본문이 패널만큼 비켜 줌 */
@media (min-width: 1280px) {
  html.dxsp-panel-open .dxs-app { padding-right: 380px; box-sizing: border-box; }
  html.dxsp-panel-open .dxs-top { padding-right: 24px; }
}
@media (max-width: 1024px) { .dxs-app, .dxs-app--nodeck { grid-template-columns: minmax(0, 1fr); } }

/* 곡 행: 재생 · 정보 · 재생수 · 좋아요/추가/담기 · (편집 도구) */
.dxs-row { grid-template-columns: 44px 48px minmax(0, 1fr) minmax(56px, auto) auto auto; }
.dxs-rows-sm .dxs-row { grid-template-columns: 26px 42px minmax(0, 1fr) auto; }
.dxs-rows-sm .dxs-row-st, .dxs-rows-sm .dxs-row > span:nth-child(4) { display: none; }
.dxs-row-st em { display: block; margin-top: 4px; font-style: normal; font-size: 10.5px; opacity: .75; }
.dxs-acts { display: inline-flex; align-items: center; gap: 2px; }
.dxs-acts .dxs-heart { min-width: 46px; }
.dxs-ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--text-muted); cursor: pointer; font-size: 13px; transition: color .12s, background-color .12s; }
.dxs-ib:hover { color: var(--text-main); background: var(--hover-row); }
.dxs-ib.bad:hover { color: #f43f5e; }
.dxs-row .dxs-ib { opacity: .55; }
.dxs-row:hover .dxs-ib, .dxs-ib:focus-visible { opacity: 1; }
.dxs-pl-tools { display: inline-flex; gap: 2px; margin-left: 4px; padding-left: 6px; border-left: 1px solid var(--dxs-line); }

/* 카드 위 도구 */
.dxs-tcard-art { position: relative; }
.dxs-tcard-hit { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.dxs-tcard-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s; }
.dxs-tcard:hover .dxs-tcard-tools, .dxs-tcard-tools:focus-within { opacity: 1; transform: none; }
.dxs-tcard-tools button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(10,9,16,.72); color: #fff; cursor: pointer; font-size: 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dxs-tcard-tools button:hover { background: var(--p); }
@media (hover: none) { .dxs-tcard-tools { opacity: 1; transform: none; } .dxs-row .dxs-ib { opacity: 1; } }

/* 플레이리스트 카드 */
.dxs-plcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 18px; }
.dxs-plcard { display: flex; flex-direction: column; gap: 4px; color: var(--text-main); text-decoration: none; min-width: 0; }
.dxs-plcard-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--p) 60%, #000), color-mix(in srgb, var(--dxs-acc2) 50%, #000)); color: rgba(255,255,255,.6); font-size: 28px; box-shadow: 0 14px 28px -18px rgba(0,0,0,.6); }
.dxs-plcard-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.dxs-plcard:hover .dxs-plcard-art img { transform: scale(1.42); }
/* 겹친 카드 느낌 — 플레이리스트임을 한눈에 */
.dxs-plcard-art::before { content: ""; position: absolute; left: 8%; right: 8%; top: -6px; height: 10px; border-radius: 10px 10px 0 0; background: rgba(255,255,255,.12); z-index: 1; }
.dxs-plcard-n { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(10,9,16,.72); color: #fff; font: 700 11px/1 var(--dxs-disp); }
.dxs-plcard b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-plcard small { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-plcard small i { font-size: 10px; margin-right: 2px; }
.dxs-chips small { font-size: 11px; opacity: .7; margin-left: 2px; }

/* 플레이리스트 상세 */
.dxs-plcover { display: grid; place-items: center; flex-shrink: 0; width: 200px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(140deg, var(--p), var(--dxs-acc2)); color: rgba(255,255,255,.7); font-size: 40px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); }
.dxs-plcover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); }
.dxs-pl-desc { max-width: 60ch; }
.dxs-coll-h .dxs-track-acts .dxs-btn:not(.dxs-btn-p), .dxs-coll-h .dxs-ibtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.dxs-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dxs-grow { flex: 1; }
.dxs-wform-f { align-items: center; }
.dxs-btn.bad:hover { border-color: #f43f5e; color: #f43f5e; }
.dxs-pl-form[hidden] { display: none; }

/* 더 불러오는 중 */
.dxs-more-load { display: flex; justify-content: center; gap: 6px; padding: 20px; }
.dxs-more-load span { width: 8px; height: 8px; border-radius: 50%; background: var(--p); animation: dxs-dot 1s ease-in-out infinite; }
.dxs-more-load span:nth-child(2) { animation-delay: .15s; } .dxs-more-load span:nth-child(3) { animation-delay: .3s; }
@keyframes dxs-dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: none; } }

/* 곡 등록 */
.dxs-up { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
.dxs-up-prev { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #1e1a33, #0e2a2a); color: rgba(255,255,255,.35); font-size: 34px; }
.dxs-up-prev img { width: 100%; height: 100%; object-fit: cover; }
.dxs-up-f { display: flex; flex-direction: column; gap: 14px; }
.dxs-up-note { margin: 0; font-size: 12.5px; }

/* 담기 창 */
.dxs-modal { position: fixed; inset: 0; z-index: 100003; display: grid; place-items: center; padding: 20px; background: rgba(5,5,10,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dxs-modal[hidden] { display: none; }
.dxs-modal-box { display: flex; flex-direction: column; width: min(440px, 100%); max-height: calc(100vh - 40px); border: 1px solid var(--dxs-line); border-radius: 20px; background: var(--bg-card); box-shadow: 0 40px 90px -20px rgba(0,0,0,.7); overflow: hidden; }
.dxs-modal-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--dxs-line); }
.dxs-modal-h h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--text-main); }
.dxs-modal-b { padding: 12px 14px; overflow-y: auto; }
.dxs-modal-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--dxs-line); }
.dxs-plm-list { list-style: none; margin: 0 0 12px; padding: 0; max-height: 300px; overflow-y: auto; }
.dxs-plm-item { display: grid; grid-template-columns: 18px 42px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; }
.dxs-plm-item:hover { background: var(--hover-row); }
.dxs-plm-item input { accent-color: var(--p); width: 16px; height: 16px; }
.dxs-plm-c { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; overflow: hidden; background: var(--border); color: var(--text-muted); }
.dxs-plm-c img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.dxs-plm-tx { display: flex; flex-direction: column; min-width: 0; }
.dxs-plm-tx b { font-size: 13.5px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dxs-plm-tx small { font-size: 11.5px; color: var(--text-muted); }
.dxs-plm-new { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px dashed var(--border); border-radius: 14px; }
.dxs-plm-lab { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.dxs-plm-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 6px; }
.dxs-plm-new input:not([type=checkbox]), .dxs-plm-new select { height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-body); color: var(--text-main); font: 500 13.5px var(--dxs-font); }
.dxs-plm-new .dxs-btn { align-self: flex-end; height: 34px; }

@media (max-width: 760px) {
  .dxs-row { grid-template-columns: 30px 44px minmax(0, 1fr) auto; }
  .dxs-row > .dxs-row-st, .dxs-row > span:nth-child(4) { display: none; }
  .dxs-acts .dxs-heart span { display: none; }
  .dxs-acts .dxs-heart { min-width: 0; padding: 6px; }
  .dxs-pl-tools { grid-column: 3 / -1; justify-self: end; border-left: 0; }
  .dxs-plcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .dxs-plcover { width: 150px; }
  .dxs-up, .dxs-g2 { grid-template-columns: 1fr; }
}

/* ── 아바타: 프로필 이미지 · 없으면 첫 글자 (구글 방식) ── */
.dxs-av.is-letter { background: var(--avc, var(--p)); color: #fff; font-weight: 700; letter-spacing: 0; text-transform: none; }
.dxs-av.has-img { background: var(--border); }
.dxs-av.has-img img { transform: none; }
.dxs-av-cover img { transform: scale(1.35) !important; }
.dxs-artists .dxs-av { font-size: 44px; }
.dxs-av-xl.is-letter { font-size: 72px; }
.dxs-av-sm.is-letter { font-size: 14px; }
.dxs-av-xs.is-letter { font-size: 10px; }
@media (max-width: 760px) { .dxs-av-xl.is-letter { font-size: 52px; } .dxs-artists .dxs-av { font-size: 36px; } }
.dxs-me-av.has-img { overflow: hidden; background: var(--border); } .dxs-me-av.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* 본문 · 에디터 문단 — 쓴 그대로 보이게 (Enter 한 번 = 한 줄) */
.dxs-post-body p, .dxs-ed-area p { margin: 0; min-height: 1em; }
.dxs-post-body div, .dxs-ed-area div { min-height: 1em; }
.dxs-cmt-t p { margin: 0; }

/* ══ v2.2.0 썸네일 정리 — YouTube 원본 비율(16:9) 그대로, 자르거나 확대하지 않음 ══════════
 * mqdefault = 원래 16:9 · hqdefault = 4:3 위아래 검은 띠 → 16:9 틀에 cover 로 넣으면 띠만 정확히 잘림 */
.dxs-tcard-art, .dxs-plcard-art, .dxs-track-art, .dxs-plcover, .dxs-up-prev { aspect-ratio: 16 / 9 !important; }
.dxs-tcard-art img, .dxs-plcard-art img, .dxs-track-art img, .dxs-plcover img,
.dxs-row-cover img, .dxs-plm-c img, .dxs-av-cover img { transform: none !important; object-fit: cover; width: 100%; height: 100%; display: block; }
.dxs-tcard:hover .dxs-tcard-art img, .dxs-plcard:hover .dxs-plcard-art img { transform: none !important; filter: brightness(1.08); }
.dxs-tcard-art img, .dxs-plcard-art img { transition: filter .2s; }

/* 카드: 16:9 이라 한 줄에 조금 넓게 */
.dxs-cards, .dxs-plcards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.dxs-cards-scroll > li { flex-basis: 240px; }
.dxs-tcard-art, .dxs-plcard-art { border-radius: 12px; }
.dxs-tcard-t { -webkit-line-clamp: 1; }
.dxs-plcard-art::before { display: none; }

/* 곡 행 썸네일 16:9 */
.dxs-row { grid-template-columns: 44px 64px minmax(0, 1fr) minmax(56px, auto) auto auto; }
.dxs-row-cover { width: 64px !important; height: 36px !important; border-radius: 7px; }
.dxs-rows-sm .dxs-row { grid-template-columns: 26px 64px minmax(0, 1fr) auto; }
.dxs-post-track .dxs-row-cover { width: 96px !important; height: 54px !important; }
.dxs-mini-eq { padding-bottom: 8px; }

/* 곡 페이지 · 플레이리스트 머리 */
.dxs-track-art { width: min(100%, 440px); flex-shrink: 0; }
.dxs-track-art img { border-radius: 14px; }
.dxs-vinyl-sm { display: none; }
.dxs-plcover { width: min(100%, 380px); border-radius: 14px; }
.dxs-plm-c { width: 64px !important; height: 36px !important; border-radius: 6px; }
.dxs-plm-item { grid-template-columns: 18px 64px minmax(0, 1fr); }

@media (max-width: 760px) {
  .dxs-cards, .dxs-plcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .dxs-row { grid-template-columns: 26px 56px minmax(0, 1fr) auto; }
  .dxs-row-cover { width: 56px !important; height: 32px !important; }
  .dxs-track-art, .dxs-plcover { width: 100%; }
}

/* ══ v2.3.0 목록 표시 · 플레이리스트에 YouTube 로 담기 ══ */
.dxs-listed { align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--hover-row); }
.dxs-listed input { margin-top: 3px; }
.dxs-listed b { display: block; color: var(--text-main); font-size: 13.5px; }
.dxs-listed small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.dxs-listbtn { color: var(--text-muted); }
.dxs-listbtn.on { color: var(--dxs-acc2); }
.dxs-addyt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 16px; border: 1px dashed var(--border); border-radius: 14px; background: var(--bg-card); }
.dxs-addyt > i { color: #ff0033; font-size: 18px; }
.dxs-addyt input[name=video] { flex: 1; min-width: 200px; height: 40px; border: 0; background: none; color: var(--text-main); font: 500 14px var(--dxs-font); outline: none; }
.dxs-addyt:focus-within { border-color: var(--p); border-style: solid; }

/* ══ v2.3.1 2단 인기곡 목록 — 16:9 썸네일(64px) 칸 맞춤 (예전 44px 칸 때문에 제목과 겹치던 문제) ══ */
.dxs-cols2 .dxs-row,
.dxs-cols2 .dxs-row:nth-child(n) { grid-template-columns: 40px 64px minmax(0, 1fr) auto auto; gap: 12px; }
.dxs-cols2 .dxs-row-st { display: none !important; }
@media (max-width: 1500px) {
  .dxs-cols2 .dxs-row, .dxs-cols2 .dxs-row:nth-child(n) { grid-template-columns: 44px 64px minmax(0, 1fr) minmax(56px, auto) auto auto; }
  .dxs-cols2 .dxs-row-st { display: block !important; }
}
@media (max-width: 760px) {
  .dxs-cols2 .dxs-row, .dxs-cols2 .dxs-row:nth-child(n) { grid-template-columns: 26px 56px minmax(0, 1fr) auto; }
  .dxs-cols2 .dxs-row-st { display: none !important; }
}
/* 좋아요 · 추가 · 담기 버튼 간격 */
.dxs-acts { gap: 4px; }
.dxs-acts .dxs-heart { min-width: 40px; justify-content: center; }
