.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 28px;
  padding: 28px 0 68px;
  align-items: start;
}

.content-layout.has-sidebar {
  grid-template-columns: 210px minmax(0, 860px);
  justify-content: center;
}

.content-layout.has-toc {
  grid-template-columns: minmax(0, 860px) 220px;
  justify-content: center;
}

.content-layout.has-sidebar.has-toc {
  grid-template-columns: 210px minmax(0, 820px) 220px;
}

.sidebar,
.toc {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 10px;
}

.mobile-inline-toc {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 14px;
}

.sidebar h2,
.toc h2,
.mobile-inline-toc h2 {
  margin: 0 0 10px;
  font-size: 14px;
}

.sidebar nav,
.toc nav,
.mobile-inline-toc nav {
  display: grid;
  gap: 2px;
}

.sidebar a,
.toc a,
.mobile-inline-toc a {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.sidebar a:hover,
.sidebar a[aria-current="page"],
.toc a:hover,
.mobile-inline-toc a:hover {
  background: var(--surface);
  color: var(--accent);
}

.toc .toc-level-3,
.mobile-inline-toc .toc-level-3 {
  padding-left: 18px;
  font-size: 13px;
}

.prose {
  min-width: 0;
}

.page-header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.page-index .page-header {
  text-align: center;
}

.page-index .page-header p {
  max-width: 46em;
  margin-inline: auto;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.3;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
}

.prose a {
  color: var(--accent);
}

.section-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-top: 28px;
}

.section-card {
  min-height: 128px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
  text-align: center;
  color: var(--text);
}

.section-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.section-card span {
  max-width: 24em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-card:hover {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  background: var(--surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 14px;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface);
  color: var(--text);
}

.prose code {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 5px;
  background: var(--surface);
  color: var(--text);
}

.prose pre {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #0f1720;
  color: #e6edf3;
}

.prose pre code {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.prose img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: zoom-in;
}

.prose figure {
  margin: 22px 0 30px;
}

.prose figure img {
  margin: 0;
}

.prose figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.about-home {
  --about-canvas: #020307;
  --about-surface: #0d0f15;
  --about-surface-2: #141720;
  --about-line: #232734;
  --about-line-soft: rgba(255, 255, 255, 0.07);
  --about-ink: #f7f8f8;
  --about-muted: #a4a9b6;
  --about-subtle: #707684;
  --about-accent: #6f7cff;
  --about-accent-soft: rgba(111, 124, 255, 0.16);
  background:
    radial-gradient(circle at 50% -18%, rgba(111, 124, 255, 0.22), transparent 34%),
    var(--about-canvas);
  color: var(--about-ink);
}

.about-hero-inner > *,
.about-system-panel,
.about-platform-card,
.about-business-card,
.about-process-step,
.about-channel-card > * {
  min-width: 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--about-line);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--about-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--about-line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 78%);
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding-top: 90px;
  padding-bottom: 76px;
}

.about-hero-copy > span,
.about-section-heading > span,
.about-channel-card > span,
.about-contact span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--about-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-copy h1 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.93;
  font-weight: 850;
  letter-spacing: 0;
}

.about-hero-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--about-muted);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  font-weight: 650;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-hero-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-top: 1px solid var(--about-line);
  border-left: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--about-surface);
  color: var(--about-ink);
  font-size: 14px;
  font-weight: 750;
}

.about-hero-actions a:first-child {
  border-color: transparent;
  background: var(--about-accent);
  color: #fff;
}

.about-system-panel {
  min-width: 0;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--about-surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.about-panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--about-line);
  padding: 12px 14px;
  background: #0a0c12;
}

.about-panel-topline span {
  color: var(--about-ink);
  font-size: 13px;
  font-weight: 800;
}

.about-panel-topline small {
  color: var(--about-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.about-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  max-height: 520px;
  overflow: hidden;
}

.about-logo-wall figure {
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0;
  border-right: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.018);
}

.about-logo-wall img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  filter: saturate(0.8);
}

.about-section {
  padding: 92px 0;
}

.about-section-heading {
  max-width: 760px;
  margin: 0 0 28px;
}

.about-section-heading h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
}

.about-section-heading p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--about-muted);
  font-size: 17px;
}

.about-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.about-platform-card {
  min-height: 168px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  background: var(--about-surface);
  overflow: hidden;
}

.about-platform-card img {
  max-width: 92px;
  max-height: 78px;
  object-fit: contain;
}

.about-platform-card strong {
  width: 100%;
  border-top: 1px solid var(--about-line);
  padding: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--about-muted);
  font-size: 14px;
  text-align: center;
}

.about-platform-card.is-disabled {
  opacity: 0.68;
}

.about-business {
  border-block: 1px solid var(--about-line);
  background:
    linear-gradient(180deg, rgba(111, 124, 255, 0.08), transparent 34%),
    #05070c;
}

.about-business-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-business-card {
  min-height: 420px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  padding: 18px;
  background: var(--about-surface);
  overflow: hidden;
}

.about-business-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #090b10;
}

.about-business-card h3 {
  margin: 0 0 10px;
  color: var(--about-ink);
  font-size: 24px;
}

.about-business-card p {
  margin: 0;
  color: var(--about-muted);
  font-size: 15px;
}

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-process-step {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--about-line);
  border-radius: 12px;
  padding: 14px;
  background: var(--about-surface);
}

.about-process-step span {
  color: var(--about-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.about-process-step img {
  height: 52px;
  object-fit: contain;
  justify-self: end;
  opacity: 0.86;
}

.about-process-step strong {
  color: var(--about-ink);
  font-size: 15px;
}

.about-channel {
  padding: 92px 0;
  border-block: 1px solid var(--about-line);
  background:
    linear-gradient(90deg, rgba(111, 124, 255, 0.14), transparent 58%),
    #05070c;
  color: var(--about-ink);
}

.about-channel-card {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.about-channel-card h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.about-channel-card p {
  margin: 0 0 12px;
  color: var(--about-muted);
  font-size: 20px;
  font-weight: 700;
}

.about-channel-card a {
  color: var(--about-accent);
  font-weight: 850;
}

.about-contact {
  padding: 92px 0;
  background:
    linear-gradient(180deg, rgba(2, 3, 7, 0.88), rgba(2, 3, 7, 0.98)),
    var(--about-contact-bg) center / cover no-repeat,
    var(--about-canvas);
  color: var(--about-ink);
  text-align: left;
}

.about-contact h2 {
  margin: 0 0 18px;
  color: var(--about-ink);
  font-size: clamp(34px, 5vw, 56px);
}

.about-contact p {
  margin: 8px 0;
  color: var(--about-muted);
}

/* About page redesign pass: reference-inspired, content-first system. */
.about-home {
  --about-canvas: #f4f8ff;
  --about-surface: #ffffff;
  --about-surface-2: #eef5ff;
  --about-line: #d8e5f4;
  --about-line-soft: rgba(25, 92, 163, 0.1);
  --about-ink: #07182d;
  --about-muted: #506276;
  --about-subtle: #748397;
  --about-accent: #1769e0;
  --about-accent-strong: #0d4ea8;
  --about-accent-soft: rgba(23, 105, 224, 0.1);
  background:
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 38%, #ffffff 100%);
  color: var(--about-ink);
}

:root[data-theme="dark"] .about-home {
  --about-canvas: #030712;
  --about-surface: #0b1020;
  --about-surface-2: #111827;
  --about-line: #243043;
  --about-line-soft: rgba(142, 193, 255, 0.1);
  --about-ink: #f7faff;
  --about-muted: #a9b6c7;
  --about-subtle: #758296;
  --about-accent: #58a2ff;
  --about-accent-strong: #8ec1ff;
  --about-accent-soft: rgba(88, 162, 255, 0.13);
  background:
    radial-gradient(circle at 52% -12%, rgba(88, 162, 255, 0.2), transparent 35%),
    linear-gradient(180deg, #050914 0%, #030712 42%, #050914 100%);
}

.about-hero {
  border-bottom-color: var(--about-line);
}

.about-hero::before {
  background:
    linear-gradient(var(--about-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--about-line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 74%);
}

.about-hero-inner {
  min-height: 690px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 42px);
  padding-top: clamp(56px, 7vw, 78px);
  padding-bottom: clamp(48px, 6vw, 64px);
}

.about-hero-copy {
  align-self: center;
}

.about-hero-copy > span,
.about-section-heading > span,
.about-channel-card span,
.about-contact span {
  margin-bottom: 14px;
  color: var(--about-accent);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.about-hero-copy h1 {
  max-width: 560px;
  color: var(--about-ink);
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 860;
  text-wrap: balance;
}

.about-hero-copy p {
  max-width: 520px;
  margin-top: clamp(14px, 2vw, 20px);
  color: var(--about-muted);
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.26;
  font-weight: 680;
}

.about-hero-actions {
  margin-top: 28px;
}

.about-hero-actions a {
  border-radius: 8px;
  background: color-mix(in srgb, var(--about-surface) 88%, var(--about-accent-soft));
  color: var(--about-ink);
  box-shadow: none;
}

.about-hero-actions a:first-child {
  background: var(--about-accent);
  color: #fff;
}

.about-hero-actions a:hover,
.about-platform-card:hover,
.about-business-card:hover,
.about-process-step:hover {
  border-color: color-mix(in srgb, var(--about-accent) 44%, var(--about-line));
}

.about-hero-facts {
  max-width: 500px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(8px, 1.4vw, 10px);
  margin-top: clamp(20px, 3vw, 30px);
}

.about-hero-facts span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--about-line);
  border-left: 3px solid var(--about-accent);
  border-radius: 8px;
  padding: 0 13px;
  background: color-mix(in srgb, var(--about-surface) 86%, var(--about-accent-soft));
  color: var(--about-ink);
  font-size: 14px;
  font-weight: 780;
}

.about-system-panel {
  border-color: var(--about-line);
  border-radius: 8px;
  background: #071426;
  box-shadow: 0 28px 70px rgba(6, 35, 70, 0.12);
}

:root[data-theme="dark"] .about-system-panel {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.about-panel-topline {
  border-bottom-color: rgba(255, 255, 255, 0.09);
  background: #0b1b31;
}

.about-panel-topline span {
  color: #eef6ff;
}

.about-panel-topline small {
  color: #7f8fa3;
}

.about-logo-wall {
  grid-template-columns: repeat(auto-fit, minmax(clamp(92px, 10vw, 118px), 1fr));
  max-height: clamp(320px, 40vw, 430px);
}

.about-logo-wall figure {
  height: clamp(48px, 5vw, 54px);
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.028);
}

.about-logo-wall img {
  max-width: 88%;
  max-height: clamp(24px, 3vw, 30px);
  filter: saturate(0.9);
}

.about-section {
  padding: clamp(54px, 7vw, 82px) 0;
}

.about-section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.about-section-heading h2,
.about-channel-card h2,
.about-contact h2 {
  color: var(--about-ink);
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  font-weight: 780;
}

.about-section-heading p,
.about-business-card p,
.about-channel-card p,
.about-contact p {
  color: var(--about-muted);
}

.about-platform-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: clamp(8px, 1vw, 10px);
}

.about-platform-card {
  min-height: clamp(112px, 12vw, 132px);
  border-color: var(--about-line);
  border-radius: 8px;
  background: var(--about-surface);
}

.about-platform-card img {
  width: clamp(50px, 6vw, 76px);
  height: clamp(50px, 6vw, 66px);
  max-width: 76px;
  max-height: 66px;
  border: 1px solid color-mix(in srgb, var(--about-line) 75%, transparent);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.about-shop-grid .about-platform-card img {
  width: clamp(58px, 7vw, 92px);
  height: clamp(46px, 5vw, 58px);
  max-width: 92px;
  max-height: 58px;
}

.about-platform-card strong {
  border-top-color: var(--about-line);
  background: color-mix(in srgb, var(--about-surface-2) 86%, transparent);
  color: var(--about-ink);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.about-platform-card.is-disabled {
  opacity: 0.82;
}

.about-business {
  border-color: var(--about-line);
  background:
    linear-gradient(180deg, var(--about-accent-soft), transparent 42%),
    color-mix(in srgb, var(--about-canvas) 88%, var(--about-surface));
}

.about-business-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}

.about-business-card {
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: start;
  align-content: initial;
  gap: 22px;
  border-color: var(--about-line);
  border-radius: 8px;
  padding: 18px;
  background: var(--about-surface);
}

.about-business-card:first-child {
  grid-row: auto;
  grid-template-columns: 1fr;
  align-items: start;
}

.about-business-card img {
  height: 168px;
  width: 100%;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.about-business-card:first-child img {
  height: 168px;
}

.about-business-card h3 {
  color: var(--about-ink);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.about-process-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: clamp(8px, 1vw, 12px);
}

.about-process-step {
  min-height: clamp(112px, 12vw, 126px);
  border-color: var(--about-line);
  border-radius: 8px;
  padding: 14px;
  background: var(--about-surface);
}

.about-process-step span {
  color: var(--about-accent);
}

.about-process-step img {
  width: 46px;
  height: 46px;
  justify-self: end;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  opacity: 1;
}

.about-process-step strong {
  color: var(--about-ink);
  line-height: 1.35;
}

.about-channel {
  border-color: var(--about-line);
  background:
    linear-gradient(90deg, var(--about-accent-soft), transparent 62%),
    var(--about-canvas);
}

.about-channel-card {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.about-channel-copy {
  min-width: 0;
}

.about-channel-action {
  border: 1px solid var(--about-line);
  border-top: 3px solid var(--about-accent);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 22px);
  background: var(--about-surface);
}

.about-channel-card p {
  margin-bottom: 12px;
  color: var(--about-ink);
}

.about-channel-card a {
  color: var(--about-accent-strong);
  overflow-wrap: anywhere;
}

.about-contact {
  background:
    linear-gradient(90deg, rgba(244, 248, 255, 0.96), rgba(244, 248, 255, 0.82)),
    var(--about-contact-bg) center / cover no-repeat,
    var(--about-canvas);
}

:root[data-theme="dark"] .about-contact {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.78)),
    var(--about-contact-bg) center / cover no-repeat,
    var(--about-canvas);
}

.about-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.about-contact-list {
  display: grid;
  gap: 10px;
}

.about-contact-list p {
  margin: 0;
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--about-surface) 86%, transparent);
  color: var(--about-ink);
  font-weight: 700;
}

