.preview[data-astro-cid-qfooq7bn] {
  background: oklch(14% .015 255);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.55;
  max-height: 600px;
  overflow-y: auto;
}

.code-lines[data-astro-cid-qfooq7bn] {
  list-style: none;
  margin: 0;
  padding: .75rem 0;
  counter-reset: line;
}

.line[data-astro-cid-qfooq7bn] {
  padding: 0 1rem 0 3.5rem;
  white-space: pre;
  counter-increment: line;
  position: relative;
  color: var(--ash);
}

.line[data-astro-cid-qfooq7bn]:before {
  content: counter(line);
  position: absolute;
  left: 0;
  width: 2.5rem;
  text-align: right;
  padding-right: .6rem;
  color: var(--muted);
  font-size: .7rem;
  user-select: none;
}

.line[data-astro-cid-qfooq7bn]:hover {
  background: oklch(80% .13 195 / .06);
}

.more[data-astro-cid-qfooq7bn] {
  display: block;
  padding: .5rem 1rem;
  color: var(--muted);
  font-size: .75rem;
  border-top: 1px solid var(--border-soft);
  background: oklch(15% .015 255);
}
.crumbs[data-astro-cid-bysrks4j] {
  margin-bottom: .5rem;
  font-family: var(--mono);
  font-size: .85rem;
}

.file-head[data-astro-cid-bysrks4j] {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.meta[data-astro-cid-bysrks4j] {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-bottom: .85rem;
  flex-wrap: wrap;
}

.ft-badge[data-astro-cid-bysrks4j] {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ft-color, var(--muted));
  padding: .1rem .55rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--ft-color, var(--border-soft));
  opacity: .85;
}

.lang-badge[data-astro-cid-bysrks4j] {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  padding: .1rem .55rem;
  border-radius: 999px;
  background: oklch(80% .13 195 / .1);
}

.details[data-astro-cid-bysrks4j] {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  color: var(--ash);
  margin-bottom: .85rem;
}

.detail[data-astro-cid-bysrks4j] .dl[data-astro-cid-bysrks4j] {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .78rem;
  margin-right: .3rem;
}

.detail[data-astro-cid-bysrks4j] code[data-astro-cid-bysrks4j] {
  font-size: .78rem;
  color: var(--ash);
  word-break: break-all;
}

.stats-row[data-astro-cid-bysrks4j] {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
  font-size: .85rem;
}

.stat[data-astro-cid-bysrks4j] .dl[data-astro-cid-bysrks4j] {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .78rem;
}

.stat[data-astro-cid-bysrks4j] strong[data-astro-cid-bysrks4j] {
  color: var(--ink);
}

.badge-test[data-astro-cid-bysrks4j] {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--good);
  background: oklch(80% .13 150 / .1);
  padding: .1rem .55rem;
  border-radius: 999px;
}

.tags[data-astro-cid-bysrks4j] {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.content-section[data-astro-cid-bysrks4j] {
  margin-top: 2rem;
}

.content-section[data-astro-cid-bysrks4j] h2[data-astro-cid-bysrks4j] {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.prev-next[data-astro-cid-bysrks4j] {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.pn-link[data-astro-cid-bysrks4j] {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  max-width: 45%;
  transition: border-color .15s, background .15s;
}

.pn-link[data-astro-cid-bysrks4j]:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  text-decoration: none;
}

.pn-label[data-astro-cid-bysrks4j] {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pn-title[data-astro-cid-bysrks4j] {
  color: var(--ash);
  font-size: .85rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pn-next[data-astro-cid-bysrks4j] {
  text-align: right;
}

@media (width <= 640px) {
  .prev-next[data-astro-cid-bysrks4j] {
    flex-direction: column;
  }

  .pn-link[data-astro-cid-bysrks4j] {
    max-width: 100%;
  }

  .pn-next[data-astro-cid-bysrks4j] {
    text-align: left;
  }
}
