:root {
  color-scheme: dark;
  --bg: #05090d;
  --bg-soft: #081018;
  --line: rgba(180, 215, 230, .18);
  --text: #f3f8fb;
  --muted: #9baab3;
  --cyan: #05c8ff;
  --green: #a6ff00;
  --line-color: #b4d7e6;
  --panel: rgba(9, 17, 24, .72);
  --panel-strong: rgba(12, 22, 30, .94);
  --panel-rgb: 9, 17, 24;
  --header-bg: rgba(5, 9, 13, .84);
  --header-text: #e9f4f8;
  --header-image: none;
  --button-bg: var(--cyan);
  --button-text: #001016;
  --grid-line: rgba(5, 201, 255, .055);
  --bg-glow: rgba(5, 201, 255, .16);
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --topbar-height: 76px;
  --font-base: 16px;
  --font-brand: 25px;
  --font-nav: 16px;
  --font-button: 16px;
  --font-page-title: 72px;
  --font-section-title: 18px;
  --font-card-title: 18px;
  --font-card-text: 15px;
  --font-article-title: 72px;
  --font-article-body: 18px;
  --font-article-h1: 39px;
  --font-article-h2: 27px;
  --font-article-h3: 21px;
  --font-toc: 15px;
  --font-footer: 16px;
  --hero-min-height: 520px;
  --hero-title-size: 66px;
  --hero-intro-size: 19px;
  --hero-body-size: 17px;
  --hero-vertical-align: flex-start;
  --hero-text-align: left;
  --hero-content-width: 1200px;
  --layout-page-side: 32px;
  --layout-header-side: 32px;
  --layout-section-y: 32px;
  --layout-content-gap: 32px;
  --layout-card-gap: 16px;
  --layout-card-padding: 18px;
  --layout-footer-y: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-size: var(--font-base);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 58% 16%, var(--bg-glow), transparent 32rem),
    var(--bg);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

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

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: .8rem 1rem;
  background: var(--cyan);
  color: #001017;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 0 var(--layout-header-side);
  border-bottom: 1px solid var(--line);
  color: var(--header-text);
  background-color: var(--header-bg);
  background-image: var(--header-image);
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text::first-letter {
  color: var(--cyan);
}

.brand.small {
  font-size: min(var(--font-brand), 18px);
}

.image-brand {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-image {
  width: auto;
  height: calc(var(--topbar-height) - 10px);
  max-width: min(300px, 42vw);
  object-fit: contain;
}

.brand.small .brand-logo-image {
  height: 42px;
  max-width: 220px;
}

.brand-mark {
  width: 28px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-right: 0;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 14px;
  height: 2px;
  background: var(--cyan);
}

.brand-mark::before {
  top: 5px;
}

.brand-mark::after {
  bottom: 5px;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-weight: 650;
  font-size: var(--font-nav);
}

.topbar nav a {
  color: var(--header-text);
}

.topbar nav a:hover,
.footer a:hover {
  color: var(--cyan);
}

.topbar > .site-language {
  grid-column: -2 / -1;
  grid-row: 1;
  justify-self: end;
  position: static;
  white-space: nowrap;
  display: flex;
  gap: .5rem;
  align-items: center;
  color: color-mix(in srgb, var(--header-text) 62%, transparent);
}

.site-language strong {
  color: var(--green);
}

.site-language a {
  color: inherit;
  text-decoration: none;
}

.site-language a:hover {
  color: var(--header-text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) minmax(20rem, 1.5fr) minmax(18rem, 1.1fr) minmax(14rem, .85fr);
  min-height: var(--hero-min-height);
  margin: var(--hero-margin-top, 0) var(--hero-margin-right, 0) var(--hero-margin-bottom, 0) var(--hero-margin-left, 0);
  border-bottom: 1px solid var(--line);
}

.hero.single-hero {
  grid-template-columns: 1fr;
}

.hero.hero-no-media {
  grid-template-columns: minmax(170px, .55fr) minmax(20rem, 1.65fr) minmax(15rem, .8fr);
}

.hero.hero-no-project-panel {
  grid-template-columns: minmax(170px, .55fr) minmax(20rem, 1.65fr);
}

.project-rail {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}

.project-rail p {
  margin: 0 0 1rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: min(var(--font-toc), 13px);
  letter-spacing: .08em;
}

.custom-rail {
  align-content: start;
}

.rail-text {
  color: var(--text);
  line-height: 1.65;
}

.rail-text p {
  margin: 0 0 .8rem;
  color: inherit;
  text-transform: none;
  font-size: var(--font-card-text);
  letter-spacing: 0;
}

.rail-actions {
  display: grid;
  gap: .55rem;
  margin-top: 1.25rem;
}

.project-rail .rail-button {
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent);
  color: var(--text);
}

