/* SeedCrypt blog: home, category and article pages built by tools/build_blog.py.
   Built on the tokens of /site.css, so the light theme follows automatically. */

/* ── Category colours (dark default, light below) ─────────────────────────── */
:root { --c-news: #60A5FA; --c-hacks: #FF6B7A; --c-security: #0DFFA3; --c-wallets: #F5B740; --c-guides: #A78BFA; --c-explainers: #22D3EE; --c-comparisons: #F472B6; --c-regulation: #FB923C; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --c-news: #2563EB; --c-hacks: #DC2626; --c-security: #047857; --c-wallets: #B45309; --c-guides: #6D28D9; --c-explainers: #0E7490; --c-comparisons: #BE185D; --c-regulation: #C2410C; }
}
:root[data-theme="light"] { --c-news: #2563EB; --c-hacks: #DC2626; --c-security: #047857; --c-wallets: #B45309; --c-guides: #6D28D9; --c-explainers: #0E7490; --c-comparisons: #BE185D; --c-regulation: #C2410C; }
.c-news { --c: var(--c-news); } .c-hacks { --c: var(--c-hacks); } .c-security { --c: var(--c-security); } .c-wallets { --c: var(--c-wallets); }
.c-guides { --c: var(--c-guides); } .c-explainers { --c: var(--c-explainers); } .c-comparisons { --c: var(--c-comparisons); } .c-regulation { --c: var(--c-regulation); }

.cat { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c, var(--purple)) 30%, transparent); background: color-mix(in srgb, var(--c, var(--purple)) 9%, transparent); color: var(--c, var(--purple-ink)); font: 600 .64rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
a.cat:hover { border-color: var(--c); }

/* ── Page head (home, categories) ─────────────────────────────────────────── */
.bl-head { padding-top: clamp(40px, 7vw, 84px); }
.bl-head .title { font-size: clamp(2.3rem, 5.6vw, 4rem); max-width: 18ch; }
.bl-head .sub { max-width: 62ch; }
.bl-head-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bl-head-meta .pill { text-decoration: none; }
.bl-head-meta a.pill:hover { color: var(--text); border-color: var(--line-2); }
.pill .ico { width: 14px; height: 14px; }
.bl-note { margin-top: 22px; }
.bl-note a { color: var(--purple-ink); font-weight: 500; }

/* category bar: scrolls sideways inside its own box on small screens */
.bl-cats { display: flex; gap: 8px; margin-top: 30px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.bl-cats::-webkit-scrollbar { display: none; }
.bl-cats a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 60%, transparent); color: var(--dim); font: 500 .78rem var(--mono); text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.bl-cats a:last-child { margin-right: 36px; }
.bl-cats a i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.bl-cats a:hover { color: var(--text); border-color: var(--line-2); }
.bl-cats a[aria-current="page"] { background: var(--purple); border-color: transparent; color: #fff; }
.bl-cats a[aria-current="page"] i { background: #fff; }
.bl-cats .n { font-size: .68rem; opacity: .6; font-variant-numeric: tabular-nums; }

/* ── Lead story + side list ──────────────────────────────────────────────── */
.bl-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.lead { display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: clamp(24px, 3.6vw, 44px); text-decoration: none; border-color: color-mix(in srgb, var(--c) 28%, var(--line)); background: radial-gradient(90% 80% at 92% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 62%), color-mix(in srgb, var(--card) 82%, transparent); }
.lead:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.lead-art { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); width: clamp(120px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: repeating-radial-gradient(circle, transparent 0 17px, color-mix(in srgb, var(--c) 26%, transparent) 17px 18px); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); z-index: -1; }
.lead-art .ico { width: 38%; height: 38%; stroke-width: 1.1; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c) 60%, transparent)); }
.lead-txt { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.lead h2 { font: 700 clamp(1.6rem, 3.1vw, 2.5rem)/1.1 var(--display); letter-spacing: -.012em; }
.lead p { color: var(--dim); font-size: 1rem; }
.lead .go { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-weight: 600; margin-left: auto; }
.lead .go .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lead:hover .go .ico { transform: translateX(3px); }
.side { display: flex; flex-direction: column; padding: 22px 22px 8px; }
.side-label { font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.mini { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.mini:first-of-type { border-top: 0; }
.mini h3 { font: 600 1rem/1.35 var(--display); transition: color .2s; }
.mini:hover h3 { color: var(--c); }

/* ── Sections, grids, cards ──────────────────────────────────────────────── */
.bl-sec { margin-top: clamp(56px, 7vw, 92px); }
.bl-sec.bl-first { margin-top: 26px; }
.bl-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.bl-sec-head h2 { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(1.35rem, 2.4vw, 1.8rem)/1.15 var(--display); }
.bl-sec-head h2 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); transform: rotate(45deg); }
.more { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--purple-ink); font: 600 .76rem var(--mono); text-decoration: none; }
.more .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.more:hover .ico { transform: translateX(3px); }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; text-decoration: none; transition: transform .35s var(--ease), border-color .3s; }
.post::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--c), transparent 75%); opacity: .75; }
.post:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.post-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 400 .66rem var(--mono); color: var(--muted); }
.post h3 { font: 600 1.12rem/1.3 var(--display); letter-spacing: -.005em; }
.post p { color: var(--dim); font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: auto; padding-top: 4px; font: 400 .7rem var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-empty { color: var(--dim); padding: 30px 0; }

/* "Start here" pillar guide */
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: clamp(20px, 3vw, 30px); text-decoration: none; border-color: color-mix(in srgb, var(--c) 30%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 10%, var(--card)), color-mix(in srgb, var(--card) 80%, transparent) 60%); }
.guide-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.guide-ico .ico { width: 26px; height: 26px; }
.guide .label { margin-bottom: 8px; color: var(--c); }
.guide h2 { font: 700 clamp(1.2rem, 2.2vw, 1.55rem)/1.2 var(--display); }
.guide p { margin-top: 6px; color: var(--dim); font-size: .92rem; }
.guide-go { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--purple-ink); transition: transform .3s var(--ease), background .3s; }
.guide:hover .guide-go { transform: translateX(3px); background: color-mix(in srgb, var(--purple) 12%, transparent); }