.about-minimal {
  --about-bg: #f7f9fc;
  --about-ink: #071524;
  --about-text: #273648;
  --about-muted: #697789;
  --about-line: #dbe4ee;
  --about-soft: #edf3f9;
  --about-accent: #1769e0;
  --about-band: #07182d;
  background: var(--about-bg);
  color: var(--about-text);
}

:root[data-theme="dark"] .about-minimal {
  --about-bg: #070b12;
  --about-ink: #f4f8ff;
  --about-text: #cbd6e3;
  --about-muted: #8391a3;
  --about-line: #243044;
  --about-soft: #0e1522;
  --about-accent: #58a2ff;
  --about-band: #06111f;
}

.about-minimal img {
  max-width: 100%;
}

.about-minimal-hero {
  border-bottom: 1px solid var(--about-line);
  background:
    linear-gradient(90deg, rgba(23, 105, 224, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 105, 224, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
}

.about-minimal-hero-inner {
  min-height: clamp(420px, 58vw, 640px);
  display: grid;
  align-content: end;
  gap: clamp(28px, 5vw, 56px);
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(44px, 7vw, 84px);
}

.about-minimal-title {
  max-width: 900px;
}

.about-minimal-title p {
  margin: 0 0 12px;
  color: var(--about-muted);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 720;
  line-height: 1.25;
}

.about-minimal-title h1 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(64px, 14vw, 168px);
  font-weight: 860;
  line-height: 0.88;
  letter-spacing: 0;
}

.about-minimal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--about-line);
}

.about-minimal-facts span {
  min-width: min(50%, 210px);
  padding: 13px 22px 13px 0;
  color: var(--about-ink);
  font-size: 14px;
  font-weight: 760;
}

.about-minimal-partners {
  padding: clamp(34px, 5vw, 58px) 0;
  background: var(--about-band);
  color: #eef6ff;
}

.about-minimal-section-head {
  min-width: 0;
}

.about-minimal-section-head span {
  display: block;
  margin-bottom: 18px;
  color: #8ec1ff;
  font-size: 14px;
  font-weight: 780;
}

.about-minimal-section-head h2,
.about-minimal-channel h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
  word-break: keep-all;
}

.about-minimal-partners .about-minimal-section-head span {
  color: #dbeafe;
}

.about-minimal-section-head p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-minimal-logo-flow {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px) clamp(26px, 4vw, 54px);
  align-items: center;
  max-height: clamp(210px, 24vw, 310px);
  overflow: hidden;
}

.about-minimal-logo-flow figure {
  width: clamp(74px, 10vw, 124px);
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
}

.about-minimal-logo-flow img {
  max-height: 30px;
  object-fit: contain;
  opacity: 0.82;
}

.about-minimal-section {
  padding: clamp(58px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--about-line);
}

.about-minimal-two-col {
  display: grid;
  grid-template-columns: minmax(360px, 0.98fr) minmax(380px, 1.02fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.about-minimal-links {
  display: grid;
  border-top: 1px solid var(--about-line);
}

.about-minimal-link-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--about-line);
  color: var(--about-text);
}

.about-minimal-link-row img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
}

.about-minimal-link-row strong {
  color: var(--about-ink);
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.about-minimal-link-row span {
  color: var(--about-accent);
  font-size: 13px;
  font-weight: 760;
}

.about-minimal-link-row:hover strong,
.about-minimal-channel a:hover {
  color: var(--about-accent);
}

.about-minimal-business {
  background: var(--about-soft);
}

.about-minimal-business-list {
  display: grid;
  margin-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid var(--about-line);
}

.about-minimal-business-row {
  display: grid;
  grid-template-columns: minmax(180px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--about-line);
}

.about-minimal-business-row img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.about-minimal-business-row h3 {
  margin: 0 0 10px;
  color: var(--about-ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.about-minimal-business-row p {
  margin: 0;
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-minimal-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--about-line);
  list-style: none;
}

.about-minimal-process li {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--about-line);
  padding: 18px 18px 18px 0;
}

.about-minimal-process span {
  color: var(--about-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 780;
}

.about-minimal-process img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.86;
}

.about-minimal-process strong {
  grid-column: 1 / -1;
  color: var(--about-ink);
  font-size: 17px;
}

.about-minimal-channel {
  padding: clamp(58px, 8vw, 104px) 0;
  background: var(--about-band);
  color: #e6f0fb;
}

.about-minimal-channel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.about-minimal-channel h2 {
  color: #f4f8ff;
}

.about-minimal-channel p {
  margin: 0 0 14px;
  color: #c6d2df;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.28;
  font-weight: 760;
}

.about-minimal-channel a {
  color: #8ec1ff;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.about-profile {
  --about-bg: #f6f8fb;
  --about-surface: #ffffff;
  --about-ink: #071524;
  --about-text: #2a3747;
  --about-muted: #667586;
  --about-line: #d9e3ee;
  --about-soft: #eaf1f8;
  --about-accent: #1769e0;
  --about-dark: #07182d;
  background: var(--about-bg);
  color: var(--about-text);
}

:root[data-theme="dark"] .about-profile {
  --about-bg: #070b12;
  --about-surface: #0d1420;
  --about-ink: #f6f9ff;
  --about-text: #cad4e1;
  --about-muted: #8592a5;
  --about-line: #253349;
  --about-soft: #0b1220;
  --about-accent: #58a2ff;
  --about-dark: #06111f;
}

.about-profile .container {
  width: min(100% - clamp(24px, 5vw, 128px), 1520px);
}

.about-profile * {
  min-width: 0;
}

.about-profile-hero {
  border-bottom: 1px solid var(--about-line);
  background:
    linear-gradient(90deg, rgba(23, 105, 224, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(23, 105, 224, 0.075) 1px, transparent 1px),
    var(--about-bg);
  background-size: clamp(56px, 5vw, 92px) clamp(56px, 5vw, 92px);
}

.about-profile-hero-grid {
  min-height: clamp(220px, 18vw, 300px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(36px, 4vw, 60px) 0 clamp(30px, 3vw, 46px);
}

.about-profile-title p {
  margin: 0 0 10px;
  color: var(--about-muted);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.25;
  font-weight: 760;
}

.about-profile-title h1 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(44px, 4.4vw, 72px);
  line-height: 1.05;
  font-weight: 860;
  letter-spacing: 0;
  word-break: keep-all;
}

.about-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.about-profile-facts li {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid var(--about-line);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--about-ink);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 780;
}

:root[data-theme="dark"] .about-profile-facts li {
  background: rgba(88, 162, 255, 0.08);
}

.about-profile-section {
  padding: clamp(46px, 5vw, 76px) 0;
  border-bottom: 1px solid var(--about-line);
}

.about-profile-section-head {
  max-width: 720px;
}

.about-profile-section-head.compact {
  margin-bottom: 28px;
}

.about-profile-section-head h2,
.about-profile-channel-cta h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: 0;
  word-break: keep-all;
}

.about-profile-section-head p {
  margin: 16px 0 0;
  color: var(--about-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}

.about-profile-partners {
  background: var(--about-dark);
  color: #eaf4ff;
}

.about-profile-partners .about-profile-section-head h2 {
  color: #f4f9ff;
  font-size: clamp(24px, 2vw, 32px);
}

.about-profile-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.about-profile-logo-grid figure {
  min-height: 116px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.about-profile-logo-grid img {
  width: min(78%, 172px);
  max-height: 72px;
  object-fit: contain;
  opacity: 0.92;
}

.about-profile-split {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.about-profile-stack {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.about-profile-stack .about-profile-section-head {
  max-width: 760px;
}

.about-profile-channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr));
  gap: clamp(10px, 1.5vw, 16px);
}

.about-profile-channel {
  min-height: clamp(154px, 15vw, 178px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: 13px;
  text-align: center;
  border: 1px solid var(--about-line);
  padding: clamp(14px, 1.7vw, 20px);
  background: var(--about-surface);
  color: var(--about-text);
}

.about-profile-channel.is-linked {
  border-color: color-mix(in srgb, var(--about-accent) 24%, var(--about-line));
}

.about-profile-channel img {
  width: clamp(82px, 8vw, 104px);
  height: clamp(82px, 8vw, 104px);
  object-fit: cover;
  background: #fff;
  border-radius: clamp(19px, 2vw, 24px);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--about-line) 72%, transparent),
    0 12px 26px rgba(15, 23, 42, 0.12);
}

:root[data-theme="dark"] .about-profile-channel img {
  background: transparent;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.about-profile-channel img[src$="platform-douyin.svg"] {
  object-fit: contain;
  background: #080b10;
  padding: 5px;
}

.about-profile-channel strong {
  color: var(--about-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.about-profile-business {
  background: var(--about-soft);
}

.about-profile-business-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 46px);
}

.about-profile-business-row {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 100%;
  border: 1px solid var(--about-line);
  background: var(--about-surface);
  padding: clamp(18px, 2.4vw, 28px);
  text-align: center;
}

.about-profile-business-media {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: var(--about-soft);
}

.about-profile-business-media img {
  width: min(100%, 300px);
  max-height: 210px;
  object-fit: contain;
}

.about-profile-business-copy h3 {
  margin: 0 0 10px;
  color: var(--about-ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  font-weight: 820;
}

.about-profile-business-copy p {
  margin: 0 auto;
  max-width: 28em;
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-profile-process-section {
  padding-block: clamp(36px, 4.2vw, 56px);
}

.about-profile-process {
  position: relative;
  display: grid;
  --process-node: 50px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 4px 0 0;
  list-style: none;
}

.about-profile-process li {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid var(--about-line);
  padding: 12px 8px;
  background: color-mix(in srgb, var(--about-surface) 86%, var(--about-bg));
}

.about-profile-process img {
  position: relative;
  z-index: 1;
  width: var(--process-node);
  height: var(--process-node);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(23, 105, 224, 0.12));
}

.about-profile-process strong {
  position: relative;
  z-index: 1;
  color: var(--about-ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
}

.about-profile-channel-section {
  padding: clamp(46px, 5vw, 74px) 0;
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--about-accent) 6%, transparent), transparent 56%),
    var(--about-bg);
  color: var(--about-text);
}

.about-profile-channel-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.about-profile-channel-cta > div {
  display: grid;
  justify-items: center;
  width: min(100%, 760px);
  text-align: center;
}

.about-profile-channel-cta h2 {
  justify-self: start;
  text-align: left;
  color: var(--about-ink);
}

.about-profile-channel-cta p {
  margin: 0 0 14px;
  color: var(--about-ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  font-weight: 780;
}

.about-profile-channel-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--about-accent) 28%, var(--about-line));
  border-radius: 8px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--about-accent) 9%, var(--about-surface));
  color: var(--about-accent);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 760;
  overflow-wrap: anywhere;
}

:root[data-theme="dark"] .about-profile-channel-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--about-accent) 7%, transparent), transparent 54%),
    var(--about-bg);
}

:root[data-theme="dark"] .about-profile-channel-cta a {
  background: color-mix(in srgb, var(--about-accent) 13%, var(--about-surface));
  color: var(--about-accent-strong);
}

.xbf-muted {
  color: var(--muted);
}

.home-metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-metric-list div {
  min-height: 86px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.home-metric-list strong {
  color: var(--accent);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 860;
}

.home-metric-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

body.section-home.page-index-body .site-main {
  background:
    linear-gradient(180deg, transparent 0, transparent 30%, color-mix(in srgb, var(--surface) 64%, var(--bg)) 30%, color-mix(in srgb, var(--surface) 64%, var(--bg)) 64%, transparent 64%),
    var(--bg);
}

body.section-home.page-index-body .hero {
  border-bottom-color: color-mix(in srgb, var(--border) 46%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), color-mix(in srgb, var(--bg) 94%, var(--surface)) 72%, color-mix(in srgb, var(--surface) 34%, var(--bg))),
    var(--bg);
}