.project-rail .rail-button.ghost {
  border-color: rgba(180, 215, 230, .18);
  color: var(--muted);
}

.project-rail a,
.project-rail summary {
  display: block;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(180, 215, 230, .12);
  color: #dce8ed;
}

.project-rail details {
  border-bottom: 1px solid rgba(180, 215, 230, .12);
}

.project-rail details summary {
  cursor: pointer;
  list-style: none;
}

.project-rail details summary::-webkit-details-marker {
  display: none;
}

.project-rail details summary a {
  display: inline;
  padding: 0;
  border: 0;
}

.project-rail details summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-weight: 900;
}

.project-rail details[open] summary::after {
  content: "-";
}

.project-rail details div {
  display: grid;
  padding: .25rem 0 .65rem 1rem;
}

.project-rail details div a {
  padding: .55rem .85rem;
  border-bottom: 0;
  color: var(--muted);
  font-size: var(--font-card-text);
}

.project-rail .depth-1 {
  margin-left: .55rem;
}

.project-rail .depth-2 {
  margin-left: 1.1rem;
}

.project-rail .depth-3 {
  margin-left: 1.65rem;
}

.project-rail .article-leaf::before {
  content: "↳";
  margin-right: .45rem;
  color: var(--green);
}

.project-rail a.active,
.project-rail details.active > summary {
  color: var(--cyan);
  background: linear-gradient(90deg, rgba(5, 200, 255, .18), transparent);
  border-left: 3px solid var(--cyan);
}

.self-hosted {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--green);
}

.self-hosted span,
.muted,
.hint {
  color: var(--muted);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: var(--hero-vertical-align, flex-start);
  padding: var(--hero-padding-top, clamp(2rem, 5vw, 4.5rem)) var(--hero-padding-right, clamp(2rem, 5vw, 4.5rem)) var(--hero-padding-bottom, clamp(2rem, 5vw, 4.5rem)) var(--hero-padding-left, clamp(2rem, 5vw, 4.5rem));
  text-align: var(--hero-text-align, left);
}

.free-home-hero .hero-copy {
  width: min(100%, var(--hero-content-width, 1200px));
}

.free-home-hero.hero-align-left .hero-copy {
  margin-left: 0;
  margin-right: auto;
}

.free-home-hero.hero-align-center .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.free-home-hero.hero-align-right .hero-copy {
  margin-left: auto;
  margin-right: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  font-size: var(--font-page-title);
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  font-size: var(--hero-title-size);
}

.hero-copy p {
  color: #c7d3d9;
  font-size: var(--hero-intro-size);
  line-height: 1.65;
}

.actions,
.share {
  display: flex;
  flex-wrap: wrap;
  gap: var(--layout-card-gap);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  font-size: var(--font-button);
}

.button.primary {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-bg);
}

.button.support {
  background: var(--green);
  color: #142000;
  border-color: var(--green);
}

.button.ghost {
  color: #f4fbff;
}

.product {
  align-self: center;
  margin: 0;
  padding: var(--layout-section-y) var(--layout-page-side);
}

.product img {
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .48));
}

.status-panel {
  align-self: center;
  margin-right: 1.5rem;
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
  background: var(--panel);
}

.status-panel h2 {
  color: var(--cyan);
  font-size: var(--font-section-title);
}

dt {
  margin-top: 1.1rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: min(var(--font-card-text), 13px);
}

dd {
  margin: .35rem 0 0;
}

.version {
  color: var(--green);
  font-size: var(--font-article-h2);
  font-weight: 900;
}

.ok {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  margin-right: .45rem;
  border-radius: 99px;
  background: var(--green);
}

.content-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .85fr);
  border-bottom: 1px solid var(--line);
}

.section,
.article-card,
.support-grid article,
.page-title,
.project-detail,
.reader {
  padding: var(--layout-section-y) var(--layout-page-side);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--layout-card-gap);
  margin-bottom: var(--layout-card-gap);
}

.section h2,
.article-card h2,
.support-grid h2 {
  font-size: var(--font-section-title);
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(5, 12, 18, .64);
}

th,
td {
  padding: var(--layout-card-padding);
  border-bottom: 1px solid rgba(180, 215, 230, .13);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: min(var(--font-card-text), 13px);
  text-transform: uppercase;
}

code {
  color: #c7f9ff;
}

.chip {
  display: inline-flex;
  margin-left: .7rem;
  padding: .18rem .42rem;
  border-radius: 4px;
  background: rgba(5, 200, 255, .18);
  color: var(--cyan);
  font-size: min(var(--font-card-text), 12px);
  font-weight: 800;
  text-transform: uppercase;
}

.download,
.section-head a,
.article-card a,
.status-panel a,
.reader a {
  color: var(--cyan);
  font-weight: 750;
}

