*,
*::before,
*::after { box-sizing: border-box; }
html {
  font-size: var(--type-root);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  background: var(--ink);
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-copy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
}
input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; cursor: text; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
html.js [data-reveal] {
  opacity: 0;
}
html.js-failed [data-reveal],
html.no-js [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}
.rv-word {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  overflow: clip;
  padding: 0.14em 0;
  margin: -0.14em 0;
}
.rv-out,
.rv-in { display: inline-block; }
html.js-failed .rv-out,
html.js-failed .rv-in {
  transform: none !important;
  visibility: visible !important;
}
.rv-clip {
  display: block;
  overflow: hidden;
  overflow: clip;
  padding: 0.14em 0;
  margin: -0.14em 0;
}
.rv-clip > .rv-out,
.rv-clip > .rv-out > .rv-in { display: block; }
[data-reveal-brackets].rv-bracketed::before,
[data-reveal-brackets].rv-bracketed::after { content: none; }
.surface-light {
  background: var(--paper);
  color: var(--ink);
  --surface-fg: var(--ink);
  --surface-bg: var(--paper);
  --surface-muted: var(--muted);
  --hairline: var(--hairline-on-light);
  --hairline-soft: var(--hairline-on-light-soft);
}
.surface-dark {
  background: var(--surface-dark-bg);
  color: var(--surface-dark-fg);
  --surface-fg: var(--paper);
  --surface-bg: var(--ink);
  --surface-muted: var(--muted-on-dark);
  --hairline: var(--hairline-on-dark);
  --hairline-soft: var(--hairline-on-dark-soft);
}
.muted { color: var(--surface-muted, var(--muted)); }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section {
  position: relative;
  padding-block: var(--space-block);
}
.measure { max-width: var(--measure); }
.flow > * + * { margin-block-start: var(--space-sm); }
.flow > h2 + *,
.flow > h3 + * { margin-block-start: var(--space-md); }
.flow > * + h2 { margin-block-start: var(--space-lg); }
.list-decimal { list-style: decimal; padding-left: 1.4em; }
.list-disc { list-style: disc; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  font-size: var(--text-display-md);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
h2 {
  font-size: var(--text-display-sm);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
h3 {
  font-size: var(--text-display-xs);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-tight);
}
h4 {
  font-family: var(--font-text);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-copy);
}
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  font-weight: 500;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);
  color: var(--surface-muted, var(--muted));
}
.eyebrow::before { content: "(\00a0"; }
.eyebrow::after { content: "\00a0)"; }
.eyebrow-caps {
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}
.hairline {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
  width: 100%;
}
.hairline-soft { border-top-color: var(--hairline-soft); }
a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
a:where(.link-underline) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
@media (hover: hover) {
  a:hover { opacity: 0.7; }
}
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-bar);
}
[tabindex="-1"]:focus-visible { outline: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: var(--dur-quick) !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] {
    transform: none !important;
    transition: opacity var(--dur-feedback) var(--ease-out) !important;
  }
}
.btn {
  --btn-halo: var(--btn-halo-light);
  --btn-fill-bg: var(--ink);
  --btn-fill-fg: var(--paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: var(--btn-h);
  padding-inline: var(--btn-pad-x);
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: var(--btn-text);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-copy);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              opacity var(--dur-base) var(--ease-out),
              scale var(--dur-quick) var(--ease-out);
}
.surface-dark .btn {
  --btn-halo: var(--btn-halo-dark);
  --btn-fill-bg: var(--paper);
  --btn-fill-fg: var(--ink);
}
.btn[data-cta] {
  --btn-fill-bg: var(--accent);
  --btn-fill-fg: var(--ink);
}
.btn.is-press { scale: var(--btn-press); }
@media (hover: hover) {
  .btn:hover { opacity: 1; }
  html:not(.btn-ready) .btn:hover { opacity: 0.88; }
}
.btn::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--btn-halo-gap));
  z-index: -1;
  border-radius: inherit;
  border: 1px solid color-mix(in oklab, var(--accent) calc(var(--btn-near, 0) * 100%), var(--btn-halo));
  opacity: calc(0.6 + 0.4 * var(--btn-near, 0));
  translate: var(--btn-hx, 0px) var(--btn-hy, 0px);
  pointer-events: none;
}
.btn-in {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  translate: var(--btn-lx, 0px) var(--btn-ly, 0px);
}
html.btn-ready .btn > .btn-in { opacity: 0; }
.btn-fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: var(--btn-fill-bg);
  clip-path: inset(50%);
  pointer-events: none;
}
.btn-t {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  padding-inline: inherit;
  border-radius: inherit;
  pointer-events: none;
}
.btn-t.is-lit {
  color: var(--btn-fill-fg);
  clip-path: inset(50%);
}
.btn-wave {
  position: absolute;
  inset: calc(-1 * var(--btn-halo-gap));
  z-index: -1;
  border-radius: inherit;
  outline: var(--btn-wave-w) solid var(--btn-wave);
  outline-offset: 0;
  opacity: 0;
  translate: var(--btn-hx, 0px) var(--btn-hy, 0px);
  pointer-events: none;
  animation: btn-wave var(--btn-pulse) cubic-bezier(0.25, 0.6, 0.3, 1) infinite;
}
.btn-wave + .btn-wave { animation-delay: var(--btn-wave-gap); }
.surface-light .btn-wave {
  --btn-wave: color-mix(in oklab, var(--accent) 72%, var(--ink));
  --btn-wave-w: 2px;
}
@keyframes btn-wave {
  0%        { outline-offset: 0;                      opacity: 0.95; }
  30%       {                                         opacity: 0.6; }
  66%, 100% { outline-offset: var(--btn-wave-reach);  opacity: 0; }
}
.btn .dot {
  position: relative;
  flex: none;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.btn[data-cta] > .btn-t:not(.is-lit) .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  opacity: 0;
  animation: btn-ping var(--btn-pulse) var(--ease-out) infinite;
}
@keyframes btn-ping {
  0%       { transform: scale(1);   opacity: 0.75; }
  55%, 100% { transform: scale(3.4); opacity: 0; }
}
.btn-t.is-lit .dot {
  background: currentColor;
  box-shadow: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--btn-shadow-light);
}
.surface-dark .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: currentColor;
  box-shadow: inset 0 0 0 1px var(--hairline, var(--hairline-on-light));
}
.surface-dark .btn-ghost {
  background: var(--btn-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 42%, transparent);
}
@media (hover: hover) {
  html:not(.btn-ready) .btn-ghost:hover {
    opacity: 1;
    box-shadow: inset 0 0 0 1px currentColor;
  }
}
.btn-small {
  --btn-halo-gap: 0px;
  min-height: var(--btn-h-small);
  padding-inline: var(--btn-pad-x-small);
  font-size: var(--btn-text-small);
}
.btn-small::after { content: none; }
@media (max-width: 767px) {
  .btn {
    min-height: var(--btn-h-mobile);
  }
  .btn-small { min-height: var(--btn-h-small); }
  .btn-full {
    width: 100%;
  }
}
.burger {
  flex: none;
  width: var(--burger-size);
  height: var(--burger-size);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  padding: 0;
}
.surface-dark .burger {
  background: var(--paper);
  color: var(--ink);
}
.burger span {
  display: block;
  width: var(--burger-line-w);
  height: var(--burger-line-h);
  background: currentColor;
  transition: transform var(--dur-feedback) var(--ease-inout),
              opacity var(--dur-feedback) var(--ease-inout);
}
.wordmark {
  display: block;
  width: var(--wordmark-w);
  flex: none;
  color: currentColor;
}
.wordmark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
@media (max-width: 767px) {
  .wordmark { width: var(--wordmark-w-mobile); }
}
.menu-row {
  display: flex;
  align-items: center;
  min-height: var(--menu-row-h);
  padding-block: var(--space-3xs);
  border-bottom: 1px solid var(--hairline, var(--hairline-on-dark));
  font-family: var(--font-display);
  font-size: var(--text-display-xs);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
  color: inherit;
}
.menu-row-meta {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
}
svg { fill: currentColor; }
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}
.icon svg { fill: currentColor; }
.nav-shell {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: var(--z-pill);
  width: min(var(--nav-w-max), max(var(--nav-w-min), calc(100vw - var(--nav-inset))));
  height: var(--nav-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--nav-r);
  background-color: var(--pill);
  color: var(--paper);
  --hairline: var(--hairline-on-dark);
}
@media (min-width: 768px) {
  html.js:not(.js-failed) .nav-shell { visibility: hidden; opacity: 0; }
}
@media (max-width: 767px) {
  .nav-shell {
    top: var(--nav-top-m);
    width: max(var(--nav-w-min), calc(100vw - var(--nav-inset-m)));
  }
}
.pillbar {
  position: relative;
  flex: 0 0 var(--nav-h);
  width: 100%;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 0 var(--nav-pad-x);
}
.nav-shell.is-menu-open .pillbar { box-shadow: inset 0 -1px 0 var(--hairline-on-dark-soft); }
.pillbar .wordmark {
  width: var(--nav-wordmark-w);
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
}
.pillbar .btn { color: currentColor; }
.pillbar > * { transition: none; }
.pillbar .burger { background: transparent; color: currentColor; }
.nav-shell .burger span { transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-shell.is-menu-open .burger span { transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1); }
.nav-shell.is-menu-open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-shell.is-menu-open .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 767px) {
  .pillbar { padding: 0 10px 0 16px; }
  .pillbar .wordmark { width: 76px; }
}
@media (max-width: 359px) {
  .pillbar { padding: 0 6px 0 12px; gap: 4px; }
  .pillbar .wordmark { width: 62px; }
  .pillbar .btn { padding-inline: 9px; }
}
.menu {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar { display: none; }
.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(8, minmax(var(--menu-row-min), 1fr)) var(--menu-meta-h) auto;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
}
.menu-list > li { min-width: 0; }
.menu-list > li:nth-last-child(n+4) { grid-column: 1 / -1; }
@media (max-height: 723px) {
  :root { --menu-row-min: 56px; }
  .nav-shell .menu .menu-cta { min-height: 48px; }
}
.nav-shell .menu-row:not(.menu-row-meta) {
  position: relative;
  justify-content: center;
  height: 100%;
  min-height: var(--menu-row-min);
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--hairline-on-dark-soft);
  font-size: var(--menu-title-size);
  line-height: 0.92;
  white-space: nowrap;
  color: var(--paper);
  transition: color 350ms ease;
}
.nav-shell .menu-row:not(.menu-row-meta):hover,
.nav-shell .menu-row:not(.menu-row-meta):focus-visible { opacity: 1; color: var(--accent); }
.menu-list > li.menu-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px var(--pad-x);
  border-bottom: 1px solid var(--hairline-on-dark-soft);
}
.nav-shell .menu .menu-cta {
  --btn-halo: var(--btn-halo-dark);
  min-height: clamp(56px, 7vh, 76px);
  padding-inline: clamp(26px, 2.4vw, 40px);
  background: color-mix(in oklab, var(--paper) 7%, var(--ink));
  color: var(--paper);
  font-size: clamp(17px, 1.5vw, 22px);
  box-shadow: none;
  transition-property: scale;
}
.nav-shell .menu .menu-cta > .btn-wave { display: none; }
.nav-shell .menu .menu-cta[data-cta] > .btn-t .dot::after { animation: none; opacity: 0; }
.menu-title { position: relative; display: block; overflow: hidden; padding: 0 0.06em; line-height: 1.3; }
.menu-title-l { display: block; }
.menu-title-l.is-accent { position: absolute; inset: 0; padding: inherit; color: var(--accent); }
.menu-list > li:nth-last-child(-n+3) { display: flex; align-items: center; }
.menu-list > li:nth-last-child(3) { justify-content: flex-end; padding-right: 6px; }
.menu-list > li:nth-last-child(2) { justify-content: flex-start; padding-left: 6px; }
.menu-list > li:nth-last-child(1) { grid-column: 1 / -1; justify-content: center; padding: 0 0 20px; }
.menu-list > li:nth-last-child(3) .menu-row-meta,
.menu-list > li:nth-last-child(2) .menu-row-meta { min-width: 8.6em; }
.menu-list > li:nth-last-child(1) .menu-row-meta { min-width: calc(17.2em + 12px); }
.nav-shell .menu-row-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  height: 52px;
  min-height: 0;
  padding: 0 1.2em;
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  font-family: var(--font-pixel);
  font-size: clamp(16px, 4.4vw, 20px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  transition: color 350ms ease, border-color 350ms ease, background-color 350ms ease;
}
.nav-shell .menu-row-meta[href^="https://t.me/"]::before,
.nav-shell .menu-row-meta[href^="https://max.ru/"]::before {
  content: '';
  flex: none;
  background: 50% 50% / contain no-repeat;
}
.nav-shell .menu-row-meta[href^="https://t.me/"]::before {
  width: 1.9em;
  height: 1.9em;
  margin: 0 -0.49em 0 -0.36em;
  background-image: url("../../img/messengers/telegram-mono.svg");
}
.nav-shell .menu-row-meta[href^="https://max.ru/"]::before {
  width: 1.05em;
  height: 1.05em;
  background-image: url("../../img/messengers/max-mono.svg");
}
.nav-shell .menu-row-meta:focus-visible {
  opacity: 1;
  color: var(--paper);
  border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
@media (hover: hover) {
  .nav-shell .menu-row-meta:hover {
    opacity: 1;
    color: var(--paper);
    border-color: color-mix(in oklab, var(--accent) 70%, transparent);
    background: color-mix(in oklab, var(--paper) 8%, transparent);
  }
}
@media (max-width: 767px) {
  .nav-shell .menu-row:not(.menu-row-meta) { font-size: var(--menu-title-size-m); }
}
.nav-shell.is-static-open {
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
  background-color: var(--surface-dark-bg);
}
html:not(.nav-ready) .pillbar .burger { visibility: hidden; }
html { scrollbar-gutter: stable; }
html.nav-locked { overflow: hidden; }
.cta-always {
  --btn-halo: var(--btn-halo-dark);
  position: fixed;
  right: var(--pad-x);
  bottom: var(--cta-always-bottom);
  z-index: var(--z-cta-always);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark), var(--btn-shadow-light);
  visibility: hidden;
  opacity: 0;
  transition: none;
}
@media (max-width: 767px) {
  .cta-always { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-shell,
  .nav-shell .menu,
  .nav-shell .pillbar > *,
  .nav-shell .menu .menu-cta,
  .cta-always { transition-property: none !important; }
  .nav-shell .menu-row { transition-property: color !important; }
}
.s12 {
  position: relative;
  background: var(--surface-dark-bg);
  color: var(--surface-dark-fg);
}
.s12-top {
  position: relative;
  z-index: 5;
  padding: var(--s12-pad-y) var(--s12-pad-x);
  background: var(--surface-dark-bg);
}
.s12-line {
  display: block;
  height: 1px;
  margin-bottom: 18px;
  background: var(--hairline-on-dark);
  transform-origin: 0 50%;
}
.s12-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--space-sm);
  margin: 0 0 40px;
  padding-top: 30px;
  font-size: var(--s12-info-size);
  line-height: 1.2;
  letter-spacing: var(--s12-info-track);
  text-transform: uppercase;
}
.s12-clip {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  overflow: clip;
  padding: 0.14em 0;
  margin: -0.14em 0;
}
.s12-in { display: inline-block; }
.s12-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.s12-desc {
  max-width: var(--s12-desc-max);
  margin-bottom: 32px;
  font-size: var(--s12-desc-size);
  line-height: 1.65;
  color: var(--muted-on-dark);
}
.s12-mail,
.s12-policy { display: block; width: fit-content; }
.s12-mail { margin-top: 8px; }
.s12-cookie {
  display: block;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: opacity var(--dur-base) var(--ease-out);
}
@media (hover: hover) { .s12-cookie:hover { opacity: 0.7; } }
.s12-cta-row { margin-bottom: 32px; }
.s12 .btn.s12-cta {
  --btn-halo: var(--btn-halo-dark);
  min-height: 56px;
  padding-inline: clamp(26px, 2.4vw, 40px);
  background: color-mix(in oklab, var(--paper) 7%, var(--ink));
  color: var(--paper);
  font-size: clamp(17px, 1.5vw, 22px);
  box-shadow: none;
}
.s12 .btn.s12-cta > .btn-wave { display: none; }
.s12 .btn.s12-cta[data-cta] > .btn-t .dot::after { animation: none; opacity: 0; }
.s12-c {
  overflow: hidden;
  overflow-x: visible;
  overflow-y: clip;
  padding-block: 0.14em;
  margin-block: -0.14em;
}
.s12-c1 { font-size: var(--s12-c1-size); margin-bottom: 4px; }
.s12-c2 { font-size: var(--s12-c2-size); }
.s12-c-in {
  display: inline-block;
  line-height: max(1.2em, 44px);
  font-weight: 400;
}
.s12-c a {
  display: inline-block;
  min-width: 44px; }