body.section-home.page-index-body .section-band {
  border-block: 0;
}

.home-columns-section {
  position: relative;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 58%, var(--bg)), var(--surface));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--border) 58%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--border) 42%, transparent);
}

.home-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}

.home-column-card {
  min-height: 236px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg);
  color: var(--text);
}

body.section-home.page-index-body .home-column-card,
body.section-home.page-index-body .hero-panel {
  background: var(--glass-bg);
  border-color: color-mix(in srgb, var(--glass-border) 86%, var(--border));
  box-shadow: 0 12px 32px rgba(15, 50, 84, 0.055), inset 0 1px 0 var(--glass-highlight);
}

.home-column-card > span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.home-column-card strong {
  font-size: 22px;
  line-height: 1.25;
}

.home-column-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-column-card small {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.home-column-card small b {
  margin-right: 4px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.home-column-card em {
  width: fit-content;
  color: var(--text);
  font-size: 13px;
  font-style: normal;
  font-weight: 820;
}

.home-column-card:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  background: color-mix(in srgb, var(--surface) 82%, var(--bg));
}

.home-guide-section {
  padding: 58px 0;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.home-guide-panel {
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--bg);
}

.home-guide-panel .section-heading {
  display: block;
  margin-bottom: 14px;
}

.home-guide-panel .section-heading h2 {
  font-size: 22px;
}

.home-guide-panel .section-heading p {
  margin-top: 8px;
}

.xbf-image-masonry,
.xbf-board-detail-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}

.xbf-image-masonry figure,
.xbf-board-detail-strip figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.xbf-image-masonry img,
.xbf-board-detail-strip img {
  width: 100%;
  min-height: 210px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface);
  cursor: zoom-in;
}

.xbf-image-masonry figure:nth-child(2n) img,
.xbf-board-detail-strip figure:nth-child(2n) img {
  aspect-ratio: 16 / 10;
}

.xbf-image-masonry figcaption,
.xbf-board-detail-strip figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.xbf-port-map {
  position: relative;
  min-height: 240px;
  background: var(--surface);
}

.xbf-port-map span {
  position: absolute;
  max-width: 108px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.xbf-board-diagram,
.xbf-wiring-diagram {
  min-height: 276px;
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

.xbf-board-diagram strong,
.xbf-wiring-diagram strong {
  display: block;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 8px;
  padding: 12px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
}

.xbf-board-diagram span,
.xbf-wiring-diagram span {
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.xbf-board-diagram i {
  width: 2px;
  height: 22px;
  margin: 0 auto;
  background: var(--accent);
}

.xbf-wiring-diagram {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xbf-wiring-diagram strong {
  grid-column: 1 / -1;
  background: var(--accent);
  color: #fff;
}

.xbf-fit-grid,
.xbf-related-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}

.xbf-fit-grid section,
.xbf-related-card-grid a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
}

.xbf-fit-grid h3 {
  margin-top: 0;
}

.xbf-fit-grid ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.prose .xbf-related-card-grid a {
  display: grid;
  gap: 5px;
  color: var(--text);
}

.xbf-related-card-grid strong {
  font-size: 16px;
}

.xbf-related-card-grid span {
  color: var(--muted);
  font-size: 13px;
}

.prose .xbf-spec-table th,
.prose .xbf-spec-table td {
  padding: 12px 14px;
}

.prose .xbf-spec-table td:first-child {
  width: 108px;
  color: var(--accent);
  font-weight: 800;
}

.board-page .prose h2#he-xin-can-shu + table {
  display: block;
  border-collapse: separate;
  margin: 18px 0 28px;
  font-size: 14px;
}

.board-page .prose h2#he-xin-can-shu + table thead {
  display: none;
}

.board-page .prose h2#he-xin-can-shu + table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.board-page .prose h2#he-xin-can-shu + table tr {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 13px 14px;
}

.board-page .prose h2#he-xin-can-shu + table td {
  display: block;
  border: 0;
  padding: 0;
}

.board-page .prose h2#he-xin-can-shu + table td:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.board-page .prose h2#he-xin-can-shu + table td:nth-child(2) {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.board-page .prose h2#he-xin-can-shu + table td:nth-child(3) {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  transition: max-height 160ms ease, opacity 160ms ease;
}

.board-page .prose h2#he-xin-can-shu + table tr:hover td:nth-child(3) {
  max-height: 48px;
  opacity: 1;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.board-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.board-card-cover {
  display: block;
  overflow: hidden;
  background: var(--surface-strong);
}

.board-card-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.board-card:hover img {
  transform: scale(1.025);
}

.board-card-body {
  padding: 16px;
}

.board-card.no-cover .board-card-body {
  min-height: 270px;
  display: grid;
  align-content: start;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.board-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.board-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.board-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.board-card dl div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  font-size: 13px;
}

.board-card dt {
  color: var(--muted);
}

.board-card dd {
  margin: 0;
}

.boards-db-page {
  padding: 30px 0 18px;
}

.boards-db-container,
.boards-db-section {
  display: grid;
  gap: 22px;
}

.boards-db-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.boards-db-title h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.boards-db-title p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.boards-db-search {
  display: grid;
  gap: 8px;
}

.boards-db-search-section {
  padding-top: 0;
  padding-bottom: 10px;
}

.boards-db-search-large {
  max-width: 760px;
  justify-self: center;
  width: 100%;
}

.boards-db-search label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.boards-db-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}

.boards-db-search input,
.boards-db-search button {
  min-height: 46px;
  border: 1px solid var(--border);
  font: inherit;
}

.boards-db-search input {
  width: 100%;
  min-width: 0;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
}

.boards-db-search button {
  min-width: 88px;
  border-color: var(--accent);
  border-radius: 0 7px 7px 0;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.boards-db-search-large input {
  font-size: 17px;
}

.boards-db-search-large button {
  min-width: 94px;
}

.boards-db-hero-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: center;
  justify-self: end;
  width: min(100%, 500px);
}

.boards-db-hero-metrics div {
  aspect-ratio: 1;
  min-height: 0;
}

.section-index-page {
  padding-bottom: 4px;
}

.section-index-hero {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.section-index-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  width: min(100%, 244px);
}

.section-index-metrics strong {
  font-size: clamp(24px, 2.3vw, 34px);
  white-space: nowrap;
}

.section-index-metrics [data-metric-kind="date"] strong {
  font-size: clamp(21px, 1.7vw, 28px);
}

.section-index-metrics.is-single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 128px);
}

.section-index-layout {
  padding-top: 24px;
  padding-bottom: 72px;
}

.boards-db-section {
  padding: 26px 0;
}

.boards-db-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.boards-db-bridge div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.boards-db-bridge span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.boards-db-bridge strong {
  font-size: 17px;
}

.boards-db-bridge p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.boards-db-bridge a,
.boards-card-actions a,
.boards-card-actions button {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.boards-db-bridge a:hover,
.boards-card-actions a:hover,
.boards-card-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.boards-facet-panel {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg);
  box-shadow: 0 10px 28px rgba(15, 50, 84, 0.055);
}

.boards-facet-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.boards-facet-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boards-facet-vendor {
  display: grid !important;
  gap: 7px !important;
}

.boards-facet-vendor + .boards-facet-vendor {
  margin-top: 12px;
}

.boards-facet-vendor-plain {
  margin-top: 8px;
}

.boards-facet-vendor strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.boards-facet-chip-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.boards-inline-filter-panel .boards-soc-facet {
  grid-column: 1 / -1;
}

.boards-soc-facet h3 {
  text-align: center;
}

.boards-soc-chip-grid {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 8px !important;
}

.boards-soc-chip-grid button {
  width: auto;
  min-width: min(100%, 112px);
  justify-content: center;
}

.boards-facet-panel a,
.boards-facet-panel button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  overflow: visible;
}

.boards-facet-panel a span,
.boards-facet-panel button span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.45;
  padding-bottom: 2px;
}

.boards-facet-panel a small,
.boards-facet-panel button small {
  color: var(--accent);
  font-weight: 900;
  line-height: 1.2;
}

.boards-facet-panel button:hover,
.boards-facet-panel button.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 11%, var(--bg));
  color: var(--accent-dark);
}

.boards-facet-panel button.is-active small {
  color: var(--accent-dark);
}

.boards-facet-panel button:disabled {
  opacity: 0.42;
  cursor: default;
}

.boards-facet-panel button[hidden] {
  display: none;
}

.boards-facet-more {
  width: fit-content;
  margin-top: 12px;
  border-radius: 6px !important;
  padding: 7px 11px !important;
  background: var(--bg) !important;
  color: var(--muted) !important;
  font-weight: 850 !important;
}

.boards-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.boards-detail-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}

.boards-detail-card.no-cover {
  grid-template-columns: 1fr;
}

.boards-detail-cover {
  display: grid;
  place-items: center;
  min-height: 100%;
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.boards-detail-preview-cover {
  width: 100%;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: inherit;
}

.boards-detail-cover img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  padding: 12px;
}

.boards-detail-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
}

.boards-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.boards-detail-meta span {
  min-width: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boards-detail-meta strong {
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
}

.boards-detail-meta small {
  color: var(--muted);
  font-size: 12px;
}

.boards-detail-identity,
.selection-card-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
}

.boards-detail-identity span,
.selection-card-identity span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 7px 5px;
  background: var(--surface);
  line-height: 1.15;
}

.boards-detail-identity em,
.selection-card-identity em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.boards-detail-identity strong,
.selection-card-identity strong {
  max-width: 100%;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.boards-detail-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.boards-detail-title-button,
.selection-card-title-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.boards-detail-title-button:hover,
.selection-card-title-button:hover {
  color: var(--accent);
}

.boards-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.boards-detail-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.boards-detail-card dl div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  font-size: 13px;
}

.boards-detail-card dt {
  color: var(--muted);
}

.boards-detail-card dd {
  min-width: 0;
  margin: 0;
}

.boards-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boards-sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.boards-sample-card {
  min-width: 0;
  display: grid;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}

.boards-sample-cover {
  display: grid;
  place-items: center;
  height: 150px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.boards-sample-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.boards-sample-body {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.boards-sample-body span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boards-sample-body strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}

.boards-sample-body small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boards-sample-body em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.boards-db-maintain {
  padding-bottom: 64px;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list a {
  display: grid;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg);
}

.article-list span {
  color: var(--muted);
  font-size: 14px;
}

.news-index {
  padding: 28px 0 72px;
}

.home-news-section {
  padding: clamp(46px, 5vw, 60px) 0 clamp(58px, 6vw, 76px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 42%, var(--bg)), var(--bg) 40%, color-mix(in srgb, var(--accent) 2%, var(--bg)));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--border) 38%, transparent);
}

.home-case-section {
  padding: clamp(44px, 5vw, 60px) 0 clamp(48px, 5vw, 66px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 3%, var(--bg)), color-mix(in srgb, var(--surface) 64%, var(--bg)) 55%, color-mix(in srgb, var(--surface) 36%, var(--bg)));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--border) 38%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--border) 34%, transparent);
}

.home-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-case-grid .case-card {
  min-height: 0;
  gap: 10px;
  padding: 14px;
}

.home-case-grid .case-card h2 {
  font-size: clamp(17px, 1.45vw, 19px);
}

.home-case-grid .case-card-header p,
.home-case-grid .case-bubble p,
.home-case-grid .case-checks li {
  font-size: 12px;
}

.home-case-grid .case-chat {
  gap: 7px;
}

.home-case-grid .case-bubble {
  grid-template-columns: 25px minmax(0, 1fr);
  padding: 8px;
}

.home-case-grid .case-bubble b {
  width: 25px;
  height: 25px;
}

.home-case-grid .case-checks {
  gap: 4px;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.news-index-prose {
  margin-top: 40px;
}

.news-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-card-link {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.news-card-cover {
  display: block;
  min-height: 100%;
  background: transparent;
  overflow: hidden;
}

.news-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: contain;
  background: var(--bg);
}

.news-card-body {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  color: var(--text);
  text-decoration: none;
}

.news-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.news-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  transition: color 160ms ease;
}