.article-card {
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-card.no-media {
  display: grid;
  align-content: center;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.label {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: min(var(--font-card-text), 13px);
  font-weight: 850;
}

.home-articles {
  border-bottom: 1px solid var(--line);
}

.home-free-text {
  max-width: 100%;
  margin: .25rem 0 1.25rem;
  color: #d1dce1;
  font-size: var(--hero-body-size);
}

.home-free-text p,
.home-free-text li {
  margin-bottom: .85rem;
  font-size: inherit;
}

.home-free-text h1,
.home-free-text h2,
.home-free-text h3,
.home-free-text h4 {
  max-width: none;
  color: var(--text);
  line-height: 1.16;
}

.home-free-text h1 {
  font-size: var(--hero-title-size);
}

.home-free-text blockquote {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--green);
  background: rgba(166, 255, 0, .06);
}

.home-free-text figure {
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 12, 18, .8);
}

.home-free-text [data-embed="youtube"],
.article-content [data-embed="youtube"] {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #020508;
}

.home-free-text [data-embed="youtube"] iframe,
.article-content [data-embed="youtube"] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-free-text figure img {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.home-free-text img[data-inline-image] {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: .25rem .35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  vertical-align: middle;
}

.home-free-text img[data-inline-image][data-align="left"] {
  float: left;
  margin: .35rem 1rem .75rem 0;
}

.home-free-text img[data-inline-image][data-align="right"] {
  float: right;
  margin: .35rem 0 .75rem 1rem;
}

.home-free-text img[data-inline-image][data-align="center"] {
  display: block;
  margin: 1rem auto;
}

.home-pinned-articles {
  border-bottom: 1px solid var(--line);
}

.pinned-article-grid {
  display: grid;
  gap: var(--layout-card-gap);
}

.pinned-article-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pinned-article-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pinned-article-card {
  position: relative;
  display: grid;
  gap: calc(var(--layout-card-gap) * .7);
  min-height: 210px;
  padding: var(--layout-card-padding);
  border: 1px solid var(--article-card-line, var(--line));
  border-radius: 6px;
  background: var(--article-card-bg, rgba(5, 12, 18, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.pinned-article-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.article-card-copy {
  display: grid;
  gap: calc(var(--layout-card-gap) * .7);
  min-width: 0;
  overflow-wrap: anywhere;
}
.pinned-article-card.has-thumbnail {
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  align-items: center;
}
.article-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.pinned-article-card.has-thumbnail .pin-badge {
  position: static;
  justify-self: start;
  width: fit-content;
}

.pin-badge {
  position: absolute;
  top: .85rem;
  right: .85rem;
  padding: .22rem .5rem;
  border: 1px solid color-mix(in srgb, var(--green) 55%, transparent);
  border-radius: 999px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pinned-article-card strong {
  font-size: var(--font-card-title);
  line-height: 1.35;
}

.pinned-article-card small {
  color: var(--muted);
  font-size: var(--font-card-text);
  line-height: 1.55;
}

.pinned-article-card time {
  align-self: end;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
}

.article-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.article-strip a {
  display: grid;
  gap: calc(var(--layout-card-gap) * .55);
  min-height: 190px;
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
  background: rgba(5, 12, 18, .58);
}

.article-strip strong {
  font-size: var(--font-card-title);
  line-height: 1.35;
}

.article-strip small,
.project-list-public small {
  color: var(--muted);
  font-size: var(--font-card-text);
  line-height: 1.5;
}

.article-strip time {
  align-self: end;
  color: var(--green);
  font-size: min(var(--font-card-text), 14px);
  font-weight: 800;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.notes-grid article {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.notes-grid article:last-child {
  border-right: 0;
}

.notes-grid h3 span {
  color: var(--muted);
  font-size: var(--font-card-text);
  font-weight: 500;
}

.notes-grid li {
  margin: .45rem 0;
  color: #c9d5da;
}

.support-grid article + article,
.project-detail div {
  border-left: 1px solid var(--line);
}

.share a {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--layout-content-gap);
  padding: var(--layout-footer-y) var(--layout-page-side);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: var(--font-footer);
}

.footer nav {
  display: flex;
  gap: var(--layout-card-gap);
}

.legal-bar {
  display: flex;
  justify-content: space-between;
  gap: var(--layout-card-gap);
  padding: calc(var(--layout-footer-y) * .65) var(--layout-page-side);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg-soft);
  font-size: var(--font-footer);
}

.legal-bar a {
  color: var(--text);
  font-weight: 750;
}

.legal-bar a:hover {
  color: var(--cyan);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  color: #d1dce1;
  line-height: 1.8;
}

.page-title {
  border-bottom: 1px solid var(--line);
}

.page-title h1,
.reader h1 {
  max-width: 18ch;
}

.page-title h1 {
  font-size: var(--font-page-title);
}

.reader h1 {
  font-size: var(--font-article-title);
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.2fr);
  border-bottom: 1px solid var(--line);
}

.project-detail.no-media {
  grid-template-columns: 1fr;
}

.project-detail img {
  border: 1px solid var(--line);
}

.project-detail div {
  padding-left: 2rem;
}

.project-detail.no-media div {
  padding-left: 0;
}

.compact {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .5rem 1rem;
}

.compact dt {
  margin: 0;
}

.list {
  display: grid;
  gap: calc(var(--layout-card-gap) * .7);
}

.list a {
  display: flex;
  justify-content: space-between;
  gap: var(--layout-card-gap);
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
}

.article-list-public a span:first-child {
  display: grid;
  gap: .35rem;
}

.article-list-public small,
.project-list-public small {
  color: var(--muted);
  font-size: var(--font-card-text);
  line-height: 1.5;
}

.article-list-public em {
  color: var(--cyan);
  font-size: min(var(--font-card-text), 13px);
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 220px) minmax(0, 1120px);
  gap: var(--layout-content-gap);
  align-items: start;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 var(--layout-page-side);
}

.reader {
  min-width: 0;
}

.reader-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  margin-top: 1.2rem;
  padding: 0 .85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(var(--panel-rgb), .62);
  font-weight: 850;
}

.reader-back::before {
  content: "←";
  color: var(--green);
}

.reader-back:hover {
  border-color: var(--cyan);
}

.article-toc {
  position: sticky;
  top: 96px;
  margin-top: 2rem;
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 12, 18, .72);
}

.article-toc strong {
  display: block;
  margin-bottom: .75rem;
  color: var(--green);
  font-size: var(--font-toc);
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  gap: .4rem;
}

.article-toc a {
  color: #cfdee5;
  font-size: var(--font-toc);
  line-height: 1.35;
}

.article-toc a:hover {
  color: var(--cyan);
}

.article-toc .level-1 {
  color: var(--text);
  font-weight: 850;
}

.article-toc .level-2 {
  padding-left: .35rem;
}

.article-toc .level-3 {
  padding-left: .85rem;
  color: var(--muted);
}

.reader header {
  margin: 1.15rem 0 1.4rem;
}

.reader header > a:first-child {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .85rem;
  color: var(--green);
  font-size: var(--font-card-text);
  font-weight: 900;
  text-transform: uppercase;
}

.reader header h1 {
  margin-top: 0;
}

.reader img {
  width: 100%;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.reader p {
  color: #d1dce1;
  font-size: var(--font-article-body);
  line-height: 1.8;
  text-align: justify;
  text-wrap: pretty;
}

.article-binder {
  margin: 1.4rem 0 2.5rem;
}

.article-tabs {
  display: flex;
  align-items: flex-end;
  gap: .28rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0 .25rem;
}

.article-tabs button {
  position: relative;
  min-height: 46px;
  padding: .55rem 1rem .65rem;
  border: 1px solid color-mix(in srgb, var(--tab-color) 50%, transparent);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--tab-color) 22%, rgba(var(--panel-rgb), .9));
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  opacity: .72;
}