.s12-c a:focus-visible { outline-offset: -2px; }
.s12-right { justify-self: end; text-align: right; }
.s12-pages {
  max-width: 28em;
  font-size: var(--s12-pages-size);
  line-height: 1.6;
  letter-spacing: var(--s12-pages-track);
  text-transform: uppercase;
}
.s12-pages { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.s12-pages .s12-sep { display: none; }
.s12-bridge {
  position: absolute;
  right: 6%;
  bottom: 0;
  z-index: 20;
  width: var(--s12-bridge-size);
  height: var(--s12-bridge-size);
  color: var(--surface-dark-fg);
  transform: translateY(50%);
  pointer-events: none;
}
.s12-bridge-svg { width: 100%; height: 100%; transform-origin: 50% 50%; }
.s12-band {
  position: relative;
  z-index: 1;
  height: var(--s12-band-h);
  overflow: hidden;
  background: var(--s12-band-bg);
  clip-path: inset(0);
}
.s12-still {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-dark-fg);
  pointer-events: none;
}
.s12-mark-svg {
  width: var(--s12-mark-w);
  height: auto;
  overflow: visible;
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.js-failed) .s12.is-ready .s12-still {
    position: fixed;
    inset: auto 0 0 0;
    height: var(--s12-band-h);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .s12.is-armed .s12-line { transform: scaleX(0); }
  html.js .s12.is-armed .s12-in { transform: translateY(110%); }
  html.js .s12.is-armed .s12-desc { clip-path: inset(0 0 100% 0); transform: translateY(20px); }
  html.js .s12.is-armed .s12-c-in { transform: translateY(105%); }
  html.js .s12.is-armed .s12-cta-row { opacity: 0; visibility: hidden; transform: translateY(20px); }
  html.js .s12.is-armed .s12-bridge-svg { transform: scale(0) rotate(-20deg); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .s12.is-armed:not(.is-shown) .s12-top { opacity: 0; }
  html.js .s12 .s12-top { transition: opacity var(--dur-feedback) var(--ease-out) !important; }
}
html.js-failed .s12 .s12-line,
html.js-failed .s12 .s12-in,
html.js-failed .s12 .s12-desc,
html.js-failed .s12 .s12-c-in {
  transform: none !important;
  clip-path: none !important;
}
html.js-failed .s12 .s12-bridge { transform: translateY(50%) !important; }
html.js-failed .s12 .s12-bridge-svg,
html.js-failed .s12 .s12-still { transform: none !important; }
html.js-failed .s12 .s12-top { opacity: 1 !important; }
html.js-failed .s12 .s12-cta-row { opacity: 1 !important; visibility: visible !important; transform: none !important; }
@media (max-width: 767px) {
  .s12-top { padding: 24px var(--pad-x) calc(24px + var(--s12-bridge-size) / 2); }
  .s12-info { gap: 4px var(--space-xs); font-size: 12px; letter-spacing: 1px; margin-bottom: 28px; }
  .s12-main { grid-template-columns: 1fr; }
  .s12-right { justify-self: start; text-align: left; margin-top: 40px; }
  .s12-pages { font-size: 14px; letter-spacing: 1px; }
}
.chooser {
  position: fixed;
  inset: 0;
  z-index: var(--z-chooser);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(6, 7, 9, 0);
  color: var(--surface-dark-fg);
  color-scheme: dark;
  transition: background-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out), -webkit-backdrop-filter 0.35s var(--ease-out);
}
.chooser.is-in {
  background: rgba(6, 7, 9, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.chooser.is-instant { transition: none; }
html.chooser-open { overflow: hidden; overscroll-behavior: none; }
.chooser-panel {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 24px;
  background: var(--surface-dark-bg);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--paper) 9%, transparent),
              0 0 0 1px var(--hairline-on-dark-soft),
              0 40px 80px -30px rgba(0, 0, 0, 0.85);
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.4s var(--ease-out), translate 0.6s var(--ease-out);
}
.chooser.is-in .chooser-panel { opacity: 1; translate: 0 0; }
.chooser-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.chooser-t {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display-xs);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
}
.chooser-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px -6px 0 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark);
  color: var(--muted-on-dark);
  transition: color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.chooser-x svg,
