:root {
  color-scheme: dark;
  --bg: #111214;
  --bg-raised: #1a1b1e;
  --text: #e8e6e3;
  --text-dim: #9a9691;
  --accent: #e2b13c;
  --border: #2c2d30;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header.site-header .site-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-switch {
  font-size: 0.85rem;
  white-space: nowrap;
}

.lang-switch a {
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.lang-switch a.active {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  pointer-events: none;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

h1 { font-size: 1.8rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

.meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.band-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.band-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.band-list a { font-size: 1.2rem; font-weight: 600; }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.gallery figure {
  margin: 0;
  max-width: 14rem;
}

.gallery img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.gallery figcaption {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.member-list, .release-list {
  list-style: none;
  padding: 0;
}

.member-list li, .release-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.bio p {
  margin: 0 0 1rem;
}

.bio-more summary {
  cursor: pointer;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
  list-style: none;
}

.bio-more summary::-webkit-details-marker {
  display: none;
}

body.lang-en .bio-more summary::before {
  content: "Read more ↓";
}

body.lang-en .bio-more[open] summary::before {
  content: "Show less ↑";
}

body.lang-ru .bio-more summary::before {
  content: "Читать дальше ↓";
}

body.lang-ru .bio-more[open] summary::before {
  content: "Свернуть ↑";
}

table.tracklist {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table.tracklist td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.tracklist td.track-position {
  color: var(--text-dim);
  width: 2rem;
}

table.tracklist td.track-duration {
  color: var(--text-dim);
  text-align: right;
  width: 3rem;
}

table.tracklist audio {
  height: 2rem;
  max-width: 12rem;
}

.license {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2rem;
}

.gallery-item {
  display: block;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.lightbox:target {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox img {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
  z-index: 1;
}