.article-tabs button.active {
  z-index: 2;
  min-height: 54px;
  color: #031016;
  background: var(--tab-color);
  opacity: 1;
}

.article-tab-panel {
  padding: clamp(1rem, 3vw, 2.1rem);
  border: 1px solid var(--tab-panel-line);
  border-radius: 0 8px 8px 8px;
  background:
    linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)),
    var(--tab-panel-bg);
  box-shadow: var(--shadow);
}

.article-tab-panel[hidden] {
  display: none;
}

.article-content h1 {
  margin: 2.4rem 0 .95rem;
  color: var(--text);
  font-size: var(--font-article-h1);
  line-height: 1.12;
}

.article-content h2 {
  margin: 2.2rem 0 .8rem;
  color: var(--text);
  font-size: var(--font-article-h2);
}

.article-content h3 {
  margin: 1.8rem 0 .65rem;
  color: #e6f4f8;
  font-size: var(--font-article-h3);
}

.article-content h1[id],
.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: calc(var(--topbar-height) + 24px);
}

.article-content ul,
.article-content ol {
  color: #d1dce1;
  line-height: 1.8;
  text-align: justify;
}

.article-content li {
  margin: .35rem 0;
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--green);
  background: rgba(166, 255, 0, .06);
  color: #e6f3f7;
}

.article-content [data-box] {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(5, 200, 255, .42);
  border-left: 4px solid var(--cyan);
  border-radius: 6px;
  background: rgba(5, 200, 255, .075);
  color: #edf8fc;
}

.article-content .table-wrap {
  box-sizing: border-box;
  width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 12, 18, .72);
}

.article-content table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: .75rem .85rem;
  border: 1px solid rgba(180, 215, 230, .2);
  color: #d1dce1;
  font-size: var(--font-card-text);
  line-height: 1.55;
  vertical-align: top;
}

