html.bio-document,
body.bio-document {
  margin: 0;
  padding: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bio-draft-banner {
  --bio-draft-bg: #f8fafc;
  --bio-draft-text: #334155;
  --bio-draft-border: rgba(15, 23, 42, 0.12);
  --bio-draft-dot: #d97706;
  --bio-draft-link-bg: #ffffff;
  --bio-draft-link-text: #0f172a;
  --bio-draft-link-border: rgba(15, 23, 42, 0.18);
  --bio-draft-link-hover: rgba(217, 119, 6, 0.55);

  box-sizing: border-box;
  width: 100%;
  padding: 0.6rem clamp(0.875rem, 3vw, 1.5rem);
  background: var(--bio-draft-bg);
  color: var(--bio-draft-text);
  border-bottom: 1px solid var(--bio-draft-border);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.bio-draft-banner *,
.bio-draft-banner *::before,
.bio-draft-banner *::after {
  box-sizing: border-box;
}

html.bio-document[data-theme="dark"] .bio-draft-banner {
  --bio-draft-bg: #111827;
  --bio-draft-text: #cbd5e1;
  --bio-draft-border: rgba(248, 250, 252, 0.14);
  --bio-draft-dot: #f59e0b;
  --bio-draft-link-bg: #1e293b;
  --bio-draft-link-text: #f8fafc;
  --bio-draft-link-border: rgba(248, 250, 252, 0.18);
  --bio-draft-link-hover: rgba(245, 158, 11, 0.65);
}

@media (prefers-color-scheme: dark) {
  html.bio-document:not([data-theme="light"]) .bio-draft-banner {
    --bio-draft-bg: #111827;
    --bio-draft-text: #cbd5e1;
    --bio-draft-border: rgba(248, 250, 252, 0.14);
    --bio-draft-dot: #f59e0b;
    --bio-draft-link-bg: #1e293b;
    --bio-draft-link-text: #f8fafc;
    --bio-draft-link-border: rgba(248, 250, 252, 0.18);
    --bio-draft-link-hover: rgba(245, 158, 11, 0.65);
  }
}

.bio-draft-banner__inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
}

.bio-draft-banner__message {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.bio-draft-banner__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--bio-draft-dot);
  flex-shrink: 0;
}

.bio-draft-banner__link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid var(--bio-draft-link-border);
  background: var(--bio-draft-link-bg);
  color: var(--bio-draft-link-text);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 140ms ease;
}

.bio-draft-banner__link:hover {
  border-color: var(--bio-draft-link-hover);
}

.bio-draft-banner__link:focus-visible {
  outline: 2px solid var(--bio-draft-dot);
  outline-offset: 2px;
}

@media print {
  .bio-draft-banner {
    display: none;
  }
}

.bio-page {
  --bio-accent: #f59e0b;
  --bio-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bio-font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --bio-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --bio-bg: #f8fafc;
  --bio-surface: #ffffff;
  --bio-surface-alt: #f1f5f9;
  --bio-text: #0f172a;
  --bio-muted: #475569;
  --bio-border: rgba(15, 23, 42, 0.12);
  --bio-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.28);
  --bio-radius: 1.25rem;
  --bio-item-radius: 0.875rem;
  --bio-accent-soft: color-mix(in srgb, var(--bio-accent) 12%, transparent);
  --bio-accent-border: color-mix(in srgb, var(--bio-accent) 42%, transparent);

  box-sizing: border-box;
  min-height: 100vh;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 3.25rem) clamp(0.875rem, 3vw, 1.5rem);
  background: var(--bio-bg);
  color: var(--bio-text);
  font-family: var(--bio-font-sans);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.bio-page *,
.bio-page *::before,
.bio-page *::after {
  box-sizing: border-box;
}

.bio-page--preview {
  min-height: 30rem;
  padding: 1.5rem 1rem;
}

.bio-font--sans {
  font-family: var(--bio-font-sans);
}

.bio-font--serif {
  font-family: var(--bio-font-serif);
}

.bio-font--mono {
  font-family: var(--bio-font-mono);
}

.bio-scheme--dark {
  --bio-bg: #0b1120;
  --bio-surface: #111827;
  --bio-surface-alt: #1e293b;
  --bio-text: #f8fafc;
  --bio-muted: #94a3b8;
  --bio-border: rgba(248, 250, 252, 0.14);
  --bio-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.72);
  --bio-accent-soft: color-mix(in srgb, var(--bio-accent) 18%, transparent);
  --bio-accent-border: color-mix(in srgb, var(--bio-accent) 52%, transparent);
}

@media (prefers-color-scheme: dark) {
  .bio-scheme--auto {
    --bio-bg: #0b1120;
    --bio-surface: #111827;
    --bio-surface-alt: #1e293b;
    --bio-text: #f8fafc;
    --bio-muted: #94a3b8;
    --bio-border: rgba(248, 250, 252, 0.14);
    --bio-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.72);
    --bio-accent-soft: color-mix(in srgb, var(--bio-accent) 18%, transparent);
    --bio-accent-border: color-mix(in srgb, var(--bio-accent) 52%, transparent);
  }
}

.bio-page a:focus-visible,
.bio-page button:focus-visible {
  outline: 2px solid var(--bio-accent);
  outline-offset: 3px;
}

.bio-shell {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}

.bio-retro-bar,
.bio-luna-bar,
.bio-mac-bar {
  display: none;
}

.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.bio-avatar {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bio-accent);
  background: var(--bio-surface-alt);
}

.bio-avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bio-text);
  background: var(--bio-accent-soft);
}

.bio-name {
  margin: 0;
  font-size: clamp(1.625rem, 4.5vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--bio-text);
}

.bio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  font-size: 0.9rem;
  color: var(--bio-muted);
}

.bio-handle {
  font-family: var(--bio-font-mono);
  font-size: 0.85rem;
}

.bio-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bio-location__icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: var(--bio-accent);
}

.bio-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.35;
}

.bio-meta-item__emoji {
  flex-shrink: 0;
  line-height: 1;
}

.bio-tagline {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  color: var(--bio-muted);
}

.bio-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bio-block__heading {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-muted);
}

.bio-text__body {
  font-size: 0.98rem;
  color: var(--bio-text);
}

.bio-text__body > :first-child {
  margin-top: 0;
}

.bio-text__body > :last-child {
  margin-bottom: 0;
}

.bio-text__body p {
  margin: 0 0 0.85rem;
}

.bio-text__body p:empty {
  display: none;
}

.bio-text__body h2,
.bio-text__body h3 {
  margin: 1.25rem 0 0.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bio-text);
}

.bio-text__body h2 {
  font-size: 1.2rem;
}

.bio-text__body h3 {
  font-size: 1.05rem;
}

.bio-text__body strong,
.bio-text__body b {
  font-weight: 700;
}

.bio-text__body em,
.bio-text__body i {
  font-style: italic;
}

.bio-text__body u {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.bio-text__body s,
.bio-text__body del {
  text-decoration: line-through;
}

.bio-text__body s u,
.bio-text__body u s,
.bio-text__body del u,
.bio-text__body u del {
  text-decoration: line-through underline;
}

.bio-text__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--bio-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.bio-text__body a:hover {
  opacity: 0.82;
}

.bio-text__body ul,
.bio-text__body ol {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
}

.bio-text__body ul {
  list-style: disc;
}

.bio-text__body ol {
  list-style: decimal;
}

.bio-text__body li {
  margin: 0.25rem 0;
}

.bio-text__body li > p {
  margin: 0;
}

.bio-text__body blockquote {
  margin: 0 0 0.85rem;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 3px solid var(--bio-accent);
  color: var(--bio-muted);
}

.bio-text__body blockquote p:last-child {
  margin-bottom: 0;
}

.bio-text__body code {
  font-family: var(--bio-font-mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: var(--bio-surface-alt);
}

.bio-text__body pre {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bio-border);
  background: var(--bio-surface-alt);
  color: var(--bio-text);
  font-family: var(--bio-font-mono);
  font-size: 0.85em;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre;
}

.bio-text__body pre code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
}