.news-card:hover h2 {
  color: var(--accent);
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.board-hero-wrap {
  padding: 30px 0 36px;
}

.board-identity-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.board-identity-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.board-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.board-brand-logo {
  width: 188px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  padding: 7px 10px;
}

.board-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.board-identity-card h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.board-recommend-score {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: end;
  column-gap: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 9px 12px 8px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  box-shadow: var(--shadow-sm);
}

.board-recommend-score span {
  grid-column: 1 / -1;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.board-recommend-score strong {
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.board-recommend-score small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.board-one-liner {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 750;
}

.board-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-tag-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.board-title-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 -2px;
}

.board-title-meta-row span {
  display: grid;
  gap: 3px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px 8px;
  background: var(--surface);
  line-height: 1.2;
}

.board-title-meta-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.board-title-meta-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 860;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-spec-flow {
  display: grid;
  grid-template-columns: minmax(0, 360px);
  align-items: start;
  gap: 8px;
  margin-top: 4px;
  width: min(100%, 360px);
}

.board-spec-tag-row {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 8px 10px;
}

.board-chip-item {
  flex: 0 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 13px 13px 12px;
  overflow: hidden;
}

.board-chip-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.board-chip-item > span {
  color: var(--accent-dark);
  font-size: 17px;
  font-weight: 900;
}

.board-chip-item strong {
  display: block;
  margin: 6px 0 5px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  word-break: break-word;
}

.board-spec-item {
  flex: 0 1 auto;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px 11px;
  outline: 0;
  align-self: center;
}

.board-spec-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.board-spec-item strong {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 780;
  white-space: pre-line;
}

.board-mini-spec-list {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
}

.board-mini-spec-list div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.board-mini-spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.board-mini-spec-list dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  white-space: pre-line;
  word-break: keep-all;
}

.board-hero-notes {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  width: min(100%, 360px);
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.board-hero-notes span {
  color: var(--text);
  font-weight: 800;
}

.board-hero-notes ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-hero-notes li {
  margin: 0;
}

.board-card-page {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 58%, transparent), transparent 360px),
    var(--bg);
}

.board-card-page .board-hero-wrap {
  width: min(100% - 32px, 1280px);
  padding-bottom: 22px;
}

.board-card-page .board-identity-card,
.board-card-layout .sidebar,
.board-card-layout .toc,
.board-content-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.board-card-page .board-identity-card {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(18px, 2.4vw, 32px);
  min-height: clamp(520px, 58vh, 700px);
  padding: clamp(22px, 2.4vw, 34px);
}

.board-card-layout {
  align-items: start;
  padding-bottom: 64px;
}

.board-card-layout .sidebar,
.board-card-layout .toc {
  padding: 14px;
}

.board-section-card-list {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.board-content-card {
  min-width: 0;
  scroll-margin-top: 92px;
  padding: clamp(16px, 2vw, 24px);
  overflow: hidden;
}

.board-content-card > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.28;
}

.board-content-card > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
}

.board-content-card-body > :first-child,
.board-content-card > :first-child {
  margin-top: 0;
}

.board-content-card-body > :last-child,
.board-content-card > :last-child {
  margin-bottom: 0;
}

.board-content-card .board-content-card-body h3:first-child {
  margin-top: 0;
}

.board-content-card table {
  margin-bottom: 4px;
}

.board-pager-card {
  box-shadow: none;
}

.board-pager-card:empty {
  display: none;
}

.board-card-page .related {
  margin-top: 0;
}

.board-identity-aside {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.board-gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.board-main-image,
.board-gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.board-main-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.board-gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.image-preview[hidden] {
  display: none;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 12, 18, 0.72);
  cursor: zoom-out;
}

.image-preview figure {
  position: relative;
  width: min(920px, 100%);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  padding: 14px;
}

.image-preview figure .icon-button {
  position: absolute;
  right: 22px;
  top: 22px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.image-preview img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  background: var(--surface);
}

.image-preview figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.global-scroll-top {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2 - 64px));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #101418;
  box-shadow: 0 14px 34px rgba(15, 50, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  cursor: pointer;
  transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

.global-scroll-top:hover {
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

.global-scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.search-open .global-scroll-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

:root[data-theme="dark"] .global-scroll-top {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 22, 30, 0.76);
  color: #eef3f8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .global-scroll-top:hover {
  background: rgba(24, 31, 42, 0.86);
}

.quick-verdict {
  margin-top: 26px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 18px 20px;
}

.quick-verdict h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.quick-verdict p {
  margin: 0;
  color: var(--text);
}

.board-hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 16px;
}

.board-hero-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--surface);
}

.brand-chip {
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.score-radar {
  display: block;
}

.score-radar svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.radar-grid {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
}

.radar-axis {
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0.72;
}

.radar-grid.muted {
  opacity: 0.65;
}

.radar-shape {
  fill: color-mix(in srgb, var(--accent) 22%, transparent);
  stroke: var(--accent);
  stroke-width: 2;
}

.radar-dot {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 2;
}

.radar-label {
  color: var(--text);
  fill: currentColor;
  font-size: 12px;
  font-weight: 750;
}

.radar-label tspan {
  fill: var(--accent);
  font-weight: 850;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.pager a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--text);
  background: var(--surface);
}

.related {
  margin-top: 36px;
}

.search-page {
  padding: 34px 0 80px;
}

.search-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 18px;
  background: var(--surface);
}

.search-box.compact {
  border: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.search-modal[hidden] {
  display: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 86px 16px 24px;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 18, 0.48);
  backdrop-filter: blur(7px);
}

.search-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 112px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
  padding: 18px;
}

.search-dialog-header,
.search-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-dialog-header {
  margin-bottom: 14px;
}

.search-dialog-header h2 {
  margin: 0;
  font-size: 18px;
}

.search-dialog-footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.search-dialog-footer a {
  color: var(--accent);
  font-weight: 750;
}

body.search-open {
  overflow: hidden;
}

.local-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.search-box.compact .local-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 0;
  border-bottom: 0;
  padding: 0;
}

.local-search-form input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.search-box.compact .local-search-form input {
  min-height: 46px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 84%, var(--border));
  border-radius: 7px;
  padding: 0 12px;
  background: color-mix(in srgb, var(--bg) 48%, transparent);
  box-shadow: none;
  color: var(--text);
  font-size: 18px;
}

.search-box.compact .local-search-form input::placeholder {
  color: transparent;
}

.search-box.compact .local-search-form input:focus {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--glass-border));
  outline: none;
}

.local-search-form button {
  min-width: 94px;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.search-box.compact .local-search-form button {
  min-width: 0;
  min-height: 46px;
  border-radius: 7px;
  font-size: 15px;
}

.local-search-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.search-box.compact .local-search-meta {
  margin: 12px 0 8px;
}

.search-box.compact .local-search-meta:empty {
  display: none;
}

.search-box.compact .local-search-results {
  margin-top: 12px;
}

.search-box.compact .local-search-results:empty {
  margin-top: 0;
}

.search-dialog .search-box.compact {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.local-search-results {
  display: grid;
  gap: 10px;
}

.local-search-result {
  display: grid;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg);
}

.local-search-result span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.local-search-result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.selection-page {
  padding: 28px 0 72px;
}

.selection-container {
  width: min(100% - 32px, 1580px);
}

.selection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.selection-header h1,
.selection-header h2 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.15;
}

.selection-header h2 {
  font-size: 34px;
}

.selection-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.boards-db-selector {
  padding: 24px 0 42px;
}

.boards-db-selector .selection-container {
  width: min(100% - 32px, var(--container));
}