.chooser-logo-ico svg,
.chooser-go {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chooser-x svg { width: 20px; height: 20px; stroke-width: 1.8; }
@media (hover: hover) {
  .chooser-x:hover { color: var(--surface-dark-fg); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 45%, transparent); }
}
.chooser-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chooser-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(18px, 2vw, 26px);
}
.chooser-app {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 76px;
  padding: 16px;
  border-radius: 20px;
  background: var(--s11-panel-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  color: inherit;
  text-decoration: none;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.4s var(--ease-out), translate 0.5s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.chooser.is-in .chooser-app { opacity: 1; translate: 0 0; }
.chooser.is-in .chooser-app:nth-child(2) { transition-delay: 0.05s; }
.chooser.is-in .chooser-app:nth-child(3) { transition-delay: 0.1s; }
.chooser.is-in .chooser-app:nth-child(4) { transition-delay: 0.15s; }
@media (hover: hover) {
  .chooser.is-in .chooser-app:hover {
    translate: 0 -3px;
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 32%, transparent), 0 24px 40px -24px rgba(0, 0, 0, 0.8);
    transition-delay: 0s;
  }
  .chooser-app:hover .chooser-go { color: var(--accent); translate: 2px -2px; }
  .chooser-app-form:hover .chooser-go { translate: 0 2px; }
}
.chooser-app:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chooser-logo { flex: none; width: 40px; height: 40px; }
.chooser-logo-ico {
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  color: var(--surface-dark-fg);
}
.chooser-logo-ico svg { width: 22px; height: 22px; stroke-width: 1.6; }
.chooser-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.chooser-sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted-on-dark);
}
.chooser-go {
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  stroke-width: 1.8;
  color: var(--muted-on-dark);
  transition: color 0.3s var(--ease-out), translate 0.3s var(--ease-out);
}
@media (max-width: 599px), (hover: none) {
  .chooser.is-in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 7, 9, 0.84); }
}
@media (max-width: 599px) {
  .chooser { align-items: end; padding: 12px; }
  .chooser-panel { border-radius: 20px; }
  .chooser-apps { grid-template-columns: 1fr; gap: 10px; }
  .chooser-app { min-height: 68px; padding: 12px 14px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .chooser,
  .chooser-panel,
  .chooser-app { transition: none; }
  .chooser-panel,
  .chooser-app { translate: none; }
}
.fx-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-grain);
  pointer-events: none;
  mix-blend-mode: screen;
  contain: strict;
  opacity: 0;
  transition: opacity 200ms linear;
}
.fx-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
}
.fx-px {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--accent);
  opacity: 0;
}
html.fx-cursor-on,
html.fx-cursor-on * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='3' y='3' width='10' height='10' fill='%230e1116'/%3E%3Crect x='4' y='4' width='8' height='8' fill='%23f0a81a'/%3E%3C/svg%3E") 8 8, default !important;
  cursor: -webkit-image-set(url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='3' y='3' width='10' height='10' fill='%230e1116'/%3E%3Crect x='4' y='4' width='8' height='8' fill='%23f0a81a'/%3E%3C/svg%3E") 1x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='3' y='3' width='10' height='10' fill='%230e1116'/%3E%3Crect x='4' y='4' width='8' height='8' fill='%23f0a81a'/%3E%3C/svg%3E") 2x) 8 8, default !important;
}
html.fx-cursor-on input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]),
html.fx-cursor-on textarea,
html.fx-cursor-on [contenteditable="true"] { cursor: text !important; }
.fx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fx-cursor.is-on { opacity: 1; }
.fx-cursor.is-on.is-hide { opacity: 0; transition-duration: 0.16s; }
.fx-c {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border: 0 solid #fff;
  will-change: transform;
}
.fx-c-tl { border-top-width: 2px; border-left-width: 2px; }
.fx-c-tr { border-top-width: 2px; border-right-width: 2px; }
.fx-c-bl { border-bottom-width: 2px; border-left-width: 2px; }
.fx-c-br { border-bottom-width: 2px; border-right-width: 2px; }
.fx-a {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 10px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform;
}
.fx-a-l { clip-path: polygon(0 4px, 2px 4px, 2px 2px, 4px 2px, 4px 0, 6px 0, 6px 10px, 4px 10px, 4px 8px, 2px 8px, 2px 6px, 0 6px); }
.fx-a-r { clip-path: polygon(6px 4px, 4px 4px, 4px 2px, 2px 2px, 2px 0, 0 0, 0 10px, 2px 10px, 2px 8px, 4px 8px, 4px 6px, 6px 6px); }
.fx-cursor.is-drag .fx-a { opacity: 1; }
.ck {
  position: fixed;
  left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  bottom: calc(var(--pad-y) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--z-chooser, 150) - 10);
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 12px 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: var(--tracking-copy);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.ck.is-in { opacity: 1; transform: none; }
.ck-t {
  flex: 1 1 auto;
  margin: 0;
}
.ck-t a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in oklab, var(--paper) 45%, transparent);
  white-space: nowrap;
}
.ck-acts {
  display: flex;
  gap: 8px;
  flex: none;
}
.ck-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .ck-btn:hover { border-color: var(--accent); background: color-mix(in oklab, var(--paper) 6%, transparent); }
  .ck-t a:hover { text-decoration-color: var(--accent); }
}
.ck-btn:active { transform: scale(0.98); }
.ck :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-bar);
}
.ck-withdraw {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 24px 0;
  padding: 16px 20px;
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-card);
  scroll-margin-top: 96px;
}
.ck-w-t {
  flex: 1 1 240px;
  margin: 0;
}
.ck-w-btn { flex: none; }
.ck-settings {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
@media (min-width: 768px) {
  .ck {
    margin-inline: 0;
    right: calc(max(var(--pad-x), env(safe-area-inset-right, 0px)) + 320px);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .ck {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
  }
  .ck-btn { flex: 1 1 0; }
}
@media (max-width: 767px) {
  .ck {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.35;
  }
  .ck-btn { flex: 1 1 0; }
}
@media (max-width: 360px) {
  .ck {
    left: max(8px, env(safe-area-inset-left, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    padding: 8px 10px;
    line-height: 1.3;
  }
  .ck-btn { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck { transition: none; transform: none; }
}
@media print {
  .ck, .ck-withdraw { display: none; }
}
body {
  background: var(--surface-dark-bg);
  color: var(--surface-dark-fg);
  --surface-fg: var(--paper);
  --surface-bg: var(--ink);
  --surface-muted: var(--muted-on-dark);
  --hairline: var(--hairline-on-dark);
  --hairline-soft: var(--hairline-on-dark-soft);
}
main,
.bl-preview {
  --panel: #16191e;
  --code-bg: #0b0d11;
  --prose-ink: color-mix(in oklab, var(--paper) 90%, var(--ink));
  --meta-ink: color-mix(in oklab, var(--paper) 82%, var(--ink));
  --hairline-hover: rgba(238, 240, 243, 0.32);
  --font-black: 'Unbounded Black', 'Unbounded', 'Arial Black', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, 'SFMono-Regular', Menlo, 'Courier New', monospace;
  --pixel-size: clamp(16px, 14.6px + 0.2vw, 18px);
  --tracking-pixel: 0.15em;
  --grid-gap: max(14px, 1.4vw);
  --radius-panel: 20px;
  --radius-big: 24px;
  --nav-clear: calc(var(--nav-top, 30px) + var(--nav-h, 64px));
  --bl-pad-x: var(--sec-pad-x, 4vw);
  --bl-col-gap: var(--sec-col-gap, 2vw);
  --bl-sp-2xs: clamp(8px, 6px + 0.5vw, 11px);
  --bl-sp-xs: clamp(12px, 9px + 0.7vw, 17px);
  --bl-sp-sm: clamp(16px, 12px + 1vw, 22px);
  --bl-sp-md: clamp(24px, 18px + 1.5vw, 34px);
  --bl-sp-lg: clamp(36px, 28px + 2vw, 50px);
  --bl-sp-xl: clamp(56px, 44px + 3vw, 80px);
  --bl-sp-block: clamp(96px, 64px + 8vw, 176px);
  --bl-title-size: clamp(34px, 4.4vw, 76px);
}
@media (max-width: 767px) {
  main,
  .bl-preview {
    --nav-clear: calc(var(--nav-top-m, 16px) + var(--nav-h, 64px));
    --bl-pad-x: 16px;
  }
}
::selection { background: var(--accent); color: var(--ink); }
@media (min-width: 768px) {
  html.js:not(.js-failed) .nav-shell { visibility: visible; opacity: 1; }
}
.bl-skip {
  position: absolute;
  left: var(--bl-pad-x);
  top: -100px;
  z-index: calc(var(--z-pill) + 1);
  padding: 0.6em 1em;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-bar);
}
.bl-skip:focus { top: var(--bl-sp-2xs); }
.nav-shell .menu-row[aria-current]:not(.menu-row-meta) { color: var(--accent); }
.pillbar > .btn[data-pulse] { --btn-wave-reach: 7px; --btn-wave-w: 2px; }
html.nav-locked .pillbar > .btn[data-pulse] > .btn-wave,
html.chooser-open .pillbar > .btn[data-pulse] > .btn-wave { display: none; }
.s12-pages a[aria-current],
:root .s12-pages a[aria-current] { color: var(--accent); }
.bl-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.nav-shell.is-menu-open .bl-progress { opacity: 0; }
@keyframes bl-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.bl-label,
.bl-crumbs,
.bl-card-top,
.bl-card-foot,
.bl-feed-t,
.bl-chip,
.bl-meta,
.bl-pn-k {
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
}
.bl-dot {
  position: relative;
  flex: none;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.bl-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.7em;
  vertical-align: 0.2em;
  background: currentColor;
  opacity: 0.7;
}
.bl-nw { white-space: nowrap; }
.bl-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7em;
  color: var(--muted-on-dark);
}
.bl-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--paper);
}
.bl-crumbs [aria-current] { color: var(--muted-on-dark); }
.bl-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  padding: max(150px, calc(var(--nav-clear) + 9vh)) var(--bl-pad-x) var(--bl-sp-xl);
}
.bl-head .bl-crumbs {
  grid-column: 1 / -1;
  margin-bottom: var(--bl-sp-md);
}
.bl-title {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  align-items: end;
  font-size: inherit;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
}
.bl-title-word {
  grid-column: 1 / 10;
  display: block;
  overflow: hidden;
  overflow: clip;
  padding: 0.06em 0 0.04em;
  margin: -0.06em 0 -0.04em;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(88px, 18.5vw, 340px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bl-title-in {
  display: inline-block;
  animation: bl-rise 0.9s var(--ease-out) both;
}
@keyframes bl-rise {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
.bl-caret {
  display: inline-block;
  width: max(3px, 0.028em);
  height: 0.68em;
  margin-left: 0.08em;
  background: var(--accent);
  animation: bl-blink 1.05s steps(2, jump-none) 0.9s 4;
}
@keyframes bl-blink {
  50% { opacity: 0; }
}
.bl-title-sub {
  grid-column: 10 / 13;
  display: block;
  padding-bottom: 0.2em;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  animation: bl-in 0.8s var(--ease-out) 0.35s both;
}
.bl-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  align-items: end;
  margin-top: var(--bl-sp-lg);
  animation: bl-in 0.8s var(--ease-out) 0.5s both;
}
.bl-lead {
  grid-column: 1 / 6;
  max-width: 30em;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  color: var(--muted-on-dark);
}
.bl-author {
  grid-column: 10 / 13;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.35;
  color: var(--muted-on-dark);
}
.bl-author img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--hairline-on-dark);
}
.bl-author b { font-weight: 600; color: var(--paper); }
.bl-rhead {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  padding: max(150px, calc(var(--nav-clear) + 8vh)) var(--bl-pad-x) var(--bl-sp-lg);
}
.bl-rhead > * { grid-column: 1 / -1; }
.bl-rhead .bl-crumbs { margin-bottom: var(--bl-sp-md); }
.bl-rhead-t,
.bl-art-t {
  grid-column: 1 / 12;
  max-width: 17em;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 86px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  animation: bl-in 0.8s var(--ease-out) both;
}
.bl-rhead-p,
.bl-art-lead {
  grid-column: 1 / 9;
  max-width: 38em;
  margin-top: var(--bl-sp-md);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  animation: bl-in 0.8s var(--ease-out) 0.15s both;
}
.bl-rhead-intro {
  grid-column: 1 / 8;
  max-width: 40em;
  margin-top: var(--bl-sp-sm);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--muted-on-dark);
  animation: bl-in 0.8s var(--ease-out) 0.3s both;
}
.bl-rhead-intro p + p { margin-top: 0.8em; }
.bl-feed-wrap { padding: 0 var(--bl-pad-x) var(--bl-sp-block); }
.bl-feed-wrap,
.bl-art-body { scroll-margin-top: calc(var(--nav-clear) + 16px); }
.bl-feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bl-sp-xs) var(--bl-sp-sm);
  min-height: 72px;
  padding-top: var(--bl-sp-xs);
  margin-bottom: var(--bl-sp-md);
  border-top: 1px solid var(--hairline-on-dark);
}
.bl-feed-t {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-right: auto;
  color: var(--muted-on-dark);
}
.bl-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 320px);
  height: var(--tap-min);
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  transition: border-color 350ms ease, background-color 350ms ease;
}
.bl-search:focus-within {
  border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
.bl-search-in {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 var(--tap-min) 0 1.1em;
  border: 0;
  background: none;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1;
  color: var(--paper);
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}
.bl-search-in::placeholder { color: var(--muted-on-dark); opacity: 1; }
.bl-search-in::-webkit-search-cancel-button,
.bl-search-in::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.bl-search-in:focus { outline: none; }
.bl-search-x {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--tap-min);
  height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--muted-on-dark);
}
.bl-search-x svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.bl-search-x:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .bl-search-x:hover { color: var(--paper); }
}
.bl-search-n {
  min-height: 1.4em;
  margin: calc(-1 * var(--bl-sp-sm)) 0 var(--bl-sp-sm);
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  line-height: 1.4;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.bl-search-n:empty { display: none; }
.bl-empty {
  padding: var(--bl-sp-lg) 0;
  color: var(--muted-on-dark);
}
.bl-empty-t {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.5;
}
.bl-empty-x {
  display: inline-block;
  margin-top: 0.8em;
  min-height: var(--tap-min);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  color: var(--paper);
  transition: opacity var(--dur-base) var(--ease-out);
}
@media (hover: hover) { .bl-empty-x:hover { opacity: 0.7; } }
.bl-chips {
  position: relative;
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bl-chips::-webkit-scrollbar { display: none; }
.bl-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: var(--tap-min);
  padding: 0 1.1em;
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  white-space: nowrap;
  color: var(--paper);
  -webkit-tap-highlight-color: transparent;
  transition: color 350ms ease, border-color 350ms ease, background-color 350ms ease;
}
.bl-chip-n { color: var(--muted-on-dark); }
.bl-chip[aria-current] {
  border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
.bl-chip[aria-current] .bl-chip-n { color: var(--accent); }
.bl-chip:focus-visible { outline-offset: -2px; border-radius: var(--radius-pill); }
@media (hover: hover) {
  .bl-chip:hover { opacity: 1; }
  .bl-chip:not([aria-current]):hover { border-color: color-mix(in oklab, var(--paper) 45%, transparent); }
}
.bl-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.bl-card {
  --card-r: var(--radius-panel);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(300px, 25vw, 420px);
  padding: clamp(22px, 2vw, 34px);
  border-radius: var(--card-r);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  transition: translate 0.35s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bl-card.is-in {
  animation: bl-in 0.5s var(--ease-out) both;
  animation-delay: var(--rv-d, 0ms);
}
.bl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-on-dark);
}
.bl-rub {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  color: var(--paper);
}
.bl-card .bl-rub { position: relative; }
.bl-card .bl-rub .bl-dot {
  position: absolute;
  left: -15px;
  top: 50%;
  margin-top: -4px;
  transform: scale(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.bl-card.is-hot .bl-rub .bl-dot { transform: scale(1); }
.bl-new { color: var(--accent); }
.bl-meta { color: var(--meta-ink); }
.bl-card-date { color: var(--meta-ink); }
.bl-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 1.6em;
}
.bl-card-t {
  margin-top: var(--bl-sp-lg);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.bl-card-link { color: inherit; }
.bl-card-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-radius: var(--card-r);
}
@media (hover: hover) {
  .bl-card-link:hover { opacity: 1; }
}
.bl-card-link:focus-visible { outline: none; }
.bl-card-link:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.bl-card-x {
  display: -webkit-box;
  margin-top: var(--bl-sp-xs);
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: clamp(14px, 1vw, 16.5px);
  line-height: 1.55;
  color: var(--muted-on-dark);
}
.bl-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: var(--bl-sp-sm);
  border-top: 1px solid var(--hairline-on-dark-soft);
  color: var(--muted-on-dark);
}
.bl-card > .bl-card-x { margin-bottom: var(--bl-sp-md); }
.bl-go {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted-on-dark);
  transition: color 0.3s var(--ease-out), translate 0.3s var(--ease-out);
}
.bl-card.is-hot {
  translate: 0 -3px;
  box-shadow: inset 0 0 0 1px var(--hairline-hover), 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}