.article-content th {
  color: #041016;
  background: var(--cyan);
  font-weight: 900;
  text-align: left;
}

.article-content pre {
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #03070a;
}

.article-content [data-bg-color],
.article-content [data-text-color] {
  padding: .75rem .9rem;
  border-radius: 6px;
}

.article-content code {
  color: #c7f9ff;
}

.article-content a {
  color: var(--cyan);
  font-weight: 750;
}

.article-content figure {
  box-sizing: border-box;
  margin: 1.7rem 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(5, 12, 18, .72);
}

.article-content figure[data-align="left"] {
  margin-right: auto;
}

.article-content figure[data-align="right"] {
  margin-left: auto;
}

.article-content figure[data-align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.article-content figure[data-size="small"] {
  max-width: 320px;
}

.article-content figure[data-size="medium"] {
  max-width: 560px;
}

.article-content figure[data-size="wide"] {
  max-width: 820px;
}

.article-content figure[data-size="full"] {
  max-width: none;
}

.article-content figure img {
  width: 100%;
  margin: 0;
  border: 0;
}

.article-content figure[data-frame="none"] {
  border-color: transparent;
  background: transparent;
}

.article-content figure[data-frame="none"] img,
.article-content img[data-inline-image][data-frame="none"] {
  border-color: transparent;
  background: transparent;
}

.article-content img[data-inline-image] {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: .25rem .35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  vertical-align: middle;
}

.article-content img[data-inline-image][data-align="left"] {
  float: left;
  margin: .35rem 1rem .75rem 0;
}

.article-content img[data-inline-image][data-align="right"] {
  float: right;
  margin: .35rem 0 .75rem 1rem;
}

.article-content img[data-inline-image][data-align="center"] {
  display: block;
  margin: 1rem auto;
}

.article-content figcaption {
  padding: .8rem 1rem;
  color: var(--muted);
  font-size: var(--font-card-text);
}

.article-downloads {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.download-cards {
  display: grid;
  gap: calc(var(--layout-card-gap) * .7);
}

.download-card {
  display: flex;
  justify-content: space-between;
  gap: var(--layout-card-gap);
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 12, 18, .62);
}

.download-card span {
  display: grid;
  gap: .25rem;
}

.download-card small {
  color: var(--muted);
}

.download-card em {
  align-self: start;
  padding: .22rem .45rem;
  border: 1px solid rgba(166, 255, 0, .45);
  color: var(--green);
  font-size: min(var(--font-card-text), 12px);
  font-style: normal;
  font-weight: 850;
}

.article-content [data-layout="columns"] {
  display: grid;
  grid-template-columns: var(--columns-template, repeat(var(--columns-count, 2), minmax(0, 1fr)));
  gap: var(--columns-gap, 1.2rem);
  box-sizing: border-box;
  width: 100%;
  margin: var(--layout-content-gap) 0;
}

.article-content [data-layout="columns"] > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-content [data-layout="columns"] p,
.article-content [data-layout="columns"] li {
  text-align: left;
}

.article-content [data-layout="columns"][data-separator="line"] > div + div {
  border-left: 1px solid var(--line);
  padding-left: clamp(.8rem, calc(var(--columns-gap, 24px) / 2), 2rem);
}

.article-content [data-layout="columns"][data-separator="dashed"] > div + div {
  border-left: 1px dashed rgba(180, 215, 230, .44);
  padding-left: clamp(.8rem, calc(var(--columns-gap, 24px) / 2), 2rem);
}

.article-content [data-layout="columns"][data-separator="accent"] > div + div {
  border-left: 3px solid var(--cyan);
  padding-left: clamp(.8rem, calc(var(--columns-gap, 24px) / 2), 2rem);
}

.article-content [data-layout="columns"][data-separator="panel"] > div {
  padding: var(--layout-card-padding);
  border: 1px solid var(--line);
  background: rgba(5, 12, 18, .58);
}

.article-content [data-layout="columns"] figure {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
}

.article-content [data-layout="columns"] figure img,
.article-content [data-layout="columns"] img[data-inline-image] {
  max-width: 100%;
}

.article-content [data-layout="columns"] .table-wrap {
  margin: 1rem 0;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar nav {
    display: none;
  }

  .hero,
  .content-grid,
  .support-grid,
  .project-detail,
  .article-strip,
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    margin-top: 1rem;
  }

  .project-rail {
    display: none;
  }

  .status-panel {
    margin: 0 1rem 1rem;
  }

  .article-card,
  .support-grid article + article,
  .project-detail div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

  .notes-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer nav {
    flex-wrap: wrap;
  }

  .legal-bar {
    display: grid;
    padding: calc(var(--layout-footer-y) * .65) min(var(--layout-page-side), 24px);
  }

  .article-content [data-layout="columns"] {
    grid-template-columns: 1fr;
  }

  .article-content [data-layout="columns"] > div + div {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }
}

