/*
Theme Name: mbluray
Theme URI: https://mbluray.com/
Description: A catalogue of music on Blu-ray — pure audio discs, concert films and televised sessions. Built around the disc: specs, setlists, BDInfo and verified downloads.
Version: 1.0.0
Author: mbluray
Text Domain: mbluray
*/

/* ============================================================ tokens */
:root {
	--paper: #f5f4f0;
	--paper-2: #fbfaf7;
	--ink: #15171a;
	--ink-soft: #3c3f44;
	--muted: #6f7278;
	--line: #dcd8d0;
	--line-soft: #e7e4dd;
	--line-strong: #b7b2a8;
	--panel: #ebe9e3;
	--panel-2: #e2dfd7;
	--accent: #a02a20;
	--accent-ink: #7c1f17;
	--accent-wash: #f0ddd8;
	--dark: #171a1e;
	--dark-2: #21252a;
	--sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--serif: "Prata", "Times New Roman", Georgia, serif;
	--radius: 10px;
	--wrap: 1200px;
	--gutter: 28px;
}

/* ============================================================ reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 0.9em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
	position: absolute; left: -999px; top: 0; z-index: 999;
	background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; color: var(--paper); }

/* ============================================================ header */
.site-head {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.head-inner {
	display: flex; align-items: center; gap: 34px;
	min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-word {
	font-family: var(--serif); font-size: 23px; font-weight: 400;
	letter-spacing: -0.01em; line-height: 1;
}
.brand-disc {
	width: 15px; height: 15px; border-radius: 50%;
	background:
		radial-gradient(circle at center, var(--paper) 0 1.6px, transparent 1.7px),
		radial-gradient(circle at center, transparent 0 4.6px, currentColor 4.7px 5.6px, transparent 5.7px),
		currentColor;
	opacity: 0.92;
}
.brand:hover { color: var(--ink); }
.brand:hover .brand-disc { opacity: 1; box-shadow: 0 0 0 3px var(--accent-wash); }

.nav { display: flex; align-items: center; gap: 22px; flex: 1 1 auto; }
.nav a {
	font-size: 14px; color: var(--ink-soft);
	padding: 22px 0; border-bottom: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .nav-secondary { margin-left: auto; color: var(--muted); }

.head-tools { flex: 0 0 auto; }
.searchbox {
	display: flex; align-items: center; gap: 0;
	border: 1px solid var(--line-strong); border-radius: 999px;
	background: var(--paper-2);
	transition: border-color 0.15s, background 0.15s;
}
.searchbox:focus-within { border-color: var(--ink); background: #fff; }
.searchbox input {
	width: 208px; border: 0; background: transparent; padding: 8px 4px 8px 14px;
	font: inherit; font-size: 13.5px; color: var(--ink); outline: none;
}
.searchbox input::placeholder { color: var(--muted); }
.searchbox button {
	border: 0; background: transparent; padding: 6px 12px 6px 6px;
	color: var(--muted); cursor: pointer; display: inline-flex; align-items: center;
}
.searchbox button:hover { color: var(--accent); }

.mobile-menu { display: none; position: relative; }

/* ============================================================ type helpers */
.kicker {
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
	color: var(--accent); margin: 0 0 14px;
}
.micro {
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em;
	color: var(--muted); font-weight: 500; margin: 0 0 10px;
}
.dot { color: var(--line-strong); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 18px 0 0; }
.chips li {
	font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 3px 10px; line-height: 1.5; background: transparent;
}

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 500; line-height: 1;
	padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); color: #fff; }
.btn-quiet { border-color: var(--line-strong); color: var(--ink-soft); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-count {
	font-family: var(--mono); font-size: 11px; background: rgba(255,255,255,0.22);
	border-radius: 999px; padding: 2px 6px;
}

/* ============================================================ home: two columns */
.home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 60px;
	padding: 44px 0 20px;
	align-items: start;
}
.home-main, .home-side { min-width: 0; }

.hero {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px;
	gap: 44px; align-items: start;
	padding: 0 0 52px;
	border-bottom: 1px solid var(--line);
}
.hero-text { max-width: 620px; }
.hero-artist {
	font-family: var(--serif); font-size: clamp(38px, 5vw, 62px);
	line-height: 1.05; font-weight: 400; letter-spacing: -0.015em;
	margin: 0 0 10px;
}
.hero-artist a:hover { color: var(--accent); }
.hero-work {
	font-family: var(--sans); font-size: clamp(19px, 1.9vw, 24px);
	font-style: italic; font-weight: 400; color: var(--ink-soft); margin: 0 0 12px;
}
.hero-spec { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }
.hero-excerpt { margin: 24px 0 0; color: var(--ink-soft); font-size: 15.5px; max-width: 54ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 0; }

.hero-cover {
	display: block; position: relative; padding-left: 22px;
	filter: drop-shadow(0 26px 40px rgba(21, 23, 26, 0.18));
}
.hero-cover img { width: 100%; height: auto; }

/* the spine: every cover sits in a sleeve */
.disc-spine {
	position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
	background: var(--accent);
	background-image: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 45%, rgba(0,0,0,0.16));
	border-radius: 2px 0 0 2px;
}
.hero-cover .disc-spine { border-radius: 2px 0 0 2px; }
.disc-cover .disc-spine { border-radius: 2px 0 0 2px; }

.cover-blank {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1; background: var(--panel);
	color: var(--line-strong); font-family: var(--serif); font-size: 64px;
}

/* ============================================================ shelves */
.shelf { padding: 52px 0 8px; }
.shelf-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
	padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--ink);
}
.shelf-head h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -0.005em; }
.shelf-more { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.shelf-more:hover { color: var(--accent); }

.grid { display: grid; gap: 26px 22px; align-items: start; }
.grid-4, .grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 30px 22px;
}