.bl-card.is-hot .bl-go { color: var(--accent); translate: 2px -2px; }
@media (hover: hover) {
  .bl-card:hover {
    translate: 0 -3px;
    box-shadow: inset 0 0 0 1px var(--hairline-hover), 0 24px 40px -24px rgba(0, 0, 0, 0.8);
  }
  .bl-card:hover .bl-go { color: var(--accent); translate: 2px -2px; }
  .bl-card:hover .bl-rub .bl-dot { transform: scale(1); }
}
.bl-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--bl-col-gap);
  min-height: clamp(280px, 20vw, 380px);
  padding: clamp(24px, 2.6vw, 44px);
}
.is-featured .bl-card-top { grid-column: 1 / -1; }
.is-featured .bl-card-t {
  grid-column: 1 / 8;
  grid-row: 2 / 4;
  align-self: end;
  margin-top: var(--bl-sp-xl);
  font-size: clamp(30px, 3.6vw, 64px);
  line-height: 1.02;
}
.is-featured .bl-card-side {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: var(--bl-sp-md);
  margin-top: var(--bl-sp-lg);
}
.is-featured .bl-card-x {
  margin-top: 0;
  -webkit-line-clamp: 6;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.5;
  color: var(--paper);
}
.is-featured .bl-card-foot { margin-top: 0; }
.bl-views { display: inline; }
.bl-eye {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 9px;
  margin-right: 0.45em;
  vertical-align: -1px;
  border: 1.5px solid currentColor;
  border-radius: 100% / 100%;
  box-sizing: border-box;
}
.bl-eye::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: currentColor;
}
.bl-cta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  row-gap: var(--bl-sp-md);
  padding: var(--bl-sp-xl) var(--bl-pad-x) var(--bl-sp-block);
}
.bl-cta-t {
  grid-column: 1 / 8;
  font-family: var(--font-display);
  font-size: var(--bl-title-size);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.bl-cta-side {
  grid-column: 8 / 13;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bl-sp-md);
}
.bl-cta-p {
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.5;
}
.bl-cta-p a { color: var(--paper); }
.bl-cta-note {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.5;
  color: var(--muted-on-dark);
}
.bl-art-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  padding: max(150px, calc(var(--nav-clear) + 8vh)) var(--bl-pad-x) var(--bl-sp-lg);
}
.bl-art-head > * { grid-column: 1 / -1; }
.bl-art-head .bl-crumbs { margin-bottom: var(--bl-sp-md); }
.bl-art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: var(--bl-sp-md);
  color: var(--muted-on-dark);
}
.bl-art-meta .bl-rub {
  height: 36px;
  padding: 0 1em;
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  transition: color 350ms ease, border-color 350ms ease, background-color 350ms ease;
}
.bl-art-meta .bl-rub:focus-visible { outline-offset: -2px; border-radius: var(--radius-pill); }
@media (hover: hover) {
  .bl-art-meta .bl-rub:hover {
    opacity: 1;
    border-color: color-mix(in oklab, var(--accent) 70%, transparent);
    background: color-mix(in oklab, var(--paper) 8%, transparent);
  }
}
.bl-art-t { animation-delay: 0s; }
.bl-byline {
  grid-column: 1 / 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bl-sp-sm) var(--bl-sp-lg);
  margin-top: var(--bl-sp-lg);
  animation: bl-in 0.8s var(--ease-out) 0.3s both;
}
.bl-byline .bl-author { flex: 0 1 auto; }
.bl-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bl-sp-xs) var(--bl-sp-sm);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.4;
  color: var(--muted-on-dark);
}
.bl-strip-p { flex: 1 1 18em; max-width: 30em; }
.bl-strip .btn { flex: none; }
.bl-strip .btn[data-pulse] { --btn-wave-reach: 14px; --btn-wave-w: 2px; }
.bl-strip.is-mid {
  margin-block: 2.2em;
  padding: 1.1em 0;
  border-top: 1px solid var(--hairline-on-dark-soft);
  border-bottom: 1px solid var(--hairline-on-dark-soft);
}
.bl-strip.is-ref .btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  --btn-halo: var(--btn-halo-dark);
  --btn-fill-bg: var(--accent);
  --btn-fill-fg: var(--ink);
}
.bl-art-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--bl-col-gap);
  padding: var(--bl-sp-lg) var(--bl-pad-x) var(--bl-sp-xl);
  border-top: 1px solid var(--hairline-on-dark-soft);
}
.bl-toc {
  grid-column: 1 / 4;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-clear) + 28px);
  max-height: calc(100vh - var(--nav-clear) - 28px - 24px);
  max-height: calc(100dvh - var(--nav-clear) - 28px - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-left: -8px;
  padding: 0 6px 6px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-on-dark) transparent;
}
.bl-toc-t {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 14px;
  color: var(--muted-on-dark);
}
.bl-toc-list { border-top: 1px solid var(--hairline-on-dark-soft); }
.bl-toc-list li { border-bottom: 1px solid var(--hairline-on-dark-soft); }
.bl-toc-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  min-height: var(--tap-min);
  padding: 0.75em 0 0.75em 1.2em;
  font-size: clamp(14px, 0.95vw, 15.5px);
  line-height: 1.35;
  color: var(--muted-on-dark);
  transition: color 0.3s var(--ease-out);
}
.bl-toc-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.75em + 0.45em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}
.bl-toc-list a.is-on { color: var(--paper); }
.bl-toc-list a.is-on::before { transform: scale(1); }
.bl-toc-n {
  flex: none;
  min-width: 1.6em;
  font-family: var(--font-pixel);
  font-size: max(16px, 1.1em);
  letter-spacing: 0.05em;
  color: var(--accent);
}
@media (hover: hover) {
  .bl-toc-list a:hover { opacity: 1; color: var(--paper); }
}
.bl-toc-m { display: none; }
.bl-art-main {
  grid-column: 5 / 12;
  min-width: 0;
  max-width: 740px;
}
.bl-prose,
.bl-sum,
.bl-rhead-intro {
  -webkit-user-select: text;
  user-select: text;
  cursor: auto;
}
.bl-prose {
  font-size: clamp(16.5px, 15px + 0.25vw, 19px);
  line-height: 1.75;
  color: var(--prose-ink);
}
.bl-prose > * + * { margin-top: 1.15em; }
.bl-h {
  margin-top: 2.6em;
  padding-top: 1.1em;
  border-top: 1px solid var(--hairline-on-dark);
  scroll-margin-top: calc(var(--nav-clear) + 24px);
}
.bl-prose > .bl-h:first-child { margin-top: 0; }
.bl-h-num {
  display: inline-block;
  margin-bottom: 0.7em;
  font-family: var(--font-pixel);
  font-size: max(16px, 0.9em);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  color: var(--accent);
}
.bl-h h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: var(--tracking-display);
  color: var(--paper);
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  scroll-margin-top: calc(var(--nav-clear) + 24px);
}
.bl-prose .bl-h + * { margin-top: 0.9em; }
.bl-prose h3 {
  margin-top: 1.9em;
  font-family: var(--font-text);
  font-size: 1.18em;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--tracking-copy);
  color: var(--paper);
  scroll-margin-top: calc(var(--nav-clear) + 24px);
}
.bl-prose h3 + * { margin-top: 0.6em; }
.bl-prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: color-mix(in oklab, var(--paper) 45%, transparent);
  color: var(--paper);
  transition: text-decoration-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