.bio-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
  color: var(--bio-text);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.bio-link:hover {
  border-color: var(--bio-accent);
  background: color-mix(in srgb, var(--bio-accent) 7%, var(--bio-surface));
  transform: translateY(-1px);
}

.bio-link__text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.bio-link__label {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}

.bio-link__description {
  font-size: 0.86rem;
  color: var(--bio-muted);
  line-height: 1.4;
}

.bio-link__arrow {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--bio-accent);
}

.bio-blogs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.bio-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
}

.bio-blog-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.bio-blog-card__head:hover .bio-blog-card__title {
  text-decoration: underline;
  text-decoration-color: var(--bio-accent);
  text-underline-offset: 0.2em;
}

.bio-blog-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--bio-accent);
}

.bio-blog-card__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  background: var(--bio-accent-soft);
  color: var(--bio-text);
}

.bio-blog-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bio-blog-card__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.bio-blog-card__host {
  font-size: 0.82rem;
  color: var(--bio-muted);
  word-break: break-word;
}

.bio-blog-card__latest {
  padding-top: 0.55rem;
  border-top: 1px solid var(--bio-border);
  font-size: 0.86rem;
  color: var(--bio-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

.bio-blog-card__latest-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bio-accent);
}

.bio-blog-card__latest-link {
  color: var(--bio-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--bio-accent-border);
  text-underline-offset: 0.2em;
}

.bio-blog-card__recent {
  padding-top: 0.6rem;
  border-top: 1px solid var(--bio-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bio-blog-card__posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bio-blog-card__post {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.bio-blog-card__post-link {
  color: var(--bio-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--bio-accent-border);
  text-underline-offset: 0.2em;
  min-width: 0;
}

.bio-blog-card__post-link:hover {
  text-decoration-color: var(--bio-accent);
}

.bio-blog-card__post-date {
  font-size: 0.76rem;
  color: var(--bio-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.bio-profiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bio-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
  color: var(--bio-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.bio-profile-pill:hover {
  border-color: var(--bio-accent);
  background: var(--bio-accent-soft);
  transform: translateY(-1px);
}

.bio-profile-pill__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--bio-accent);
}

.bio-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
}

.bio-contact-card--letterbird {
  align-items: stretch;
}

.bio-contact-card__note {
  margin: 0;
  font-size: 0.94rem;
  color: var(--bio-muted);
  line-height: 1.5;
}

.bio-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--bio-accent);
  background: color-mix(in srgb, var(--bio-accent) 16%, var(--bio-surface));
  color: var(--bio-text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.bio-contact-button:hover {
  background: color-mix(in srgb, var(--bio-accent) 26%, var(--bio-surface));
  transform: translateY(-1px);
}

.bio-contact-button__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--bio-accent);
}

.bio-contact-button--preview {
  cursor: default;
}

.bio-contact-button--preview:hover {
  transform: none;
}

.bio-contact-card__hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--bio-muted);
  line-height: 1.4;
}

.bio-contact-placeholder {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: calc(var(--bio-item-radius) - 0.15rem);
  border: 1px dashed var(--bio-border);
  background: var(--bio-surface-alt);
  color: var(--bio-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.bio-contact-placeholder code {
  font-family: var(--bio-font-mono);
  font-size: 0.85em;
  color: var(--bio-text);
}

.bio-contact-placeholder__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--bio-accent);
}

.bio-contact-embed {
  width: 100%;
  min-width: 0;
}

.bio-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bio-figure__link {
  display: block;
  border-radius: var(--bio-item-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.bio-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface-alt);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.bio-figure__link .bio-figure__img {
  border-radius: inherit;
}

.bio-figure__link:hover {
  transform: translateY(-1px);
}

.bio-figure__link:hover .bio-figure__img {
  border-color: var(--bio-accent);
}

.bio-figcaption {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--bio-muted);
}

.bio-bookshelf {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
  gap: 0.85rem;
}

.bio-book {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
  color: var(--bio-text);
  text-decoration: none;
  height: 100%;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

a.bio-book:hover {
  border-color: var(--bio-accent);
  background: color-mix(in srgb, var(--bio-accent) 7%, var(--bio-surface));
  transform: translateY(-1px);
}

.bio-book__cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: calc(var(--bio-item-radius) - 0.3rem);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface-alt);
}

.bio-book__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bio-muted);
  background: var(--bio-accent-soft);
}

.bio-book__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.bio-book__title {
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--bio-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bio-book__author {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--bio-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bio-bookshelf__empty {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--bio-item-radius);
  border: 1px dashed var(--bio-border);
  background: var(--bio-surface-alt);
  color: var(--bio-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.bio-bookshelf__empty code {
  font-family: var(--bio-font-mono);
  font-size: 0.85em;
  color: var(--bio-text);
}

.bio-status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--bio-item-radius);
  border: 1px solid var(--bio-border);
  background: var(--bio-surface);
}

.bio-status__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.bio-status__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1;
}

.bio-status__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--bio-text);
  white-space: pre-line;
}

.bio-status__time {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--bio-muted);
}

.bio-status__empty {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--bio-item-radius);
  border: 1px dashed var(--bio-border);
  background: var(--bio-surface-alt);
  color: var(--bio-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.bio-divider {
  border: 0;
  height: 1px;
  width: 100%;
  margin: 0.25rem 0;
  background: linear-gradient(90deg, transparent, var(--bio-border) 20%, var(--bio-border) 80%, transparent);
}

.bio-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--bio-muted);
}

.bio-footer__credit {
  margin: 0;
}

.bio-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--bio-border);
  text-underline-offset: 0.2em;
}

.bio-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.bio-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
  transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.bio-scheme--dark .bio-badge {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  .bio-scheme--auto .bio-badge {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
}

a.bio-badge:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.bio-badge__img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.bio-theme--card {
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--bio-accent) 16%, transparent), transparent 58%),
    var(--bio-bg);
}

.bio-theme--card .bio-shell {
  max-width: 38rem;
  background: var(--bio-surface);
  border: 1px solid var(--bio-border);
  border-radius: var(--bio-radius);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: var(--bio-shadow);
}

.bio-theme--card .bio-link,
.bio-theme--card .bio-blog-card,
.bio-theme--card .bio-profile-pill,
.bio-theme--card .bio-contact-card,
.bio-theme--card .bio-status,
.bio-theme--card .bio-book {
  background: var(--bio-surface-alt);
}

.bio-theme--card .bio-contact-placeholder,
.bio-theme--card .bio-bookshelf__empty,
.bio-theme--card .bio-status__empty {
  background: var(--bio-surface);
}

.bio-theme--paper {
  --bio-bg: #f6f1e7;
  --bio-surface: #fbf8f1;
  --bio-surface-alt: #f2eadc;
  --bio-text: #221d17;
  --bio-muted: #655b4e;
  --bio-border: rgba(34, 29, 23, 0.14);
}

.bio-theme--paper.bio-scheme--dark {
  --bio-bg: #171411;
  --bio-surface: #1f1b17;
  --bio-surface-alt: #28221c;
  --bio-text: #f4ede2;
  --bio-muted: #b0a392;
  --bio-border: rgba(244, 237, 226, 0.14);
}

@media (prefers-color-scheme: dark) {
  .bio-theme--paper.bio-scheme--auto {
    --bio-bg: #171411;
    --bio-surface: #1f1b17;
    --bio-surface-alt: #28221c;
    --bio-text: #f4ede2;
    --bio-muted: #b0a392;
    --bio-border: rgba(244, 237, 226, 0.14);
  }
}

.bio-theme--paper .bio-shell {
  max-width: 42rem;
  background: var(--bio-surface);
  border-top: 4px solid var(--bio-accent);
  border-left: 1px solid var(--bio-border);
  border-right: 1px solid var(--bio-border);
  border-bottom: 1px solid var(--bio-border);
  border-radius: 0.25rem;
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: 0 12px 30px -24px rgba(34, 29, 23, 0.35);
}

.bio-theme--paper .bio-header {
  align-items: flex-start;
  text-align: left;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bio-border);
}

.bio-theme--paper .bio-meta {
  justify-content: flex-start;
}

