.cover {
  aspect-ratio: 2;
  object-fit: cover;
  background: var(--tag-bg);
  border-radius: 8px;
  width: 100%;
  margin-bottom: 16px;
  display: block;
}

.cover {
  aspect-ratio: 2;
  object-fit: cover;
  background: #1a1a1a;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 16px;
  transition: transform .3s, box-shadow .3s;
  display: block;
}

.post-card:hover .cover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #00000026;
}

.post .cover {
  aspect-ratio: 2.5;
  margin-bottom: 24px;
}

.post-hero {
  aspect-ratio: 2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 32px;
  padding: 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.post-hero-content {
  z-index: 2;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: absolute;
  inset: 0;
}

.hero-plate {
  color: #fff;
  z-index: 0;
  isolation: isolate;
  margin: 0;
  display: inline-block;
  position: relative;
}

.hero-plate:before {
  content: "";
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  background: #0f0f0f99;
  border-radius: 24px;
  position: absolute;
  inset: -8px -24px;
}

h1.hero-plate {
  word-wrap: break-word;
  max-width: 100%;
  font-size: 2.1em;
  font-weight: 700;
  line-height: 1.2;
}

.hero-date {
  color: #fff;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 1em;
  display: flex;
}

.hero-date-line {
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  align-items: center;
  gap: 14px;
  display: inline-flex;
}

.hero-date:before {
  filter: blur(12px);
  border-radius: 20px;
  inset: -6px -18px;
}

.hero-modified-old {
  color: #ffffffd9;
  font-size: .82em;
}

.hero-views {
  color: #ffffffd9;
  align-items: center;
  gap: 4px;
  font-size: .82em;
  display: inline-flex;
}

.hero-tags {
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  display: flex;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}

.hero-related-tags {
  z-index: 2;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(5px, .8vw, 6px);
  padding: 0 clamp(8px, 1.5vw, 16px);
  display: flex;
  position: absolute;
  bottom: clamp(12px, 3.5vw, 28px);
  left: 0;
  right: 0;
  overflow: hidden;
}

.hero-tag {
  color: var(--text);
  font-size: inherit;
  background: none;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background-color .15s, color .15s;
  display: inline-block;
  text-decoration: none !important;
}

.post-header {
  text-align: center;
  margin: 24px 0 32px;
}

.post-header h1 {
  margin: 0 0 12px;
  font-size: 2.3em;
  line-height: 1.15;
}

@media (width <= 640px) {
  .post-hero {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 16px;
  }

  .post-hero-content {
    padding: 16px;
  }

  h1.hero-plate {
    font-size: 1.4em;
  }

  .hero-plate:before {
    filter: blur(12px);
    inset: -6px -16px;
  }

  .hero-date {
    margin-top: 10px;
    font-size: .85em;
  }

  .hero-tags {
    bottom: 12px;
  }

  .hero-tag {
    padding: 4px 10px;
    font-size: .78em;
  }

  .post-hero-content h1, .post-header h1 {
    font-size: 1.6em;
  }
}

.post-card .post-meta {
  align-items: center;
  gap: 14px;
  display: flex;
}

.post-card .views {
  color: var(--muted);
  align-items: center;
  gap: 4px;
  font-size: .9em;
  display: inline-flex;
}

.post-card .modified, .post .post-modified {
  color: var(--muted);
  align-items: center;
  gap: 4px;
  font-size: .85em;
  display: inline-flex;
}

.post-card .modified svg {
  opacity: .7;
}

@media (width <= 640px) {
  .container {
    padding-top: 0;
  }

  .post-hero, .home-hero {
    border-radius: 0;
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .container > .post-list, .container > .content, .container > .post-header, .container > .tag-header, .container > .not-found, .container > .post, .post > .post-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .post > .post-hero .post-hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .post-hero, .home-hero {
    border-radius: 0;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  .container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 80px !important;
  }

  .post-hero, .home-hero {
    border-radius: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
  }

  .container > .post-list, .container > .content, .container > .post-header, .container > .tag-header, .container > .not-found, .post > .content {
    padding-left: 16px;
    padding-right: 16px;
  }

  html, body {
    overflow-x: hidden;
  }

  .container > .post, .container > article.post {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .post > .post-hero, .post-hero, .home-hero {
    border-radius: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .post > .content, .post > .post-header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.related-posts {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
  animation: .65s cubic-bezier(.22, 1, .36, 1) both fadeInUp;
}

.related-title {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 16px;
  font-size: 1.15em;
  font-weight: 600;
}

.related-posts .post-card h3 {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.3;
}

.related-posts .post-card:last-child {
  border-bottom: none;
}

@media (width <= 640px) {
  .related-posts {
    margin-top: 32px;
    padding-top: 24px;
  }

  .related-posts .post-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.related-title {
  padding-left: 16px;
  padding-right: 16px;
}

@media (width <= 640px) {
  .related-title {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container > :not(.post-hero):not(.home-hero):not(.tag-hero):not(.post):not(article.post):not(.not-found) {
    box-sizing: border-box;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.post-tags-scroll {
  text-align: center;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 0 16px;
  display: block;
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(to right, #0000 0, #000 10px calc(100% - 10px), #0000 100%);
  mask-image: linear-gradient(to right, #0000 0, #000 10px calc(100% - 10px), #0000 100%);
}

.post-tags-scroll::-webkit-scrollbar {
  display: none;
}

.post-tags-scroll .hero-tag {
  color: var(--text);
  font-size: inherit;
  background: none;
  border-radius: 6px;
  margin: 0 2px;
  padding: 4px 8px;
  transition: background-color .15s, color .15s;
  display: inline-block;
  text-decoration: none !important;
}

.post-tags-scroll .hero-tag:hover {
  background-color: var(--tag-bg);
  color: var(--text);
  text-decoration: none !important;
}

.post-tags-scroll .hero-tag, .post-tags-scroll .hero-tag:hover, .post-tags-scroll .hero-tag:focus, .post-tags-scroll .hero-tag:active, .hero-tag, .hero-tag:hover, .hero-tag:focus, .hero-tag:active, .tag, .tag:hover, .tag:focus, .tag:active {
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.hero-bottom-right {
  z-index: 3;
  color: #ffffffe6;
  text-shadow: 0 1px 3px #000c;
  align-items: center;
  gap: 12px;
  font-size: .9em;
  display: flex;
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.hero-bottom-right .hero-views {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.hero-modified-badge {
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  text-shadow: 0 1px 3px #000000e6;
  background: #0f0f0fa6;
  border: 1px solid #ffffff26;
  border-radius: 6px;
  outline: none;
  padding: 4px 10px;
  font-size: .85em;
  transition: background .15s;
  position: relative;
}

.hero-modified-badge:hover {
  background: #0f0f0fd9;
}

.hero-tooltip {
  background: var(--bg);
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  border: 1px solid var(--border);
  pointer-events: none;
  text-shadow: none;
  z-index: 10;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .85em;
  font-weight: 500;
  transition: opacity .2s, transform .2s, visibility .2s;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px #0000004d;
}

.hero-modified-badge:hover .hero-tooltip, .hero-modified-badge:focus .hero-tooltip, .hero-modified-badge:active .hero-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (width <= 640px) {
  .hero-bottom-right {
    font-size: .85em;
    bottom: 12px;
    right: 12px;
  }
}

.hero-tooltip {
  text-shadow: none;
}

.hero-top-right {
  z-index: 3;
  position: absolute;
  top: 16px;
  right: 16px;
}

.post-card-modified {
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  z-index: 2;
  font-size: .85em;
  transition: color .15s;
  position: absolute;
  top: 18px;
  right: 16px;
}

.post-card-modified:hover {
  color: var(--text);
}

.post-card-modified .pc-mod-date, .post-card-modified:hover .pc-mod-text, .post-card-modified:focus .pc-mod-text {
  display: none;
}

.post-card-modified:hover .pc-mod-date, .post-card-modified:focus .pc-mod-date {
  display: inline;
}

.post-card h2 {
  margin-top: 0;
  padding-right: 85px;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 48px 0 32px;
}

.about-logo {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  display: inline-flex;
}

.about-logo .logo-mark {
  width: 72px;
  height: 72px;
}

.about-logo .logo-mark svg {
  width: 100%;
  height: 100%;
}

.about-logo .logo-text {
  letter-spacing: .06em;
  font-size: 1.6em;
  font-weight: 900;
}

.about-header h1 {
  letter-spacing: -.02em;
  margin-bottom: 8px;
  font-size: 2em;
  font-weight: 800;
}

.about-tagline {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.1em;
}

.live-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: .9em;
  display: flex;
}

.live-stats strong {
  color: var(--text);
  font-weight: 700;
}

.live-stats .divider {
  color: var(--border);
}

.tech-specs {
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 2em 0;
  display: grid;
  overflow: hidden;
}

.spec-item {
  background: var(--bg);
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  display: flex;
}

.spec-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.spec-name {
  font-family: var(--font-mono);
  color: var(--link);
  font-size: .9em;
  font-weight: 700;
}

.spec-desc {
  color: var(--muted);
  font-size: .85em;
  line-height: 1.5;
}

.infographic-flow {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin: 2.5em 0;
  padding: 24px 16px;
  display: flex;
}

.flow-step {
  text-align: center;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 8px;
  display: flex;
}

.flow-icon {
  width: 32px;
  height: 32px;
  color: var(--text);
}

.flow-step span {
  color: var(--text);
  font-size: .85em;
  font-weight: 600;
}

.flow-arrow {
  color: var(--muted);
  opacity: .5;
  margin: 0 12px;
  font-family: monospace;
  font-size: 1.2em;
}

.metric-col {
  border-right: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
  display: flex;
}

.metric-col:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  font-size: .85em;
}

.metric-value {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 1.8em;
  font-weight: 800;
  line-height: 1.1;
}

.metric-sub {
  color: var(--muted);
  font-size: .85em;
}

.bar-container {
  background: var(--border);
  border-radius: 3px;
  width: 100%;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
}

.bar-fill {
  background: var(--link);
  border-radius: 3px;
  width: 4%;
  height: 100%;
}

.bar-fill-ram {
  background: var(--link);
  border-radius: 3px;
  width: 12%;
  height: 100%;
}

.infographic-roadmap {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2em 0;
  display: grid;
}

.roadmap-card {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 16px;
}

.roadmap-card h4 {
  color: var(--text);
  margin-bottom: 4px;
  font-size: .95em;
}

.roadmap-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: .85em;
  line-height: 1.5;
}

@media (width <= 640px) {
  .live-stats {
    flex-direction: column;
    gap: 8px;
  }

  .live-stats .divider {
    display: none;
  }

  .tech-specs {
    grid-template-columns: 1fr;
  }

  .spec-item:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .infographic-flow {
    flex-direction: column;
    gap: 16px;
    padding: 32px 16px;
  }

  .flow-arrow {
    margin: 4px 0;
    transform: rotate(90deg);
  }

  .metric-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    padding-right: 0;
  }

  .metric-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .infographic-roadmap {
    grid-template-columns: 1fr;
  }
}

.hero-bottom-right .hero-date-line {
  color: #fff;
  text-shadow: 0 1px 3px #000000e6;
  isolation: isolate;
  align-items: center;
  gap: 12px;
  display: flex;
  position: relative;
}

.hero-bottom-right .hero-date-line:before {
  content: "";
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
  background: #0f0f0f99;
  border-radius: 999px;
  position: absolute;
  inset: -6px -14px;
}

.hero-bottom-right .hero-date-line time, .hero-bottom-right .hero-views {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

.hero-bottom-right .hero-views svg {
  display: block;
}

.post-hero {
  background-image: var(--cover, none);
}

.post-chat-preview {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  margin: 48px 0;
  padding: 24px;
}

.preview-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.preview-title {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0;
  font-size: 1.15em;
  font-weight: 600;
}

.preview-count-link {
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 28px;
  height: 28px;
  color: var(--muted);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  font-size: .85em;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  display: inline-flex;
}

.preview-count-link:hover {
  border-color: var(--link);
  color: var(--link);
  text-decoration: none;
}

.preview-messages {
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.preview-msg {
  gap: 12px;
  display: flex;
}

.preview-avatar {
  background: var(--border);
  width: 32px;
  height: 32px;
  color: var(--text);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: .85em;
  font-weight: 700;
  display: flex;
}

.preview-content {
  flex: 1;
  min-width: 0;
}

.preview-author {
  color: var(--text);
  margin-bottom: 2px;
  font-size: .85em;
  font-weight: 600;
}

.preview-text {
  color: var(--text);
  word-wrap: break-word;
  font-size: .95em;
  line-height: 1.4;
}

.preview-empty {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: .95em;
}

.preview-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 100%;
  color: var(--text);
  box-sizing: border-box;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 12px;
  font-size: .9em;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.preview-btn:hover {
  background: var(--border);
  text-decoration: none;
}

.post-divider {
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

@media (width <= 640px) {
  .post-chat-preview {
    margin: 32px 0;
    padding: 16px;
  }

  .preview-header {
    flex-direction: row;
    align-items: center;
  }
}
