:root {
  --bg: #0b0b0f;
  --card: #16171d;
  --card-2: #1c1d24;
  --border: rgba(255,255,255,0.07);
  --text: #f2f3f5;
  --dim: #9a9ca3;
  --violet: #8a5cf6;
  --violet-2: #7c3aed;
  --green: #23a55a;
  --red: #f23f42;
  --amber: #f0b232;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; max-width: 100vw; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(11,11,15,0.85);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo-wrap { display: flex; align-items: center; gap: 11px; }
.logo-img { width: 38px; height: 38px; border-radius: 10px; }
.logo { font-weight: 800; font-size: 21px; color: var(--text); }

.nav-back {
  font-size: 14.5px;
  color: var(--dim);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 76px 40px 110px;
}

.page-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  line-height: 1.12;
}

.changelog-entry {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 18px;
}

.changelog-entry-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.changelog-entry-date {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 14px;
}

.changelog-entry-body {
  font-size: 14.5px;
  color: var(--text);
}

.changelog-line { margin-bottom: 7px; }
.changelog-line:last-child { margin-bottom: 0; }

.changelog-group { margin-bottom: 16px; }
.changelog-group:last-child { margin-bottom: 0; }

.changelog-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.changelog-group-title.ct-green { color: var(--green); }
.changelog-group-title.ct-amber { color: var(--amber); }
.changelog-group-title.ct-red { color: var(--red); }

.changelog-group-list { list-style: none; }
.changelog-group-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  color: var(--text);
}
.changelog-group-list li:last-child { margin-bottom: 0; }
.changelog-group-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
}

.changelog-empty {
  color: var(--dim);
  font-size: 14.5px;
  padding: 12px 0;
}

.reaction-bar {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dim);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.reaction-btn:hover { border-color: var(--violet); color: var(--text); }
.reaction-btn:disabled { opacity: 0.6; cursor: default; }

.reaction-btn.active {
  background: rgba(138,92,246,0.14);
  border-color: var(--violet);
  color: var(--violet);
}

.reaction-emoji { font-size: 15px; line-height: 1; }
.reaction-count { color: inherit; }

.footer { border-top: 1px solid var(--border); padding: 44px 0; }

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--dim); }