.selection-summary {
  min-width: 132px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 10px 13px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.selection-summary span,
.selection-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.selection-summary strong {
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1.05;
}

.selection-shell {
  display: grid;
  grid-template-columns: clamp(284px, 20vw, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.selection-filters,
.selection-results-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.selection-filters {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.selection-filter-actions,
.selection-toolbar,
.selection-card-topline,
.selection-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.selection-filter-actions h2 {
  margin: 0;
  font-size: 18px;
}

.selection-filter-actions button {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.selection-filter-block {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.selection-field,
.selection-filter-group {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.selection-field span,
.selection-filter-title,
.selection-group-title,
.selection-filter-group summary {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.selection-filter-title {
  display: block;
  margin-bottom: 2px;
}

.selection-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}

.selection-filter-group summary::-webkit-details-marker {
  display: none;
}

.selection-filter-group summary::after {
  content: "+";
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.selection-filter-group[open] summary::after {
  content: "-";
}

.selection-field input,
.selection-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 11px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.selection-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.selection-filter-group div {
  display: grid;
  gap: 5px;
  max-height: 168px;
  overflow: auto;
  padding-right: 3px;
}

.selection-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.selection-filter-group small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.selection-filter-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.selection-range {
  display: grid !important;
  align-items: stretch !important;
}

.selection-results-panel {
  min-width: 0;
  overflow: hidden;
}

.selection-toolbar {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(90px, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 13px 16px;
  background: var(--surface);
  align-items: center;
}

.selection-result-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.selection-result-count strong {
  color: var(--accent-dark);
  font-size: 22px;
}

.selection-result-count span,
.selection-view-note {
  color: var(--muted);
  font-size: 13px;
}

.selection-active-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 6px;
  min-width: 0;
}

.selection-active-filters span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.selection-active-filters .selection-active-empty {
  border-color: transparent;
  background: transparent;
}

.selection-toolbar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.selection-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.selection-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.selection-toolbar-main-controls {
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.selection-toolbar-reset-slot {
  display: flex;
  justify-content: flex-end;
}

.selection-toolbar-sort span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.selection-toolbar-sort select {
  min-width: 132px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.selection-toolbar-architecture select {
  min-width: 118px;
}

.selection-toolbar-soc select {
  min-width: 148px;
}

.selection-results {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.selection-card {
  display: grid;
  grid-template-columns: clamp(196px, 18vw, 260px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}

.selection-card.no-cover {
  grid-template-columns: minmax(0, 1fr);
}

.selection-card.no-cover .selection-card-body {
  padding: 16px;
}

.selection-card:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
}

.board-previewable-card {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  cursor: pointer;
}

.board-previewable-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 3px;
}

.selection-card-cover {
  display: grid;
  place-items: center;
  gap: 8px;
  align-content: center;
  align-self: stretch;
  min-height: 100%;
  padding: 0;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 72%, var(--bg));
  cursor: zoom-in;
}

.selection-card-preview-cover {
  width: 100%;
  border-top: 0;
  border-left: 0;
  border-bottom: 0;
  color: inherit;
  font: inherit;
  cursor: inherit;
}

.selection-card-cover img {
  width: 100%;
  height: auto;
  max-height: calc(100% - 4px);
  object-fit: contain;
  background: transparent;
  cursor: zoom-in;
}

.selection-card-preview-cover img {
  cursor: pointer;
}

.selection-card-cover-score {
  position: absolute;
  right: 8px;
  top: 8px;
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  border: 1px solid color-mix(in srgb, #fff 36%, var(--accent));
  border-radius: 11px;
  padding: 0 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #38bdf8), color-mix(in srgb, var(--accent-dark) 82%, #0f172a));
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}

.selection-card-cover-score small {
  display: none;
}

.selection-card-body {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 13px;
}

.selection-card-body > * {
  min-width: 0;
  max-width: 100%;
}

.selection-card-topline span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.selection-card-topline strong {
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1;
}

.selection-card-topline.is-score-only {
  justify-content: flex-end;
}

.selection-card-topline small {
  color: var(--muted);
  font-size: 12px;
}

.selection-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.boards-db-selector .selection-card h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.selection-variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.selection-variant-row button {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 999px;
  padding: 3px 8px 4px;
  background: color-mix(in srgb, var(--surface-strong) 76%, var(--bg));
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
}

.selection-variant-row button:hover,
.selection-variant-row button.is-active {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  background: color-mix(in srgb, var(--accent) 13%, var(--surface));
  color: var(--accent-dark);
}

.selection-variant-note {
  display: -webkit-box;
  margin: -1px 0 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 70%, var(--muted));
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.selection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.selection-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.selection-card dl div {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 8px;
  background: var(--surface);
}

.selection-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selection-card dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selection-tag-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.selection-card-actions {
  justify-content: start;
}

.selection-card-purchase-row {
  margin-top: auto;
  padding-top: 2px;
}

.selection-card-actions a,
.selection-card-actions button {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.selection-card-actions a:hover,
.selection-card-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.selection-card-actions .selection-preview-button {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  color: var(--accent-dark);
}

.selection-card-actions .selection-card-buy {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-dark);
}

.selection-card-actions .selection-card-param-button {
  border-color: color-mix(in srgb, var(--border) 82%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 82%, var(--bg));
  color: var(--text);
}

.selection-card-actions .selection-card-param-button:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-dark);
}

.selection-empty {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.board-param-modal[hidden] {
  display: none;
}

.board-param-modal {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.board-param-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(232, 240, 248, 0.54);
  backdrop-filter: blur(16px) saturate(1.14);
  -webkit-backdrop-filter: blur(16px) saturate(1.14);
}

:root[data-theme="dark"] .board-param-backdrop {
  background: rgba(5, 9, 16, 0.68);
}

.board-param-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1160px, 100%);
  max-height: min(86vh, 900px);
  border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 22px 64px color-mix(in srgb, #09111f 20%, transparent);
  overflow: hidden;
}

.board-param-dialog:focus {
  outline: none;
}

.board-param-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  padding: 16px 18px;
}

.board-param-header p,
.board-param-header h2 {
  margin: 0;
}

.board-param-header p {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.board-param-header h2 {
  margin-top: 3px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.board-param-body {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 28%, transparent) transparent;
}

.board-param-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.board-param-summary span {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 999px;
  padding: 4px 9px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.board-param-group {
  display: grid;
  gap: 8px;
}

.board-param-group h3 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.board-param-group table {
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.board-param-group tr + tr th,
.board-param-group tr + tr td {
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.board-param-group th,
.board-param-group td {
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.45;
}

.board-param-group th {
  width: 116px;
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.board-param-group th.is-sub-param {
  padding-left: 24px;
  font-weight: 750;
}

.board-param-group td {
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.board-preview-modal[hidden] {
  display: none;
}

.board-preview-modal {
  --board-preview-action-inset: max(18px, calc((100vw - 1060px) / 2 - 64px));
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  padding: 0;
}

.board-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 36%),
    rgba(228, 239, 249, 0.46);
  backdrop-filter: saturate(1.18) blur(18px);
  -webkit-backdrop-filter: saturate(1.18) blur(18px);
}

:root[data-theme="dark"] .board-preview-backdrop {
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 38%),
    rgba(2, 6, 13, 0.62);
}

.board-preview-dialog {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 28%, transparent) transparent;
  scroll-padding-top: clamp(96px, 12vh, 132px);
}

.board-preview-dialog:focus {
  outline: none;
}

.board-preview-dialog::-webkit-scrollbar {
  width: 8px;
}

.board-preview-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.board-preview-dialog::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--text) 16%, transparent))
    padding-box;
}

.board-preview-dialog:hover::-webkit-scrollbar-thumb {
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 48%, transparent), color-mix(in srgb, var(--text) 24%, transparent))
    padding-box;
}

.board-preview-mobile-back,
.board-preview-mobile-top {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 94;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.74);
  color: #101418;
  box-shadow: 0 14px 34px rgba(15, 50, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}

.board-preview-mobile-back {
  left: var(--board-preview-action-inset);
}

.board-preview-mobile-top {
  right: var(--board-preview-action-inset);
}

.board-preview-mobile-top[hidden] {
  display: none !important;
}

.board-preview-mobile-back svg,
.board-preview-mobile-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dark"] .board-preview-mobile-back,
:root[data-theme="dark"] .board-preview-mobile-top {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 22, 30, 0.76);
  color: #eef3f8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.board-preview-content {
  display: grid;
  gap: 18px;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.board-preview-modal.is-loading .board-preview-dialog {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.board-preview-modal.is-loading .board-preview-content {
  display: grid;
  place-items: center;
  min-height: 100%;
  width: 100%;
}

.board-preview-modal.is-ready .board-preview-content {
  animation: board-preview-reveal 180ms ease-out both;
}

.board-preview-loading {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 48px rgba(15, 50, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
}

.board-preview-loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: board-preview-spin 700ms linear infinite;
}

:root[data-theme="dark"] .board-preview-loading {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 22, 30, 0.64);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes board-preview-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes board-preview-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.board-preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  padding: 10px 12px;
  backdrop-filter: saturate(1.25) blur(14px);
  -webkit-backdrop-filter: saturate(1.25) blur(14px);
}

.board-preview-toolbar a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-dark);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 850;
}

.board-preview-toolbar .icon-button {
  min-width: 34px;
  min-height: 34px;
  background: var(--surface);
}

.board-preview-detail {
  background: transparent;
  min-width: 0;
  width: 100%;
}

.board-preview-detail .board-card-page {
  background: transparent;
  min-width: 0;
  width: 100%;
}

.board-preview-detail .container {
  width: min(calc(100% - 28px), 1180px);
  max-width: 100%;
}

.board-preview-detail .board-card-page .board-hero-wrap {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: safe center;
  padding-top: clamp(12px, 2vh, 18px);
  padding-bottom: clamp(12px, 2vh, 18px);
}

.board-preview-toc {
  position: fixed;
  top: clamp(18px, 2.6vh, 28px);
  left: 50%;
  z-index: 96;
  display: flex;
  justify-content: center;
  width: min(calc(100vw - 24px), 1180px);
  max-width: calc(100vw - 24px);
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.board-preview-toc.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.board-preview-toc-scroll {
  display: flex;
  justify-content: safe center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 2px;
}

.board-preview-toc-scroll::-webkit-scrollbar {
  display: none;
}

.board-preview-toc a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(0, 111, 185, 0.34);
  border-radius: 999px;
  background: rgba(218, 238, 253, 0.92);
  color: #075786;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 860;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.board-preview-toc a:hover,
.board-preview-toc a.is-active {
  border-color: rgba(0, 103, 170, 0.82);
  background: #0878bd;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 112, 185, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

:root[data-theme="dark"] .board-preview-toc {
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .board-preview-toc a {
  border-color: rgba(122, 184, 255, 0.3);
  background: rgba(26, 76, 124, 0.78);
  color: #d9ecff;
}

:root[data-theme="dark"] .board-preview-toc a:hover,
:root[data-theme="dark"] .board-preview-toc a.is-active {
  border-color: rgba(130, 194, 255, 0.74);
  background: #3b93e6;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(25, 104, 204, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.board-preview-link-card {
  margin-bottom: 16px;
}

.board-preview-link-card h2 {
  margin-bottom: 12px;
}

.board-preview-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-preview-link-list a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--accent-dark);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 850;
}

.board-preview-link-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.board-preview-detail .board-card-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: stretch;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 28px;
}

.board-preview-detail .sidebar,
.board-preview-detail .toc,
.board-preview-detail .board-pager-card {
  display: none !important;
}

.board-preview-detail .board-section-card-list {
  width: 100%;
}

.board-preview-detail .related {
  display: none !important;
}

.board-preview-detail .board-identity-card {
  min-height: clamp(560px, 74vh, 760px);
  border-color: color-mix(in srgb, var(--accent) 24%, var(--glass-border));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  outline: 1px solid color-mix(in srgb, var(--glass-highlight) 34%, transparent);
  outline-offset: -1px;
}

.board-preview-detail .board-content-card {
  border-color: color-mix(in srgb, var(--glass-highlight) 18%, transparent);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.board-preview-detail .board-identity-card h1,
.board-preview-detail .board-one-liner,
.board-preview-detail .board-content-card,
.board-preview-detail .board-content-card > h2,
.board-preview-detail .board-content-card h3,
.board-preview-detail .prose,
.board-preview-detail .prose p,
.board-preview-detail .prose li,
.board-preview-detail .prose td,
.board-preview-detail .prose th,
.board-preview-detail .board-preview-link-card h2 {
  color: var(--text);
}

.board-preview-detail .board-tag-row span,
.board-preview-detail .board-title-meta-row span,
.board-preview-detail .board-hero-notes,
.board-preview-detail .board-spec-item span,
.board-preview-detail .board-chip-item span,
.board-preview-detail .prose td:first-child,
.board-preview-detail .board-page .prose h2#he-xin-can-shu + table td:first-child {
  color: var(--muted);
}

.board-preview-detail .board-hero-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.board-preview-detail .board-hero-card > img {
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 38%, transparent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.board-preview-detail .board-recommend-score,
.board-preview-detail .board-tag-row span,
.board-preview-detail .board-spec-item,
.board-preview-detail .board-chip-item,
.board-preview-detail .board-title-meta-row span,
.board-preview-detail .board-preview-link-list a,
.board-preview-detail .pager a {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--glass-border));
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--glass-highlight) 45%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.board-preview-detail .board-spec-item,
.board-preview-detail .board-chip-item {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--glass-border));
  background: rgba(0, 123, 203, 0.085);
}

:root[data-theme="dark"] .board-preview-detail .board-spec-item,
:root[data-theme="dark"] .board-preview-detail .board-chip-item {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--glass-border));
  background: rgba(88, 162, 255, 0.13);
}

.board-preview-detail .board-spec-item span,
.board-preview-detail .board-chip-item span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: color-mix(in srgb, var(--accent-dark) 78%, var(--text));
  font-weight: 850;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.board-preview-detail .board-spec-item strong,
.board-preview-detail .board-chip-item strong {
  color: var(--text);
  font-weight: 900;
}

.board-preview-detail .board-tag-row span,
.board-preview-detail .board-title-meta-row span {
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
}

.board-preview-detail .board-hero-notes span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.board-preview-detail .board-hero-notes {
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
}

.board-preview-detail .prose tbody td {
  color: color-mix(in srgb, var(--text) 90%, var(--accent-dark));
}

.board-preview-detail .prose tbody td:first-child {
  color: color-mix(in srgb, var(--accent-dark) 66%, var(--text));
  font-weight: 780;
}

.board-preview-detail .prose table {
  border-collapse: collapse;
}

.board-preview-detail .prose th,
.board-preview-detail .prose td {
  border-color: color-mix(in srgb, var(--accent) 17%, var(--glass-border));
  background: transparent;
}

.board-preview-detail .prose th {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.board-preview-detail .board-page .prose h2#he-xin-can-shu + table tr {
  border-color: color-mix(in srgb, var(--accent) 17%, var(--glass-border));
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.board-preview-detail .board-content-card > h2 {
  border-bottom-color: rgba(255, 255, 255, 0.38);
}

.board-preview-detail .board-content-card > h2::before {
  background: rgba(255, 255, 255, 0.74);
}

.board-preview-detail .board-preview-link-list a {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.board-preview-detail .board-preview-link-list a:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.board-preview-detail .prose th,
.board-preview-detail .prose td {
  border-color: rgba(255, 255, 255, 0.32);
}

.board-preview-detail .prose th {
  background: rgba(255, 255, 255, 0.13);
}

.board-preview-detail .board-page .prose h2#he-xin-can-shu + table tr {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-identity-card {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(101, 126, 151, 0.34);
  outline-color: rgba(255, 255, 255, 0.48);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-content-card {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(101, 126, 151, 0.28);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-recommend-score,
:root:not([data-theme="dark"]) .board-preview-detail .board-tag-row span,
:root:not([data-theme="dark"]) .board-preview-detail .board-spec-item,
:root:not([data-theme="dark"]) .board-preview-detail .board-chip-item,
:root:not([data-theme="dark"]) .board-preview-detail .board-title-meta-row span,
:root:not([data-theme="dark"]) .board-preview-detail .board-preview-link-list a,
:root:not([data-theme="dark"]) .board-preview-detail .pager a {
  border-color: rgba(78, 112, 146, 0.26);
  background: rgba(224, 234, 244, 0.72);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-preview-link-list a:hover {
  border-color: rgba(0, 123, 203, 0.42);
  background: rgba(213, 229, 243, 0.82);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-content-card > h2 {
  border-bottom-color: rgba(78, 112, 146, 0.26);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-content-card > h2::before {
  background: rgba(0, 123, 203, 0.72);
}

:root:not([data-theme="dark"]) .board-preview-detail .prose th,
:root:not([data-theme="dark"]) .board-preview-detail .prose td {
  border-color: rgba(78, 112, 146, 0.24);
}

:root:not([data-theme="dark"]) .board-preview-detail .prose th {
  background: rgba(225, 235, 245, 0.78);
}

:root:not([data-theme="dark"]) .board-preview-detail .board-page .prose h2#he-xin-can-shu + table tr {
  border-color: rgba(78, 112, 146, 0.24);
  background: rgba(234, 241, 248, 0.66);
}

:root:not([data-theme="dark"]) .board-preview-detail .prose tbody td {
  color: #23394d;
}

:root:not([data-theme="dark"]) .board-preview-detail .prose tbody td:first-child {
  color: #0e5e8f;
}

.board-preview-content > .board-preview-header,
.board-preview-content > .board-preview-main,
.board-preview-content > .board-preview-bottom,
.board-preview-content > .board-preview-actions {
  margin-inline: clamp(16px, 2.5vw, 24px);
}

.board-preview-content > .board-preview-header {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.board-preview-content > .board-preview-actions {
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.board-preview-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: start;
}

.board-preview-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.board-preview-header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.board-preview-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 118px;
  min-height: 70px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1;
}

.board-preview-score small {
  color: var(--muted);
  font-size: 12px;
}

.board-preview-score em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.board-preview-main {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.board-preview-media {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 70%, var(--bg));
  padding: 18px;
}

.board-preview-media img {
  width: min(100%, 320px);
  max-height: 300px;
  object-fit: contain;
}

.board-preview-body {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.board-preview-body p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
}

.board-preview-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr));
  gap: 9px;
  margin: 0;
}

.board-preview-specs div,
.board-preview-score-list span {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 11px;
}

.board-preview-specs dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.board-preview-specs dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.board-preview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 14px;
  align-items: start;
}

.board-preview-bottom section {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.board-preview-bottom h3 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.board-preview-tags,
.board-preview-score-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-preview-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.board-preview-score-list span {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 7px;
  align-items: baseline;
  color: var(--accent-dark);
  font-weight: 900;
}

.board-preview-score-list b {
  color: var(--muted);
  font-size: 12px;
}

.board-preview-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.board-preview-actions a,
.board-preview-actions button {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.board-preview-actions a {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.boards-db-quick-filter {
  padding-bottom: 16px;
}

.boards-db-toolbar-section {
  padding-top: 0;
  padding-bottom: 8px;
}

.boards-db-toolbar {
  border: 0;
  padding: 0;
  background: transparent;
}

.boards-inline-filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.boards-inline-filter-panel .selection-filter-actions {
  grid-column: 1 / -1;
}

.selection-toolbar-reset {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 11px;
  background: var(--bg);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.selection-toolbar-reset:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.boards-db-selector {
  padding-top: 8px;
}

.boards-db-selector .selection-shell {
  display: block;
  grid-template-columns: minmax(0, 1fr);
}

.boards-db-selector .selection-container {
  width: min(100% - 32px, var(--container));
}

.boards-db-selector .selection-results {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  align-items: start;
  padding-inline: 0;
}

.boards-db-selector .selection-card {
  grid-template-columns: clamp(146px, 30%, 188px) minmax(0, 1fr);
  min-height: 218px;
  height: auto;
}

.boards-db-selector .selection-card.no-cover {
  grid-template-columns: minmax(0, 1fr);
}

.boards-db-selector .selection-card.is-expanded {
  height: auto;
}

.boards-db-selector .selection-card-body {
  display: flex;
  flex-direction: column;
  overflow: visible;
  gap: 5px;
  padding: 9px;
}

.boards-db-selector .selection-card.no-cover .selection-card-body {
  padding: 9px;
}

.boards-db-selector .selection-card p {
  display: block;
  overflow: visible;
  line-height: 1.45;
}

.boards-db-selector .selection-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  overflow: visible;
}

.boards-db-selector .selection-card dl div:nth-child(n+10),
.boards-db-selector .selection-tag-row span:nth-child(n+5) {
  display: none;
}

.boards-db-selector .selection-card.is-expanded .selection-card-body {
  overflow: visible;
}

.boards-db-selector .selection-card.is-expanded p {
  display: block;
}

.boards-db-selector .selection-card.is-expanded h2 {
  display: block;
}

.boards-db-selector .selection-card.is-expanded dl div,
.boards-db-selector .selection-card.is-expanded .selection-tag-row span {
  display: grid;
}

.boards-db-selector .selection-card.is-expanded dd {
  white-space: normal;
}

.boards-db-selector .selection-card.is-expanded .selection-tag-row span {
  display: inline-flex;
}

.selection-card-more {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border)) !important;
  color: var(--accent-dark) !important;
}

@media (max-width: 900px) {
  .boards-db-hero,
  .board-preview-main,
  .board-preview-bottom,
  .boards-detail-card,
  .boards-db-selector .selection-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .boards-db-selector .selection-card {
    height: auto;
  }

  .boards-db-metrics,
  .boards-inline-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .selection-toolbar-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .boards-db-page {
    padding-top: 18px;
  }

  .boards-db-hero,
  .boards-db-search-large {
    padding: 14px;
  }

  .boards-db-metrics,
  .boards-inline-filter-panel,
  .boards-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .boards-db-search div {
    grid-template-columns: minmax(0, 1fr);
  }

  .selection-toolbar-controls,
  .selection-toolbar-sort {
    width: 100%;
  }

  .selection-toolbar-sort select {
    flex: 1;
    min-width: 0;
  }
}

/* Unified glass surfaces */
.hero-panel,
.brand-wall a,
.external-grid a,
.section-card,
.sidebar,
.toc,
.mobile-inline-toc,
.home-metric-list div,
.home-column-card,
.home-guide-panel,
.xbf-image-masonry figure,
.xbf-board-detail-strip figure,
.xbf-fit-grid section,
.xbf-related-card-grid a,
.board-card,
.boards-db-hero,
.boards-db-bridge,
.boards-facet-panel,
.boards-detail-card,
.boards-sample-card,
.news-card,
.board-identity-card,
.board-content-card,
.board-hero-card,
.radar-grid,
.search-box,
.search-dialog,
.selection-filters,
.selection-results-panel,
.selection-card,
.boards-inline-filter-panel,
.about-profile-channel,
.about-profile-business-row {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
}

.hero-panel:hover,
.brand-wall a:hover,
.external-grid a:hover,
.section-card:hover,
.home-column-card:hover,
.board-card:hover,
.boards-detail-card:hover,
.boards-sample-card:hover,
.news-card:hover,
.selection-card:hover,
.about-profile-channel.is-linked:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--glass-border));
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow-hover), inset 0 1px 0 var(--glass-highlight);
}