@media (hover: hover) {
  .bl-prose a:hover { opacity: 1; color: var(--accent); text-decoration-color: var(--accent); }
}
.bl-prose strong { font-weight: 600; color: var(--paper); }
.bl-prose em { font-style: italic; }
.bl-prose ul > li,
.bl-sum li {
  position: relative;
  padding-left: 1.5em;
}
.bl-prose ul > li::before,
.bl-sum li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.bl-prose ol { counter-reset: bl; }
.bl-prose ol > li {
  position: relative;
  padding-left: 2.3em;
  counter-increment: bl;
}
.bl-prose ol > li::before {
  content: counter(bl, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.08em;
  font-family: var(--font-pixel);
  font-size: 1.1em;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.bl-prose li + li { margin-top: 0.55em; }
.bl-prose li > ul,
.bl-prose li > ol { margin-top: 0.55em; }
.bl-prose li > p { margin: 0; }
.bl-prose blockquote {
  margin-block: 2em;
  padding: 0.15em 0 0.15em 1.2em;
  border-left: 2px solid var(--accent);
  font-size: 1.28em;
  font-weight: 500;
  line-height: 1.45;
  color: var(--paper);
}
.bl-prose blockquote p + p { margin-top: 0.6em; }
.bl-prose blockquote footer {
  margin-top: 0.9em;
  font-family: var(--font-pixel);
  font-size: max(16px, 0.62em);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.bl-note {
  padding: 1.1em 1.3em 1.2em;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: inset 2px 0 0 var(--accent), inset 0 0 0 1px var(--hairline-on-dark-soft);
}
.bl-note-t {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.7em;
  font-family: var(--font-pixel);
  font-size: max(16px, 0.9em);
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--accent);
}
.bl-note p + p { margin-top: 0.6em; }
.bl-prose :not(pre) > code,
.bl-prose kbd {
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.bl-prose kbd { box-shadow: inset 0 -2px 0 var(--hairline-on-dark), inset 0 0 0 1px var(--hairline-on-dark-soft); }
.bl-code {
  overflow: hidden;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
}
.bl-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap-min);
  padding: 0 6px 0 16px;
  border-bottom: 1px solid var(--hairline-on-dark-soft);
  font-family: var(--font-pixel);
  font-size: 16px;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.bl-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 34px;
  padding: 0 0.9em;
  border-radius: var(--radius-pill);
  font-family: var(--font-pixel);
  font-size: 16px;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 30%, transparent);
  transition: box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.bl-copy.is-done { color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 70%, transparent); }
@media (hover: hover) {
  .bl-copy:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 70%, transparent); }
}
.bl-code pre {
  margin: 0;
  padding: 18px 18px 20px;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  tab-size: 2;
  color: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.bl-code pre:focus-visible { outline-offset: -2px; }
.bl-table {
  overflow-x: auto;
  border-top: 1px solid var(--hairline-on-dark);
  -webkit-overflow-scrolling: touch;
}
.bl-table table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9em;
  line-height: 1.45;
}
.bl-table th,
.bl-table td {
  padding: 0.8em 1.1em 0.8em 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline-on-dark-soft);
}
.bl-table th {
  font-family: var(--font-pixel);
  font-size: max(16px, 0.95em);
  font-weight: 400;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.bl-table td:first-child { color: var(--paper); font-weight: 500; }
.bl-prose hr {
  height: 6px;
  margin-block: 2.6em;
  border: 0;
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent));
  background-size: 6px 6px;
  background-position: calc(50% - 22px) 0, 50% 0, calc(50% + 22px) 0;
  background-repeat: no-repeat;
}
.bl-prose figure { margin-block: 2em; }
.bl-prose figure img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--hairline-on-dark-soft);
}
.bl-prose figcaption {
  margin-top: 0.9em;
  font-family: var(--font-pixel);
  font-size: max(16px, 0.85em);
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--muted-on-dark);
}
.bl-prose > .bl-embed { margin-block: 2.2em; }
.bl-embed {
  --emb-ok: #5ad27a;
  --emb-bad: #ff5c5c;
  --emb-blue: #6db3ff;
  padding: clamp(20px, 2vw, 30px);
  border-radius: var(--radius-big);
  background: var(--panel);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--paper) 9%, transparent), inset 0 0 0 1px var(--hairline-on-dark-soft);
  font-size: clamp(15px, 14px + 0.2vw, 17px);
  line-height: 1.55;
  color: var(--paper);
}
.bl-emb-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 0.9em;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--accent);
}
.bl-emb-tag::before {
  content: "";
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.bl-emb-t {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  color: var(--paper);
  text-wrap: balance;
}
.bl-emb-sub { max-width: 62ch; margin: 0 0 1.2em; color: var(--muted-on-dark); }
.bl-emb-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; }
.bl-emb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h-small);
  padding: 0 var(--btn-pad-x-small);
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: var(--btn-text-small);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tracking-copy);
  white-space: nowrap;
  color: var(--ink);
  background: var(--accent);
  cursor: pointer;
  transition: opacity var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.bl-emb-btn.is-alt { color: var(--paper); background: var(--btn-glass); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--paper) 42%, transparent); }
.bl-emb-btn.is-ghost { padding-inline: 6px; color: var(--muted-on-dark); background: transparent; text-decoration: underline; text-underline-offset: 0.25em; }
.bl-emb-btn:disabled,
.bl-emb-btn[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.bl-emb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) {
  .bl-emb-btn:not(:disabled):not([aria-disabled="true"]):hover { opacity: 1; }
  .bl-emb-btn:not(:disabled):not([aria-disabled="true"]):not(.is-alt):not(.is-ghost):hover { background: color-mix(in oklab, var(--accent) 88%, var(--paper)); }
  .bl-emb-btn.is-alt:not(:disabled):not([aria-disabled="true"]):hover { box-shadow: inset 0 0 0 1px var(--paper); }
  .bl-emb-btn.is-ghost:not(:disabled):not([aria-disabled="true"]):hover { color: var(--paper); }
}
html.no-js .bl-embed { display: none; }
.bl-emb-field { display: block; margin: 0 0 1em; }
.bl-emb-field > span {
  display: block;
  margin: 0 0 0.55em;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.bl-emb-field > span b { font-weight: 400; color: var(--paper); }
.bl-emb-field input[type="text"] {
  width: 100%;
  min-height: var(--tap-min);
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark);
  font: inherit;
  font-size: 16px;
  color: var(--paper);
  background: var(--code-bg);
  outline: 0;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.bl-emb-field input[type="text"]:focus-visible { box-shadow: inset 0 0 0 1px var(--accent); }
.bl-emb-field input[type="range"] { display: block; width: 100%; height: 24px; margin: 6px 0 0; accent-color: var(--accent); cursor: pointer; }
.bl-emb-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  font-size: 0.95em;
  line-height: 1.35;
  color: var(--paper);
  cursor: pointer;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.bl-emb-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.bl-emb-check:has(input:checked) { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 60%, transparent); }
.bl-emb-check:has(input:disabled) { cursor: default; opacity: 0.7; }
.bl-emb-note { margin: 1.1em 0 0; font-size: 0.9em; line-height: 1.5; color: var(--muted-on-dark); }
.bl-emb-box {
  margin: 1em 0 0;
  padding: 0.9em 1.1em;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 7%, transparent);
  box-shadow: inset 2px 0 0 var(--accent);
  color: var(--paper);
}
.bl-emb-box:empty { display: none; }
.bl-sum {
  margin-bottom: var(--bl-sp-lg);
  padding: clamp(20px, 2vw, 30px);
  border-radius: var(--radius-big);
  background: var(--panel);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--paper) 9%, transparent), inset 0 0 0 1px var(--hairline-on-dark-soft);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--paper);
}
.bl-sum .bl-label {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1em;
  color: var(--accent);
}
.bl-sum li + li { margin-top: 0.5em; }
.bl-sum a { color: var(--paper); text-decoration: underline; text-underline-offset: 0.25em; }
.bl-art-end {
  margin-top: var(--bl-sp-xl);
  padding-top: var(--bl-sp-sm);
  border-top: 1px solid var(--hairline-on-dark);
}
.bl-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.bl-share .bl-label { margin-right: 8px; color: var(--muted-on-dark); }
.bl-share.is-native .bl-share-l,
.bl-share.is-native .bl-pill-tg,
.bl-share.is-native .bl-pill-max,
.bl-share.is-native .bl-pill-vk { display: none; }
.bl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  height: var(--tap-min);
  padding: 0 1.2em;
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  font-family: var(--font-pixel);
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper);
  -webkit-tap-highlight-color: transparent;
  transition: color 350ms ease, border-color 350ms ease, background-color 350ms ease;
}
.bl-pill-tg::before {
  content: '';
  flex: none;
  width: 1.9em;
  height: 1.9em;
  margin: 0 -0.49em 0 -0.36em;
  background: url("../../img/messengers/telegram-mono.svg") 50% 50% / contain no-repeat;
}
.bl-pill-max::before {
  content: '';
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: url("../../img/messengers/max-mono.svg") 50% 50% / contain no-repeat;
}
.bl-pill-vk::before {
  content: '';
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: url("../../img/messengers/vk-mono.svg") 50% 50% / contain no-repeat;
}
.bl-pill:focus-visible {
  opacity: 1;
  border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}
@media (hover: hover) {
  .bl-pill:hover {
    opacity: 1;
    border-color: color-mix(in oklab, var(--accent) 70%, transparent);
    background: color-mix(in oklab, var(--paper) 8%, transparent);
  }
}
.bl-pill.is-done { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 70%, transparent); }
.bl-authorcard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 22px;
  align-items: start;
  margin-top: var(--bl-sp-lg);
  padding: clamp(20px, 2vw, 30px);
  border-radius: var(--radius-big);
  background: var(--panel);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--paper) 9%, transparent), inset 0 0 0 1px var(--hairline-on-dark-soft);
}
.bl-authorcard img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline-on-dark);
}
.bl-authorcard-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: var(--tracking-display);
}
.bl-authorcard-name a { color: var(--paper); }
.bl-authorcard-role {
  margin-top: 8px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.4;
  color: var(--muted-on-dark);
}
.bl-authorcard-p {
  margin-top: 12px;
  max-width: 34em;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  color: var(--muted-on-dark);
}
.bl-authorcard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.bl-related { padding: 0 var(--bl-pad-x) var(--bl-sp-xl); }
.bl-pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  padding: 0 var(--bl-pad-x) var(--bl-sp-block);
}
.bl-pn-a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 120px;
  padding: clamp(18px, 1.6vw, 26px);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  color: var(--paper);
  transition: translate 0.35s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bl-pn-a.is-next { grid-column: 2; text-align: right; align-items: flex-end; }
