﻿
:root {
  --bg: #091109;
  --panel: #111a11;
  --text: #ebf6eb;
  --muted: #a9b8a9;
  --accent: #24db3f;
  --line: #213321;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #122212, var(--bg));
  color: var(--text);
}
a { color: #86f59b; text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: rgba(9, 17, 9, 0.85);
  z-index: 10;
}
.logo-wrap img { height: 48px; width: auto; }
.header-meta { color: var(--muted); font-size: 0.92rem; }
.index-wrap, .release-layout, .tag-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.2rem 2rem;
}
.intro { margin-bottom: 1rem; }
.intro h1 { margin: 0.2rem 0 0.5rem; }
.langs { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.8rem 0; }
.langs a {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.langs a.active { color: var(--text); border-color: var(--accent); }
#searchInput {
  width: 100%;
  max-width: 560px;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #2a462a;
  background: #0f180f;
  color: var(--text);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.95rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card h2 {
  font-size: 0.98rem;
  margin: 0.65rem 0.8rem 0.5rem;
  line-height: 1.25;
}
.card p {
  margin: 0 0.8rem 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.release-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 1rem; }
.release-main, .release-side section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.release-main h1 { margin-top: 0.2rem; line-height: 1.15; }
.type-pill {
  display: inline-block;
  margin: 0;
  background: #193019;
  border: 1px solid #2a462a;
  color: #9dffb0;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
}
.cover {
  width: min(100%, 460px);
  border-radius: 12px;
  display: block;
  border: 1px solid #203220;
}
.meta-list { padding-left: 1.2rem; line-height: 1.55; }
.btn {
  display: inline-block;
  background: #1d3a1d;
  border: 1px solid #2b5a2f;
  border-radius: 10px;
  padding: 0.48rem 0.75rem;
  color: #bcfdc7;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags a {
  border: 1px solid #315331;
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  color: #b6d5b6;
  font-size: 0.84rem;
}
svg { width: 100%; max-width: 620px; height: auto; }
svg rect { fill: #0f180f; stroke: #233423; }
svg polyline { fill: none; stroke: #34df51; stroke-width: 2.6; }
svg circle { fill: #7bf08d; }
svg text { fill: #9eb59e; font-size: 12px; }
.release-side h3 { margin-top: 0; }
.release-side ul { margin: 0; padding-left: 1.1rem; }
audio { width: min(100%, 480px); }
@media (max-width: 900px) {
  .release-layout { grid-template-columns: 1fr; }
}

.ad-slot {
  background: #101910;
  border: 1px solid #2b452b;
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0.8rem 0;
}
.ad-link {
  display: inline-block;
  color: #bcfdc7;
  text-decoration: underline;
  font-weight: 600;
}
.ad-sidebar-desktop { display: none; }
@media (min-width: 901px) {
  .ad-sidebar-desktop { display: block; }
}
.ad-sticky-mobile {
  position: fixed;
  bottom: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  z-index: 120;
  background: rgba(17,26,17,0.96);
  border: 1px solid #315331;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  text-align: center;
}
@media (min-width: 901px) {
  .ad-sticky-mobile { display: none; }
}
.search-empty-ad {
  margin-top: 0.8rem;
  background: #121d12;
  border: 1px solid #294329;
  border-radius: 10px;
  padding: 0.7rem;
}