.board-card-cover,
.news-card-cover,
.boards-detail-cover,
.boards-sample-cover,
.selection-card-cover,
.selection-card-preview-cover,
.board-preview-visual,
.about-profile-business-media,
.xbf-port-map,
.xbf-board-diagram,
.xbf-wiring-diagram {
  background: var(--glass-bg-soft);
}

.card-image-surface {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 42%),
    var(--glass-bg-soft);
}

.card-image-surface img {
  position: relative;
  z-index: 1;
}

.card-image-surface .selection-card-cover-score {
  z-index: 2;
}

.card-image-surface img {
  transition: opacity 180ms ease;
}

.hot-tags a,
.tag-row span,
.home-column-card > span,
.board-tag-row span,
.board-title-meta-row span,
.board-spec-tag-row span,
.board-chip-item,
.board-hero-notes span,
.boards-facet-panel a,
.boards-facet-panel button,
.selection-active-filters span,
.selection-tag-row span,
.board-preview-tags span,
.brand-chip,
.pager a {
  border-color: var(--glass-border);
  background: color-mix(in srgb, var(--glass-highlight) 34%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: saturate(1.15) blur(10px);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
}

:root[data-theme="dark"] .about-profile-channel img {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

/* Product UI polish inspired by quiet assistant/editor interfaces */
.page-header {
  max-width: 840px;
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(18px, 2.5vw, 26px);
  border-bottom-color: color-mix(in srgb, var(--border) 78%, transparent);
}

.page-header h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 860;
}

.page-header p {
  max-width: 680px;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  line-height: 1.65;
}

.breadcrumb {
  color: color-mix(in srgb, var(--muted) 92%, transparent);
}

.section-heading h2,
.page-header h1,
.boards-db-title h1,
.news-card h2,
.home-column-card strong {
  letter-spacing: 0;
}

.section-heading {
  align-items: flex-start;
}

.section-heading h2::before {
  width: 3px;
  height: 0.95em;
}

.hero-panel,
.home-column-card,
.home-guide-panel,
.brand-wall a,
.board-card,
.boards-db-hero,
.boards-facet-panel,
.boards-detail-card,
.news-card,
.selection-card,
.search-dialog {
  outline: 1px solid color-mix(in srgb, var(--glass-highlight) 42%, transparent);
  outline-offset: -1px;
}

.hero-panel,
.home-column-card,
.home-guide-panel,
.board-card,
.boards-db-hero,
.boards-facet-panel,
.boards-detail-card,
.news-card,
.selection-card {
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero-panel:hover,
.home-column-card:hover,
.home-guide-panel:hover,
.board-card:hover,
.boards-detail-card:hover,
.news-card:hover,
.selection-card:hover {
  transform: none;
}

.home-metric-list div {
  min-height: 80px;
}

.hot-tags a,
.tag-row span,
.brand-chip,
.board-tag-row span,
.selection-tag-row span,
.news-card-meta span,
.boards-facet-panel a,
.boards-facet-panel button {
  border-color: color-mix(in srgb, var(--glass-border) 82%, var(--border));
  background: color-mix(in srgb, var(--bg) 64%, var(--surface));
}

.board-preview-modal .board-preview-dialog {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  outline: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.section-news .site-main,
body.section-boards.page-index-body .site-main,
body.section-case.page-index-body .site-main {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 68%, var(--bg)) 0, var(--bg) 340px);
}

body.section-case.page-index-body .site-main {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, var(--surface)) 0, color-mix(in srgb, var(--surface) 72%, var(--bg)) 360px, var(--bg) 720px);
}

.cases-page {
  padding-bottom: clamp(56px, 6vw, 84px);
}

.cases-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
  padding: clamp(32px, 5vw, 58px) 0 clamp(24px, 4vw, 42px);
}

.cases-hero-copy {
  max-width: 780px;
}

.cases-hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.05;
  font-weight: 880;
}

.cases-hero-copy > p:last-child {
  max-width: 640px;
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
}

.cases-hero-panel {
  display: grid;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 88%, var(--border));
  border-radius: 8px;
  padding: 16px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

.cases-hero-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 66%, transparent);
  padding-bottom: 12px;
}

.cases-hero-stat strong {
  color: var(--accent);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.9;
}

.cases-hero-stat span {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.cases-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cases-topic-list span,
.case-card-meta span,
.case-tags span {
  border: 1px solid color-mix(in srgb, var(--glass-border) 90%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--glass-bg-soft) 82%, transparent);
  color: color-mix(in srgb, var(--muted) 78%, var(--text));
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
}

.cases-topic-list span {
  padding: 5px 9px;
}

.cases-layout {
  padding-top: 6px;
}

.cases-intro {
  max-width: 820px;
  margin-bottom: clamp(18px, 3vw, 26px);
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
}

.cases-intro p {
  margin: 0;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(12px, 1.6vw, 16px);
  align-items: stretch;
}

.case-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 88%, var(--border));
  border-radius: 8px;
  padding: clamp(14px, 1.6vw, 18px);
  background: var(--glass-bg);
  box-shadow: 0 12px 32px rgba(15, 50, 84, 0.055), inset 0 1px 0 var(--glass-highlight);
}

.case-card-header {
  display: grid;
  gap: 8px;
}

.case-card-meta,
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-card-meta span,
.case-tags span {
  padding: 4px 8px;
}

.case-card-meta span:first-child {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.case-card h2 {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.32;
}

.case-card-header p {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-size: 13px;
  line-height: 1.6;
}

.case-chat {
  display: grid;
  gap: 8px;
}

.case-bubble {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: 8px;
  padding: 10px;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
}

.case-bubble b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 76%, var(--bg));
  color: var(--text);
  font-size: 13px;
  line-height: 1;
}

.case-bubble-question b {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
}

.case-bubble-answer {
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
}

.case-bubble p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
  font-size: 13px;
  line-height: 1.65;
}

.case-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-checks li {
  position: relative;
  padding-left: 18px;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 13px;
  line-height: 1.55;
}

.case-checks li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.case-tags {
  margin-top: auto;
  padding-top: 2px;
}

.news-index {
  padding-top: clamp(24px, 3vw, 36px);
  background: transparent;
}

.news-card-grid {
  gap: clamp(14px, 1.8vw, 20px);
}

.news-card {
  min-height: 186px;
}

.news-card-link {
  grid-template-columns: minmax(186px, 220px) minmax(0, 1fr);
  height: 100%;
}

.news-card-cover {
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--glass-bg-soft);
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 180px;
  object-fit: contain;
  background: transparent;
}

.news-card-body {
  gap: 10px;
  padding: 18px 18px 16px;
}

.news-card-meta {
  gap: 6px;
}

.news-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.2;
}

.news-card h2 {
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 820;
}

.news-card p {
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  line-height: 1.65;
}

.boards-db-page {
  background: transparent;
}

.boards-db-hero,
.boards-db-search-large,
.boards-inline-filter-panel,
.selection-results-panel {
  box-shadow: var(--glass-shadow);
}