/* ── SeedCrypt product boxes (clearly separated from the journalism) ─────── */
.ad { position: relative; padding: 20px clamp(18px, 3vw, 28px) 18px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--purple) 14%, transparent), transparent 70%), color-mix(in srgb, var(--card) 88%, transparent); color: var(--dim); font-size: .95rem; line-height: 1.6; overflow: hidden; }
.ad-tag { display: flex; align-items: center; gap: 8px; font: 700 .72rem var(--mono); color: var(--text); letter-spacing: .02em; }
.ad-tag span { font-weight: 400; color: var(--muted); }
.ad-tag img { width: 18px; height: 18px; }
.ad-in { display: flex; align-items: center; gap: 18px 26px; margin-top: 14px; }
.ad-txt { flex: 1; min-width: 0; display: grid; gap: 6px; }
.ad .ad-h { font: 700 1.2rem/1.25 var(--display); color: var(--text); margin: 0; }
.ad p { margin: 0; }
.ad-price { color: var(--text); font: 500 .8rem/1.5 var(--mono); }
.ad-price b { color: var(--green-ink); font-weight: 700; }
[data-sc-price] { white-space: nowrap; }
.ad-launch { font: 500 .72rem/1.5 var(--mono); color: var(--green-ink); }
.ad-act { display: flex; flex-direction: column; gap: 8px; flex: none; }
.ad-act .btn { white-space: nowrap; }
.ad-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 .72rem var(--mono); color: var(--muted); }
.ad-trust li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.ad-trust .ico { width: 14px; height: 14px; color: var(--green-ink); }
.ad-galet { background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--green) 10%, transparent), transparent 70%), color-mix(in srgb, var(--card) 88%, transparent); }
.ad-art { flex: none; width: 110px; height: auto; fill: none; stroke: var(--purple-br); stroke-width: .8; opacity: .85; }
.ad-art ellipse:nth-child(2n) { stroke: var(--green-ink); opacity: .7; }
.ad-art path { stroke-dasharray: 2 3; opacity: .5; }
/* inside an article the box must not inherit the prose styles */
.prose .ad { margin: 2.6em 0; }
/* in the article column: text first, buttons in a row below */
.prose .ad-in { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px 20px; }
.prose .ad-galet .ad-in { grid-template-columns: auto minmax(0, 1fr); }
.prose .ad-act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.prose .ad-art { width: 96px; margin-top: 4px; }
.prose .ad a { text-decoration: none; }
.prose .ad .btn { color: var(--text); }
.prose .ad .btn-primary { color: #fff; }
.prose .ad li + li { margin-top: 0; }
.prose .ad b, .prose .ad strong { color: var(--green-ink); }

/* end-of-page block (site .cta) */
.bl-end { margin-top: clamp(64px, 8vw, 104px); }
.bl-end .label { display: block; }
.bl-end .sub b { color: var(--green-ink); }
.bl-end .ad-launch { margin-top: 10px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.bl-end .ad-trust { justify-content: center; border-top: 0; margin-top: 22px; padding-top: 0; }

/* ── Article ─────────────────────────────────────────────────────────────── */
.art-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .art-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; background: linear-gradient(90deg, var(--purple), var(--c)); transform-origin: 0 50%; animation: readProgress linear both; animation-timeline: scroll(root); pointer-events: none; }
  @keyframes readProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .art-progress { display: none !important; } }