@media (max-width: 1200px) and (min-width: 821px) {
  .pinned-article-grid.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pinned-article-grid.columns-2,
  .pinned-article-grid.columns-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --topbar-height: 68px;
  }

  h1 {
    font-size: min(var(--font-page-title), 44px);
  }

  .hero h1 {
    font-size: min(var(--hero-title-size), 48px);
  }

  .hero-copy {
    padding: min(var(--hero-padding-top, 32px), 80px) min(var(--hero-padding-right, 16px), 32px) min(var(--hero-padding-bottom, 32px), 80px) min(var(--hero-padding-left, 16px), 32px);
  }

  .actions {
    display: grid;
  }
}

/* Commentaires (Flocom). Le composant herite de la couleur et de la police du
   panneau d'article; on ne lui donne ici qu'un cadre et quelques variables. */
.article-comments {
  margin: 2.2rem 0 1rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-comments flocom-thread {
  --flocom-line: var(--line);
  --flocom-muted: var(--muted);
  --flocom-radius: 10px;
}

.comments-noscript {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.article-image-zoom[role="button"] { cursor: zoom-in; }
.article-image-zoom:focus-visible { outline: 2px solid #00c5ed; outline-offset: 4px; }
.article-lightbox {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 64px 64px 76px;
  border: 0;
  background: rgb(3 8 12 / 97%);
  color: #f1f7fa;
}
.article-lightbox[open] { display: grid; place-items: center; }
.article-lightbox::backdrop { background: #03080c; }
.article-lightbox .lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.article-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #577078;
  border-radius: 4px;
  background: #101e24;
  color: #fff;
  font: 36px/1 sans-serif;
  cursor: pointer;
}
.article-lightbox button[hidden] { display: none; }
.article-lightbox button:focus-visible { outline: 3px solid #00c5ed; outline-offset: 3px; }
.article-lightbox .lightbox-close { top: 10px; right: 10px; }
.article-lightbox .lightbox-previous { left: 8px; top: calc(50% - 24px); }
.article-lightbox .lightbox-next { right: 8px; top: calc(50% - 24px); }
.article-lightbox .lightbox-caption {
  position: absolute;
  bottom: 8px;
  left: 64px;
  right: 64px;
  max-height: 56px;
  overflow: auto;
  margin: 0;
  text-align: center;
  font-size: 15px;
}
@media (max-width: 600px) {
  .article-lightbox { padding: 64px 8px 110px; }
  .article-lightbox .lightbox-previous,
  .article-lightbox .lightbox-next { top: auto; bottom: 12px; }
  .article-lightbox .lightbox-caption { max-height: 80px; }
}
.article-content [data-gallery] {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
  gap: 12px;
  clear: both;
  margin: 20px 0;
}
.article-content [data-gallery] > figure {
  width: 100% !important;
  min-width: 0;
  margin: 0;
  float: none;
}
.article-content [data-gallery] > figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
@media (max-width: 600px) {
  .article-content [data-gallery] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-content [data-gallery][data-gallery-columns="1"] { grid-template-columns: minmax(0, 1fr); }
}
.article-content [data-gallery-mode="slideshow"] { display: block; }
.article-content [data-gallery-mode="slideshow"] > [hidden] { display: none; }
.article-content [data-gallery-mode="slideshow"] > figure img {
  display: block;
  height: min(60vh, 600px);
  aspect-ratio: auto;
  object-fit: contain;
}
.gallery-slide-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; }
.gallery-slide-controls button { width: 44px; height: 44px; padding: 0; font-size: 28px; border: 1px solid #577078; border-radius: 4px; background: #101e24; color: #fff; cursor: pointer; }
.gallery-slide-controls button[hidden] { display: none; }
.gallery-slide-controls span { min-width: 70px; text-align: center; font-size: 16px; }
.site-language .header-donation {
  padding: 7px 10px;
  margin-right: 12px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  color: var(--header-text);
  font-size: 13px;
  font-weight: 650;
}
.site-language .header-donation:hover { color: var(--cyan); }
.reader-layout { display: block; max-width: 1520px; }
.reader > .reader-cover {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  margin: 0 0 24px;
}
details.article-toc {
  position: sticky;
  top: calc(var(--topbar-height) + 8px);
  z-index: 4;
  width: max-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  background: var(--background, #071016);
}
details.article-toc summary { padding: 10px 14px; color: var(--cyan); cursor: pointer; font-size: 15px; font-weight: 650; }
details.article-toc nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(400px, calc(100vw - 48px));
  max-height: min(65vh, 600px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #071016;
  box-shadow: 0 8px 30px #0008;
}
details.article-toc a { font-size: 15px; line-height: 1.5; padding: 5px 0; overflow-wrap: anywhere; }
details.article-toc .level-2 { padding-left: 12px; }
details.article-toc .level-3 { padding-left: 24px; }
@media (max-width: 600px) {
  .topbar { column-gap: 8px; padding-inline: 12px; }
  .topbar .brand-logo-image { max-width: 28vw; }
  .site-language .header-donation { padding: 7px; margin-right: 4px; font-size: 12px; }
}
.article-content [data-gallery-mode="slideshow"] figcaption {
  margin: 0;
  padding: 12px 16px;
  color: inherit;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}


/* FloFiles - rendu des collections publiees */
.ff-collection {
  --ff-text: #1f2530;
  --ff-muted: #6b7280;
  --ff-surface: #ffffff;
  --ff-surface-alt: #f6f7f9;
  --ff-border: #e2e5ea;
  --ff-accent: #2f6fd0;
  --ff-radius: 10px;
  color: var(--ff-text);
}
.ff-collection-title { margin: 0 0 .4rem; }
.ff-collection-intro { color: var(--ff-muted); margin-bottom: 1rem; }
.ff-collection-missing { color: #b3261e; font-size: .9rem; }
.ff-block { margin: 0 0 1.6rem; }
.ff-block-title { margin: 0 0 .5rem; font-size: 1.05rem; }
.ff-block-note { margin: 0 0 .6rem; color: var(--ff-muted); font-size: .92rem; }
.ff-cards { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ff-card {
  display: flex; align-items: flex-start; gap: .7rem; position: relative;
  padding: .7rem .8rem; border: 1px solid var(--ff-border); border-radius: var(--ff-radius);
  background: var(--ff-surface); text-decoration: none; color: inherit;
}
.ff-card:hover { border-color: var(--ff-accent); background: var(--ff-surface-alt); }
.ff-card.is-recommended { border-color: var(--ff-accent); }
.ff-card-icon { flex: 0 0 auto; line-height: 0; }
.ff-card-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ff-card-name { font-weight: 600; overflow-wrap: anywhere; }
.ff-card-meta, .ff-card-note, .ff-card-hash { color: var(--ff-muted); font-size: .82rem; }
.ff-card-hash { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.ff-card-badge {
  position: absolute; top: .5rem; right: .6rem; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ff-accent);
}
.ff-dir { border: 1px solid var(--ff-border); border-radius: var(--ff-radius); margin-bottom: .6rem; background: var(--ff-surface); }
.ff-dir-summary { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; cursor: pointer; list-style: none; }
.ff-dir-summary::-webkit-details-marker { display: none; }
.ff-dir-summary::before { content: "\25B8"; color: var(--ff-muted); transition: transform .15s ease; }
.ff-dir[open] > .ff-dir-summary::before { transform: rotate(90deg); }
.ff-dir-name { font-weight: 600; }
.ff-dir-count { color: var(--ff-muted); font-size: .8rem; margin-left: auto; }
.ff-dir-body { padding: 0 .7rem .7rem; }
.ff-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ff-table th, .ff-table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--ff-border); }
.ff-table th { color: var(--ff-muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.ff-cell-name { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.ff-cell-name small { flex-basis: 100%; color: var(--ff-muted); }
.ff-cell-hash { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; color: var(--ff-muted); }
.ff-table tr.is-recommended td { background: var(--ff-surface-alt); }
@media (prefers-color-scheme: dark) {
  .ff-collection:not([data-theme="light"]) {
    --ff-text: #e7eaef; --ff-muted: #9aa3b0; --ff-surface: #171a20;
    --ff-surface-alt: #1e222a; --ff-border: #2b3038; --ff-accent: #6ea8ff;
  }
}

/* FloSoft - rendu des fiches logiciel */
.fs-card,
.fs-catalog {
  --fs-text: currentColor;
  --fs-muted: color-mix(in srgb, currentColor 62%, transparent);
  --fs-surface: color-mix(in srgb, currentColor 6%, transparent);
  --fs-surface-alt: color-mix(in srgb, currentColor 10%, transparent);
  --fs-border: color-mix(in srgb, currentColor 18%, transparent);
  --fs-accent: currentColor;
  --fs-radius: 12px;
  --fs-gap: 1rem;
  --fs-tone-green: #3fb27f;
  --fs-tone-blue: #4d9bd6;
  --fs-tone-violet: #9b7ad6;
  --fs-tone-amber: #d6a24d;
  --fs-tone-neutral: var(--fs-muted);
}

.fs-card {
  display: block;
  color: var(--fs-text);
  background: var(--fs-surface);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-radius);
  padding: var(--fs-gap);
  margin: 1.5rem 0;
  line-height: 1.55;
  text-align: left;
}

.fs-card a { color: inherit; }
.fs-card p { margin: 0 0 .5rem; }
.fs-card p:last-child { margin-bottom: 0; }

.fs-head {
  display: flex;
  align-items: flex-start;
  gap: var(--fs-gap);
}

.fs-logo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--fs-surface-alt);
  padding: 6px;
}

.fs-ident { min-width: 0; flex: 1 1 auto; }

.fs-name {
  margin: 0 0 .2rem;
  font-size: 1.15em;
  line-height: 1.25;
}

.fs-tagline {
  margin: 0 0 .4rem;
  color: var(--fs-muted);
}

.fs-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
  font-size: .85em;
}

.fs-badge {
  display: inline-block;
  padding: .12em .6em;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fs-tone-neutral) 55%, transparent);
  color: var(--fs-tone-neutral);
  background: color-mix(in srgb, var(--fs-tone-neutral) 14%, transparent);
  white-space: nowrap;
}

.fs-badge[data-tone="green"] { --fs-tone-neutral: var(--fs-tone-green); }
.fs-badge[data-tone="blue"] { --fs-tone-neutral: var(--fs-tone-blue); }
.fs-badge[data-tone="violet"] { --fs-tone-neutral: var(--fs-tone-violet); }
.fs-badge[data-tone="amber"] { --fs-tone-neutral: var(--fs-tone-amber); }

.fs-note,
.fs-price,
.fs-flag {
  color: var(--fs-muted);
}

.fs-flag::before { content: "\2022"; margin-right: .4rem; }

.fs-current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: var(--fs-gap) 0 0;
}

.fs-current-empty { color: var(--fs-muted); font-style: italic; }

.fs-download,
.fs-more,
.fs-filter {
  display: inline-block;
  padding: .4em .9em;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--fs-accent) 45%, transparent);
  background: color-mix(in srgb, var(--fs-accent) 14%, transparent);
  text-decoration: none;
  font-weight: 600;
}