body.section-boards.page-index-body .boards-inline-filter-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.section-boards.page-index-body .boards-facet-panel {
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: var(--bg);
  box-shadow: 0 10px 28px rgba(15, 50, 84, 0.055);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.boards-db-hero {
  padding: clamp(22px, 2.5vw, 30px);
}

.boards-db-title h1 {
  font-size: clamp(40px, 4.6vw, 58px);
}

.selection-toolbar {
  border-bottom-color: color-mix(in srgb, var(--border) 78%, transparent);
}

.selection-card dl div,
.boards-detail-card dl div {
  background: color-mix(in srgb, var(--bg) 68%, var(--surface));
}

@media (max-width: 720px) {
  .news-index {
    padding-top: 18px;
  }

  .news-card {
    min-height: 0;
  }

  .news-card-cover {
    min-height: 172px;
  }

  .news-card-cover img {
    max-height: 190px;
  }

  .boards-db-page {
    padding: 14px 0 4px;
  }

  .boards-db-hero {
    gap: 12px;
    padding: 14px;
  }

  .boards-db-title .eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .boards-db-title h1 {
    font-size: clamp(32px, 9.8vw, 38px);
    line-height: 1.08;
  }

  .boards-db-title p {
    font-size: 14px;
    line-height: 1.48;
  }

  .boards-db-hero-metrics {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .section-index-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 240px;
    justify-self: start;
  }

  .boards-db-hero-metrics div {
    min-height: 54px;
    aspect-ratio: auto;
    padding: 7px 4px;
  }

  .boards-db-hero-metrics strong {
    font-size: clamp(20px, 6vw, 26px);
  }

  .boards-db-hero-metrics span {
    margin-top: 3px;
    font-size: 11px;
  }

  .boards-db-selection-wrap {
    display: flex;
    flex-direction: column;
  }

  .boards-db-search-section {
    order: 1;
    padding: 8px 0 4px;
  }

  .boards-db-selector {
    order: 4;
    padding: 6px 0 22px;
  }

  .boards-db-toolbar-section {
    order: 2;
    padding: 4px 0;
  }

  .boards-db-quick-filter {
    order: 3;
    padding: 4px 0 20px;
  }

  .boards-db-search-large {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .boards-db-search div {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .boards-db-search input,
  .boards-db-search button {
    min-height: 44px;
  }

  .boards-db-search input {
    border-right: 0;
    border-radius: 7px 0 0 7px;
    font-size: 15px;
  }

  .boards-db-search button {
    min-width: 0;
    border-radius: 0 7px 7px 0;
    padding-inline: 10px;
    font-size: 15px;
  }

  .boards-inline-filter-panel {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: 0;
    padding: 0 2px 8px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .boards-inline-filter-panel::-webkit-scrollbar {
    height: 0;
  }

  .boards-facet-panel {
    flex: 0 0 min(82vw, 312px);
    scroll-snap-align: start;
    min-height: 154px;
    max-height: 154px;
    overflow: hidden;
    padding: 12px;
  }

  .boards-facet-panel h3 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .boards-facet-panel div {
    max-height: 78px;
    overflow: hidden;
    gap: 6px;
  }

  .boards-soc-facet {
    flex-basis: min(92vw, 520px);
  }

  .boards-soc-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boards-facet-panel button {
    min-height: 31px;
    padding: 6px 8px 7px;
    font-size: 12px;
    line-height: 1.45;
  }

  .boards-facet-more {
    min-height: 30px;
    margin-top: 8px;
  }

  .selection-toolbar {
    gap: 8px;
    padding: 10px;
  }

  .boards-db-toolbar {
    padding: 0;
  }

  .selection-result-count strong {
    font-size: 24px;
  }

  .selection-toolbar-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .selection-toolbar-sort {
    width: auto;
  }

  .selection-toolbar-sort span {
    display: none;
  }

  .selection-toolbar-sort select {
    width: 100%;
    min-width: 0;
    padding: 7px 8px;
  }

  .selection-toolbar-reset {
    min-height: 34px;
    padding-inline: 9px;
  }

  .selection-results {
    gap: 10px;
    padding: 10px;
  }

  .boards-db-selector .selection-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 178px;
    height: auto;
  }

  .boards-db-selector .selection-card.no-cover {
    grid-template-columns: minmax(0, 1fr);
  }

  .selection-card-cover {
    min-height: 100%;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    padding: 0;
  }

  .selection-card-cover img {
    width: 100%;
    max-height: 118px;
  }

  .selection-card-body,
  .selection-card.no-cover .selection-card-body {
    gap: 6px;
    padding: 10px;
  }

  .selection-card-topline strong {
    font-size: 18px;
  }

  .selection-card h2 {
    font-size: 18px;
  }

  .selection-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.45;
  }

  .selection-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .boards-db-selector .selection-card:not(.is-expanded) dl div:nth-child(n+5),
  .boards-db-selector .selection-card:not(.is-expanded) .selection-tag-row span:nth-child(n+4) {
    display: none;
  }

  .selection-card dl div {
    padding: 5px 6px;
  }

  .selection-card dt {
    font-size: 11px;
  }

  .selection-card dd {
    font-size: 12px;
  }

  .selection-tag-row {
    gap: 5px;
  }

  .selection-tag-row span {
    padding: 2px 7px;
    font-size: 11px;
  }

  .selection-card-actions {
    gap: 6px;
  }

  .selection-card-actions a,
  .selection-card-actions button {
    padding: 5px 8px;
    font-size: 12px;
  }

  .board-param-modal {
    align-items: center;
    padding: 10px;
  }

  .board-param-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }

  .board-param-header {
    padding: 13px 14px;
  }

  .board-param-body {
    padding: 12px;
  }

  .board-param-group th,
  .board-param-group td {
    display: block;
    width: auto;
    padding: 8px 10px;
  }

  .board-param-group td {
    padding-top: 0;
  }

  .boards-db-selector .selection-card.is-expanded {
    grid-template-columns: minmax(0, 1fr);
  }

  .boards-db-selector .selection-card.is-expanded .selection-card-cover {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

.boards-db-selector .selection-card {
  overflow: hidden;
}

.boards-db-selector .selection-card-body {
  overflow: visible;
}

.boards-db-selector .selection-card h2,
.boards-db-selector .selection-card p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.boards-db-selector .selection-card dl div {
  padding: 5px 7px;
}

.boards-db-selector .selection-card dt {
  line-height: 1.2;
}

.boards-db-selector .selection-card dd {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.32;
}

.boards-db-selector .selection-tag-row {
  gap: 4px;
  margin-top: auto;
}

.boards-db-selector .selection-tag-row span {
  padding: 2px 6px;
  line-height: 1.35;
}

.boards-db-selector .selection-card-actions {
  gap: 6px;
}

.boards-db-selector .selection-card-actions a,
.boards-db-selector .selection-card-actions button {
  padding: 5px 8px;
}

.boards-db-selector .selection-card-cover img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 4px);
}

.boards-db-selector .selection-card {
  --card-family-accent: #b91c1c;
  --card-family-accent-soft: color-mix(in srgb, var(--card-family-accent) 9%, var(--surface));
  position: relative;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  min-height: 306px;
  border-color: color-mix(in srgb, var(--card-family-accent) 18%, var(--border));
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-family-accent) 7%, var(--bg)) 0, var(--bg) 48%),
    var(--bg);
  box-shadow: 0 18px 44px color-mix(in srgb, #0f172a 10%, transparent);
  overflow: hidden;
}

.boards-db-selector .selection-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 4px;
  background: linear-gradient(180deg, var(--card-family-accent), color-mix(in srgb, var(--card-family-accent) 36%, transparent));
}

.boards-db-selector .selection-card--fpga {
  --card-family-accent: #2563eb;
}

.boards-db-selector .selection-card--mcu {
  --card-family-accent: #0f766e;
}

.boards-db-selector .selection-card:hover {
  border-color: color-mix(in srgb, var(--card-family-accent) 48%, var(--border));
  box-shadow: 0 22px 54px color-mix(in srgb, var(--card-family-accent) 14%, transparent);
  transform: translateY(-2px);
}

.boards-db-selector .selection-card-cover {
  min-height: 306px;
  padding: 18px;
  border-right: 1px solid color-mix(in srgb, var(--card-family-accent) 16%, var(--border));
  background:
    radial-gradient(circle at 52% 38%, color-mix(in srgb, var(--card-family-accent) 16%, transparent), transparent 48%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 86%, var(--bg)), color-mix(in srgb, var(--surface) 86%, var(--bg)));
}

.boards-db-selector .selection-card-cover img {
  width: 100%;
  max-width: 240px;
  max-height: 228px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px color-mix(in srgb, #0f172a 20%, transparent));
}

.boards-db-selector .selection-card-body,
.boards-db-selector .selection-card.no-cover .selection-card-body {
  gap: 12px;
  padding: 16px 16px 14px;
}

.boards-db-selector .selection-card.no-cover .selection-card-body {
  padding-top: 18px;
}

.boards-db-selector .selection-card-identity {
  gap: 5px;
}

.boards-db-selector .selection-card-identity span {
  min-height: 24px;
  border-color: color-mix(in srgb, var(--card-family-accent) 16%, var(--border));
  background: color-mix(in srgb, var(--card-family-accent) 7%, var(--surface));
}

.boards-db-selector .selection-card-identity strong {
  color: color-mix(in srgb, var(--text) 88%, var(--card-family-accent));
  font-size: 11px;
}

.selection-card-heading {
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: space-between;
  min-width: 0;
}

.selection-card-heading h2 {
  min-width: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.05;
}

.boards-db-selector .selection-card-type {
  flex: 0 0 auto;
  max-width: 44%;
  border: 1px solid color-mix(in srgb, var(--card-family-accent) 28%, var(--border));
  border-radius: 6px;
  padding: 3px 7px;
  background: var(--card-family-accent-soft);
  color: color-mix(in srgb, var(--card-family-accent) 84%, var(--text));
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boards-db-selector .selection-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.boards-db-selector .selection-card dl div {
  min-height: 64px;
  border-color: color-mix(in srgb, var(--card-family-accent) 12%, var(--border));
  border-radius: 7px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 34%, transparent), transparent),
    color-mix(in srgb, var(--surface) 88%, var(--card-family-accent));
}

.boards-db-selector .selection-card dt {
  color: color-mix(in srgb, var(--muted) 82%, var(--card-family-accent));
}

.boards-db-selector .selection-card dd {
  color: var(--text);
  font-size: 13px;
  line-height: 1.34;
}

.boards-db-selector .selection-card-actions {
  margin-top: auto;
}

.boards-db-selector .selection-card-actions a,
.boards-db-selector .selection-card-actions button {
  border-color: color-mix(in srgb, var(--card-family-accent) 26%, var(--border));
}

.boards-db-selector .selection-card-actions .selection-card-param-button {
  background: color-mix(in srgb, var(--card-family-accent) 8%, var(--surface));
  color: color-mix(in srgb, var(--card-family-accent) 78%, var(--text));
}

@media (max-width: 720px) {
  .boards-db-selector .selection-card {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
  }

  .boards-db-selector .selection-card::before {
    width: 3px;
  }

  .boards-db-selector .selection-card-cover {
    min-height: 178px;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--card-family-accent) 16%, var(--border));
  }

  .boards-db-selector .selection-card-cover img {
    max-width: 210px;
    max-height: 154px;
  }

  .selection-card-heading {
    gap: 6px;
  }

  .boards-db-selector .selection-card-type {
    max-width: 40%;
    padding-inline: 6px;
    font-size: 10px;
  }

  .selection-card-heading h2 {
    font-size: 21px;
  }
}

body.section-news .news-card-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
}

body.section-news .news-card {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.section-news .news-card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  box-shadow: none;
  transform: none;
}

body.section-news .news-card-link {
  display: grid;
  grid-template-columns: clamp(148px, 16vw, 210px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  min-height: 0;
  padding: clamp(14px, 2vw, 20px) 0;
}

body.section-news .news-card-cover {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  padding: 8px;
  background: color-mix(in srgb, var(--surface) 72%, var(--bg));
  overflow: hidden;
}

body.section-news .news-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

body.section-news .news-card-body {
  gap: 9px;
  padding: 0;
}

body.section-news .news-card h2 {
  max-width: 860px;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.38;
}

body.section-news .news-card p {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.62;
}

.news-preview-modal[hidden] {
  display: none;
}

.news-preview-modal {
  --news-preview-action-inset: max(18px, calc((100vw - 920px) / 2 - 64px));
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  padding: 0;
}

.news-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 36%),
    rgba(228, 239, 249, 0.48);
  backdrop-filter: saturate(1.18) blur(18px);
  -webkit-backdrop-filter: saturate(1.18) blur(18px);
}

:root[data-theme="dark"] .news-preview-backdrop {
  background:
    radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 38%),
    rgba(2, 6, 13, 0.64);
}

.news-preview-dialog {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: grid;
  justify-items: center;
  align-items: start;
  overflow: auto;
  border: 0;
  background: transparent;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 28%, transparent) transparent;
}

.news-preview-dialog:focus {
  outline: none;
}

.news-preview-dialog::-webkit-scrollbar {
  width: 8px;
}

.news-preview-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.news-preview-dialog::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--text) 16%, transparent))
    padding-box;
}

.news-preview-dialog:hover::-webkit-scrollbar-thumb {
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 48%, transparent), color-mix(in srgb, var(--text) 24%, transparent))
    padding-box;
}

.news-preview-content {
  width: min(calc(100% - 32px), 920px);
  max-width: calc(100% - 32px);
  min-height: 100%;
  display: grid;
  align-items: start;
  padding: clamp(22px, 5vh, 56px) 0;
}

.news-preview-modal.is-loading .news-preview-dialog {
  place-items: center;
  overflow: hidden;
}

.news-preview-modal.is-loading .news-preview-content {
  place-items: center;
  padding: 0;
}

.news-preview-modal.is-ready .news-preview-content {
  animation: board-preview-reveal 180ms ease-out both;
}

.news-preview-loading {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 48px rgba(15, 50, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
}

.news-preview-loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: board-preview-spin 700ms linear infinite;
}

:root[data-theme="dark"] .news-preview-loading {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 22, 30, 0.64);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.news-preview-reading {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--glass-border) 72%, var(--border));
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  box-shadow: 0 24px 70px rgba(15, 50, 84, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.12) blur(10px);
  -webkit-backdrop-filter: saturate(1.12) blur(10px);
  overflow: hidden;
}

