@import url("/blog/static/blocks.css?v=1");
@font-face { font-family: 'Soyuz Composer'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/firs-400.woff2') format('woff2'); }
:root {
  color-scheme: dark;
  font-family: "TT Firs Neue", "Firs", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #0d0f10;
  color: #f5f5f6;
  --reader-muted: rgba(255, 255, 255, .52);
  --reader-line: rgba(255, 255, 255, .1);
  --reader-panel: #17191b;
  --reader-panel-raised: #202225;
  --reader-accent: #f4004d;
  --reader-lime: #d2ff02;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #0d0f10; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(760px 420px at 56% 4%, rgba(255, 255, 255, .045), transparent 72%), #0d0f10;
  color: #f5f5f6;
  line-height: 1.55;
}
a { color: inherit; }

.reader-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  min-width: 0;
  height: 76px;
  padding: 0 20px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .035);
  background: rgba(13, 15, 16, .88);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}
.reader-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.reader-brand img { display: block; width: 104px; height: 33px; }
.reader-nav { display: flex; align-items: center; gap: 12px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.reader-nav::-webkit-scrollbar { display: none; }
.reader-nav a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .58);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease;
}
.reader-nav a:hover { color: #fff; }
.reader-nav a.is-highlight { color: var(--reader-lime); }
.reader-nav > span { flex: 0 0 auto; width: 1px; height: 12px; background: rgba(255, 255, 255, .28); }
.reader-topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.reader-activity,
.reader-topup,
.reader-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.reader-activity { padding: 0 13px; border-radius: 10px; background: #1a1c1e; color: rgba(255, 255, 255, .76); }
.reader-topup { padding: 0 15px; border-radius: 10px; background: linear-gradient(135deg, #98a900, #bfd500); color: #fff; }
.reader-account { width: 36px; border: 2px solid #f4d72b; border-radius: 50%; background: #1a1c1e; color: #fff; }

.article-shell { width: 100%; padding: clamp(46px, 7vw, 96px) 24px 140px; }
.article-shell article { width: 100%; }
.article-header { width: 100%; max-width: 720px; margin: 0 auto; }
.article-header h1 {
  margin: 14px 0 20px;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.eyebrow { margin: 0; color: #a5a7ad; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; }
.lead { margin: 0 0 24px; color: #b8b9be; font-size: 19px; }
.author-row,
.profile-header { display: flex; gap: 12px; align-items: center; color: #a8a9ae; }
.author-row img,
.profile-header img { border-radius: 50%; object-fit: cover; }
.author-row time { margin-left: auto; }
.article-cover { width: 100%; max-width: 720px; margin: 42px auto 0; }
.article-cover img,
.article-cover video { display: block; width: 100%; max-height: 760px; object-fit: contain; border-radius: 22px; background: #151719; }

.profile-shell { max-width: 1120px; margin: 0 auto; padding: 72px 24px 120px; }
.profile-header h1 { margin: 0; color: #f5f5f6; font-size: clamp(38px, 6vw, 60px); letter-spacing: -.045em; }
.profile-header p { margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 48px; }
.post-card a { display: block; height: 100%; padding: 24px; border: 1px solid var(--reader-line); border-radius: 18px; background: #151719; text-decoration: none; }
.post-card a:hover { background: #1b1d20; }
.post-card h2 { margin: 0; }
.post-card p { color: #aaaeb5; }
.post-card time { color: #85888f; font-size: 13px; }

@media (max-width: 1040px) {
  .reader-topbar { gap: 18px; }
  .reader-nav { mask-image: linear-gradient(90deg, #000 calc(100% - 42px), transparent); }
  .reader-activity { display: none; }
}

@media (max-width: 760px) {
  .reader-topbar { height: 64px; padding: 0 14px; }
  .reader-brand img { width: 94px; height: auto; }
  .reader-nav { display: none; }
  .reader-topbar__actions { margin-left: auto; }
  .reader-activity { display: inline-flex; }
  .reader-topup { display: none; }
  .article-shell { padding: 38px 16px 96px; }
  .article-header h1 { font-size: clamp(38px, 13vw, 58px); }
  .article-cover { margin-top: 30px; }
  .author-row { flex-wrap: wrap; }
  .author-row time { width: 100%; margin-left: 0; }
  .profile-shell { padding: 46px 16px 96px; }
}

@media (max-width: 430px) {
  .reader-activity { display: none; }
  .reader-topbar__actions { gap: 6px; }
}
