/* pafi-kelmungseng.org — 浅色阅读主题 */

:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --surface: #eef3f9;
  --line: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-body: #334155;
  --muted: #64748b;
  --accent: #1d6fdc;
  --accent-hover: #1558b8;
  --accent-soft: rgba(29, 111, 220, 0.1);
  --max: 42rem;
  --toc-width: 14rem;
  --header-offset: 3.75rem;
  --sticky-top: var(--header-offset);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: calc(var(--toc-width) + 2.5rem + var(--max));
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--accent);
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(29, 111, 220, 0.25);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.article-shell {
  max-width: calc(var(--toc-width) + 2.5rem + var(--max));
  margin: 0 auto;
  padding: 0 1.2rem 3rem;
}

.hero {
  padding: 2.6rem 0 1.2rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.meta {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta time {
  color: #475569;
}

.article-body {
  min-width: 0;
}

.article-body p {
  margin: 0 0 1.1rem;
}

.article-body h2 {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  color: var(--text);
  scroll-margin-top: var(--sticky-top);
}

.article-body h3 {
  margin: 1.6rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
}

.article-body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin: 0.45rem 0;
}

.article-body strong {
  color: var(--text);
}

code.inline {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.4em;
  color: var(--text);
}

.article-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

.compare-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.compare-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 40%, transparent);
}