:root[data-theme="dark"] .news-preview-reading {
  border-color: rgba(255, 255, 255, 0.12);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.news-preview-article {
  max-width: none;
  padding: clamp(22px, 4vw, 46px);
}

.news-preview-article .page-header {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.news-preview-article .page-header h1 {
  max-width: 820px;
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

.news-preview-article .page-header p {
  max-width: 760px;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
}

.news-preview-article img {
  cursor: zoom-in;
}

.news-preview-article > div[data-pagefind-body],
.news-preview-article > div {
  min-width: 0;
}

.news-preview-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  padding: 14px clamp(22px, 4vw, 46px) 18px;
}

.news-preview-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  color: var(--accent-dark);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 820;
}

.news-preview-actions a:hover {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
  background: color-mix(in srgb, var(--accent) 13%, var(--bg));
}

.news-preview-back,
.news-preview-top {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.74);
  color: #101418;
  box-shadow: 0 14px 34px rgba(15, 50, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  cursor: pointer;
}

.news-preview-back {
  left: var(--news-preview-action-inset);
}

.news-preview-top {
  right: var(--news-preview-action-inset);
}

.news-preview-top[hidden] {
  display: none !important;
}

.news-preview-back svg,
.news-preview-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dark"] .news-preview-back,
:root[data-theme="dark"] .news-preview-top {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 22, 30, 0.76);
  color: #eef3f8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.news-preview-detail {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.news-preview-detail .news-preview-article {
  display: grid;
  gap: 16px;
  max-width: none;
  padding: 0;
}

.news-detail-header {
  display: grid;
  gap: 12px;
}

.news-detail-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(27px, 3.3vw, 40px);
  font-weight: 880;
  line-height: 1.18;
  letter-spacing: 0;
}

.news-detail-header p {
  max-width: 760px;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.68;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--glass-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.news-preview-detail .board-content-card {
  border-color: color-mix(in srgb, var(--glass-highlight) 18%, transparent);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.news-preview-detail .board-content-card > h2 {
  border-bottom-color: rgba(255, 255, 255, 0.38);
}

.news-preview-detail .board-content-card > h2::before {
  background: rgba(255, 255, 255, 0.74);
}

.news-preview-detail .prose th,
.news-preview-detail .prose td {
  border-color: rgba(255, 255, 255, 0.32);
}

.news-preview-detail .prose th {
  background: rgba(255, 255, 255, 0.13);
}

:root:not([data-theme="dark"]) .news-preview-detail .board-content-card {
  border-color: rgba(101, 126, 151, 0.28);
  background: rgba(255, 255, 255, 0.46);
}

:root:not([data-theme="dark"]) .news-preview-detail .board-content-card > h2 {
  border-bottom-color: rgba(78, 112, 146, 0.26);
}

:root:not([data-theme="dark"]) .news-preview-detail .board-content-card > h2::before {
  background: rgba(0, 123, 203, 0.72);
}

:root:not([data-theme="dark"]) .news-preview-detail .news-detail-meta span {
  border-color: rgba(78, 112, 146, 0.26);
  background: rgba(224, 234, 244, 0.72);
}

:root:not([data-theme="dark"]) .news-preview-detail .prose th,
:root:not([data-theme="dark"]) .news-preview-detail .prose td {
  border-color: rgba(78, 112, 146, 0.24);
}

:root:not([data-theme="dark"]) .news-preview-detail .prose th {
  background: rgba(225, 235, 245, 0.78);
}

/* Shared compact cards for news and homepage previews */
body.section-news .news-card-grid,
.home-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(18px, 2vw, 24px);
  border-top: 0;
}

body.section-news .news-card,
.home-news-grid .news-card {
  min-height: 152px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 86%, var(--border));
  border-radius: 8px;
  background: var(--glass-bg);
  box-shadow: 0 10px 28px rgba(15, 50, 84, 0.055), inset 0 1px 0 var(--glass-highlight);
  overflow: hidden;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.section-news .news-card:hover,
.home-news-grid .news-card:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--glass-border));
  background: var(--glass-bg-strong);
  box-shadow: 0 14px 34px rgba(15, 50, 84, 0.09), inset 0 1px 0 var(--glass-highlight);
  transform: none;
}

body.section-news .news-card-link,
.home-news-grid .news-card-link {
  grid-template-columns: clamp(132px, 30%, 166px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  height: 100%;
  min-height: 152px;
  padding: 0;
}

body.section-news .news-card-cover,
.home-news-grid .news-card-cover {
  min-height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-right: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 0;
  padding: 8px;
  background: var(--glass-bg-soft);
}

body.section-news .news-card-cover img,
.home-news-grid .news-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  max-height: 156px;
  object-fit: contain;
  background: transparent;
}

body.section-news .news-card-body,
.home-news-grid .news-card-body {
  align-content: start;
  gap: 7px;
  padding: 12px;
}

body.section-news .news-card-meta,
.home-news-grid .news-card-meta {
  gap: 5px;
}

body.section-news .news-card-meta span,
.home-news-grid .news-card-meta span {
  min-height: 22px;
  padding: 2px 7px;
  font-size: 10px;
}

body.section-news .news-card h2,
.home-news-grid .news-card h2 {
  max-width: none;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.34;
}

body.section-news .news-card p,
.home-news-grid .news-card p {
  display: -webkit-box;
  max-width: none;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 13px;
  line-height: 1.52;
}

.home-board-section {
  padding-top: clamp(42px, 5vw, 58px);
  padding-bottom: clamp(46px, 5vw, 62px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, var(--bg)), color-mix(in srgb, var(--accent) 3%, var(--surface)) 52%, color-mix(in srgb, var(--surface) 88%, var(--bg)));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--border) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--border) 42%, transparent);
}

.home-board-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 12px;
  padding: 0;
}

.home-board-grid .selection-card {
  grid-template-columns: clamp(132px, 28%, 176px) minmax(0, 1fr);
  min-height: 184px;
  height: 100%;
}

.home-board-grid .selection-card.no-cover {
  grid-template-columns: minmax(0, 1fr);
}

.home-board-grid .selection-card-cover {
  min-height: 100%;
}

.home-board-grid .selection-card-cover img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 8px);
}

.home-board-grid .selection-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  overflow: visible;
}

.home-board-grid .selection-card h2 {
  font-size: 18px;
  line-height: 1.24;
}

.home-board-grid .selection-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.home-board-grid .selection-card dl div {
  padding: 5px 7px;
}

.home-board-grid .selection-card dt {
  font-size: 11px;
  line-height: 1.2;
}

.home-board-grid .selection-card dd {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.32;
}

.home-board-grid .selection-tag-row {
  gap: 4px;
  margin-top: auto;
}

.home-board-grid .selection-tag-row span {
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1.35;
}

.board-insight-trigger,
.board-radar-trigger,
.board-recommend-score {
  appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.board-spec-item.board-insight-trigger {
  text-align: left;
}

.board-insight-trigger:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  background: color-mix(in srgb, var(--accent) 7%, var(--bg));
}

.board-radar-trigger,
.board-radar-static {
  display: block;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 8px;
  padding: 8px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.board-radar-trigger:empty {
  display: none;
}

.board-radar-static {
  cursor: default;
}

.board-hero-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 2px;
}

.board-hero-info-block {
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 0;
  min-height: 214px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 8px;
  padding: 15px;
  background: color-mix(in srgb, var(--surface) 78%, var(--bg));
  color: var(--text);
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 28px color-mix(in srgb, #0f172a 7%, transparent);
}

.board-hero-info-block > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.board-hero-info-block > strong {
  color: var(--text);
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 950;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.board-hero-info-block dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.board-hero-info-block dl div {
  display: grid;
  grid-template-columns: minmax(82px, max-content) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
  padding-top: 7px;
}

.board-hero-info-block dt,
.board-hero-info-block dd {
  min-width: 0;
  margin: 0;
}

.board-hero-info-block dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

.board-hero-info-block dd {
  color: var(--text);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.board-hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 760px);
}

.board-hero-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 999px;
  padding: 7px 11px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.board-hero-link-row a:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}

.board-recommend-score {
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
  border-left: 4px solid var(--accent);
}

.board-recommend-score-pending strong {
  font-size: 17px;
}

.board-section-launcher-wrap {
  width: 100%;
}

.board-section-launcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}

.board-section-launcher-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 138px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 8px;
  padding: 14px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.board-section-launcher-card:hover,
.board-section-launcher-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  outline: none;
}

.board-section-launcher-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.board-section-launcher-card strong {
  font-size: 18px;
  line-height: 1.32;
}

.board-section-launcher-card em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.board-insight-panel[hidden] {
  display: none;
}

.board-insight-panel {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 52px);
}

.board-insight-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 16, 28, 0.18);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  cursor: zoom-out;
}

.board-insight-shell {
  position: relative;
  width: min(1260px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

.board-insight-shell:focus {
  outline: none;
}

.board-insight-shell::-webkit-scrollbar {
  width: 9px;
}

.board-insight-shell::-webkit-scrollbar-track {
  background: transparent;
}

.board-insight-shell::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 36%, transparent);
  background-clip: content-box;
}

.board-insight-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 12px 12px 0 0;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.board-insight-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.board-insight-body {
  padding: clamp(22px, 4vw, 38px);
}

.board-insight-article {
  display: grid;
  gap: 16px;
}

.board-insight-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.board-insight-article h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.board-insight-article > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.board-insight-fact-grid,
.board-score-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}

.board-insight-fact-grid div,
.board-score-proof-grid section,
.board-insight-empty {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  padding: 13px;
  background: color-mix(in srgb, var(--surface) 64%, var(--bg));
}

.board-insight-fact-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.board-insight-fact-grid strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.board-parameter-article {
  gap: 18px;
}

.board-parameter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.board-parameter-group {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 68%, var(--bg));
}

.board-parameter-group h3 {
  margin: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  padding: 10px 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.board-parameter-group table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.board-parameter-group th,
.board-parameter-group td {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 56%, transparent);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.48;
}

.board-parameter-group tr:last-child th,
.board-parameter-group tr:last-child td {
  border-bottom: 0;
}

.board-parameter-group th {
  width: 96px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.board-parameter-group td {
  color: var(--text);
  font-size: 14px;
  font-weight: 730;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.board-parameter-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.board-parameter-image-grid button {
  display: grid;
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 66%, var(--bg));
  color: var(--text);
  font: inherit;
  text-align: center;
}

.board-parameter-image-grid img {
  width: 100%;
  height: min(38vh, 260px);
  object-fit: contain;
}

.board-parameter-image-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.board-parameter-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  padding-top: 14px;
}

.board-parameter-sources a {
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 999px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.board-insight-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.board-insight-gallery button {
  display: grid;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 52%, var(--bg));
  color: var(--text);
  font: inherit;
  cursor: zoom-in;
}

.board-insight-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.board-insight-gallery span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.board-insight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-insight-links a,
.board-insight-links span {
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 999px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.board-score-proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 8px;
  padding: 14px;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}

.board-score-proof-head strong {
  color: var(--accent-dark);
  font-size: 40px;
  line-height: 1;
}

.board-score-proof-head span {
  color: var(--muted);
  font-weight: 850;
}

.board-score-proof-head em {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.board-score-proof-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-score-proof-title h3 {
  margin: 0;
  font-size: 17px;
}

.board-score-proof-title strong {
  color: var(--accent-dark);
  font-size: 22px;
}

.board-score-proof-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.board-score-proof-grid ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.board-score-proof-grid li {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.board-score-proof-grid li b {
  color: var(--text);
  font-size: 13px;
}

.board-score-proof-grid li span,
.board-score-proof-grid li small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.board-preview-toc button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: color-mix(in srgb, var(--accent) 12%, rgba(255, 255, 255, 0.74));
  color: color-mix(in srgb, var(--accent-dark) 84%, var(--text));
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.board-preview-toc button:hover,
.board-preview-toc button.is-active {
  background: color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.82));
}

:root[data-theme="dark"] .board-insight-backdrop {
  background: rgba(4, 8, 14, 0.34);
}

:root[data-theme="dark"] .board-insight-shell {
  background: color-mix(in srgb, #111820 88%, transparent);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

:root[data-theme="dark"] .board-preview-toc button {
  background: color-mix(in srgb, var(--accent) 18%, rgba(22, 28, 38, 0.82));
  color: color-mix(in srgb, #e9f4ff 88%, var(--accent));
}

.about-profile-platform {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 64%, var(--bg)), var(--bg));
}

.about-profile-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-profile-platform-grid article {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 8px;
  padding: 16px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}

.about-profile-platform-grid span {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 11%, var(--bg));
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.about-profile-platform-grid h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.about-profile-platform-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.about-profile-method-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.about-profile-method-grid .about-profile-section-head {
  position: sticky;
  top: 92px;
}

.about-profile-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-profile-principles div {
  min-width: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  padding: 0 0 14px;
}

.about-profile-principles strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.about-profile-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .about-profile-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-profile-platform-grid,
  .about-profile-method-grid,
  .about-profile-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-profile-method-grid .about-profile-section-head {
    position: static;
  }
}

@media (max-width: 640px) {
  .board-insight-panel {
    padding: 10px;
  }

  .board-insight-shell {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 9px;
  }

  .board-insight-body {
    padding: 20px 14px 18px;
  }

  .board-insight-article h2 {
    font-size: 25px;
  }

  .board-hero-block-grid,
  .board-parameter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-hero-info-block {
    padding: 13px;
  }

  .board-hero-info-block dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .board-hero-info-block dt {
    white-space: normal;
  }

  .board-section-launcher-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