/* wide screens: header and text in the middle column, contents list on the left of the text */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); column-gap: 48px; }
.art-main { display: contents; }
.art-head { grid-column: 2; grid-row: 1; min-width: 0; }
.art-body { grid-column: 2; grid-row: 2; min-width: 0; }
.art-toc { grid-column: 1; grid-row: 2; justify-self: end; align-self: start; position: sticky; top: 96px; width: 220px; margin-top: 40px; max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: thin; }
.art-toc[hidden] { display: none; }
.toc-label { display: block; margin-bottom: 10px; font: 600 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.art-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.art-toc a:hover { color: var(--text); }
.art-toc a.active { color: var(--text); border-left-color: var(--c); }
@media (max-width: 1240px) {
  .art-layout { display: block; }
  .art-main { display: block; max-width: 720px; margin-inline: auto; }
  .art-toc { display: none !important; }
}

.art-head { padding-top: clamp(28px, 5vw, 60px); }
.art-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 .72rem var(--mono); color: var(--muted); margin-bottom: 18px; }
.art-crumbs a { color: var(--dim); text-decoration: none; }
.art-crumbs a:hover { color: var(--text); }
.art-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.art-top .pill { text-decoration: none; }
.art-top .pill:hover { color: var(--text); border-color: var(--line-2); }
.art-title { margin-top: 18px; font: 700 clamp(1.95rem, 4.4vw, 3rem)/1.1 var(--display); letter-spacing: -.015em; }
.art-lead { margin-top: 18px; font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.6; color: color-mix(in srgb, var(--text) 74%, var(--dim)); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 26px; padding: 13px 0; border-block: 1px solid var(--line); font: 400 .74rem var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.art-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.art-meta strong { color: var(--text); font-weight: 600; }
.art-meta img { width: 18px; height: 18px; }
.art-meta .ico { width: 15px; height: 15px; color: var(--muted); }

/* long-form reading */
.art-body { max-width: none; margin-top: 34px; font-size: 1.065rem; line-height: 1.8; color: color-mix(in srgb, var(--text) 80%, var(--dim)); }
.art-body > * + * { margin-top: 1.15em; }
.art-body h2 { margin-top: 2.1em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: -.01em; scroll-margin-top: 96px; }
.art-body h3 { margin-top: 1.7em; font-size: 1.16rem; scroll-margin-top: 96px; }
.art-body h2 + *, .art-body h3 + * { margin-top: .7em; }
.art-body p, .art-body li { overflow-wrap: break-word; }
.art-body a { overflow-wrap: anywhere; text-decoration-color: color-mix(in srgb, var(--purple-ink) 45%, transparent); }
.art-body a:hover { text-decoration-color: currentColor; }
.art-body ul li::marker { color: var(--c); }
.art-body ol li::marker { color: var(--c); font: 600 .9em var(--mono); }
.art-body li + li { margin-top: .45em; }
.art-body ul ul, .art-body ol ul { margin-top: .45em; }
.art-body em { color: var(--text); }
.art-body blockquote { margin-inline: 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--c, var(--purple)); color: var(--text); font-size: 1.08em; font-style: italic; }
.art-body hr { margin: 2.4em 0; }
.art-body .art-note { font-size: .86rem; line-height: 1.6; color: var(--muted); font-style: italic; padding-left: 14px; border-left: 2px solid var(--line); }

/* "Key facts" / TL;DR boxes */
.art-body .art-facts, .art-body .tldr-box, .art-body .summary-box { margin: 0 0 2.2em; padding: 22px clamp(18px, 3vw, 26px) 20px; border: 1px solid color-mix(in srgb, var(--c) 32%, var(--line)); border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, var(--card)), color-mix(in srgb, var(--card) 80%, transparent)); font-size: .98rem; line-height: 1.65; color: var(--text); }
.art-body .art-facts > p:first-child, .art-body .tldr-label, .art-body .summary-box-label { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font: 700 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.art-body .art-facts > p:first-child::before, .art-body .tldr-label::before, .art-body .summary-box-label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.art-body .art-facts ul, .art-body .tldr-box ul, .art-body .summary-box ul { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 10px; }
.art-body .art-facts li, .art-body .tldr-box li, .art-body .summary-box li { position: relative; margin: 0; padding-left: 20px; }
.art-body .art-facts li::before, .art-body .tldr-box li::before, .art-body .summary-box li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--c); }
.art-body .art-facts strong, .art-body .tldr-box strong { color: var(--text); }