.bio-theme--paper .bio-link,
.bio-theme--paper .bio-blog-card,
.bio-theme--paper .bio-contact-card,
.bio-theme--paper .bio-status {
  border-radius: 0.35rem;
  background: transparent;
  border-left: 3px solid transparent;
}

.bio-theme--paper .bio-contact-card,
.bio-theme--paper .bio-status {
  border-left-color: var(--bio-accent);
}

.bio-theme--paper .bio-contact-button,
.bio-theme--paper .bio-contact-placeholder {
  border-radius: 0.35rem;
}

.bio-theme--paper .bio-link:hover {
  border-left-color: var(--bio-accent);
  background: var(--bio-surface-alt);
  transform: none;
}

.bio-theme--paper .bio-profile-pill {
  border-radius: 0.35rem;
  background: transparent;
}

.bio-theme--paper .bio-text__body pre {
  border-radius: 0.25rem;
}

.bio-theme--paper .bio-figure__link,
.bio-theme--paper .bio-figure__img {
  border-radius: 0.35rem;
}

.bio-theme--paper .bio-figure__link:hover {
  transform: none;
}

.bio-theme--paper .bio-book,
.bio-theme--paper .bio-bookshelf__empty,
.bio-theme--paper .bio-status__empty {
  border-radius: 0.35rem;
  background: transparent;
}

.bio-theme--paper .bio-book__cover {
  border-radius: 0.2rem;
}

.bio-theme--paper a.bio-book:hover {
  background: var(--bio-surface-alt);
  transform: none;
}

.bio-theme--minimal {
  --bio-bg: #ffffff;
  --bio-surface: #ffffff;
  --bio-surface-alt: #f8fafc;
  --bio-text: #09090b;
  --bio-muted: #52525b;
  --bio-border: rgba(9, 9, 11, 0.14);
}

.bio-theme--minimal.bio-scheme--dark {
  --bio-bg: #09090b;
  --bio-surface: #09090b;
  --bio-surface-alt: #18181b;
  --bio-text: #fafafa;
  --bio-muted: #a1a1aa;
  --bio-border: rgba(250, 250, 250, 0.16);
}

@media (prefers-color-scheme: dark) {
  .bio-theme--minimal.bio-scheme--auto {
    --bio-bg: #09090b;
    --bio-surface: #09090b;
    --bio-surface-alt: #18181b;
    --bio-text: #fafafa;
    --bio-muted: #a1a1aa;
    --bio-border: rgba(250, 250, 250, 0.16);
  }
}

.bio-theme--minimal .bio-shell {
  max-width: 36rem;
  padding: 0.5rem 0;
}

.bio-theme--minimal .bio-header {
  align-items: flex-start;
  text-align: left;
}

.bio-theme--minimal .bio-meta {
  justify-content: flex-start;
}

.bio-theme--minimal .bio-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-width: 2px;
  border-color: var(--bio-border);
}

.bio-theme--minimal .bio-link {
  border: 0;
  border-bottom: 1px solid var(--bio-border);
  border-radius: 0;
  padding: 0.85rem 0.15rem;
  background: transparent;
}

.bio-theme--minimal .bio-link:hover {
  border-bottom-color: var(--bio-accent);
  background: transparent;
  transform: none;
}

.bio-theme--minimal .bio-blog-card,
.bio-theme--minimal .bio-contact-card,
.bio-theme--minimal .bio-status {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--bio-border);
  padding: 0.85rem 0.15rem;
  background: transparent;
}

.bio-theme--minimal .bio-contact-button,
.bio-theme--minimal .bio-contact-placeholder {
  border-radius: 0.35rem;
}

.bio-theme--minimal .bio-profile-pill {
  border-radius: 0.35rem;
  padding: 0.4rem 0.7rem;
  background: transparent;
}

.bio-theme--minimal .bio-divider {
  background: var(--bio-border);
}

.bio-theme--minimal .bio-figure__link,
.bio-theme--minimal .bio-figure__img {
  border-radius: 0.5rem;
}

.bio-theme--minimal .bio-figure__link:hover {
  transform: none;
}

.bio-theme--minimal .bio-book,
.bio-theme--minimal .bio-bookshelf__empty,
.bio-theme--minimal .bio-status__empty {
  border-radius: 0.35rem;
  background: transparent;
}

.bio-theme--minimal .bio-book__cover {
  border-radius: 0.2rem;
}

.bio-theme--minimal a.bio-book:hover {
  background: transparent;
  transform: none;
}

.bio-theme--retro {
  --bio-bg: #f3efe2;
  --bio-surface: #fffdf7;
  --bio-surface-alt: #f5eedb;
  --bio-text: #161616;
  --bio-muted: #4b4840;
  --bio-border: #161616;
  background-image: radial-gradient(color-mix(in srgb, var(--bio-border) 18%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
}

.bio-theme--retro.bio-scheme--dark {
  --bio-bg: #12151f;
  --bio-surface: #1b2030;
  --bio-surface-alt: #242b40;
  --bio-text: #f5f3ea;
  --bio-muted: #b8bfd1;
  --bio-border: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  .bio-theme--retro.bio-scheme--auto {
    --bio-bg: #12151f;
    --bio-surface: #1b2030;
    --bio-surface-alt: #242b40;
    --bio-text: #f5f3ea;
    --bio-muted: #b8bfd1;
    --bio-border: #e5e7eb;
  }
}

.bio-theme--retro .bio-shell {
  max-width: 40rem;
  background: var(--bio-surface);
  border: 2px solid var(--bio-border);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--bio-border);
  padding: 0;
  overflow: hidden;
}

.bio-theme--retro .bio-retro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 2px solid var(--bio-border);
  background: color-mix(in srgb, var(--bio-accent) 28%, var(--bio-surface));
  font-family: var(--bio-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.bio-theme--retro .bio-retro-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.bio-theme--retro .bio-retro-dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--bio-border);
  background: var(--bio-surface);
  display: inline-block;
}

.bio-theme--retro .bio-inner {
  padding: clamp(1.25rem, 4.5vw, 2.25rem);
}

.bio-theme--retro .bio-avatar {
  border-radius: 0;
  border: 2px solid var(--bio-border);
  box-shadow: 4px 4px 0 var(--bio-accent);
}

.bio-theme--retro .bio-link,
.bio-theme--retro .bio-blog-card,
.bio-theme--retro .bio-profile-pill,
.bio-theme--retro .bio-contact-card,
.bio-theme--retro .bio-status,
.bio-theme--retro .bio-book {
  border-radius: 0;
  border: 2px solid var(--bio-border);
  box-shadow: 3px 3px 0 var(--bio-border);
  background: var(--bio-surface-alt);
}

.bio-theme--retro .bio-book__cover {
  border-radius: 0;
  border: 1px solid var(--bio-border);
}

.bio-theme--retro .bio-contact-button {
  border-radius: 0;
  border: 2px solid var(--bio-border);
  box-shadow: 3px 3px 0 var(--bio-border);
  background: color-mix(in srgb, var(--bio-accent) 28%, var(--bio-surface));
}

.bio-theme--retro .bio-contact-placeholder,
.bio-theme--retro .bio-bookshelf__empty,
.bio-theme--retro .bio-status__empty {
  border-radius: 0;
  border: 2px dashed var(--bio-border);
  background: var(--bio-surface);
}

.bio-theme--retro .bio-link:hover,
.bio-theme--retro .bio-profile-pill:hover,
.bio-theme--retro .bio-contact-button:hover,
.bio-theme--retro a.bio-book:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--bio-accent);
  border-color: var(--bio-border);
}

.bio-theme--retro .bio-divider {
  height: 0;
  border-top: 2px dashed var(--bio-border);
  background: none;
}

.bio-theme--retro .bio-figure__img {
  border-radius: 0;
  border: 2px solid var(--bio-border);
  box-shadow: 4px 4px 0 var(--bio-border);
}

.bio-theme--retro .bio-figure__link {
  border-radius: 0;
  overflow: visible;
}

.bio-theme--retro .bio-figure__link:hover {
  transform: translate(-1px, -1px);
}

.bio-theme--retro .bio-figure__link:hover .bio-figure__img {
  box-shadow: 5px 5px 0 var(--bio-accent);
  border-color: var(--bio-border);
}