.bl-pn-a.is-prev { grid-column: 1; }
.bl-pn-k { color: var(--muted-on-dark); }
.bl-pn-k time { color: var(--meta-ink); }
.bl-pn-t {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
@media (hover: hover) {
  .bl-pn-a:hover { opacity: 1; translate: 0 -3px; box-shadow: inset 0 0 0 1px var(--hairline-hover), 0 24px 40px -24px rgba(0, 0, 0, 0.8); }
}
.bl-pn-a:focus-visible { outline-offset: 4px; border-radius: 16px; }
.bl-preview {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: calc(var(--z-pill) + 2);
  padding: 8px 12px;
  border-radius: var(--radius-bar);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark);
  font-family: var(--font-pixel);
  font-size: 16px;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--paper);
  pointer-events: none;
}
html.fx-cursor-on .bl-prose,
html.fx-cursor-on .bl-prose *,
html.fx-cursor-on .bl-sum,
html.fx-cursor-on .bl-sum * { cursor: text !important; }
html.fx-cursor-on .bl-prose a,
html.fx-cursor-on .bl-prose button,
html.fx-cursor-on .bl-prose .bl-emb-check,
html.fx-cursor-on .bl-prose .bl-emb-check *,
html.fx-cursor-on .bl-prose input[type="range"],
html.fx-cursor-on .bl-sum a { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Crect x='3' y='3' width='10' height='10' fill='%230e1116'/%3E%3Crect x='4' y='4' width='8' height='8' fill='%23f0a81a'/%3E%3C/svg%3E") 8 8, pointer !important; }
html.fx-cursor-on .bl-prose .bl-emb-btn:disabled,
html.fx-cursor-on .bl-prose .bl-emb-btn[aria-disabled="true"] { cursor: default !important; }
.bl-prose .bl-emb-drag { cursor: grab; }
.bl-prose .bl-emb-drag.is-drag { cursor: grabbing; }
html.fx-cursor-on .bl-prose .bl-emb-drag,
html.fx-cursor-on .bl-prose .bl-emb-drag * { cursor: grab !important; }
html.fx-cursor-on .bl-prose .bl-emb-drag.is-drag,
html.fx-cursor-on .bl-prose .bl-emb-drag.is-drag * { cursor: grabbing !important; }
html.fx-cursor-on:has(.bl-prose:hover, .bl-sum:hover):not(:has(.bl-prose :is(a, button):hover, .bl-prose .bl-embed :is(label, input):hover, .bl-sum a:hover)) :is(.fx-cursor, .fx-trail) { opacity: 0 !important; }
@media (max-width: 1199px) {
  .bl-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-featured .bl-card-t { grid-column: 1 / -1; grid-row: auto; }
  .is-featured .bl-card-side { grid-column: 1 / -1; grid-row: auto; }
  .bl-card.is-featured { grid-template-rows: auto; }
  .bl-title-word { grid-column: 1 / -1; }
  .bl-title-sub { grid-column: 1 / -1; margin-top: var(--bl-sp-sm); }
  .bl-lead { grid-column: 1 / 8; }
  .bl-head .bl-author { grid-column: 9 / 13; }
  .bl-toc { display: none; }
  .bl-art-main { grid-column: 1 / -1; max-width: 740px; }
  .bl-toc-m {
    display: block;
    margin-bottom: var(--bl-sp-lg);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  }
  .bl-toc-m summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    color: var(--paper);
  }
  .bl-toc-m summary:focus-visible { outline-offset: -2px; border-radius: 16px; }
  .bl-toc-m summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
    transition: transform 0.3s var(--ease-out);
  }
  .bl-toc-m[open] summary::after { transform: rotate(45deg); }
  .bl-toc-m .bl-toc-list { margin: 0 18px 14px; }
  .bl-rhead-t,
  .bl-art-t { grid-column: 1 / -1; }
  .bl-rhead-p,
  .bl-art-lead,
  .bl-rhead-intro,
  .bl-byline { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .bl-head { padding-top: calc(var(--nav-clear) + 56px); padding-bottom: var(--bl-sp-lg); }
  .bl-head .bl-crumbs { margin-bottom: var(--bl-sp-xs); }
  .bl-title-word { font-size: calc((100vw - 2 * var(--bl-pad-x)) / 3.8); }
  .bl-title-sub { font-size: clamp(22px, 6.4vw, 30px); }
  .bl-intro { margin-top: var(--bl-sp-md); row-gap: var(--bl-sp-md); }
  .bl-lead,
  .bl-head .bl-author { grid-column: 1 / -1; }
  .bl-rhead,
  .bl-art-head { padding-top: calc(var(--nav-clear) + 48px); }
  .bl-rhead .bl-crumbs,
  .bl-art-head .bl-crumbs { margin-bottom: var(--bl-sp-xs); }
  .bl-rhead-t,
  .bl-art-t { font-size: clamp(26px, 8vw, 40px); line-height: 1.06; }
  .bl-art-meta { gap: 10px 16px; }
  .bl-byline { flex-direction: column; align-items: flex-start; margin-top: var(--bl-sp-md); }
  .bl-strip { width: 100%; }
  .bl-strip .btn { width: 100%; }
  .bl-feed-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; min-height: 0; }
  .bl-feed-t { margin-right: 0; }
  .bl-search { width: 100%; }
  .bl-chips { max-width: none; margin-inline: calc(-1 * var(--bl-pad-x)); padding-inline: var(--bl-pad-x); }
  .bl-feed { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bl-card { --card-r: 16px; min-height: 0; }
  .bl-card-t { margin-top: var(--bl-sp-md); }
  .bl-card.is-featured { min-height: 0; }
  .is-featured .bl-card-t { margin-top: var(--bl-sp-lg); font-size: clamp(24px, 7vw, 34px); }
  .bl-card.is-compact { padding: 16px; }
  .bl-card.is-compact .bl-card-t { margin-top: 12px; font-size: 18px; line-height: 1.15; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .bl-card.is-compact .bl-card-x,
  .bl-card.is-compact .bl-card-foot { display: none; }
  .bl-cta { padding-top: var(--bl-sp-lg); }
  .bl-cta-t,
  .bl-cta-side { grid-column: 1 / -1; }
  .pillbar > .btn[data-pulse] > .btn-wave,
  .bl-strip .btn > .btn-wave,
  .bl-cta .btn > .btn-wave { display: none; }
  :root .bl-cta .btn[data-cta] > .btn-t .dot::after { animation: none; opacity: 0; }
  .bl-strip .btn,
  .bl-strip.is-ref .btn-primary,
  .bl-cta .btn-primary {
    --btn-halo: var(--btn-halo-dark);
    background: var(--ink);
    color: var(--paper);
    box-shadow: inset 0 0 0 1px rgba(238, 240, 243, 0.28);
  }
  .bl-art-body { padding-top: var(--bl-sp-md); }
  .bl-h { margin-top: 2.2em; }
  .bl-code pre { font-size: 13px; }
  .bl-embed { padding: 18px 16px 20px; border-radius: 18px; }
  .bl-emb-btns .bl-emb-btn:not(.is-ghost) { flex: 1 1 auto; }
  .bl-strip { row-gap: 18px; }
  .bl-share .bl-label { width: 100%; }
  .bl-authorcard { grid-template-columns: 1fr; }
  .bl-authorcard img { width: 64px; height: 64px; }
  .bl-pn { grid-template-columns: 1fr; gap: 12px; }
  .bl-pn-a.is-next,
  .bl-pn-a.is-prev { grid-column: 1; text-align: left; align-items: flex-start; min-height: 0; }
  .bl-pn-t { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .bl-preview { left: 8px; bottom: 8px; font-size: 14px; }
  .bl-table table { min-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-caret { animation: none !important; }
  .bl-card.is-in { animation: none !important; }
}
@media print {
  .nav-shell,
  .fx-grain,
  .fx-cursor,
  .fx-trail,
  .bl-toc,
  .bl-toc-m,
  .bl-share,
  .bl-strip,
  .bl-search,
  .bl-search-n,
  .bl-cta,
  .bl-related,
  .bl-pn,
  .bl-preview,
  .bl-embed,
  .chooser,
  .s12 { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .bl-prose, .bl-h h2, .bl-prose h3, .bl-art-t, .bl-art-lead, .bl-sum { color: #000 !important; }
}
.emb-clickpath .cp-opts { display: grid; gap: 8px; margin: 0 0 1.1em; }
.emb-clickpath .cp-route {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 0 1em;
  padding: 26px 8px 14px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
}
.emb-clickpath .cp-route::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 42px;
  border-top: 1px solid var(--hairline-on-dark);
}
.emb-clickpath .cp-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  text-align: center;
}
.emb-clickpath .cp-node i {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 0 8px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--hairline-on-dark);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.emb-clickpath .cp-node span {
  display: none;
  font-family: var(--font-pixel);
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.emb-clickpath .cp-node .cp-s { display: block; }
.emb-clickpath .cp-node.is-on i { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px rgba(240, 168, 26, 0.18); }
.emb-clickpath .cp-node.is-on span { color: var(--paper); }
.emb-clickpath .cp-node.is-busy i { animation: clickpath-busy 0.5s ease-in-out infinite alternate; }
@keyframes clickpath-busy {
  from { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(240, 168, 26, 0.2); }
  to { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 12px rgba(240, 168, 26, 0.05); }
}
.emb-clickpath .cp-dot {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(240, 168, 26, 0.8);
  opacity: 0;
  transition: transform 0.5s linear, opacity 0.2s;
}
.emb-clickpath .cp-dot.is-back { background: var(--emb-blue); box-shadow: 0 0 10px rgba(109, 179, 255, 0.8); }
.emb-clickpath .cp-clock { display: flex; align-items: baseline; gap: 8px; margin: 0 0 0.6em; font-family: var(--font-pixel); }
.emb-clickpath .cp-ms {
  min-width: 3.2ch;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.emb-clickpath .cp-unit { font-size: 18px; letter-spacing: var(--tracking-pixel); text-transform: uppercase; color: var(--muted-on-dark); }
.emb-clickpath .cp-steps { margin: 0 0 1em; padding: 0; list-style: none; }
.emb-clickpath .cp-step {
  position: static;
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
  margin: 0 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--muted-on-dark);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.emb-clickpath .cp-step::before { content: none; }
.emb-clickpath .cp-step i { font-style: normal; font-family: var(--font-pixel); font-size: var(--pixel-size); letter-spacing: 0.08em; color: var(--muted-on-dark); }
.emb-clickpath .cp-step b { font-weight: 400; }
.emb-clickpath .cp-step small { display: block; font-size: 0.86em; line-height: 1.4; color: var(--muted-on-dark); }
.emb-clickpath .cp-step em {
  font-style: normal;
  font-family: var(--font-pixel);
  font-size: 18px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.emb-clickpath .cp-step.is-on { background: rgba(240, 168, 26, 0.08); box-shadow: inset 0 0 0 1px rgba(240, 168, 26, 0.35); color: var(--paper); }
.emb-clickpath .cp-step.is-done { color: var(--paper); }
.emb-clickpath .cp-step.is-done i { color: var(--accent); }
.emb-clickpath .cp-step.is-skip em { color: var(--muted-on-dark); }
.emb-clickpath .cp-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0 0 0.8em;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  letter-spacing: 0.06em;
  color: var(--muted-on-dark);
}
.emb-clickpath .cp-totals b { font-weight: 400; color: var(--paper); }
.emb-clickpath .cp-bar { display: flex; height: 14px; margin: 0 0 8px; border-radius: 7px; overflow: hidden; background: var(--code-bg); }
.emb-clickpath .cp-bar span { display: block; height: 100%; min-width: 0; transition: width 0.4s ease; }
.emb-clickpath .cp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 0.8em; font-size: 0.86em; color: var(--muted-on-dark); }
.emb-clickpath .cp-legend > span { white-space: nowrap; }
.emb-clickpath .cp-legend b { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.emb-clickpath .cp-totals:empty,
.emb-clickpath .cp-bar:empty,
.emb-clickpath .cp-legend:empty { display: none; }
@media (min-width: 640px) {
  .emb-clickpath .cp-opts { grid-template-columns: 1fr 1fr; }
  .emb-clickpath .cp-route { padding: 26px 12px 16px; }
  .emb-clickpath .cp-node { width: 104px; }
  .emb-clickpath .cp-node span { font-size: 15px; letter-spacing: 0.1em; }
  .emb-clickpath .cp-node .cp-l { display: block; }
  .emb-clickpath .cp-node .cp-s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .emb-clickpath .cp-dot,
  .emb-clickpath .cp-bar span,
  .emb-clickpath .cp-node i { transition: none; }
  .emb-clickpath .cp-node.is-busy i { animation: none; }
}
.emb-crm-calc .cc-opts { display: grid; gap: 8px; margin: 0 0 1.3em; }
@media (min-width: 640px) {
  .emb-crm-calc .cc-opts { grid-template-columns: 1fr 1fr; }
}
.emb-crm-calc .cc-group-t {
  margin: 0 0 0.7em;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  line-height: 1.2;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.emb-crm-calc .cc-list { display: grid; gap: 8px; margin: 0 0 1.3em; }
.emb-crm-calc .cc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.emb-crm-calc .cc-row.is-best { box-shadow: inset 0 0 0 1px var(--accent); }
.emb-crm-calc .cc-row.is-na { grid-template-columns: 1fr; opacity: 0.75; }
.emb-crm-calc .bl-emb-field > span { line-height: 1.25; }
.emb-crm-calc .cc-name { min-width: 0; font-weight: 600; line-height: 1.3; color: var(--paper); }
.emb-crm-calc .cc-name small { display: block; margin: 2px 0 0; font-weight: 400; font-size: 0.85em; line-height: 1.35; color: var(--muted-on-dark); }
.emb-crm-calc .cc-price {
  font-family: var(--font-pixel);
  font-size: 1.3em;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: right;
  color: var(--accent);
}
.emb-crm-calc .cc-row.is-best .cc-price::after {
  content: "дешевле всего";
  display: block;
  margin: 4px 0 0;
  font-size: 0.55em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
.emb-crm-calc .cc-row.is-na .cc-price {
  font-family: var(--font-text);
  font-size: 0.85em;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  text-align: left;
  color: var(--muted-on-dark);
}
.emb-crm-calc .cc-note { grid-column: 1 / -1; margin: 0; font-size: 0.85em; line-height: 1.4; color: var(--muted-on-dark); }
@media (max-width: 479px) {
  .emb-crm-calc .cc-row { grid-template-columns: 1fr; gap: 4px; }
  .emb-crm-calc .cc-price { text-align: left; }
}
.emb-globe .gl-stage {
  position: relative;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 3 / 2;
  max-height: 560px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.emb-globe .gl-canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 639px) {
  .emb-globe .gl-stage { aspect-ratio: 1 / 1; max-height: 420px; }
}
.emb-packets .pk-form { margin: 0 0 1.1em; }
.emb-packets .pk-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 124px) minmax(0, 1fr) minmax(96px, 124px);
  column-gap: 12px;
  align-items: stretch;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
}
.emb-packets .pk-who {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.emb-packets .pk-end-r .pk-who { text-align: right; }
.emb-packets .pk-queue,
.emb-packets .pk-got { display: flex; flex-direction: column; gap: 5px; }
.emb-packets .pk-got { align-items: flex-end; }
.emb-packets .pk-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark);
  font-family: var(--font-pixel);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: pre;
  color: var(--paper);
  transition: opacity var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.emb-packets .pk-chip i { min-width: 1.6em; margin-right: 4px; font-style: normal; color: var(--accent); }
.emb-packets .pk-chip.is-sent { opacity: 0.35; }
.emb-packets .pk-chip.is-acked { opacity: 1; box-shadow: inset 0 0 0 1px var(--emb-ok); }
.emb-packets .pk-chip.is-retry { box-shadow: inset 0 0 0 1px var(--accent); }
.emb-packets .pk-chip.is-retry em {
  margin-left: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.emb-packets .pk-got .pk-chip { box-shadow: inset 0 0 0 1px var(--emb-ok); }
.emb-packets .pk-got .pk-chip.is-hole { color: var(--emb-bad); box-shadow: inset 0 0 0 1px var(--emb-bad); }
.emb-packets .pk-slot { display: block; min-width: 66px; height: 26px; border: 1px dashed var(--hairline-on-dark-soft); border-radius: 7px; }
.emb-packets .pk-line {
  position: relative;
  min-height: 160px;
  margin-top: 26px;
  border-top: 1px solid var(--hairline-on-dark);
  border-bottom: 1px solid var(--hairline-on-dark-soft);
}
.emb-packets .pk-bad {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 16%;
  background: repeating-linear-gradient(135deg, rgba(255, 92, 92, 0.16), rgba(255, 92, 92, 0.16) 6px, transparent 6px, transparent 12px);
  border-left: 1px dashed rgba(255, 92, 92, 0.5);
  border-right: 1px dashed rgba(255, 92, 92, 0.5);
}
.emb-packets .pk-bad span {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--emb-bad);
}
.emb-packets .pk-fly { position: absolute; inset: 0; }
.emb-packets .pk-mv { position: absolute; left: 0; top: 0; will-change: transform; }
.emb-packets .pk-mv.is-ack { margin-top: 6px; }
.emb-packets .pk-mv.is-drop .pk-in { animation: packets-drop 0.7s ease-in forwards; }
@keyframes packets-drop {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(60px) rotate(24deg); opacity: 0; }
}
.emb-packets .pk-mv.is-arrive .pk-in { animation: packets-pop 0.25s ease-out forwards; }
@keyframes packets-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(0.6); opacity: 0; }
}
.emb-packets .pk-ack { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--emb-ok); box-shadow: 0 0 0 3px rgba(90, 210, 122, 0.25); }
.emb-packets .pk-mv.is-fade .pk-in { animation: packets-fade 0.25s ease-out forwards; }
@keyframes packets-fade { to { opacity: 0; } }
.emb-packets .pk-out { margin: 1em 0 0; }
.emb-packets .pk-result { margin: 0 0 0.4em; font-size: 1.1em; font-weight: 500; line-height: 1.4; color: var(--paper); overflow-wrap: anywhere; }
.emb-packets .pk-result .hole { color: var(--emb-bad); letter-spacing: 0.02em; }
.emb-packets .pk-stats {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--muted-on-dark);
}
.emb-packets .pk-stats b { font-weight: 400; color: var(--paper); }
@media (max-width: 639px) {
  .emb-packets .pk-stage { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 12px 10px 10px; }
  .emb-packets .pk-queue,
  .emb-packets .pk-got { flex-direction: row; flex-wrap: wrap; }
  .emb-packets .pk-got { align-items: stretch; justify-content: flex-end; }
  .emb-packets .pk-who { margin-bottom: 6px; }
  .emb-packets .pk-line { min-height: 200px; margin-top: 22px; }
  .emb-packets .pk-chip { height: 24px; padding: 0 7px; font-size: 15px; }
  .emb-packets .pk-mv .pk-chip em { display: none; }
  .emb-packets .pk-slot { min-width: 58px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .emb-packets .pk-mv.is-drop .pk-in,
  .emb-packets .pk-mv.is-arrive .pk-in,
  .emb-packets .pk-mv.is-fade .pk-in { animation: none; }
}
.emb-robot .rb-stage { margin: 0 0 4px; }
.emb-robot .rb-win {
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  overflow: hidden;
}
.emb-robot .rb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-on-dark-soft);
}
.emb-robot .rb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--paper); opacity: 0.28; }
.emb-robot .rb-file {
  margin-left: 8px;
  font-family: var(--font-pixel);
  font-size: var(--pixel-size);
  letter-spacing: var(--tracking-pixel);
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.emb-robot .rb-code {
  margin: 0;
  padding: 14px 16px 10px;
  min-height: calc(11.9em + 24px);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
  white-space: pre;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.emb-robot .rb-line { display: block; padding: 0 6px; margin: 0 -6px; border-radius: 6px; transition: background-color 0.15s; }
.emb-robot .rb-line.is-run { background: color-mix(in oklab, var(--accent) 22%, transparent); }
.emb-robot .rb-num { display: inline-block; width: 1.6em; color: var(--paper); opacity: 0.35; }
.emb-robot .rb-str { color: var(--accent); }
.emb-robot .rb-cur {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin: 0 0 -0.2em 1px;
  background: var(--accent);
  animation: robot-blink 1s steps(2, jump-none) 8;
}
.emb-robot .rb-cur.is-off { display: none; }
.emb-robot .rb-out {
  padding: 10px 16px 12px;
  border-top: 1px solid var(--hairline-on-dark-soft);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  white-space: pre-wrap;
  min-height: 2.6em;
}
.emb-robot .rb-prompt { color: var(--accent); }
.emb-robot .rb-out.is-cold .rb-out-text { color: color-mix(in oklab, var(--paper) 72%, var(--accent)); }
@keyframes robot-blink {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 639px) {
  .emb-robot .rb-code { padding: 12px 12px 8px; font-size: 13px; min-height: calc(11.9em + 20px); }
  .emb-robot .rb-out { padding: 9px 12px 10px; font-size: 13px; min-height: calc(3.2em + 19px); }
}
@media (prefers-reduced-motion: reduce) {
  .emb-robot .rb-cur { animation: none; }
}
.emb-server .sv-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 220px;
  max-height: 560px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  overflow: hidden;
}
.emb-server .sv-svg { display: block; width: 100%; height: 100%; }
.emb-server .sv-wire { fill: none; stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 2; vector-effect: non-scaling-stroke; }
.emb-server .sv-port { fill: var(--panel); stroke: var(--paper); stroke-opacity: 0.6; stroke-width: 2; }
.emb-server .sv-client { outline: none; }
.emb-server .sv-stage .sv-client,
.emb-server .sv-stage .sv-client * { cursor: pointer !important; }
.emb-server .sv-ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 6; opacity: 0; vector-effect: non-scaling-stroke; }
.emb-server .sv-client:focus-visible .sv-ring { opacity: 1; }
.emb-server .sv-dev { fill: var(--panel); stroke: var(--paper); stroke-opacity: 0.7; stroke-width: 2; transition: stroke-opacity 0.2s; }
.emb-server .sv-screen { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.35; stroke-width: 1.5; transition: stroke var(--dur-base) var(--ease-out), stroke-opacity var(--dur-base) var(--ease-out); }
.emb-server .sv-dev-dot { fill: var(--paper); fill-opacity: 0.5; }
.emb-server .sv-busy circle { fill: var(--paper); fill-opacity: 0; transition: fill-opacity 0.2s; }
.emb-server .sv-client.is-busy .sv-busy circle { fill-opacity: 0.6; animation: server-dots 900ms ease-in-out infinite; }
.emb-server .sv-client.is-busy .sv-busy circle:nth-child(2) { animation-delay: 150ms; }
.emb-server .sv-client.is-busy .sv-busy circle:nth-child(3) { animation-delay: 300ms; }
@keyframes server-dots {
  0%, 100% { fill-opacity: 0.25; }
  50% { fill-opacity: 0.95; }
}
.emb-server .sv-page rect { fill: var(--paper); fill-opacity: 0; transition: fill-opacity 0.25s; }
.emb-server .sv-page .sv-page-cta { fill: var(--accent); }
.emb-server .sv-client.is-page .sv-page rect { fill-opacity: 0.75; }
.emb-server .sv-client.is-page .sv-page .sv-page-cta { fill-opacity: 1; }
.emb-server .sv-client.is-page .sv-screen { stroke: var(--accent); stroke-opacity: 0.85; }
.emb-server .sv-badge { opacity: 0; transition: opacity 0.25s; }
.emb-server .sv-badge rect { fill: var(--accent); }
.emb-server .sv-badge text { fill: var(--ink); font-family: var(--font-pixel); font-size: 20px; font-weight: 600; letter-spacing: 0.06em; }
.emb-server .sv-client.is-page .sv-badge { opacity: 1; }
.emb-server .sv-who,
.emb-server .sv-label { font-family: var(--font-pixel); font-size: 22px; letter-spacing: 0.1em; fill: var(--paper); fill-opacity: 0.72; }
.emb-server .sv-num { display: none; font-family: var(--font-pixel); font-size: 44px; font-weight: 600; fill: var(--paper); fill-opacity: 0.8; }
.emb-server .sv-box { fill: var(--panel); stroke: var(--paper); stroke-opacity: 0.7; stroke-width: 2; vector-effect: non-scaling-stroke; }
.emb-server .sv-face { fill: var(--paper); fill-opacity: 0.06; }
.emb-server .sv-div { fill: none; stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 1.5; }
.emb-server .sv-bay { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.4; stroke-width: 1.5; }
.emb-server .sv-led { fill: var(--paper); fill-opacity: 0.3; }
.emb-server .sv-led-power { fill: var(--accent); fill-opacity: 1; }
.emb-server .sv-server.is-busy .sv-led-act { fill: var(--accent); fill-opacity: 1; animation: server-blink 320ms steps(2, jump-none) infinite; }
@keyframes server-blink {
  0% { fill-opacity: 1; }
  100% { fill-opacity: 0.2; }
}
.emb-server .sv-bus { fill: none; stroke: var(--paper); stroke-opacity: 0.25; stroke-width: 2; }
.emb-server .sv-band rect { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 1.5; transition: stroke 0.2s, stroke-opacity 0.2s, fill 0.2s; }
.emb-server .sv-band .sv-ico { fill: none; stroke: var(--paper); stroke-opacity: 0.6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s, stroke-opacity 0.2s; }
.emb-server .sv-band .sv-label { transition: fill-opacity 0.2s; }
.emb-server .sv-band.is-on rect { stroke: var(--accent); stroke-opacity: 1; fill: color-mix(in oklab, var(--accent) 14%, var(--ink)); }
.emb-server .sv-band.is-on .sv-label,
.emb-server .sv-band.is-on .sv-num { fill-opacity: 1; }
.emb-server .sv-band.is-on .sv-ico { stroke: var(--accent); stroke-opacity: 1; }
.emb-server .sv-dots { pointer-events: none; }
.emb-server .sv-dot { fill: var(--accent); }
.emb-server .sv-dot.is-res { fill: var(--paper); }
.emb-server .sv-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.emb-server .sv-chip {
  font-size: 0.85em;
  line-height: 1.3;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--muted-on-dark);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
}
.emb-server .sv-chip.is-on { color: var(--paper); background: color-mix(in oklab, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.emb-server .sv-status { margin: 10px 0 0; font-family: var(--font-pixel); font-size: var(--pixel-size); letter-spacing: var(--tracking-pixel); text-transform: uppercase; color: var(--muted-on-dark); }
@media (hover: hover) {
  .emb-server .sv-client:hover .sv-dev { stroke-opacity: 1; }
}
@media (max-width: 639px) {
  .emb-server .sv-who { font-size: 46px; }
  .emb-server .sv-label,
  .emb-server .sv-ico { display: none; }
  .emb-server .sv-num { display: block; }
  .emb-server .sv-badge text { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .emb-server .sv-client.is-busy .sv-busy circle,
  .emb-server .sv-server.is-busy .sv-led-act { animation: none; }
}
.emb-translator .tr-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 15 / 8;
  min-height: 200px;
  max-height: 520px;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  overflow: hidden;
}
.emb-translator .tr-svg { display: block; width: 100%; height: 100%; }
.emb-translator .tr-wire { fill: none; stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 2; vector-effect: non-scaling-stroke; }
.emb-translator .tr-port { fill: var(--panel); stroke: var(--paper); stroke-opacity: 0.6; stroke-width: 2; }
.emb-translator .tr-box { fill: var(--panel); stroke: var(--paper); stroke-opacity: 0.7; stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke 0.2s, stroke-opacity 0.2s; }
.emb-translator .tr-face { fill: var(--paper); fill-opacity: 0.06; }
.emb-translator .tr-div { fill: none; stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 1.5; }
.emb-translator .tr-who { font-family: var(--font-pixel); font-size: 22px; letter-spacing: 0.1em; fill: var(--paper); fill-opacity: 0.72; }
.emb-translator .tr-short { display: none; }
.emb-translator .tr-line rect { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.25; stroke-width: 1.5; transition: stroke 0.15s, stroke-opacity 0.15s, fill 0.15s; }
.emb-translator .tr-code { display: none; }
.emb-translator .tr-num { font-family: var(--font-pixel); font-size: 40px; font-weight: 600; fill: var(--paper); fill-opacity: 0.75; transition: fill-opacity 0.15s; }
.emb-translator .tr-line.is-on rect { stroke: var(--accent); stroke-opacity: 1; fill: color-mix(in oklab, var(--accent) 16%, var(--ink)); }
.emb-translator .tr-line.is-on .tr-code,
.emb-translator .tr-line.is-on .tr-num { fill-opacity: 1; }
.emb-translator .tr-line.is-done rect { fill: color-mix(in oklab, var(--accent) 7%, var(--ink)); stroke-opacity: 0.45; }
.emb-translator .tr-line.is-skip .tr-code,
.emb-translator .tr-line.is-skip .tr-num { fill-opacity: 0.3; }
.emb-translator .tr-glyph { font-family: var(--font-mono); font-size: 34px; fill: var(--paper); fill-opacity: 0.7; }
.emb-translator .tr-arrow { fill: none; stroke: var(--paper); stroke-opacity: 0.6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.emb-translator .tr-pulse { fill: var(--accent); fill-opacity: 0; }
.emb-translator .tr-trans.is-busy .tr-box { stroke: var(--accent); stroke-opacity: 1; }
.emb-translator .tr-trans.is-busy .tr-pulse { animation: translator-pulse 520ms ease-out; }
@keyframes translator-pulse {
  0% { fill-opacity: 0.3; r: 24px; }
  100% { fill-opacity: 0; r: 86px; }
}
.emb-translator .tr-pins rect { fill: var(--paper); fill-opacity: 0.35; }
.emb-translator .tr-die { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.35; stroke-width: 1.5; transition: stroke 0.15s, stroke-opacity 0.15s; }
.emb-translator .tr-cpu.is-busy .tr-die { stroke: var(--accent); stroke-opacity: 1; }
.emb-translator .tr-cpu.is-busy .tr-pins rect { fill: var(--accent); fill-opacity: 0.9; animation: translator-blink 240ms steps(2, jump-none) infinite; }
@keyframes translator-blink {
  0% { fill-opacity: 0.9; }
  100% { fill-opacity: 0.3; }
}
.emb-translator .tr-count { font-family: var(--font-pixel); font-size: 44px; font-weight: 600; fill: var(--paper); fill-opacity: 0.9; }
.emb-translator .tr-count-l { font-family: var(--font-pixel); font-size: 18px; letter-spacing: 0.12em; fill: var(--paper); fill-opacity: 0.55; }
.emb-translator .tr-scr { fill: var(--ink); stroke: var(--paper); stroke-opacity: 0.35; stroke-width: 1.5; transition: stroke 0.2s, stroke-opacity 0.2s; }
.emb-translator .tr-screen.is-on .tr-scr { stroke: var(--accent); stroke-opacity: 0.85; }
.emb-translator .tr-scr-line { fill: var(--paper); fill-opacity: 0.8; }
.emb-translator .tr-screen.is-cold .tr-scr-line { fill: var(--accent); }
.emb-translator .tr-scr-cur { fill: var(--accent); fill-opacity: 0; }
.emb-translator .tr-screen.is-on .tr-scr-cur { fill-opacity: 1; animation: translator-cursor 1s steps(2, jump-none) 6; }
.emb-translator .bl-emb-btn.is-alt[aria-pressed="true"] { background: color-mix(in oklab, var(--accent) 22%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
@keyframes translator-cursor {
  0% { fill-opacity: 1; }
  100% { fill-opacity: 0; }
}
.emb-translator .tr-dots { pointer-events: none; }
.emb-translator .tr-dot { fill: var(--accent); }
.emb-translator .tr-dot.is-cmd { fill: var(--paper); }
.emb-translator .tr-file { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.emb-translator .tr-file.is-on { opacity: 1; }
.emb-translator .tr-file rect { fill: color-mix(in oklab, var(--accent) 22%, var(--ink)); stroke: var(--accent); stroke-width: 2; }
.emb-translator .tr-file text { font-family: var(--font-pixel); font-size: 22px; letter-spacing: 0.1em; fill: var(--paper); }
.emb-translator .tr-out {
  margin: 12px 0 0;
  padding: 10px 16px;
  min-height: 2.5em;
  border-radius: 10px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px var(--hairline-on-dark-soft);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  white-space: pre-wrap;
}
.emb-translator .tr-prompt { color: var(--accent); }
.emb-translator .tr-out.is-cold .tr-out-text { color: var(--accent); }
.emb-translator .tr-status { margin: 10px 0 0; font-family: var(--font-pixel); font-size: var(--pixel-size); letter-spacing: var(--tracking-pixel); text-transform: uppercase; color: var(--muted-on-dark); }
@media (max-width: 639px) {
  .emb-translator .tr-stage { min-height: 160px; }
  .emb-translator .tr-who { display: none; }
  .emb-translator .tr-who.tr-short { display: block; font-size: 46px; }
  .emb-translator .tr-num { font-size: 48px; }
  .emb-translator .tr-glyph { font-size: 44px; }
  .emb-translator .tr-arrow { stroke-width: 6; }
  .emb-translator .tr-count { font-size: 56px; }
  .emb-translator .tr-count-l { font-size: 34px; }
  .emb-translator .tr-file text { font-size: 36px; letter-spacing: 0.04em; }
  .emb-translator .tr-out { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .emb-translator .tr-trans.is-busy .tr-pulse,
  .emb-translator .tr-cpu.is-busy .tr-pins rect,
  .emb-translator .tr-screen.is-on .tr-scr-cur { animation: none; }
}
