@font-face {
  font-family: Sibmo;
  src: url("/css/xsans-FD.woff") format("woff");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: radial-gradient(
      circle at 85% -5%,
      rgba(118, 103, 255, 0.22),
      transparent 29%
    ),
    #090a11;
  color: #eef0f8;
  font-family: Sibmo, Tahoma, sans-serif;
  line-height: 1.9;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 17, 0.82);
  backdrop-filter: blur(18px);
}
.header-high {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  width: 100%;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.site-header nav {
  display: flex;
  gap: 8px;
}
.site-header nav a {
  padding: 7px 12px;
  border-radius: 10px;
  color: #b9bdcc;
  font-size: 13px;
}
.site-header nav a:hover,
.site-header nav .active {
  background: rgba(118, 103, 255, 0.14);
  color: #fff;
}
main {
  width: min(1080px, calc(100% - 32px));
  margin: 40px auto 80px;
}
.hero {
  padding: 64px 6%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background: radial-gradient(
      circle at 10% 110%,
      rgba(237, 20, 91, 0.2),
      transparent 32%
    ),
    linear-gradient(140deg, #181a2c, #0e101b);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.hero > span,
.category {
  color: #9d95ff;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  max-width: 650px;
  margin: 8px 0;
  font-size: clamp(30px, 5vw, 55px);
  line-height: 1.35;
}
.hero p {
  max-width: 650px;
  color: #aeb3c4;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.post-card > a {
  display: flex;
  height: 100%;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.025)
  );
  transition: 0.25s;
}
.post-card > a:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 128, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}
.post-date {
  display: flex;
  flex: 0 0 58px;
  height: 68px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 17px;
  background: linear-gradient(145deg, #a60e4c, #3322ef);
}
.post-date strong {
  font-size: 23px;
  line-height: 1;
}
.post-date span {
  font-size: 10px;
}
.post-card h2 {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.65;
}
.post-card p {
  color: #a6aabc;
  font-size: 13px;
}
.post-card small,
.meta {
  color: #777e94;
}
.article,
.comments {
  max-width: 850px;
  margin: auto;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  color: #858b9f;
  font-size: 12px;
  white-space: nowrap;
}
.breadcrumbs b {
  overflow: hidden;
  text-overflow: ellipsis;
}
.article > header {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: linear-gradient(145deg, #191b2a, #0f1019);
}
.article h1 {
  margin: 10px 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.45;
}
.article > header p {
  color: #b5b9c8;
}
.meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
}
.article-body {
  padding: 28px 42px;
  color: #c9ccda;
}
.article-body h2 {
  margin-top: 34px;
  color: #fff;
  font-size: 23px;
}
.article-body li {
  margin: 8px 0;
}
.comments {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.035);
}
.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comments-head span {
  color: #9d95ff;
  font-size: 11px;
}
.comments-head h2 {
  margin: 0;
}
.comments-head > b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(118, 103, 255, 0.18);
  color: #b6b0ff;
}
.comment-form {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0;
}
.comment-form textarea {
  width: 100%;
  min-height: 115px;
  resize: vertical;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  outline: 0;
  background: #0b0c13;
  color: #fff;
  font: inherit;
}
.comment-form textarea:focus {
  border-color: #7667ff;
}
.comment-form button,
.empty a {
  padding: 10px 22px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #7667ff, #ed145b);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.login-note,
.comment-message,
.no-comments {
  margin: 20px 0;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(118, 103, 255, 0.1);
  color: #c6c8d3;
}
.login-note a {
  color: #a69fff;
  font-weight: 900;
}
.comment {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.comment .avatar {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #7667ff, #ed145b);
  font-weight: 900;
}
.comment > div:last-child {
  min-width: 0;
  flex: 1;
}
.comment header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.comment time {
  color: #747b90;
  font-size: 10px;
}
.comment p {
  margin: 5px 0;
  color: #c8cad5;
  overflow-wrap: anywhere;
}
.empty {
  text-align: center;
  padding: 100px 20px;
}
.empty span {
  color: #7667ff;
  font-size: 70px;
  font-weight: 900;
}
.empty h1 {
  margin-top: 0;
}
footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #7e8497;
  font-size: 12px;
}
@media (max-width: 800px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .site-header nav a:not(.active):not(:last-child) {
    display: none;
  }
}
@media (max-width: 520px) {
  main {
    width: calc(100% - 20px);
    margin-top: 20px;
  }
  .hero {
    padding: 38px 22px;
  }
  .article > header,
  .article-body,
  .comments {
    padding: 22px;
  }
  .comment header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}
