:root {
  --bg: #0b0d12;
  --panel: #151922;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent: #f5b942;
  --border: #252b38;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.7 Georgia, "Times New Roman", serif;
}
a { color: var(--accent); }
h1, h2, h3, .brand, nav, .btn, time {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; letter-spacing: .02em; }
nav a { margin-left: 1.2rem; color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
main { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.hero { text-align: center; padding: 4rem 0 3rem; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin: 0 0 .5rem; line-height: 1.1; }
.hero p { color: var(--muted); font-size: 1.3rem; margin: 0 0 1.5rem; }
.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  margin: .25rem;
}
.btn.alt { background: transparent; color: var(--text); border: 1px solid var(--border); }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.4rem; }
.card h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: 1rem; margin: .5rem 0 0; }
time { color: var(--muted); font-size: .9rem; }
audio, video { width: 100%; margin-top: .8rem; border-radius: 8px; }
.embed { position: relative; padding-top: 56.25%; margin-top: .8rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.post { max-width: 700px; margin: 0 auto; }
.post h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.2; margin-bottom: .3rem; }
.post h2 { margin-top: 2rem; }
.post blockquote { border-left: 3px solid var(--accent); margin: 1.5rem 0; padding-left: 1rem; color: var(--muted); }
footer { text-align: center; color: var(--muted); border-top: 1px solid var(--border); padding: 1.5rem; font-size: .9rem; margin-bottom: 4.5rem; }
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1.2rem;
  background: rgba(21, 25, 34, .96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.player[hidden] { display: none; }
.player button {
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #111;
  font-size: 1rem;
  cursor: pointer;
}
.player #np { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.player #vol { width: 90px; accent-color: var(--accent); }
button.btn { border: 0; cursor: pointer; font-size: 1rem; margin: .8rem 0 0; }