/* tables (Markdown tables and the older comparison tables) */
.art-body .tbl, .art-body div[style*="overflow"] { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--card) 70%, transparent); }
.art-body .tbl table, .art-body div[style*="overflow"] table { display: table; min-width: 560px; margin: 0 !important; }
.art-body table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.art-body th, .art-body td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.art-body tr:last-child td { border-bottom: 0; }
.art-body th { background: color-mix(in srgb, var(--card-2) 80%, transparent); color: var(--text); font: 600 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.art-body td:first-child { color: var(--text); }
.art-body tbody tr:hover td { background: color-mix(in srgb, var(--purple) 5%, transparent); }
.art-body .winner, .art-body .win { color: var(--green-ink); font-weight: 600; }
.art-body .ok { color: var(--text); }
.art-body .bad, .art-body .lose { color: var(--red); }
.art-body .partial { color: var(--amber); }
.art-body .mistake-number { display: inline-grid; place-items: center; min-width: 2em; height: 2em; margin-right: 10px; padding: 0 6px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); font: 700 .8em var(--mono); vertical-align: middle; }

/* sources */
.art-sources { margin-top: 2.6em; padding-top: 1.4em; border-top: 1px dashed var(--line-2); counter-reset: src; }
.art-sources h2 { margin: 0 0 14px; font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.art-sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.art-sources li { counter-increment: src; position: relative; margin: 0 !important; padding-left: 34px; font-size: .86rem; line-height: 1.55; }
.art-sources li::before { content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: .1em; font: 500 .72rem var(--mono); color: var(--muted); }
.art-sources a { color: var(--dim); text-decoration-color: var(--line-2); }
.art-sources a:hover { color: var(--purple-ink); }

.art-related { margin-top: clamp(56px, 7vw, 88px); }

/* sticky bar (SC.stickyBar) */
.buybar img { flex: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .bl-top { grid-template-columns: minmax(0, 1fr); }
  .lead { min-height: 380px; }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ad-in { flex-direction: column; align-items: stretch; }
  .ad-act { flex-direction: row; flex-wrap: wrap; }
  .ad-act .btn { flex: 1 1 auto; }
  .ad-art { width: 90px; align-self: flex-start; }
  .prose .ad-galet .ad-in { grid-template-columns: minmax(0, 1fr); }
  .prose .ad-art { width: 80px; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guide-go { display: none; }
}
@media (max-width: 620px) {
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .lead { min-height: 0; padding-top: 150px; }
  .lead-art { width: 120px; }
  .bl-sec-head { align-items: center; }
  .art-body { font-size: 1.02rem; line-height: 1.75; }
  .art-body .tbl, .art-body div[style*="overflow"] { margin-inline: calc(-1 * var(--gut) + 4px); border-radius: var(--r-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .post:hover, .guide:hover .guide-go { transform: none; }
}
@media (max-width: 480px) { .buybar .bb-long { display: none; } }

/* Sections: News and Education */
.bl-secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.sec-tab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--dim); text-decoration: none; transition: border-color .2s, background .2s; }
.sec-tab > .ico { width: 22px; height: 22px; flex: none; color: var(--purple-ink); }
.sec-tab b { display: block; font: 600 1.05rem var(--display); color: var(--text); }
.sec-tab small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.45; }
.sec-tab .n { margin-left: auto; font: 600 .75rem var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.sec-tab:hover { border-color: var(--line-2); }
.sec-tab[aria-current="page"] { border-color: var(--purple-br); background: color-mix(in srgb, var(--purple) 12%, var(--card)); }
.bl-secs + .bl-cats { margin-top: 16px; }
.bl-sec-head h2 > .ico { width: 20px; height: 20px; color: var(--purple-ink); }
.bl-sec-sub { max-width: 62ch; margin: -6px 0 18px; color: var(--dim); }
.bl-app { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.bl-app .label { margin: 0; }
.bl-app-links { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-app-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--text); font: 500 .8rem var(--mono); text-decoration: none; }
.bl-app-links a:hover { border-color: var(--purple-br); }
.bl-app-links .ico { width: 15px; height: 15px; color: var(--purple-ink); }
.bl-app + .guide, .bl-sec-sub + .bl-app + .guide { margin-bottom: 18px; }
@media (max-width: 640px) { .bl-secs { grid-template-columns: 1fr; } .sec-tab small { display: none; } }
