/* Kept — late-evening reading: deep indigo, warm paper text, unhurried. */
:root {
  --bg:      #f7f6f9;
  --surface: #ffffff;
  --ink:     #17161d;
  --muted:   #5f5d6b;
  --faint:   #94929f;
  --hair:    #e5e3ec;
  --accent:  #6b5bab;
  --lift: 0 1px 2px rgba(20,18,30,.04), 0 16px 38px -22px rgba(20,18,30,.34);
  --serif: "Iowan Old Style", Charter, Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #0e0d14; --surface: #17161f; --ink: #eae8f2; --muted: #a09eb0;
  --faint: #6f6d7e; --hair: #282634; --accent: #9d8fdd;
  --lift: 0 1px 2px rgba(0,0,0,.5), 0 18px 42px -24px rgba(0,0,0,.9);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0d14; --surface: #17161f; --ink: #eae8f2; --muted: #a09eb0;
    --faint: #6f6d7e; --hair: #282634; --accent: #9d8fdd;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); }

.mast {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 12px;
  align-items: center; justify-content: space-between; padding: 12px 18px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair);
}
.brand { display: flex; align-items: center; gap: 10px; }
.star { font-size: 20px; color: var(--accent); }
.words { display: flex; flex-direction: column; line-height: 1.25; }
.words b { font-family: var(--serif); font-size: 17px; }
.words em { font-style: normal; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); }
.icon { background: none; border: 1px solid var(--hair); color: var(--ink);
  border-radius: 9px; padding: 6px 10px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 10px 18px 40px; }
.hero { padding: 26px 0 16px; }
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 38px);
  margin: 0 0 10px; line-height: 1.14; }
.hero p { margin: 0; color: var(--muted); line-height: 1.65; }
.stat { color: var(--accent); }

.topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 22px; }
.topic { background: transparent; border: 1px solid var(--hair);
  color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; }
.topic.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.topic span { opacity: .6; }

.feed { display: flex; flex-direction: column; gap: 26px; }
.entry { background: var(--surface); border: 1px solid var(--hair);
  border-radius: 15px; overflow: hidden; box-shadow: var(--lift); }
.player { position: relative; aspect-ratio: 16/9; background: #000;
  cursor: pointer; display: block; }
.player img, .player iframe { width: 100%; height: 100%; display: block;
  object-fit: cover; border: 0; }
.play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  border-radius: 50%; border: 0; font-size: 21px; color: #fff;
  background: rgba(15,12,25,.62); backdrop-filter: blur(3px);
  display: grid; place-items: center; transition: transform .16s ease;
}
.player:hover .play { transform: scale(1.08); }
.body { padding: 18px 20px 20px; }
.body h2 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px;
  line-height: 1.25; }
.meta { margin: 0 0 12px; font-size: 12.5px; color: var(--faint); }
.meta a { text-decoration: none; }
.note { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

.comments { margin-top: 20px; border-top: 1px solid var(--hair); padding-top: 16px; }
.comments h3 { font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 12px; font-weight: 600; }
blockquote {
  margin: 0 0 14px; padding: 14px 16px; border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
blockquote p { margin: 0; font-size: 14.5px; line-height: 1.65; }
blockquote cite { display: block; margin-top: 9px; font-style: normal;
  font-size: 11.5px; color: var(--faint); }
.context {
  margin-top: 12px !important; font-size: 12.8px !important; color: var(--muted);
  border-top: 1px dashed var(--hair); padding-top: 10px;
}
.context b { display: block; font-size: 10px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.empty { color: var(--faint); }

.foot { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hair);
  color: var(--faint); font-size: 11.5px; line-height: 1.7;
  padding: 20px 18px 30px; text-align: center; }