.fs-download:hover,
.fs-more:hover,
.fs-filter:hover {
  background: color-mix(in srgb, var(--fs-accent) 26%, transparent);
}

.fs-download-version { font-weight: 400; opacity: .85; }
.fs-current-meta,
.fs-version-meta { color: var(--fs-muted); font-size: .9em; }

.fs-description { margin-top: var(--fs-gap); }
.fs-description ul { margin: 0 0 .5rem 1.1rem; padding: 0; }

.fs-subtitle {
  margin: var(--fs-gap) 0 .5rem;
  font-size: .95em;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--fs-muted);
}

.fs-shot-strip {
  display: flex;
  gap: .6rem;
  margin: 0;
  padding: 0 0 .4rem;
  list-style: none;
  overflow-x: auto;
}

.fs-shot { flex: 0 0 auto; max-width: 220px; }
.fs-shot a { display: block; text-decoration: none; }

.fs-shot img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--fs-border);
}

.fs-shot-caption {
  display: block;
  margin-top: .3rem;
  font-size: .82em;
  color: var(--fs-muted);
}

.fs-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .5rem var(--fs-gap);
  margin: var(--fs-gap) 0 0;
}

.fs-fact dt { font-size: .82em; text-transform: uppercase; letter-spacing: .04em; color: var(--fs-muted); }
.fs-fact dd { margin: 0; }

