/* Discography — main-site look, shares variables with beats.css */
.dg-wrap { max-width: 1400px; margin: 0 auto; padding: 70px 48px 40px; color: var(--bp-ink); }
.dg-wrap a { color: inherit; text-decoration: none; }

.dg-head { text-align: center; margin-bottom: 28px; }
.dg-head h1 { font-size: 3rem; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.dg-head h1 span { display: none; }
.dg-head p { color: var(--bp-mute); margin: 0; }

.dg-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 34px; }
body.beats-page .dg-tools input {
    width: 100%; max-width: min(420px, 90vw);
    font: inherit; font-size: 16px; color: #fff;
    padding: 12px 20px; border-radius: 30px;
    border: 2px solid var(--accent); background: #141414;
    outline: 0; box-shadow: none;
}
body.beats-page .dg-tools input:focus { border-color: var(--accent2); }
.dg-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dg-filters button {
    font-family: inherit; font-size: 12px; padding: 5px 14px; border-radius: 20px;
    background: var(--dark); color: var(--accent); border: 1px solid var(--accent); cursor: pointer; transition: .2s;
}
.dg-filters button:hover { background: #262626; }
.dg-filters button.on { background: var(--accent); color: #000; }

/* release cards */
.dg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 32px; }
.dg-grid--small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.dg-item { display: block; background: var(--bp-card); border-radius: 20px; padding: 16px 16px 20px; border: 1px solid transparent; transition: border-color .2s; }
.dg-item:hover { border-color: var(--accent); }
.dg-cover { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #161616; }
.dg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-title { font-size: 1.25rem; font-weight: 600; color: var(--accent); margin: 12px 4px 0; line-height: 1.25; }
.dg-sub { font-size: 14px; color: var(--bp-mute); margin: 3px 4px 0; }
.dg-kind { font-size: 12px; }
.dg-empty { text-align: center; color: var(--bp-mute); grid-column: 1 / -1; }

/* single release */
.dr-back { font-size: 14px; color: var(--bp-mute) !important; }
.dr-back:hover { color: #fff !important; }
.dr { display: grid; grid-template-columns: minmax(300px, 560px) 1fr; gap: 56px; align-items: start; margin-top: 22px; }
.dr-cover { position: sticky; top: 24px; background: var(--bp-card); padding: 12px; border-radius: 22px; }
.dr-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 14px; }
.dr-type { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 20px; border: 1px solid var(--accent); color: var(--accent); }
.dr-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: var(--accent); margin: 12px 0 4px; line-height: 1.15; }
.dr-artists { font-size: 1.05rem; color: #fff; }
.dr-facts { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 22px 0; padding: 14px 18px; background: var(--bp-card); border-radius: 14px; }
.dr-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--bp-mute); }
.dr-facts dd { margin: 2px 0 0; font-size: 14px; }
.dr-desc { color: var(--bp-mute); line-height: 1.7; max-width: 640px; margin: 0 0 24px; }
.dr-h { font-size: 1.3rem; font-weight: 600; color: #fff; margin: 0 0 12px; }

.dr-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.dr-link { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bp-card); border-radius: 14px; border: 1px solid transparent; font-size: 15px; transition: border-color .2s; }
.dr-link i:first-child { font-size: 18px; color: var(--accent); }
.dr-link-act { font-size: 12px; color: var(--bp-mute); }
.dr-link-act i { font-size: 10px; margin-left: 4px; }
.dr-link:hover { border-color: var(--accent); }
.dr-link.is-search .dr-link-name { color: var(--bp-mute); }

.dr-embed { display: block; width: 100%; max-width: 720px; border: 0; border-radius: 14px; background: #000; aspect-ratio: auto; }
.dr-more { margin-top: 60px; }

@media (max-width: 760px) {
    .dg-wrap { padding: 44px 16px 20px; }
    .dg-head h1 { font-size: 2rem; }
    .dg-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .dr { grid-template-columns: 1fr; gap: 24px; }
    .dr-cover { position: static; }
}