.bio-theme--retro .bio-text__body code,
.bio-theme--retro .bio-text__body pre {
  border-radius: 0;
}

.bio-theme--retro .bio-text__body pre {
  border-width: 2px;
}

.bio-theme--retro .bio-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--bio-border);
}

.bio-theme--retro .bio-badges {
  gap: 0.5rem;
}

.bio-theme--retro .bio-badge {
  border-radius: 0;
  border: 1px solid var(--bio-border);
  box-shadow: 2px 2px 0 var(--bio-border);
}

.bio-theme--retro a.bio-badge:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--bio-accent);
  opacity: 1;
}

.bio-theme--luna {
  --bio-bg: #2a7ae2;
  --bio-surface: #ece9d8;
  --bio-surface-alt: #fffdf6;
  --bio-text: #162238;
  --bio-muted: #45526b;
  --bio-border: #6c8cd5;
  --luna-sky:
    radial-gradient(ellipse 200px 58px at 14% 12%, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.5) 50%, transparent 72%),
    radial-gradient(ellipse 130px 44px at 22% 10%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.45) 55%, transparent 75%),
    radial-gradient(ellipse 220px 60px at 84% 16%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.44) 52%, transparent 74%),
    radial-gradient(ellipse 140px 46px at 76% 14%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.4) 55%, transparent 75%),
    radial-gradient(ellipse 160px 42px at 52% 24%, rgba(255, 255, 255, 0.42) 0%, transparent 72%),
    linear-gradient(180deg, #1b69cf 0%, #3d92eb 38%, #7ec2fb 74%, #bce4ff 100%);
  --luna-hills:
    radial-gradient(ellipse 72% 72% at 80% 100%, #7acc35 0%, #5fb324 58%, transparent 59.5%),
    radial-gradient(ellipse 78% 82% at 24% 104%, #57aa21 0%, #3f8a18 64%, transparent 65.5%),
    radial-gradient(ellipse 96% 52% at 62% 112%, #4a991c 0%, #347714 68%, transparent 70%);
  --luna-frame: #1649bd;
  --luna-frame-outer: #00287a;
  --luna-shell-shadow: 0 0 0 1px var(--luna-frame-outer), 0 18px 40px rgba(0, 32, 96, 0.34);
  --luna-titlebar: linear-gradient(180deg, #4b96ff 0%, #245edb 14%, #1d51c8 55%, #1643b0 88%, #2a6ae4 100%);
  --luna-titlebar-border: #002a80;
  --luna-btn-bg: linear-gradient(180deg, #6ba9ff 0%, #2d6ce8 52%, #1d52c7 100%);
  --luna-btn-close-bg: linear-gradient(180deg, #f3846b 0%, #dc4326 50%, #b5240e 100%);
  --luna-header-bg:
    radial-gradient(ellipse 130px 36px at 10% 18%, rgba(255, 255, 255, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 140px 38px at 90% 22%, rgba(255, 255, 255, 0.18) 0%, transparent 72%),
    radial-gradient(ellipse 68% 42px at 82% 103%, #68bb2c 0%, #4e9e1e 66%, transparent 68%),
    radial-gradient(ellipse 76% 48px at 22% 105%, #51a320 0%, #3a8216 68%, transparent 70%),
    linear-gradient(180deg, #124fb3 0%, #195ec4 52%, #226fd1 100%);
  --luna-header-border: #194eb8;
  --luna-header-text: #ffffff;
  --luna-header-shadow: 0 2px 0 rgba(0, 29, 94, 0.82), 0 4px 12px rgba(0, 24, 82, 0.32);
  --luna-meta-bg: rgba(255, 253, 245, 0.95);
  --luna-meta-text: #122a5c;
  --luna-meta-border: rgba(0, 42, 122, 0.34);
  --luna-heading: #0f3b8c;
  --luna-card-bg: #fffdf6;
  --luna-card-hover: #fff8df;
  --luna-card-bar: linear-gradient(180deg, #428cf8 0%, #245edb 55%, #1948b8 100%);
  --luna-card-border: #5581db;
  --luna-card-top-border: #1948b8;
  --luna-card-shadow: inset 0 -1px 0 rgba(25, 72, 184, 0.12), 0 2px 0 rgba(0, 42, 122, 0.14);
  --luna-card-hover-shadow: 0 4px 10px rgba(0, 42, 122, 0.18), 0 0 0 1px color-mix(in srgb, var(--bio-accent) 45%, #245edb);
  --luna-pill-bg: linear-gradient(180deg, #ffffff 0%, #ebe7d6 100%);
  --luna-pill-hover-bg: linear-gradient(180deg, #fffdf4 0%, color-mix(in srgb, var(--bio-accent) 22%, #ebe7d6) 100%);
  --luna-btn-surface: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--bio-accent) 18%, #e9eef8) 100%);
  --luna-btn-surface-hover: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--bio-accent) 30%, #e4ecfa) 100%);
  --luna-accent-ink: color-mix(in srgb, var(--bio-accent) 62%, #1749b5);
  --luna-status-bg: #e2decb;
  --luna-status-border: #c4beaa;
  --luna-divider-top: rgba(25, 72, 184, 0.34);
  --luna-divider-bottom: rgba(255, 255, 255, 0.72);
  --luna-avatar-bg: linear-gradient(180deg, #fffdf5 0%, #dce9fc 100%);
  --luna-avatar-text: #0f3b8c;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--bio-bg);
  background-image: var(--luna-sky);
}

.bio-theme--luna.bio-scheme--dark {
  --bio-bg: #08132d;
  --bio-surface: #141d33;
  --bio-surface-alt: #1b2844;
  --bio-text: #eef4ff;
  --bio-muted: #b3c4e2;
  --bio-border: #35589e;
  --luna-sky:
    radial-gradient(circle 1.2px at 12% 14%, rgba(255, 255, 255, 0.85) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 26% 8%, rgba(226, 240, 255, 0.9) 0%, transparent 100%),
    radial-gradient(circle 1px at 39% 19%, rgba(255, 255, 255, 0.75) 0%, transparent 100%),
    radial-gradient(circle 1.4px at 61% 11%, rgba(255, 249, 214, 0.85) 0%, transparent 100%),
    radial-gradient(circle 1px at 74% 21%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
    radial-gradient(circle 1.6px at 88% 12%, rgba(226, 240, 255, 0.9) 0%, transparent 100%),
    radial-gradient(circle 1px at 19% 29%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 82% 31%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
    radial-gradient(ellipse 210px 54px at 16% 18%, rgba(140, 182, 245, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 230px 58px at 85% 22%, rgba(140, 182, 245, 0.14) 0%, transparent 74%),
    linear-gradient(180deg, #071128 0%, #0f234f 44%, #183976 80%, #20498d 100%);
  --luna-hills:
    radial-gradient(ellipse 72% 72% at 80% 100%, #1b5c3a 0%, #13462c 58%, transparent 59.5%),
    radial-gradient(ellipse 78% 82% at 24% 104%, #144d30 0%, #0d3621 64%, transparent 65.5%),
    radial-gradient(ellipse 96% 52% at 62% 112%, #114128 0%, #0a2919 68%, transparent 70%);
  --luna-frame: #2857b8;
  --luna-frame-outer: #050f29;
  --luna-shell-shadow: 0 0 0 1px var(--luna-frame-outer), 0 20px 44px rgba(2, 6, 20, 0.68);
  --luna-titlebar: linear-gradient(180deg, #3270e3 0%, #1d4bb0 18%, #153a8d 58%, #102e75 90%, #2154be 100%);
  --luna-titlebar-border: #081c4f;
  --luna-btn-bg: linear-gradient(180deg, #4b87f5 0%, #2253bd 54%, #163b91 100%);
  --luna-btn-close-bg: linear-gradient(180deg, #e06a52 0%, #bf351d 52%, #941e0c 100%);
  --luna-header-bg:
    radial-gradient(circle 1.2px at 14% 22%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
    radial-gradient(circle 1px at 28% 16%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
    radial-gradient(circle 1.4px at 76% 18%, rgba(255, 249, 214, 0.8) 0%, transparent 100%),
    radial-gradient(circle 1px at 88% 28%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
    radial-gradient(ellipse 68% 42px at 82% 103%, #195636 0%, #113e26 66%, transparent 68%),
    radial-gradient(ellipse 76% 48px at 22% 105%, #13472c 0%, #0c311e 68%, transparent 70%),
    linear-gradient(180deg, #0b1d45 0%, #122e68 55%, #193e82 100%);
  --luna-header-border: #254d9e;
  --luna-header-text: #f8fbff;
  --luna-header-shadow: 0 2px 0 rgba(3, 10, 32, 0.9), 0 4px 14px rgba(2, 8, 24, 0.55);
  --luna-meta-bg: rgba(14, 27, 56, 0.9);
  --luna-meta-text: #eef4ff;
  --luna-meta-border: rgba(125, 178, 255, 0.42);
  --luna-heading: #9cc4ff;
  --luna-card-bg: #1b2844;
  --luna-card-hover: #223357;
  --luna-card-bar: linear-gradient(180deg, #3c7df3 0%, #2254bd 55%, #163b8f 100%);
  --luna-card-border: #3659a1;
  --luna-card-top-border: #2857b8;
  --luna-card-shadow: inset 0 -1px 0 rgba(120, 170, 255, 0.1), 0 2px 0 rgba(3, 8, 24, 0.5);
  --luna-card-hover-shadow: 0 5px 14px rgba(2, 6, 20, 0.52), 0 0 0 1px color-mix(in srgb, var(--bio-accent) 55%, #4d88ff);
  --luna-pill-bg: linear-gradient(180deg, #25375c 0%, #1a2845 100%);
  --luna-pill-hover-bg: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 20%, #2a3e68) 0%, #1f3054 100%);
  --luna-btn-surface: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 24%, #273c66) 0%, #1a2947 100%);
  --luna-btn-surface-hover: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 34%, #2f4675) 0%, #22345a 100%);
  --luna-accent-ink: color-mix(in srgb, var(--bio-accent) 62%, #8cc0ff);
  --luna-status-bg: #10182b;
  --luna-status-border: #253861;
  --luna-divider-top: rgba(120, 170, 255, 0.28);
  --luna-divider-bottom: rgba(4, 10, 26, 0.65);
  --luna-avatar-bg: linear-gradient(180deg, #243860 0%, #152340 100%);
  --luna-avatar-text: #eef4ff;
}

@media (prefers-color-scheme: dark) {
  .bio-theme--luna.bio-scheme--auto {
    --bio-bg: #08132d;
    --bio-surface: #141d33;
    --bio-surface-alt: #1b2844;
    --bio-text: #eef4ff;
    --bio-muted: #b3c4e2;
    --bio-border: #35589e;
    --luna-sky:
      radial-gradient(circle 1.2px at 12% 14%, rgba(255, 255, 255, 0.85) 0%, transparent 100%),
      radial-gradient(circle 1.5px at 26% 8%, rgba(226, 240, 255, 0.9) 0%, transparent 100%),
      radial-gradient(circle 1px at 39% 19%, rgba(255, 255, 255, 0.75) 0%, transparent 100%),
      radial-gradient(circle 1.4px at 61% 11%, rgba(255, 249, 214, 0.85) 0%, transparent 100%),
      radial-gradient(circle 1px at 74% 21%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
      radial-gradient(circle 1.6px at 88% 12%, rgba(226, 240, 255, 0.9) 0%, transparent 100%),
      radial-gradient(circle 1px at 19% 29%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
      radial-gradient(circle 1.2px at 82% 31%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
      radial-gradient(ellipse 210px 54px at 16% 18%, rgba(140, 182, 245, 0.16) 0%, transparent 72%),
      radial-gradient(ellipse 230px 58px at 85% 22%, rgba(140, 182, 245, 0.14) 0%, transparent 74%),
      linear-gradient(180deg, #071128 0%, #0f234f 44%, #183976 80%, #20498d 100%);
    --luna-hills:
      radial-gradient(ellipse 72% 72% at 80% 100%, #1b5c3a 0%, #13462c 58%, transparent 59.5%),
      radial-gradient(ellipse 78% 82% at 24% 104%, #144d30 0%, #0d3621 64%, transparent 65.5%),
      radial-gradient(ellipse 96% 52% at 62% 112%, #114128 0%, #0a2919 68%, transparent 70%);
    --luna-frame: #2857b8;
    --luna-frame-outer: #050f29;
    --luna-shell-shadow: 0 0 0 1px var(--luna-frame-outer), 0 20px 44px rgba(2, 6, 20, 0.68);
    --luna-titlebar: linear-gradient(180deg, #3270e3 0%, #1d4bb0 18%, #153a8d 58%, #102e75 90%, #2154be 100%);
    --luna-titlebar-border: #081c4f;
    --luna-btn-bg: linear-gradient(180deg, #4b87f5 0%, #2253bd 54%, #163b91 100%);
    --luna-btn-close-bg: linear-gradient(180deg, #e06a52 0%, #bf351d 52%, #941e0c 100%);
    --luna-header-bg:
      radial-gradient(circle 1.2px at 14% 22%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
      radial-gradient(circle 1px at 28% 16%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
      radial-gradient(circle 1.4px at 76% 18%, rgba(255, 249, 214, 0.8) 0%, transparent 100%),
      radial-gradient(circle 1px at 88% 28%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
      radial-gradient(ellipse 68% 42px at 82% 103%, #195636 0%, #113e26 66%, transparent 68%),
      radial-gradient(ellipse 76% 48px at 22% 105%, #13472c 0%, #0c311e 68%, transparent 70%),
      linear-gradient(180deg, #0b1d45 0%, #122e68 55%, #193e82 100%);
    --luna-header-border: #254d9e;
    --luna-header-text: #f8fbff;
    --luna-header-shadow: 0 2px 0 rgba(3, 10, 32, 0.9), 0 4px 14px rgba(2, 8, 24, 0.55);
    --luna-meta-bg: rgba(14, 27, 56, 0.9);
    --luna-meta-text: #eef4ff;
    --luna-meta-border: rgba(125, 178, 255, 0.42);
    --luna-heading: #9cc4ff;
    --luna-card-bg: #1b2844;
    --luna-card-hover: #223357;
    --luna-card-bar: linear-gradient(180deg, #3c7df3 0%, #2254bd 55%, #163b8f 100%);
    --luna-card-border: #3659a1;
    --luna-card-top-border: #2857b8;
    --luna-card-shadow: inset 0 -1px 0 rgba(120, 170, 255, 0.1), 0 2px 0 rgba(3, 8, 24, 0.5);
    --luna-card-hover-shadow: 0 5px 14px rgba(2, 6, 20, 0.52), 0 0 0 1px color-mix(in srgb, var(--bio-accent) 55%, #4d88ff);
    --luna-pill-bg: linear-gradient(180deg, #25375c 0%, #1a2845 100%);
    --luna-pill-hover-bg: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 20%, #2a3e68) 0%, #1f3054 100%);
    --luna-btn-surface: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 24%, #273c66) 0%, #1a2947 100%);
    --luna-btn-surface-hover: linear-gradient(180deg, color-mix(in srgb, var(--bio-accent) 34%, #2f4675) 0%, #22345a 100%);
    --luna-accent-ink: color-mix(in srgb, var(--bio-accent) 62%, #8cc0ff);
    --luna-status-bg: #10182b;
    --luna-status-border: #253861;
    --luna-divider-top: rgba(120, 170, 255, 0.28);
    --luna-divider-bottom: rgba(4, 10, 26, 0.65);
    --luna-avatar-bg: linear-gradient(180deg, #243860 0%, #152340 100%);
    --luna-avatar-text: #eef4ff;
  }
}

.bio-theme--luna::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(140px, 26vh, 260px);
  background-image: var(--luna-hills);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.bio-theme--luna.bio-page--preview::after {
  height: 150px;
}

.bio-theme--luna .bio-shell {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  background: var(--bio-surface);
  border: 3px solid var(--luna-frame);
  border-radius: 10px 10px 4px 4px;
  box-shadow: var(--luna-shell-shadow);
  padding: 0;
  overflow: hidden;
}

.bio-theme--luna .bio-luna-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  background: var(--luna-titlebar);
  border-bottom: 1px solid var(--luna-titlebar-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.bio-theme--luna .bio-luna-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.bio-theme--luna .bio-luna-bar__icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(180deg, #4b96ff 0 4px, #fffdf6 4px 100%);
  box-shadow: 0 1px 2px rgba(0, 22, 74, 0.45);
}

.bio-theme--luna .bio-luna-bar__icon::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--bio-accent);
}

.bio-theme--luna .bio-luna-bar__title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 rgba(0, 28, 92, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bio-theme--luna .bio-luna-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.bio-theme--luna .bio-luna-btn {
  position: relative;
  display: inline-block;
  width: 21px;
  height: 21px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--luna-btn-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 22, 74, 0.42);
}

.bio-theme--luna .bio-luna-btn--close {
  background: var(--luna-btn-close-bg);
}

.bio-theme--luna .bio-luna-btn--min::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 8px;
  height: 2px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 26, 86, 0.55);
}

.bio-theme--luna .bio-luna-btn--max::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 11px;
  height: 10px;
  border: 1.5px solid #ffffff;
  border-top-width: 3px;
  box-shadow: 0 1px 0 rgba(0, 26, 86, 0.45);
}

.bio-theme--luna .bio-luna-btn--close::before,
.bio-theme--luna .bio-luna-btn--close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
}

.bio-theme--luna .bio-luna-btn--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.bio-theme--luna .bio-luna-btn--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bio-theme--luna .bio-inner {
  padding: 0;
}

.bio-theme--luna .bio-header {
  padding: clamp(1.5rem, 4.5vw, 2.25rem) clamp(1.15rem, 4vw, 2rem) clamp(2rem, 5vw, 2.6rem);
  background-image: var(--luna-header-bg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-bottom: 2px solid var(--luna-header-border);
}

.bio-theme--luna .bio-avatar {
  border-radius: 0.75rem;
  border: 3px solid #ffffff;
  outline: 2px solid rgba(0, 42, 122, 0.75);
  box-shadow: 0 5px 14px rgba(0, 24, 82, 0.36);
}

.bio-theme--luna .bio-avatar--initial {
  background: var(--luna-avatar-bg);
  color: var(--luna-avatar-text);
}

.bio-theme--luna .bio-name {
  color: var(--luna-header-text);
  text-shadow: var(--luna-header-shadow);
}

.bio-theme--luna .bio-meta {
  gap: 0.45rem;
}

.bio-theme--luna .bio-handle,
.bio-theme--luna .bio-location,
.bio-theme--luna .bio-meta-item {
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--luna-meta-border);
  background: var(--luna-meta-bg);
  color: var(--luna-meta-text);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 5px rgba(0, 26, 86, 0.2);
}

.bio-theme--luna .bio-location__icon {
  color: var(--luna-accent-ink);
}

.bio-theme--luna .bio-header .bio-tagline {
  color: var(--luna-header-text);
  text-shadow: 0 1px 2px rgba(0, 24, 82, 0.72);
  font-weight: 500;
}

.bio-theme--luna .bio-blocks {
  margin-top: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.bio-theme--luna .bio-block__heading {
  color: var(--luna-heading);
  letter-spacing: 0.06em;
}

.bio-theme--luna .bio-text__body a {
  text-decoration-color: var(--luna-accent-ink);
}

.bio-theme--luna .bio-text__body blockquote {
  border-left-color: var(--luna-accent-ink);
}

.bio-theme--luna .bio-link,
.bio-theme--luna .bio-blog-card,
.bio-theme--luna .bio-contact-card,
.bio-theme--luna .bio-status,
.bio-theme--luna .bio-book {
  border-radius: 6px;
  border: 1px solid var(--luna-card-border);
  border-top-color: var(--luna-card-top-border);
  background-color: var(--luna-card-bg);
  background-image: var(--luna-card-bar);
  background-size: 100% 6px;
  background-repeat: no-repeat;
  box-shadow: var(--luna-card-shadow);
}

.bio-theme--luna .bio-link {
  padding: 1.1rem 1.05rem 0.9rem;
}

.bio-theme--luna .bio-status {
  padding: 1.1rem 1.05rem 0.9rem;
}

.bio-theme--luna .bio-blog-card {
  padding: 1.15rem 1.05rem 1rem;
}

.bio-theme--luna .bio-contact-card {
  padding: 1.2rem 1.15rem 1.05rem;
}

.bio-theme--luna .bio-book {
  padding: 0.8rem 0.55rem 0.55rem;
}

.bio-theme--luna .bio-link:hover,
.bio-theme--luna a.bio-book:hover {
  background-color: var(--luna-card-hover);
  border-color: color-mix(in srgb, var(--bio-accent) 60%, var(--luna-frame));
  box-shadow: var(--luna-card-hover-shadow);
  transform: translateY(-1px);
}

.bio-theme--luna .bio-link__arrow,
.bio-theme--luna .bio-profile-pill__icon,
.bio-theme--luna .bio-contact-button__icon,
.bio-theme--luna .bio-contact-placeholder__icon,
.bio-theme--luna .bio-blog-card__latest-label {
  color: var(--luna-accent-ink);
}

.bio-theme--luna .bio-blog-card__avatar {
  border-color: var(--luna-card-border);
}

.bio-theme--luna .bio-profile-pill {
  border-radius: 5px;
  border: 1px solid var(--luna-card-border);
  background: var(--luna-pill-bg);
  color: var(--bio-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 32, 96, 0.14);
}

.bio-theme--luna .bio-profile-pill:hover {
  background: var(--luna-pill-hover-bg);
  border-color: color-mix(in srgb, var(--bio-accent) 65%, var(--luna-frame));
  transform: translateY(-1px);
}

.bio-theme--luna .bio-contact-button {
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--bio-accent) 55%, var(--luna-frame));
  background: var(--luna-btn-surface);
  color: var(--bio-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 rgba(0, 36, 108, 0.14);
}

.bio-theme--luna .bio-contact-button:hover {
  background: var(--luna-btn-surface-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 3px 8px rgba(0, 36, 108, 0.2);
  transform: translateY(-1px);
}

.bio-theme--luna .bio-contact-button--preview:hover {
  background: var(--luna-btn-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 rgba(0, 36, 108, 0.14);
  transform: none;
}

.bio-theme--luna .bio-contact-placeholder,
.bio-theme--luna .bio-bookshelf__empty,
.bio-theme--luna .bio-status__empty {
  border-radius: 5px;
  border-color: var(--luna-card-border);
  background: var(--bio-surface);
}

.bio-theme--luna .bio-figure__link,
.bio-theme--luna .bio-figure__img {
  border-radius: 6px;
}

.bio-theme--luna .bio-figure__img {
  border: 2px solid var(--luna-card-border);
  box-shadow: var(--luna-card-shadow);
}

.bio-theme--luna .bio-figure__link:hover .bio-figure__img {
  border-color: color-mix(in srgb, var(--bio-accent) 60%, var(--luna-frame));
  box-shadow: var(--luna-card-hover-shadow);
}

.bio-theme--luna .bio-book__cover {
  border-radius: 4px;
  border-color: var(--luna-card-border);
}

.bio-theme--luna .bio-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--luna-divider-top) 15%, var(--luna-divider-top) 85%, transparent);
  border-bottom: 1px solid var(--luna-divider-bottom);
}

.bio-theme--luna .bio-footer {
  margin-top: 0;
  padding: 1.1rem clamp(1.15rem, 4vw, 2rem) 1.35rem;
  border-top: 1px solid var(--luna-status-border);
  background: var(--luna-status-bg);
}

.bio-theme--luna .bio-badge {
  border-radius: 3px;
  border: 1px solid var(--luna-card-border);
  box-shadow: 0 2px 0 rgba(0, 38, 112, 0.16);
}

.bio-theme--classic_mac {
  --bio-bg: #c2c5ce;
  --bio-surface: #ffffff;
  --bio-surface-alt: #eeeeee;
  --bio-text: #111111;
  --bio-muted: #4b4f58;
  --bio-border: #111111;
  --mac-desktop-a: #c5c8d1;
  --mac-desktop-b: #b6bac6;
  --mac-chrome: #dddddd;
  --mac-chrome-soft: #efefef;
  --mac-card-bg: #f1f1f1;
  --mac-ink: #111111;
  --mac-rule: #999999;
  --mac-bevel-light: #ffffff;
  --mac-bevel-dark: #888888;
  --mac-well-shadow: #c7c7c7;
  --mac-stripe-dark: #777777;
  --mac-stripe-light: #f6f6f6;
  --mac-box-hi: #f2f2f2;
  --mac-box-lo: #bcbcbc;
  --mac-drop: rgba(17, 17, 17, 0.34);
  --mac-drop-sm: rgba(17, 17, 17, 0.2);
  --mac-invert-bg: #161616;
  --mac-invert-text: #ffffff;
  --mac-invert-muted: #d4d8e1;
  --mac-invert-bevel: rgba(255, 255, 255, 0.24);
  --mac-accent-ink: color-mix(in srgb, var(--bio-accent) 55%, #111111);

  background-color: var(--mac-desktop-a);
  background-image:
    linear-gradient(45deg, var(--mac-desktop-b) 25%, transparent 25%, transparent 75%, var(--mac-desktop-b) 75%),
    linear-gradient(45deg, var(--mac-desktop-b) 25%, transparent 25%, transparent 75%, var(--mac-desktop-b) 75%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}

.bio-theme--classic_mac.bio-scheme--dark {
  --bio-bg: #1b1e26;
  --bio-surface: #1b1e26;
  --bio-surface-alt: #252934;
  --bio-text: #f1f3f7;
  --bio-muted: #b3b9c7;
  --bio-border: #0a0c10;
  --mac-desktop-a: #1a1d24;
  --mac-desktop-b: #232833;
  --mac-chrome: #2d313c;
  --mac-chrome-soft: #262a34;
  --mac-card-bg: #252934;
  --mac-ink: #090b10;
  --mac-rule: #4c5364;
  --mac-bevel-light: #4b5263;
  --mac-bevel-dark: #111318;
  --mac-well-shadow: #11131a;
  --mac-stripe-dark: #14171f;
  --mac-stripe-light: #484f60;
  --mac-box-hi: #414757;
  --mac-box-lo: #232730;
  --mac-drop: rgba(0, 0, 0, 0.58);
  --mac-drop-sm: rgba(0, 0, 0, 0.42);
  --mac-invert-bg: #e5e8ef;
  --mac-invert-text: #111318;
  --mac-invert-muted: #343946;
  --mac-invert-bevel: #ffffff;
  --mac-accent-ink: color-mix(in srgb, var(--bio-accent) 55%, #f1f3f7);
}

@media (prefers-color-scheme: dark) {
  .bio-theme--classic_mac.bio-scheme--auto {
    --bio-bg: #1b1e26;
    --bio-surface: #1b1e26;
    --bio-surface-alt: #252934;
    --bio-text: #f1f3f7;
    --bio-muted: #b3b9c7;
    --bio-border: #0a0c10;
    --mac-desktop-a: #1a1d24;
    --mac-desktop-b: #232833;
    --mac-chrome: #2d313c;
    --mac-chrome-soft: #262a34;
    --mac-card-bg: #252934;
    --mac-ink: #090b10;
    --mac-rule: #4c5364;
    --mac-bevel-light: #4b5263;
    --mac-bevel-dark: #111318;
    --mac-well-shadow: #11131a;
    --mac-stripe-dark: #14171f;
    --mac-stripe-light: #484f60;
    --mac-box-hi: #414757;
    --mac-box-lo: #232730;
    --mac-drop: rgba(0, 0, 0, 0.58);
    --mac-drop-sm: rgba(0, 0, 0, 0.42);
    --mac-invert-bg: #e5e8ef;
    --mac-invert-text: #111318;
    --mac-invert-muted: #343946;
    --mac-invert-bevel: #ffffff;
    --mac-accent-ink: color-mix(in srgb, var(--bio-accent) 55%, #f1f3f7);
  }
}

.bio-theme--classic_mac .bio-shell {
  max-width: 40rem;
  background: var(--mac-chrome);
  border: 1px solid var(--mac-ink);
  border-radius: 2px;
  padding: 3px 4px 4px;
  box-shadow:
    inset 1px 1px 0 var(--mac-bevel-light),
    inset -1px -1px 0 var(--mac-bevel-dark),
    3px 3px 0 var(--mac-drop);
}

.bio-theme--classic_mac .bio-mac-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.65rem;
  padding: 0.1rem 0.25rem 0.3rem;
}

.bio-theme--classic_mac .bio-mac-bar::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  top: calc(50% - 1px);
  transform: translateY(-50%);
  height: 11px;
  background: repeating-linear-gradient(
    180deg,
    var(--mac-stripe-dark) 0px,
    var(--mac-stripe-dark) 1px,
    var(--mac-stripe-light) 1px,
    var(--mac-stripe-light) 2px
  );
  pointer-events: none;
}

.bio-theme--classic_mac .bio-mac-bar__left,
.bio-theme--classic_mac .bio-mac-bar__right {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--mac-chrome);
  flex-shrink: 0;
}

.bio-theme--classic_mac .bio-mac-bar__left {
  padding-right: 0.4rem;
}

.bio-theme--classic_mac .bio-mac-bar__right {
  padding-left: 0.4rem;
}

.bio-theme--classic_mac .bio-mac-bar__title {
  position: relative;
  z-index: 1;
  background: var(--mac-chrome);
  padding: 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--bio-text);
  min-width: 0;
  max-width: 72%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bio-theme--classic_mac .bio-mac-box {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid var(--mac-ink);
  border-radius: 1px;
  background: linear-gradient(135deg, var(--mac-box-hi) 0%, var(--mac-box-lo) 100%);
  box-shadow: inset 1px 1px 0 var(--mac-bevel-light), inset -1px -1px 0 var(--mac-bevel-dark);
}

.bio-theme--classic_mac .bio-mac-box--zoom::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--mac-ink);
  border-bottom: 1px solid var(--mac-ink);
}

.bio-theme--classic_mac .bio-mac-box--shade::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  border-top: 1px solid var(--mac-ink);
  border-bottom: 1px solid var(--mac-ink);
}

.bio-theme--classic_mac .bio-inner {
  background: var(--bio-surface);
  border: 1px solid var(--mac-ink);
  box-shadow: inset 1px 1px 0 var(--mac-well-shadow);
  padding: clamp(1.25rem, 4.5vw, 2.25rem);
}

.bio-theme--classic_mac .bio-header {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--mac-rule);
}

.bio-theme--classic_mac .bio-avatar {
  border-radius: 2px;
  padding: 2px;
  background: var(--mac-chrome);
  border: 1px solid var(--mac-ink);
  box-shadow:
    inset 1px 1px 0 var(--mac-bevel-light),
    inset -1px -1px 0 var(--mac-bevel-dark),
    2px 2px 0 var(--mac-drop-sm);
}

.bio-theme--classic_mac .bio-avatar--initial {
  background: var(--mac-chrome);
  color: var(--bio-text);
}

.bio-theme--classic_mac .bio-meta {
  gap: 0.4rem;
}

.bio-theme--classic_mac .bio-handle,
.bio-theme--classic_mac .bio-location,
.bio-theme--classic_mac .bio-meta-item {
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--mac-rule);
  background: var(--mac-chrome-soft);
  color: var(--bio-text);
  font-size: 0.82rem;
  box-shadow: inset 1px 1px 0 var(--mac-bevel-light), inset -1px -1px 0 var(--mac-bevel-dark);
}

.bio-theme--classic_mac .bio-location__icon,
.bio-theme--classic_mac .bio-link__arrow,
.bio-theme--classic_mac .bio-profile-pill__icon,
.bio-theme--classic_mac .bio-contact-button__icon,
.bio-theme--classic_mac .bio-contact-placeholder__icon,
.bio-theme--classic_mac .bio-blog-card__latest-label {
  color: var(--mac-accent-ink);
}

.bio-theme--classic_mac .bio-block__heading {
  color: var(--bio-text);
  letter-spacing: 0.06em;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--mac-rule);
}

.bio-theme--classic_mac .bio-link,
.bio-theme--classic_mac .bio-blog-card,
.bio-theme--classic_mac .bio-contact-card,
.bio-theme--classic_mac .bio-status,
.bio-theme--classic_mac .bio-profile-pill,
.bio-theme--classic_mac .bio-book {
  border-radius: 2px;
  border: 1px solid var(--mac-ink);
  background: var(--mac-card-bg);
  color: var(--bio-text);
  box-shadow:
    inset 1px 1px 0 var(--mac-bevel-light),
    inset -1px -1px 0 var(--mac-bevel-dark),
    1px 1px 0 var(--mac-drop-sm);
}

.bio-theme--classic_mac .bio-blog-card__avatar {
  border-radius: 2px;
  border: 1px solid var(--mac-ink);
}

.bio-theme--classic_mac .bio-blog-card__latest,
.bio-theme--classic_mac .bio-blog-card__recent {
  border-top-color: var(--mac-rule);
}

.bio-theme--classic_mac .bio-contact-button {
  margin: 3px;
  border-radius: 2px;
  border: 1px solid var(--mac-ink);
  background: var(--mac-card-bg);
  color: var(--bio-text);
  box-shadow:
    inset 1px 1px 0 var(--mac-bevel-light),
    inset -1px -1px 0 var(--mac-bevel-dark),
    0 0 0 2px var(--mac-card-bg),
    0 0 0 3px var(--mac-ink);
}

.bio-theme--classic_mac .bio-link:hover,
.bio-theme--classic_mac .bio-profile-pill:hover,
.bio-theme--classic_mac .bio-contact-button:hover,
.bio-theme--classic_mac a.bio-book:hover {
  background: var(--mac-invert-bg);
  color: var(--mac-invert-text);
  border-color: var(--mac-ink);
  box-shadow: inset 1px 1px 0 var(--mac-invert-bevel), inset -1px -1px 0 var(--mac-ink);
  transform: none;
}

.bio-theme--classic_mac .bio-contact-button:hover {
  box-shadow:
    inset 1px 1px 0 var(--mac-invert-bevel),
    inset -1px -1px 0 var(--mac-ink),
    0 0 0 2px var(--mac-card-bg),
    0 0 0 3px var(--mac-ink);
}

.bio-theme--classic_mac .bio-contact-button--preview:hover {
  background: var(--mac-card-bg);
  color: var(--bio-text);
  box-shadow:
    inset 1px 1px 0 var(--mac-bevel-light),
    inset -1px -1px 0 var(--mac-bevel-dark),
    0 0 0 2px var(--mac-card-bg),
    0 0 0 3px var(--mac-ink);
}

.bio-theme--classic_mac .bio-link:hover .bio-link__description,
.bio-theme--classic_mac a.bio-book:hover .bio-book__author {
  color: var(--mac-invert-muted);
}

.bio-theme--classic_mac a.bio-book:hover .bio-book__title,
.bio-theme--classic_mac .bio-link:hover .bio-link__arrow,
.bio-theme--classic_mac .bio-profile-pill:hover .bio-profile-pill__icon,
.bio-theme--classic_mac .bio-contact-button:not(.bio-contact-button--preview):hover .bio-contact-button__icon {
  color: var(--mac-invert-text);
}

.bio-theme--classic_mac .bio-link:active,
.bio-theme--classic_mac .bio-profile-pill:active,
.bio-theme--classic_mac .bio-contact-button:not(.bio-contact-button--preview):active,
.bio-theme--classic_mac a.bio-book:active {
  transform: translate(1px, 1px);
}

.bio-theme--classic_mac .bio-contact-placeholder,
.bio-theme--classic_mac .bio-bookshelf__empty,
.bio-theme--classic_mac .bio-status__empty {
  border-radius: 2px;
  border: 1px dashed var(--mac-rule);
  background: var(--mac-chrome-soft);
}

.bio-theme--classic_mac .bio-figure__link,
.bio-theme--classic_mac .bio-figure__img,
.bio-theme--classic_mac .bio-book__cover {
  border-radius: 2px;
}

.bio-theme--classic_mac .bio-figure__img,
.bio-theme--classic_mac .bio-book__cover {
  border: 1px solid var(--mac-ink);
  box-shadow: 1px 1px 0 var(--mac-drop-sm);
}

.bio-theme--classic_mac .bio-figure__link {
  overflow: visible;
}

.bio-theme--classic_mac .bio-figure__link:hover {
  transform: none;
}

.bio-theme--classic_mac .bio-figure__link:hover .bio-figure__img {
  border-color: var(--mac-ink);
  box-shadow: 2px 2px 0 var(--mac-ink);
}

.bio-theme--classic_mac .bio-text__body code,
.bio-theme--classic_mac .bio-text__body pre {
  border-radius: 2px;
  border: 1px solid var(--mac-rule);
  background: var(--mac-chrome-soft);
}

.bio-theme--classic_mac .bio-text__body pre code {
  border: 0;
  background: transparent;
}

.bio-theme--classic_mac .bio-divider {
  height: 2px;
  background: none;
  border-top: 1px solid var(--mac-bevel-dark);
  border-bottom: 1px solid var(--mac-bevel-light);
}

.bio-theme--classic_mac .bio-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mac-rule);
}

.bio-theme--classic_mac .bio-badge {
  border-radius: 1px;
  border: 1px solid var(--mac-ink);
  box-shadow: 1px 1px 0 var(--mac-drop-sm);
}

.bio-theme--classic_mac a.bio-badge:hover {
  transform: none;
  opacity: 1;
  box-shadow: 2px 2px 0 var(--mac-ink);
}

@media (max-width: 420px) {
  .bio-theme--card .bio-shell,
  .bio-theme--paper .bio-shell,
  .bio-theme--retro .bio-inner,
  .bio-theme--classic_mac .bio-inner {
    padding: 1.15rem 1rem;
  }

  .bio-theme--luna .bio-header,
  .bio-theme--luna .bio-blocks {
    padding: 1.15rem 1rem;
  }

  .bio-theme--luna .bio-header {
    padding-bottom: 1.65rem;
  }

  .bio-theme--luna .bio-footer {
    padding: 1rem 1rem 1.25rem;
  }

  .bio-link,
  .bio-status {
    padding: 0.8rem 0.85rem;
  }

  .bio-theme--luna .bio-link,
  .bio-theme--luna .bio-status {
    padding: 1.05rem 0.85rem 0.8rem;
  }

  .bio-blog-card__post {
    flex-direction: column;
    gap: 0.1rem;
  }

  .bio-bookshelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-link,
  .bio-profile-pill,
  .bio-contact-button,
  .bio-figure__link,
  .bio-figure__img,
  .bio-book,
  .bio-badge {
    transition: none;
  }

  .bio-link:hover,
  .bio-profile-pill:hover,
  .bio-contact-button:hover,
  .bio-figure__link:hover,
  a.bio-book:hover,
  a.bio-badge:hover,
  .bio-theme--retro .bio-link:hover,
  .bio-theme--retro .bio-profile-pill:hover,
  .bio-theme--retro .bio-contact-button:hover,
  .bio-theme--retro .bio-figure__link:hover,
  .bio-theme--retro a.bio-book:hover,
  .bio-theme--retro a.bio-badge:hover,
  .bio-theme--luna .bio-link:hover,
  .bio-theme--luna .bio-profile-pill:hover,
  .bio-theme--luna .bio-contact-button:hover,
  .bio-theme--luna .bio-figure__link:hover,
  .bio-theme--luna a.bio-book:hover,
  .bio-theme--luna a.bio-badge:hover,
  .bio-theme--classic_mac .bio-link:active,
  .bio-theme--classic_mac .bio-profile-pill:active,
  .bio-theme--classic_mac .bio-contact-button:active,
  .bio-theme--classic_mac a.bio-book:active {
    transform: none;
  }
}