.fs-history {
  margin-top: var(--fs-gap);
  border-top: 1px solid var(--fs-border);
  padding-top: .6rem;
}

.fs-history > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: revert;
}

.fs-version-list {
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .8rem;
}

.fs-version {
  padding: .6rem .8rem;
  border-radius: 8px;
  background: var(--fs-surface-alt);
}

.fs-version-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem;
  margin: 0;
}

.fs-version-number { font-weight: 600; }
.fs-version-notes { margin-top: .3rem; }
.fs-version-notes ul { margin: 0 0 0 1.1rem; padding: 0; }
.fs-hash { margin: .4rem 0 0; font-size: .78em; color: var(--fs-muted); overflow-wrap: anywhere; }

.fs-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: var(--fs-gap) 0 0;
  padding: 0;
  list-style: none;
  font-size: .92em;
}

.fs-card[data-view="compact"] { padding: .8rem var(--fs-gap); }
.fs-card[data-view="compact"] .fs-logo { width: 52px; height: 52px; }
.fs-card[data-view="compact"] .fs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
}
.fs-card[data-view="compact"] .fs-current { margin: 0; }

.fs-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 var(--fs-gap);
  padding: 0;
  list-style: none;
}

.fs-filter { font-size: .9em; }
.fs-filter[aria-current="page"] { background: color-mix(in srgb, var(--fs-accent) 30%, transparent); }

.fs-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--fs-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fs-index-item { display: block; }
.fs-index .fs-card { margin: 0; height: 100%; }
.fs-empty { color: var(--fs-muted); font-style: italic; }

@media (max-width: 560px) {
  .fs-head { flex-direction: column; }
  .fs-index { grid-template-columns: 1fr; }
}