.checklist-block {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.checklist-block h3 {
  margin-top: 0;
  font-size: 1rem;
}

.checklist-block ol {
  margin-bottom: 0;
}

/* 左侧粘性目录 */
.article-toc {
  margin: 0 0 2rem;
}

.article-toc__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.article-toc__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.article-toc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.article-toc__icon svg {
  width: 1rem;
  height: 1rem;
}

.article-toc__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-toc__title {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.article-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.45;
}

.article-toc__list li + li {
  margin-top: 0.15rem;
}

.article-toc__list a {
  display: block;
  padding: 0.4rem 0.45rem;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-left: 2px solid transparent;
}

.article-toc__list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 1023px) {
  .article-shell {
    padding-bottom: 2.5rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 0.75rem;
  }

  .article-toc {
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .article-shell {
    display: grid;
    grid-template-columns: var(--toc-width) minmax(0, var(--max));
    column-gap: 2.25rem;
    align-items: start;
  }

  .hero {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-top: 2.5rem;
  }

  .article-toc {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    position: sticky;
    top: var(--sticky-top);
    align-self: start;
    max-height: calc(100vh - var(--sticky-top) - 1.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .article-body {
    grid-column: 2;
    grid-row: 2;
  }
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  color: var(--accent);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tip {
  margin: 1.2rem 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.article-footer {
  margin-top: 2.6rem;
  padding: 1.2rem 0 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

/* 教程列表页 */
.tutorial-page {
  max-width: calc(var(--toc-width) + 2.5rem + var(--max));
  margin: 0 auto;
  padding: 0 1.2rem 3rem;
}

.tutorial-page > header,
.tutorial-page > .page-hero {
  padding-top: 2.5rem;
}

.tutorial-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
}

.breadcrumb {
  margin: 0 0 1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 0.45rem;
  color: var(--muted);
  opacity: 0.72;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

.breadcrumb__category {
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 5px;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.hero .breadcrumb {
  margin-bottom: 1.1rem;
}

.page-hero .breadcrumb {
  margin-bottom: 0.85rem;
}

.tutorial-intro {
  margin-bottom: 1.25rem;
}

.tutorial-intro .meta {
  margin: 0 0 0.75rem;
}

.tutorial-intro__lead {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--text-body);
}

.tutorial-search {
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.tutorial-search__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.tutorial-search__input {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tutorial-search__input::placeholder {
  color: var(--muted);
}

.tutorial-search__input:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.tutorial-search__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tutorial-search__status {
  margin: 0.55rem 0 0;
  min-height: 1.35em;
  font-size: 0.84rem;
  color: var(--muted);
}

.card[hidden] {
  display: none;
}

.empty-state {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
}

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

.card .meta {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.doc-figure {
  margin: 1.2rem 0 1.45rem;
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.doc-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.doc-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-offset) - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.2rem 3rem;
}

.error-page__card {
  width: 100%;
  max-width: 32rem;
  padding: 2.25rem 2rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.error-page__code {
  margin: 0 0 0.5rem;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--accent) 18%, var(--muted));
}

.error-page h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
}

.error-page__lead {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.error-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  border-radius: 8px;
}

.error-page__btn--primary {
  color: #fff !important;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(29, 111, 220, 0.25);
}

.error-page__btn--primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.error-page__btn--secondary {
  color: var(--accent) !important;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.error-page__btn--secondary:hover {
  color: var(--accent-hover) !important;
}

.error-page__hint {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}

.error-page__footer {
  padding: 0 1.2rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.error-page__footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .back-to-top {
    transition: none;
  }
}

.article-body > .doc-figure {
  margin-left: 0;
  margin-right: 0;
}

.article-body > section > .doc-figure:first-child {
  margin-top: 0.5rem;
}

/* Hub homepage */
.page-hub,
.page-entry-hub {
  --hub-max: 72rem;
  --hub-gap: 1rem;
  --hub-radius: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-inner--hub {
  max-width: var(--hub-max);
}

.brand--hub {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.15;
  text-decoration: none;
}

.brand--hub .brand__logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand--hub .brand__text {
  display: flex;
  flex-direction: column;
}

.brand--hub .brand__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.brand--hub .brand__sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.brand--hub:hover .brand__title {
  color: var(--accent);
}

.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 0.86rem;
}

.hub-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.hub-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.hub-wrap {
  max-width: var(--hub-max);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.hub-wrap--narrow {
  max-width: 42rem;
}

.hub-hero {
  padding: 2.4rem 0 2.6rem;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hub-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hub-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hub-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text);
}

.hub-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
}

.hub-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.hub-disclaimer--hero {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.85rem;
  background: color-mix(in srgb, var(--panel) 70%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .hub-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hub-stats li {
  margin: 0;
  padding: 0.75rem 0.85rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
}

.hub-stats strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--text);
}

.hub-stats span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.hub-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hub-step;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hub-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-steps li {
  counter-increment: hub-step;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}

.hub-steps li::before {
  content: counter(hub-step);
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  z-index: 1;
}

.hub-steps__img {
  display: block;
  width: 5.5rem;
  height: auto;
  margin: 0.35rem auto 0;
}

.hub-steps__body {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.hub-steps strong {
  font-size: 0.98rem;
  color: var(--text);
}

.hub-steps span {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.hub-steps a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.hub-steps a:hover {
  text-decoration: underline;
}

.hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hub-hero-visual {
  margin: 0;
}

.hub-hero-visual__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  background: var(--panel);
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.hub-btn--primary {
  color: #fff !important;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(29, 111, 220, 0.25);
}

.hub-btn--primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.hub-btn--secondary {
  color: var(--accent) !important;
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

.hub-btn--secondary:hover {
  color: var(--accent-hover) !important;
}

.hub-btn--ghost {
  color: var(--text) !important;
  background: var(--panel);
  border-color: var(--line);
}

.hub-btn--ghost:hover {
  color: var(--accent) !important;
}

.hub-section {
  padding: 2.75rem 0;
}

.hub-section--soft {
  background: color-mix(in srgb, var(--panel) 55%, var(--bg));
  border-block: 1px solid var(--line);
}

.hub-section__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.hub-section__head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hub-section__head p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.hub-grid {
  display: grid;
  gap: var(--hub-gap);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 600px) {
  .hub-grid--2,
  .hub-grid--3,
  .hub-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hub-grid--3,
  .hub-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1100px) {
  .hub-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hub-platform-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.hub-platform-card {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hub-platform-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 4px 14px rgba(29, 111, 220, 0.08);
  transform: translateY(-2px);
}

.hub-platform-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1513 / 1039;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 60%, var(--bg));
}

.hub-platform-card__body {
  padding: 1rem 1.15rem 1.1rem;
}

.hub-platform-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--text);
}

.hub-platform-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.hub-official-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-official-grid a {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hub-official-grid a:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  transform: translateY(-1px);
}

.hub-official-grid strong {
  font-size: 0.95rem;
}

.hub-official-grid span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.hub-feature-grid {
  display: grid;
  gap: var(--hub-gap);
}

.hub-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 7.5rem;
  padding: 1rem 1.05rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hub-feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  transform: translateY(-1px);
}

.hub-feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--text);
}

.hub-feature-card p {
  margin: 0;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.hub-ecosystem {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: stretch;
  gap: 0.65rem;
  padding: 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

@media (min-width: 720px) {
  .hub-ecosystem {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem;
  }
}

.hub-ecosystem__node {
  min-width: 0;
  padding: 0.85rem 1rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hub-ecosystem__node--accent {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: var(--accent-soft);
}

.hub-ecosystem__node strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--text);
}

.hub-ecosystem__node span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hub-ecosystem__arrow {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
}

.hub-ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.hub-card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.hub-card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.hub-card {
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.hub-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.hub-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.hub-card h3 a:hover {
  color: var(--accent);
}

.hub-card .meta {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
}

.hub-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.tutorials-section-banner {
  margin: 0;
}

.tutorials-section-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  background: var(--panel);
}

.hub-section .tutorials-section-banner {
  margin-bottom: 1.5rem;
}

.page-hero .tutorials-section-banner {
  margin-top: 1.15rem;
  max-width: 48rem;
}

.hub-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hub-topic-tags li {
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
}

.hub-more {
  margin: 1.25rem 0 0;
  font-weight: 600;
}

.hub-faq details {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hub-faq--grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hub-faq--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-faq--grid details {
    margin-bottom: 0;
    height: 100%;
  }
}

.hub-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.hub-faq p {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

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

.hub-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 40%, var(--bg));
}

.hub-footer p {
  margin: 0;
}

.hub-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.hub-footer .hub-disclaimer {
  margin: 0 0 1rem;
  max-width: 42rem;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .header-inner--hub {
    flex-wrap: wrap;
  }

  .header-inner--hub .hub-nav {
    order: 3;
    width: 100%;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 719px) {
  .hub-ecosystem__arrow {
    display: none;
  }
}

.hub-hero__grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.hub-steps--text .hub-steps__body {
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hub-platform-grid--text {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .hub-platform-grid--text {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-platform-card--text {
  display: block;
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hub-platform-card--text:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.hub-platform-card--text h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}

.hub-platform-card--text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
}

.page-entry-hub .hub-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.entry-hero {
  padding: 2.4rem 0 2.6rem;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.entry-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .entry-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.5rem;
  }
}

.entry-hero__panel {
  padding: 1.1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.entry-hero__panel .entry-chips {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.entry-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  font-weight: 900;
  line-height: 1.22;
  color: var(--text);
}

.entry-hero__lead {
  margin: 0 0 1.2rem;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
}

.entry-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.entry-search__input {
  min-width: 0;
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--panel);
  color: var(--text);
}

.entry-search__input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

.entry-search__btn {
  flex: 0 0 auto;
}

.entry-search__status {
  min-height: 1.15rem;
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.entry-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 520px) {
  .entry-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .entry-quick {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.entry-quick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.entry-quick__btn:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--accent);
  text-decoration: none;
}

.entry-quick__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.entry-quick__btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.entry-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.4rem;
}

.entry-chip {
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  cursor: pointer;
}

.entry-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.entry-hero__visual {
  margin: 0;
}

.entry-hero__visual img {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1448 / 1086;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.entry-grid {
  display: grid;
  gap: var(--hub-gap);
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 8.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.entry-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.entry-card strong {
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text);
}

.entry-card > span:not(.entry-card__tag) {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.entry-empty {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.entry-device-grid {
  display: grid;
  gap: var(--hub-gap);
  align-items: stretch;
}

@media (min-width: 720px) {
  .entry-device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.entry-device {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.entry-device--accent {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--panel));
}

.entry-device__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.entry-device__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.15rem;
}

.entry-device h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--text);
}

.entry-device ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-body);
}

.entry-device li {
  margin: 0.35rem 0;
}

.entry-device p {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.entry-device__content .entry-device__intro {
  margin: 0 0 0.75rem;
}

.entry-wt-banner {
  background: linear-gradient(135deg, #0a4d8c 0%, #1d6fdc 55%, #1558b8 100%);
  color: #eef4ff;
}

.entry-wt-banner__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem 1.2rem;
}

@media (min-width: 800px) {
  .entry-wt-banner__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    padding: 2.6rem 1.2rem;
  }
}

.entry-wt-banner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #fff;
}

.entry-wt-banner p {
  margin: 0 0 1rem;
  max-width: 34rem;
  line-height: 1.7;
  color: rgba(238, 244, 255, 0.9);
}

.hub-btn--light {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: #1558b8;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hub-btn--light:hover {
  background: #f0f6ff;
  text-decoration: none;
}

.entry-wt-banner__visual {
  margin: 0;
}

.entry-wt-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1647 / 955;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.entry-mql5-grid {
  display: grid;
  gap: var(--hub-gap);
}

.entry-mql5-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 7.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
  background: var(--panel);
  text-decoration: none;
}