.card { display: flex; flex-direction: column; height: 100%; position: relative; }
.card-cover {
	display: flex; align-items: center; justify-content: center;
	position: relative; overflow: hidden; aspect-ratio: 4 / 5;
	background: var(--panel); border-radius: 3px;
	box-shadow: 0 1px 0 var(--line-soft);
}
.card-cover img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s;
}
.card:hover .card-cover img { transform: scale(1.035); filter: saturate(1.06); }
.card-kind {
	position: absolute; left: 10px; bottom: 10px;
	font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
	background: rgba(245, 244, 240, 0.92); color: var(--ink);
	padding: 3px 8px; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; padding-top: 12px; }
.card-artist {
	display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft);
	letter-spacing: 0.01em; margin-bottom: 2px;
}
.card-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-family: var(--serif); font-size: 17px; line-height: 1.3;
	font-weight: 400; letter-spacing: 0; margin-bottom: 4px; min-height: 2.6em;
}
.card:hover .card-title { color: var(--accent); }
.card-meta { display: block; margin-top: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

.genre-list, .artist-cloud {
	display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding-bottom: 10px;
}
.genre-list a, .artist-cloud a, .artist-hits a {
	display: inline-flex; align-items: baseline; gap: 8px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 6px 13px; font-size: 13px; color: var(--ink-soft);
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.genre-list a span, .artist-cloud a span, .artist-hits a span {
	font-family: var(--mono); font-size: 10.5px; color: var(--muted);
}
.genre-list a:hover, .artist-cloud a:hover, .artist-hits a:hover {
	border-color: var(--ink); color: var(--ink); background: var(--paper-2);
}
.artist-hits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

/* sidebar list (Live & Broadcast rarely has sleeve art) */
.side-block { border-top: 1px solid var(--ink); padding: 14px 0 26px; }
.side-block:first-child { border-top: 0; padding-top: 0; }
.side-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	margin-bottom: 8px;
}
.side-head h2 { font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -0.005em; }
.side-head a { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.side-head a:hover { color: var(--accent); }

.title-list { list-style: none; }
.title-list li { border-bottom: 1px solid var(--line-soft); }
.title-list a { display: block; padding: 9px 0; }
.tl-title { display: block; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.tl-meta { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.title-list a:hover .tl-title { color: var(--accent); }

.side-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.side-tags a {
	display: inline-flex; align-items: baseline; gap: 7px;
	padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-size: 12.5px; color: var(--ink-soft);
}
.side-tags a span { font-family: var(--mono); font-size: 9.5px; color: var(--muted); }
.side-tags a:hover { border-color: var(--ink); color: var(--ink); }

.side-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: -2px 0 10px; }
.side-empty, .shelf-empty { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 0; }

/* ============================================================ archive filters */
.filter-bar {
	display: flex; flex-direction: column; gap: 8px;
	padding: 0 0 22px; margin-bottom: 4px;
	border-bottom: 1px solid var(--line);
}
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-label {
	font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em;
	color: var(--muted); width: 78px; flex: 0 0 78px;
}
.filter-chip {
	display: inline-flex; align-items: baseline; gap: 6px;
	padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
	transition: border-color .12s, color .12s, background .12s;
}
.filter-chip span { font-size: 9.5px; color: var(--muted); }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-chip.is-on span { color: rgba(255,255,255,.6); }
.filter-select {
	appearance: none; -webkit-appearance: none;
	padding: 6px 30px 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
	background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236f7278'/%3E%3C/svg%3E") no-repeat right 12px center;
	font-family: var(--mono); font-size: 11.5px; color: var(--ink); cursor: pointer;
}
.filter-select:hover { border-color: var(--ink); }
.filter-clear {
	font-family: var(--mono); font-size: 10.5px; color: var(--accent);
	align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ============================================================ archive */
.archive-head { padding: 52px 0 26px; border-bottom: 1px solid var(--ink); margin-bottom: 30px; }
.archive-head h1 {
	font-family: var(--serif); font-size: clamp(32px, 4vw, 48px);
	line-height: 1.05; font-weight: 400; letter-spacing: -0.012em;
}
.archive-desc { margin: 12px 0 0; color: var(--ink-soft); max-width: 62ch; }
.archive-count { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.page-wrap { padding-bottom: 80px; }
.empty, .empty-state { padding: 60px 0 90px; }
.empty-state h1 { font-family: var(--serif); font-size: 34px; font-weight: 400; margin-bottom: 8px; }

/* ============================================================ single disc */
.crumbs {
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
	font-family: var(--mono); font-size: 11px; color: var(--muted);
	padding: 22px 0 0;
}
.crumbs a:hover { color: var(--accent); }
.crumbs-current { color: var(--ink-soft); }

.disc-head {
	display: grid; grid-template-columns: 340px minmax(0, 1fr);
	gap: 56px; align-items: start;
	padding: 30px 0 52px;
}
.disc-cover { position: relative; padding-left: 22px; margin: 0; filter: drop-shadow(0 18px 30px rgba(21,23,26,0.16)); }
.disc-cover img { width: 100%; height: auto; border-radius: 2px; }

.disc-intro { padding-top: 6px; }
.disc-artist {
	font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
	line-height: 1.06; font-weight: 400; letter-spacing: -0.012em; margin: 0 0 8px;
}
.disc-artist a:hover { color: var(--accent); }
.amp { color: var(--line-strong); font-size: 0.7em; }
.disc-work {
	font-family: var(--sans); font-size: clamp(18px, 1.7vw, 23px);
	font-style: italic; font-weight: 400; color: var(--ink-soft);
	margin: 0 0 16px; line-height: 1.3;
}
.disc-byline { font-size: 14px; color: var(--ink-soft); margin: 0; }
.disc-byline a { border-bottom: 1px solid var(--line-strong); }
.disc-byline a:hover { border-color: var(--accent); }
.disc-format { font-family: var(--mono); font-size: 12px; color: var(--accent); margin: 16px 0 0; }
.disc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* sections */
.sec {
	display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 40px;
	padding: 40px 0 48px; border-top: 1px solid var(--line);
	scroll-margin-top: 80px;
}
.sec-index { position: sticky; top: 88px; align-self: start; }
.sec-no {
	display: block; font-family: var(--mono); font-size: 11px;
	color: var(--accent); margin-bottom: 6px; letter-spacing: 0.06em;
}
.sec-index h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.sec-meta { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 8px; }
.sec-body { min-width: 0; max-width: 900px; }

/* key/value rows */
.kv { margin: 0; }
.kv-cols { columns: 2; column-gap: 44px; }
.kv-row {
	display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px;
	padding: 7px 0; border-bottom: 1px solid var(--line-soft);
	break-inside: avoid;
}
.kv-row dt { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
.kv-row dd { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }

.details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.details-col { min-width: 0; }
.bdinfo-details { margin-top: 32px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.bdinfo-details summary {
	cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
	list-style-position: outside; margin-bottom: 0;
}
.bdinfo-details summary:hover { color: var(--accent); }
.bdinfo-details[open] summary { margin-bottom: 14px; }
.bdinfo-details .bdinfo { margin-top: 0; }
.disc-availability { margin-top: 34px; }
.avail {
	display: inline-flex; align-items: baseline; gap: 12px;
	border: 1px solid var(--line-strong); border-radius: 8px;
	padding: 9px 14px; margin: 0 8px 8px 0;
	font-size: 13px; color: var(--ink-soft); background: var(--paper-2);
}
.avail:hover { border-color: var(--ink); color: var(--ink); }
.avail-size { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.prose { font-size: 16.5px; line-height: 1.72; color: var(--ink-soft); max-width: 74ch; }
.prose p { margin: 0 0 1.05em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-wash); }
.prose blockquote {
	margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent);
	font-family: var(--serif); font-size: 19px; color: var(--ink);
}
.prose-page { padding-bottom: 40px; }

/* line-up */
.lineup { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.lineup-list { list-style: none; columns: 2; column-gap: 40px; }
.lineup-list li { break-inside: avoid; padding: 4px 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 700px) { .lineup-list { columns: 1; } }

/* tracklist */
.tracks + .tracks { margin-top: 34px; }
.tracks-disc {
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em;
	color: var(--muted);
	padding-bottom: 8px; margin: 0 0 4px; border-bottom: 1px solid var(--ink);
}
.tracks-group {
	font-family: var(--sans); font-size: 14px; font-style: italic; font-weight: 500;
	color: var(--accent); margin: 22px 0 4px;
}
.tracks { columns: 2; column-gap: 44px; }
.tracks .track { break-inside: avoid; }
.track {
	display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px;
	padding: 8px 0; border-bottom: 1px solid var(--line-soft);
}
.track-no { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.track-title { font-size: 15px; color: var(--ink); }
.track:hover { background: var(--paper-2); }
.track:hover .track-title { color: var(--accent); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shot {
	border: 0; padding: 0; margin: 0; background: var(--panel);
	cursor: zoom-in; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 9;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, opacity 0.3s; }
.shot:hover img { transform: scale(1.04); opacity: 0.92; }
.shots-note { margin: 14px 0 0; }
.shots-link, .dl-shots {
	font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
	background: none; border: 0; border-bottom: 1px solid var(--line-strong);
	padding: 0 0 2px; cursor: pointer;
}
.shots-link:hover, .dl-shots:hover { color: var(--accent); border-color: var(--accent); }

/* bdinfo */
.bdinfo { background: var(--dark); border-radius: var(--radius); overflow: hidden; }
.bdinfo-bar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.1);
	font-family: var(--mono); font-size: 11px; color: #9ba1a8;
}
.bdinfo-copy {
	background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #cfd3d8;
	font-family: var(--mono); font-size: 10.5px; padding: 3px 10px; border-radius: 999px;
	cursor: pointer;
}
.bdinfo-copy:hover { background: #fff; color: #000; border-color: #fff; }
.bdinfo-pre {
	margin: 0; padding: 18px 20px 22px; max-height: 430px; overflow: auto;
	font-family: var(--mono); font-size: 11.5px; line-height: 1.6;
	color: #c9cdd3; white-space: pre; tab-size: 4;
}

/* ============================================================ downloads */
.sec-downloads .sec-body { max-width: 100%; }
.dl-groups { display: grid; gap: 32px; }

.dl-group-title {
	display: flex; align-items: baseline; gap: 12px;
	font-size: 17px; padding-bottom: 10px; margin-bottom: 14px;
	border-bottom: 1px solid var(--ink);
}
.dl-group-count { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--muted); }

.dl-release {
	background: var(--panel); border-radius: var(--radius);
	padding: 18px 20px 20px; margin-bottom: 12px;
}
.dl-release-head { margin-bottom: 12px; }
.dl-release-name {
	font-family: var(--mono); font-size: 12.5px; font-weight: 500;
	line-height: 1.45; overflow-wrap: anywhere; color: var(--ink);
}
.dl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.dl-badge {
	font-family: var(--mono); font-size: 10.5px; padding: 2px 9px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	color: var(--ink-soft); background: var(--paper-2);
}
.dl-release-body.no-spec { grid-template-columns: minmax(0, 1fr); }
.dl-release-body {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 34px; align-items: start;
}
.dl-spec { min-width: 0; }
.dl-spec-row {
	display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px;
	padding: 3px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55;
}
.dl-spec-row > span:first-child { color: var(--muted); }
.dl-spec-row > span:last-child { overflow-wrap: anywhere; }
.dl-shots { display: inline-block; margin-top: 12px; }

.rel-downloads { min-width: 0; }
.dl-release .rel-downloads.is-scroll {
	max-height: 460px; overflow-y: auto; padding-right: 10px;
	scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.dl-release .rel-downloads.is-scroll::-webkit-scrollbar { width: 7px; }
.dl-release .rel-downloads.is-scroll::-webkit-scrollbar-thumb {
	background: var(--line-strong); border-radius: 99px;
}
.dl-file-head {
	margin-top: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft);
	font-family: var(--mono); font-size: 10.5px; color: var(--muted);
	overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2;
	-webkit-box-orient: vertical; overflow: hidden;
}
.dl-file-head:first-child { margin-top: 0; }
.dl-row {
	display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem auto;
	gap: 14px; align-items: center;
	padding: 7px 0; border-top: 1px solid var(--line-soft);
	font-family: var(--mono); font-size: 11.5px;
}
.dl-row:first-child { border-top: 0; }
.dl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.dl-size { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dl-gets { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.dl-get {
	border: 1px solid var(--line-strong); border-radius: 999px;
	padding: 3px 11px; font-size: 10.5px; color: var(--ink-soft);
	background: var(--paper-2); white-space: nowrap;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.dl-get:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.dl-get[data-host="Hexload"] { border-color: var(--line-strong); }
.dl-empty, .dl-locked {
	font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 0;
}
.dl-verified { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin: 24px 0 0; }

/* ============================================================ footer */
.site-foot { margin-top: 60px; border-top: 1px solid var(--ink); background: var(--paper-2); }
.foot-inner {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 60px; padding: 48px 0 30px;
}
.foot-brand .brand-word { font-size: 22px; }
.foot-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); max-width: 46ch; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h2 {
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.01em;
	color: var(--muted); font-weight: 500; margin-bottom: 4px;
}
.foot-col a { font-size: 13.5px; color: var(--ink-soft); }
.foot-col a:hover { color: var(--accent); }
.foot-legal { border-top: 1px solid var(--line); padding: 18px 0 34px; }
.foot-legal p { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin: 0; }

/* ============================================================ pagination */
.pager, .navigation.pagination { margin: 46px 0 10px; }
.pager .nav-links, .navigation.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span, .navigation.pagination a, .navigation.pagination span {
	font-family: var(--mono); font-size: 12px; padding: 7px 12px;
	border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft);
}
.pager .current, .navigation.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); color: var(--ink); }

/* ============================================================ lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(15, 17, 20, 0.96);
	overflow: auto; padding: 0 20px 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-bar {
	position: sticky; top: 0; z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 14px 0; background: linear-gradient(rgba(15,17,20,0.98), rgba(15,17,20,0.86));
}
.lightbox-title { font-family: var(--mono); font-size: 11.5px; color: #a9aeb5; }
.lightbox-close {
	background: transparent; border: 1px solid rgba(255,255,255,0.3);
	color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { background: #fff; color: #000; }
.lightbox-body { max-width: 1400px; margin: 0 auto; display: grid; gap: 12px; }
.lightbox-body img { width: 100%; height: auto; }

/* ============================================================ responsive */
@media (max-width: 1080px) {
	.home-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
	.hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 34px; }
	.disc-head { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
	.grid-4, .grid-3 { columns: 210px; }
	.sec { grid-template-columns: 132px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 860px) {
	.head-inner { gap: 16px; min-height: 60px; }
	.nav { display: none; }
	.head-tools { display: none; }
	.mobile-menu { display: block; margin-left: auto; }
	.mobile-menu summary {
		list-style: none; cursor: pointer; width: 34px; height: 34px;
		display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center;
		border: 1px solid var(--line-strong); border-radius: 50%;
	}
	.mobile-menu summary::-webkit-details-marker { display: none; }
	.mobile-menu summary span { display: block; width: 14px; height: 1.5px; background: var(--ink); }
	.mobile-menu-body {
		position: absolute; right: 0; top: 46px; z-index: 70;
		background: var(--paper-2); border: 1px solid var(--line);
		border-radius: var(--radius); padding: 14px; width: 240px;
		display: flex; flex-direction: column; gap: 4px;
		box-shadow: 0 18px 40px rgba(21,23,26,0.16);
	}
	.mobile-menu-body a { padding: 8px 10px; border-radius: 6px; font-size: 14px; }
	.mobile-menu-body a:hover { background: var(--panel); }
	.mobile-menu-body .searchbox {
		margin-top: 10px; border-radius: 8px; flex-direction: column; align-items: stretch;
	}
	.mobile-menu-body .searchbox input { width: 100%; padding: 10px 12px; }
	.mobile-menu-body .searchbox button {
		justify-content: center; padding: 9px; border-top: 1px solid var(--line); color: var(--ink);
	}

	.home-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 28px; }
	.home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
	.hero { grid-template-columns: 1fr; gap: 26px; padding: 0 0 40px; }
	.hero-cover { order: -1; max-width: 300px; }
	.disc-head { grid-template-columns: 1fr; gap: 26px; padding: 18px 0 36px; }
	.disc-cover { max-width: 300px; }
	.sec { grid-template-columns: 1fr; gap: 16px; padding: 30px 0 38px; }
	.tracks { columns: 1; }
	.sec-index { position: static; }
	.sec-index h2 { font-size: 20px; font-family: var(--serif); }
	.kv-cols { columns: 1; }
	.disc-spec-grid { grid-template-columns: 1fr; gap: 26px; }
	.details-grid { grid-template-columns: 1fr; gap: 26px; }
	.dl-release-body { grid-template-columns: 1fr; gap: 20px; }
	.grid-4, .grid-3 { columns: 200px; }
	.shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-inner { grid-template-columns: 1fr; gap: 30px; padding: 34px 0 26px; }
	.foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	:root { --gutter: 18px; }
	.home-side { grid-template-columns: 1fr; }
	.grid-4, .grid-3 { columns: 150px; column-gap: 14px; }
	.card-title { font-size: 15.5px; }
	.dl-release { padding: 14px 14px 16px; }
	.dl-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 5px; }
	.dl-gets { grid-column: 1 / -1; justify-content: flex-start; }
	.dl-size { justify-self: end; }
	.bdinfo-pre { font-size: 10.5px; padding: 14px; }
	.foot-cols { grid-template-columns: 1fr 1fr; }
	.shots { grid-template-columns: 1fr; }
	.hero-artist { font-size: 40px; }
	.sec-no { margin-bottom: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* artist / genre indexes */
.artist-index {
	columns: 4 220px; column-gap: 36px; list-style: none; padding: 6px 0 60px;
}
.artist-index li { break-inside: avoid; border-bottom: 1px solid var(--line-soft); }
.artist-index a {
	display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
	padding: 8px 0; font-size: 14.5px; color: var(--ink-soft);
}
.artist-index a span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.artist-index a:hover { color: var(--accent); }
.genre-list-lg { padding-bottom: 60px; }

/* ---- artists A–Z index ---- */
.az-index {
	position: sticky; top: 0; z-index: 5;
	display: flex; flex-wrap: wrap; gap: 2px;
	padding: 10px 0 12px; margin: 4px 0 10px;
	background: var(--paper, #fbfaf8);
	border-bottom: 1px solid var(--line-soft);
}
.az-index a, .az-index span {
	min-width: 25px; text-align: center; padding: 5px 0;
	font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
	border-radius: 2px; color: var(--ink-soft);
}
.az-index a:hover { background: var(--accent); color: #fff; }
.az-index span { color: var(--line, #d8d4cc); cursor: default; }
.artist-group { scroll-margin-top: 70px; }
.artist-letter {
	display: flex; align-items: baseline; gap: 10px;
	margin: 34px 0 6px; padding-bottom: 6px;
	border-bottom: 1px solid var(--line-soft);
	font-size: 22px; letter-spacing: .04em;
}
.artist-letter span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.artist-group .artist-index { padding: 6px 0 0; }

@media (max-width: 560px) { .artist-index { columns: 2 140px; } }

/* ============================================================ home shelves */
.shelf-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.shelf-home .grid-3 {
	display: grid;
	columns: auto;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 30px 22px;
}
@media (max-width: 1180px) {
	.shelf-home .grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
	.shelf-home .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.shelf-home .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
	.shelf-home .grid-3 { grid-template-columns: 1fr; }
}