.entry-mql5-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.entry-mql5-card strong {
  color: var(--text);
  font-size: 0.95rem;
}

.entry-mql5-card span {
  flex: 1;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}

.entry-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.entry-topic {
  display: inline-flex;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.entry-topic:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.hub-card--solo {
  max-width: 42rem;
}

.hub-card--full {
  max-width: none;
  width: 100%;
}

.hub-card--featured {
  padding: 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 35%, var(--panel));
}

.hub-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.entry-card__tag {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 0.15rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
}

.entry-card__tag--site {
  color: #0f6b4a;
  background: color-mix(in srgb, #10b981 12%, var(--panel));
  border-color: color-mix(in srgb, #10b981 25%, var(--line));
}

.hub-steps--rich {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hub-steps--rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-steps--rich li {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 9rem;
  padding: 1.15rem 1rem 1.15rem 3rem;
}

.hub-steps--rich .hub-steps__body {
  text-align: left;
}

.hub-steps--rich .hub-steps__body span {
  flex: 1;
}

.hub-steps--illustrated li {
  align-items: center;
  padding: 1rem 1.1rem 1.15rem;
  text-align: center;
}

.hub-steps--illustrated li::before {
  left: auto;
  right: 0.85rem;
  top: 0.85rem;
}

.hub-steps--illustrated .hub-steps__img {
  width: 48px;
  height: 48px;
  margin: 0.15rem auto 0.55rem;
  object-fit: contain;
}

.hub-steps--illustrated .hub-steps__body {
  width: 100%;
  text-align: center;
}

.hub-steps--illustrated .hub-steps__body strong {
  display: block;
  margin-bottom: 0.25rem;
}

.entry-hero__stats {
  margin-top: 1rem;
}

.entry-device__intro {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

.entry-device__tip {
  margin: auto 0 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
  border-radius: 8px;
}

.entry-device--accent .entry-device__tip {
  background: rgba(255, 255, 255, 0.45);
}

.entry-compare {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.entry-compare__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--text);
}

.entry-compare__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .entry-compare__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.entry-compare__item {
  padding: 0.85rem 0.95rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.entry-compare__item--accent {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 40%, var(--bg));
}

.entry-compare__item strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--text);
}

.entry-compare__item ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.entry-compare__item li {
  margin: 0.2rem 0;
}

.entry-wt-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.entry-wt-list li {
  position: relative;
  margin: 0.45rem 0;
  padding-left: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(238, 244, 255, 0.92);
}

.entry-wt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.entry-ecosystem {
  margin-bottom: 1.25rem;
}

.entry-topic-cards {
  display: grid;
  gap: var(--hub-gap);
}

.entry-tutorials-layout {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 960px) {
  .entry-tutorials-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

.entry-tutorials-layout__aside {
  height: 100%;
}

.entry-topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 7.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.entry-topic-card:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  transform: translateY(-1px);
  text-decoration: none;
}

.entry-topic-card__label {
  align-self: flex-start;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
}

.entry-topic-card strong {
  font-size: 0.95rem;
  color: var(--text);
}

.entry-topic-card span:last-child {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.entry-read-path {
  height: 100%;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
}

.entry-read-path__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.entry-read-path__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

.entry-read-path__list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.entry-read-path__list a:hover {
  text-decoration: underline;
}

.entry-myth-grid {
  display: grid;
  gap: var(--hub-gap);
}

.entry-myth {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 7rem;
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--hub-radius);
}

.entry-myth h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--text);
}

.entry-myth p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 420px) {
  .entry-search {
    grid-template-columns: 1fr;
  }

  .entry-search__btn {
    width: 100%;
  }
}
