/* Copied from index.html <style> by tools/gen_static.py; do not edit by hand. */
html:root, html:root[data-theme] {
        color-scheme: dark;
        --x-bg: #0d0618;
        --x-card: #140a24;
        --x-card-2: #1d0f34;
        --x-line: rgba(255, 255, 255, 0.1);
        --x-line-2: rgba(255, 255, 255, 0.18);
        --x-mag: #ff2e88;
        --x-lime: #c6ff00;
        --x-up: #00c087;
        --x-down: #ff4d4d;
        --x-dim: rgba(255, 255, 255, 0.7);
        --x-serif: "Newsreader", Georgia, "Times New Roman", serif;
        --x-mono: "Geist Mono", ui-monospace, monospace;
        --fill-primary-on: var(--x-bg);
        --fill-primary: #fff;
        --text-primary-on: var(--x-bg);
        --fill-tertiary: var(--x-card);
        --text-primary: #fff;
        --text-secondary: var(--x-dim);
        --stroke-primary: var(--x-line-2);
        --stroke-secondary: var(--x-line);
        --chart-good: #00c087;
        --chart-bad: #ff4d4d;
        --chart-reference: rgba(255, 255, 255, 0);
        --page-max: 1240px;
      }
      body { background: var(--x-bg); color: #fff; }
      ::selection { background: var(--x-mag); color: #fff; }
      :focus-visible { outline-color: var(--x-lime); }
      .x-up { color: var(--x-up); }
      .x-down { color: var(--x-down); }
      .x-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

      /* header */
      .x-top { position: sticky; top: 0; z-index: 50; background: rgba(13, 6, 24, 0.94); -webkit-backdrop-filter: var(--hark-blur); backdrop-filter: var(--hark-blur); border-bottom: 1px solid var(--x-line); }
      .x-strip { border-bottom: 1px solid var(--x-line); background: linear-gradient(90deg, rgba(255, 46, 136, 0.16), rgba(198, 255, 0, 0.06)); }
      .x-strip__in { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); min-height: 32px; display: flex; align-items: center; gap: 16px; }
      .x-ticks { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
      .x-ticks::-webkit-scrollbar { display: none; }
      .x-tick { display: inline-flex; gap: 6px; align-items: baseline; font: var(--type-caption); white-space: nowrap; text-decoration: none; padding: 7px 0; }
      .x-tick b { font-weight: var(--weight-bold); letter-spacing: 0.04em; }
      .x-tick span { font-family: var(--x-mono); }
      .x-live { display: inline-flex; align-items: center; gap: 8px; font: var(--type-caption); color: var(--x-dim); white-space: nowrap; }
      .x-live strong { color: #fff; font-weight: var(--weight-regular); font-family: var(--x-mono); }
      .x-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--x-up); box-shadow: 0 0 0 0 rgba(0, 192, 135, 0.7); animation: x-pulse 1.8s ease-out infinite; flex: none; }
      .x-pulse.is-stale { background: var(--x-mag); box-shadow: none; animation: none; }
      @keyframes x-pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 192, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 192, 135, 0); } }
      @media (prefers-reduced-motion: reduce) { .x-pulse { animation: none; } }
      @media (max-width: 599px) { .x-strip .x-live span:not(.x-pulse) { display: none; } }

      .x-bar { max-width: var(--page-max); margin: 0 auto; padding: 6px var(--gutter); display: flex; align-items: center; gap: 10px; }
      .x-burger { all: unset; cursor: pointer; width: var(--tap); height: var(--tap); display: grid; place-items: center; border-radius: var(--r-s); margin-left: -10px; }
      .x-burger:hover { background: var(--x-card-2); }
      .x-burger:focus-visible { outline: 2px solid var(--x-lime); }
      .x-burger svg { width: 22px; height: 22px; }
      .x-logo { display: block; width: 108px; height: 54px; overflow: hidden; border-radius: 8px; flex: none; }
      .x-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
      .x-nav { display: none; }
      .x-nav a, .x-drawer a { text-decoration: none; color: var(--x-dim); font: var(--type-label); font-weight: var(--weight-medium); }
      .x-nav a { min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 11px; border-bottom: 2px solid transparent; white-space: nowrap; }
      .x-nav a:hover, .x-drawer a:hover { color: #fff; }
      .x-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--x-lime); }
      .x-lang { margin-left: auto; display: inline-flex; border: 1px solid var(--x-line-2); border-radius: var(--r-pill); padding: 2px; flex: none; }
      .x-lang button { all: unset; cursor: pointer; font: var(--type-tag); font-weight: var(--weight-bold); letter-spacing: 0.04em; min-width: var(--tap); min-height: var(--tap); display: inline-grid; place-items: center; border-radius: var(--r-pill); color: var(--x-dim); }
      .x-lang button:hover { color: #fff; }
      .x-lang button[aria-pressed="true"] { background: var(--x-lime); color: var(--x-bg); }
      .x-lang button:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 2px; }
      .x-drawer { border-top: 1px solid var(--x-line); padding: 6px var(--gutter) 14px; display: grid; }
      .x-drawer[hidden] { display: none; }
      .x-drawer a { min-height: var(--tap); display: flex; align-items: center; border-bottom: 1px solid var(--x-line); font-size: var(--size-body); }
      .x-drawer a[aria-current="page"] { color: var(--x-lime); }
      @media (min-width: 1024px) {
        .x-burger, .x-drawer { display: none !important; }
        .x-logo { width: 132px; height: 66px; }
        .x-nav { display: flex; gap: 2px; margin-left: 12px; }
      }

      /* ads */
      .x-ad { display: grid; place-items: center; border: 1px dashed var(--x-line-2); border-radius: var(--r-s); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, 0.025) 10px 20px); color: var(--x-dim); font: var(--type-caption); text-transform: uppercase; letter-spacing: 0.12em; text-align: center; padding: 8px; }
      .x-ad--leader { width: 100%; max-width: 728px; aspect-ratio: 728 / 90; min-height: 56px; margin: 8px auto 4px; }
      .x-ad--box { width: 300px; max-width: 100%; height: 250px; margin: 0 auto; }

      /* layout */
      .x-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
      .x-main { min-width: 0; outline: none; display: grid; gap: 40px; align-content: start; }
      .x-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
      @media (min-width: 1024px) {
        .x-layout { grid-template-columns: minmax(0, 1fr) 320px; }
        .x-side__sticky { position: sticky; top: 128px; }
      }
      .x-layout.is-wide { grid-template-columns: minmax(0, 1fr); }
      .x-layout.is-wide .x-side { display: none; }

      /* editorial type */
      .x-tag { display: inline-block; font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.1em; color: var(--x-lime); text-decoration: none; }
      a.x-tag:hover { color: var(--x-mag); }
      .x-tag--mag { color: var(--x-mag); }
      .x-meta { font: var(--type-caption); color: var(--x-dim); display: flex; flex-wrap: wrap; gap: 4px 12px; }
      .x-meta strong { color: #fff; font-weight: var(--weight-medium); }
      .x-meta time { font-family: var(--x-mono); }
      .x-hl { font-family: var(--x-serif); font-weight: 600; letter-spacing: -0.005em; color: #fff; text-decoration: none; }
      a.x-hl:hover { color: var(--x-lime); }
      .x-dek { color: var(--x-dim); line-height: 1.5; }
      .x-shead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-top: 2px solid var(--x-mag); padding-top: 12px; margin-bottom: 18px; }
      .x-shead h2 { font: 600 24px/1.15 var(--x-serif); }
      .x-shead a { font: var(--type-label); color: var(--x-lime); text-decoration: none; }
      .x-shead a:hover { text-decoration: underline; }

      /* story art: no photos, so each category has a drawn panel */
      .x-art { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background-color: var(--x-card-2); isolation: isolate; }
      .x-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px); }
      .x-art__glyph { position: absolute; right: 6%; bottom: -14%; font: 600 clamp(110px, 18vw, 240px)/1 var(--x-serif); color: rgba(255, 255, 255, 0.16); pointer-events: none; }
      .x-art__label { position: absolute; left: 14px; top: 12px; font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; background: rgba(13, 6, 24, 0.6); border-radius: var(--r-pill); padding: 4px 10px; }
      .x-art--markets { background-image: radial-gradient(90% 120% at 100% 0%, rgba(255, 46, 136, 0.55), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(198, 255, 0, 0.25), transparent 60%); }
      .x-art--regulation { background-image: radial-gradient(90% 120% at 0% 0%, rgba(120, 90, 255, 0.5), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(255, 46, 136, 0.3), transparent 60%); }
      .x-art--defi { background-image: radial-gradient(90% 120% at 100% 100%, rgba(198, 255, 0, 0.38), transparent 60%), radial-gradient(70% 90% at 0% 0%, rgba(0, 192, 135, 0.35), transparent 60%); }
      .x-art--ethereum { background-image: radial-gradient(90% 120% at 50% 0%, rgba(98, 126, 234, 0.55), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(198, 255, 0, 0.18), transparent 60%); }
      .x-art--business { background-image: radial-gradient(90% 120% at 0% 100%, rgba(255, 140, 40, 0.42), transparent 60%), radial-gradient(70% 90% at 100% 0%, rgba(255, 46, 136, 0.4), transparent 60%); }
      .x-art--analysis { background-image: radial-gradient(90% 120% at 100% 0%, rgba(198, 255, 0, 0.3), transparent 55%), radial-gradient(80% 110% at 0% 100%, rgba(150, 60, 255, 0.5), transparent 60%); }

      /* homepage lead and grid */
      .x-lead { display: grid; gap: 18px; }
      .x-lead__txt { display: grid; gap: 12px; align-content: center; }
      .x-lead h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; }
      .x-lead .x-dek { font-size: 18px; }
      @media (min-width: 768px) { .x-lead { grid-template-columns: 1.3fr 1fr; gap: 28px; } }
      .x-grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
      .x-story { display: grid; gap: 10px; align-content: start; }
      .x-story h3 { font-size: 20px; line-height: 1.2; }
      .x-story .x-art__glyph { font-size: 120px; }
      .x-story .x-dek { font-size: var(--size-small); }

      /* latest list */
      .x-latest { list-style: none; margin: 0; padding: 0; }
      .x-latest li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--x-line); }
      .x-latest li:first-child { padding-top: 4px; }
      .x-latest time { font: var(--type-small); font-family: var(--x-mono); color: var(--x-dim); padding-top: 2px; }
      .x-latest div { display: grid; gap: 6px; }
      .x-latest h3 { font-size: 19px; line-height: 1.25; }

      /* section rows */
      .x-rows { display: grid; gap: 0; }
      .x-row { display: grid; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--x-line); }
      .x-row:first-child { padding-top: 0; }
      .x-row__txt { display: grid; gap: 8px; align-content: start; }
      .x-row h2 { font-size: 24px; line-height: 1.15; }
      .x-row .x-art__glyph { font-size: 120px; }
      @media (min-width: 640px) { .x-row { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; } }
      .x-pagehead { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 2px solid var(--x-mag); }
      .x-pagehead h1 { font: 600 clamp(36px, 5vw, 56px)/1.02 var(--x-serif); }
      .x-pagehead p.x-dek { font-size: 17px; max-width: 62ch; }
      .x-empty { color: var(--x-dim); padding: 28px 0; }

      /* article */
      .x-article { display: grid; gap: 18px; max-width: 760px; }
      .x-back { font: var(--type-label); color: var(--x-dim); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
      .x-back:hover { color: var(--x-lime); }
      .x-article h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; }
      .x-article .x-dek { font: 400 20px/1.45 var(--x-serif); }
      .x-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line); }
      .x-share { display: flex; flex-wrap: wrap; gap: 8px; }
      .x-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--x-line-2); font: var(--type-label); color: #fff; white-space: nowrap; }
      .x-btn:hover { border-color: var(--x-lime); color: var(--x-lime); }
      .x-btn:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 2px; }
      .x-btn svg { width: 14px; height: 14px; }
      .x-btn--solid { background: #fff; color: var(--x-bg); border-color: #fff; font-weight: var(--weight-bold); }
      .x-btn--solid:hover { background: var(--x-lime); border-color: var(--x-lime); color: var(--x-bg); }
      .x-body { display: grid; gap: 1.1em; font: 400 19px/1.62 var(--x-serif); color: rgba(255, 255, 255, 0.92); }
      .x-body p:first-child::first-letter { float: left; font-size: 3.4em; line-height: 0.9; padding: 4px 8px 0 0; color: var(--x-mag); font-weight: 600; }
      .x-sources { background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--r-m); padding: 18px 20px; display: grid; gap: 10px; }
      .x-sources h2 { font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.1em; color: var(--x-dim); }
      .x-sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font: var(--type-small); }
      .x-sources a, .x-static a { color: #fff; text-decoration-color: var(--x-mag); text-underline-offset: 3px; }
      .x-sources a:hover, .x-static a:hover { color: var(--x-lime); }
      .x-disc { font: var(--type-caption); color: var(--x-dim); }

      /* sidebar boxes */
      .x-box { background: var(--x-card); border: 1px solid var(--x-line); border-radius: var(--r-m); padding: 16px; display: grid; gap: 12px; }
      .x-box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
      .x-box__head h2 { font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.1em; }
      .x-box__more { font: var(--type-label); color: var(--x-lime); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
      .x-sources a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
      a.x-hl { display: inline-block; min-height: var(--tap); }
      a.x-tag { display: inline-flex; align-items: center; min-height: var(--tap); }
      .x-most a { display: block; min-height: var(--tap); }
      .x-static a { display: inline-flex; align-items: center; min-height: var(--tap); }
      .x-art { text-decoration: none; }
      .x-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
      .x-status .x-live { font: var(--type-small); }
      .x-dateline { font: var(--type-caption); color: var(--x-dim); }
      @media (max-width: 420px) { .x-bar { gap: 6px; } .x-logo { width: 88px; height: 44px; } }
      .x-box__more:hover { text-decoration: underline; }
      .x-mini { width: 100%; border-collapse: collapse; font: var(--type-small); }
      .x-mini td { padding: 7px 0; border-bottom: 1px solid var(--x-line); vertical-align: middle; }
      .x-mini tr:last-child td { border-bottom: 0; }
      .x-mini .x-r { text-align: right; font-family: var(--x-mono); font-size: 13px; white-space: nowrap; padding-left: 8px; }
      .x-mini .x-sym { font-weight: var(--weight-bold); letter-spacing: 0.02em; text-transform: uppercase; }
      .x-mini .x-sp { width: 64px; padding-left: 10px; }
      .x-sp__box { position: relative; width: 64px; height: 24px; }
      .x-coinmini { display: flex; align-items: center; gap: 8px; }
      .x-ico { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--x-card-2); border: 1px solid var(--x-line-2); font-size: 10px; font-weight: var(--weight-bold); overflow: hidden; }
      .x-ico img { width: 100%; height: 100%; }
      .x-kpis { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .x-kpi { display: grid; gap: 4px; align-content: start; background: var(--x-card-2); border-radius: var(--r-s); padding: 12px; min-width: 0; }
      .x-kpi--wide { grid-column: 1 / -1; }
      .x-kpi__label { font: var(--type-caption); color: var(--x-dim); }
      .x-kpi__fig { font: 600 24px/1.1 var(--x-serif); }
      .x-kpi__sub { font: var(--type-caption); font-family: var(--x-mono); }
      .x-fng__bar { position: relative; height: 6px; border-radius: 3px; margin-top: 8px; background: linear-gradient(90deg, var(--x-down), #ffb020, var(--x-lime), var(--x-up)); }
      .x-fng__bar i { position: absolute; top: -4px; width: 4px; height: 14px; border-radius: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 2px var(--x-bg); }
      .x-most { list-style: none; margin: 0; padding: 0; counter-reset: most; }
      .x-most li { counter-increment: most; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--x-line); }
      .x-most li:last-child { border-bottom: 0; }
      .x-most li::before { content: counter(most); font: 600 26px/1 var(--x-serif); color: var(--x-mag); }
      .x-most a { font: 500 16px/1.3 var(--x-serif); }

      /* markets dashboard */
      .x-note { font: var(--type-small); color: var(--x-bg); background: var(--x-lime); border-radius: var(--r-s); padding: 10px 14px; }
      .x-note[hidden] { display: none; }
      .x-dash-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
      .x-dash-kpis .x-kpi { background: var(--x-card); border: 1px solid var(--x-line); padding: 16px; }
      .x-dash-kpis .x-kpi__fig { font-size: 28px; }
      .x-tablewrap { overflow-x: auto; border: 1px solid var(--x-line); border-radius: var(--r-m); background: var(--x-card); }
      .x-table { width: 100%; min-width: 960px; border-collapse: collapse; font: var(--type-small); }
      .x-table th, .x-table td { padding: 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--x-line); }
      .x-table thead th { font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--x-dim); background: var(--x-card-2); }
      .x-table tbody tr:last-child > * { border-bottom: 0; }
      .x-table tbody tr:hover > * { background: var(--x-card-2); }
      .x-table .x-l { text-align: left; }
      .x-table .x-rank { color: var(--x-dim); width: 36px; }
      .x-table .x-num { font-family: var(--x-mono); }
      .x-table .x-price { font-family: var(--x-mono); font-weight: var(--weight-bold); }
      .x-coin { position: sticky; left: 0; z-index: 1; background: var(--x-card); text-align: left !important; }
      .x-table thead .x-coin { z-index: 2; background: var(--x-card-2); }
      .x-coin__in { display: flex; align-items: center; gap: 10px; }
      .x-coin .x-ico { width: 24px; height: 24px; }
      .x-coin__name { font-weight: var(--weight-medium); color: #fff; }
      .x-coin__sym { color: var(--x-dim); text-transform: uppercase; margin-left: 6px; font-size: 12px; }
      .x-spark { position: relative; width: 120px; height: 36px; margin-left: auto; }

      /* static pages */
      .x-static { display: grid; gap: 16px; max-width: 720px; font: 400 18px/1.6 var(--x-serif); color: rgba(255, 255, 255, 0.9); }

      /* footer */
      .x-foot { margin-top: 56px; border-top: 2px solid var(--x-mag); padding-top: 32px; display: grid; gap: 28px; font: var(--type-small); color: var(--x-dim); }
      .x-foot__cols { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .x-foot__brand, .x-foot__news { grid-column: 1 / -1; display: grid; gap: 12px; align-content: start; }
      @media (min-width: 1024px) {
        .x-foot__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; }
        .x-foot__brand, .x-foot__news { grid-column: auto; }
      }
      .x-foot h2 { font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 8px; }
      .x-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
      .x-foot li a { color: var(--x-dim); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
      .x-foot li a:hover { color: var(--x-lime); }
      .x-foot .x-logo { width: 140px; height: 70px; }
      .x-news { display: flex; gap: 8px; flex-wrap: wrap; }
      .x-news input { flex: 1 1 180px; min-width: 0; min-height: var(--tap); box-sizing: border-box; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--x-line-2); background: var(--x-card); color: #fff; font: var(--type-body); }
      .x-news input::placeholder { color: var(--x-dim); }
      .x-news input:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 1px; }
      .x-news .x-btn { min-height: var(--tap); }
      .x-news__ok { color: var(--x-lime); }
      .x-foot__base { display: grid; gap: 8px; border-top: 1px solid var(--x-line); padding-top: 18px; font: var(--type-caption); }
      .x-foot__base strong { color: #fff; }
      .x-box[hidden] { display: none; }
      /* signals */
      .x-badge { display: inline-flex; align-items: center; gap: 6px; font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
      .x-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
      .x-badge--bull { background: var(--x-up); color: var(--x-bg); }
      .x-badge--neu { background: rgba(255, 255, 255, 0.16); color: #fff; }
      .x-badge--bear { background: var(--x-down); color: var(--x-bg); }
      .x-warn { border: 1px solid var(--x-mag); border-left-width: 4px; background: var(--x-card-2); border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 8px; font: var(--type-small); color: #fff; }
      .x-warn p { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
      .x-warn b { color: var(--x-mag); letter-spacing: 0.06em; }
      .x-warn--mini { padding: 10px 12px; font: var(--type-caption); }
      .x-warn--mini p { display: block; }
      .x-sigs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
      .x-sig__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
      .x-sig__coin { display: flex; align-items: center; gap: 10px; font: 600 20px/1.1 var(--x-serif); }
      .x-sig__coin small { font: var(--type-caption); color: var(--x-dim); display: block; font-family: var(--x-mono); }
      .x-sig dl { margin: 0; display: grid; }
      .x-sig dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--x-line); }
      .x-sig dl > div:last-child { border-bottom: 0; }
      .x-sig dt { font: var(--type-small); color: var(--x-dim); }
      .x-sig dd { margin: 0; text-align: right; font: var(--type-small); font-family: var(--x-mono); }
      .x-sig dd small { display: block; font-family: var(--sans); color: var(--x-dim); }
      .x-sig__foot { font: var(--type-caption); color: var(--x-dim); }
      .x-sigmini { list-style: none; margin: 0; padding: 0; }
      .x-sigmini li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--x-line); font: var(--type-small); }
      .x-sigmini li:last-child { border-bottom: 0; }
      .x-sigmini b { letter-spacing: 0.02em; }
      .x-sigmini span.x-r { margin-left: auto; font-family: var(--x-mono); font-size: 12px; color: var(--x-dim); }
      .x-method { margin: 0; padding-left: 18px; display: grid; gap: 6px; font: var(--type-small); color: var(--x-dim); }

      /* static pages */
      .x-static { display: grid; gap: 16px; max-width: 720px; font: 400 18px/1.6 var(--x-serif); color: rgba(255, 255, 255, 0.9); }

      /* footer */
      /* portfolio */
      .x-pf { display: grid; gap: 20px; min-width: 0; }
      .x-pf-local { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--x-lime); border-left-width: 4px; background: var(--x-card-2); border-radius: var(--r-m); padding: 14px 16px; font: var(--type-small); color: var(--x-dim); }
      .x-pf-local svg { width: 22px; height: 22px; color: var(--x-lime); }
      .x-pf-local strong { color: #fff; font-weight: var(--weight-medium); }
      .x-pf-bar { display: grid; gap: 12px; min-width: 0; }
      .x-pf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; min-width: 0; }
      .x-pf-tab { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--x-line-2); color: var(--x-dim); font: var(--type-label); font-weight: var(--weight-medium); white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
      .x-pf-tab:hover { color: #fff; border-color: var(--x-lime); }
      .x-pf-tab:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 2px; }
      .x-pf-tab[aria-pressed="true"] { background: var(--x-mag); border-color: var(--x-mag); color: #fff; }
      .x-pf-tab__n { font: var(--type-caption); font-family: var(--x-mono); background: rgba(13, 6, 24, 0.35); border-radius: var(--r-pill); padding: 1px 8px; }
      .x-pf-tab--new { border-style: dashed; color: var(--x-lime); }
      .x-pf-tools { display: flex; flex-wrap: wrap; gap: 8px; }
      .x-pf-tools .x-btn { padding: 0 14px; }
      .x-pf-tools .x-btn[aria-pressed="true"] { border-color: var(--x-lime); color: var(--x-lime); }
      .x-btn--danger:hover { border-color: var(--x-down); color: var(--x-down); }
      .x-pf-msg { font: var(--type-small); color: var(--x-lime); }
      .x-pf-msg:empty { display: none; }
      .x-pf-nform, .x-pf-form { display: grid; gap: 10px; }
      .x-pf-nform label, .x-pf-field label { font: var(--type-caption); color: var(--x-dim); }
      .x-pf-inline { display: flex; flex-wrap: wrap; gap: 8px; }
      .x-pf-inline .x-in { flex: 1 1 200px; }
      .x-in { box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--x-line-2); background: var(--x-bg); color: #fff; font: var(--type-body); font-size: 16px; }
      .x-in::placeholder { color: rgba(255, 255, 255, 0.45); }
      .x-in:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 1px; }
      .x-pf-form { border-color: var(--x-mag); margin-bottom: 16px; }
      .x-pf-formh { font: 600 20px/1.2 var(--x-serif); }
      .x-pf-field { display: grid; gap: 6px; min-width: 0; }
      .x-pf-grid2 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
      @media (min-width: 560px) { .x-pf-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
      .x-pf-results { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; border: 1px solid var(--x-line); border-radius: var(--r-s); background: var(--x-bg); max-height: 300px; overflow-y: auto; }
      .x-pf-results button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; min-height: var(--tap); display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 8px; font: var(--type-small); color: #fff; }
      .x-pf-results button:hover, .x-pf-results button:focus-visible { background: var(--x-card-2); outline: none; }
      .x-pf-results button:focus-visible { box-shadow: inset 0 0 0 2px var(--x-lime); }
      .x-pf-results small { margin-left: auto; color: var(--x-dim); font-family: var(--x-mono); }
      .x-pf-none { padding: 10px; color: var(--x-dim); font: var(--type-small); }
      .x-pf-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: var(--tap); }
      .x-pf-picked .x-ico { width: 28px; height: 28px; }
      .x-pf-picked small { color: var(--x-dim); font-family: var(--x-mono); }
      .x-pf-picked .x-btn { margin-left: auto; }
      .x-pf-err { color: var(--x-down); font: var(--type-small); }
      .x-pf-err:empty { display: none; }
      .x-pf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
      .x-pf-main { display: grid; gap: 24px; min-width: 0; }
      @media (min-width: 1024px) { .x-pf-main { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
      .x-pf-hold { min-width: 0; }
      .x-pf-hold .x-shead { align-items: center; }
      .x-pf-hold .x-shead h2 { min-width: 0; overflow-wrap: anywhere; }
      .x-ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 14px; border: 1px solid var(--x-line); border-radius: var(--r-m); background: var(--x-card); margin-bottom: 10px; }
      .x-ph__coin { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 100px; position: relative; }
      .x-ph__coin .x-ico { width: 32px; height: 32px; font-size: 13px; }
      .x-ph__name { min-width: 0; display: grid; }
      .x-ph__name b { font-weight: var(--weight-medium); overflow-wrap: anywhere; }
      .x-ph__name small { color: var(--x-dim); font-family: var(--x-mono); font-size: 12px; }
      .x-ph__note { font: var(--type-caption); font-style: normal; color: var(--x-dim); overflow-wrap: anywhere; }
      .x-ph__c { display: grid; gap: 2px; min-width: 0; }
      .x-ph__k { font: var(--type-caption); color: var(--x-dim); }
      .x-ph__v { font: var(--type-small); font-family: var(--x-mono); overflow-wrap: anywhere; }
      .x-ph__v small { display: block; font-size: 12px; }
      .x-ph__val { font-weight: var(--weight-bold); color: #fff; }
      .x-ph__act { position: absolute; display: flex; gap: 4px; }
      .x-ph { position: relative; }
      .x-ph > .x-ph__act { top: 10px; right: 10px; }
      .x-ibtn { all: unset; box-sizing: border-box; cursor: pointer; width: var(--tap); height: var(--tap); display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--x-line-2); color: var(--x-dim); }
      .x-ibtn svg { width: 18px; height: 18px; }
      .x-ibtn:hover { color: var(--x-lime); border-color: var(--x-lime); }
      .x-ibtn--del:hover { color: var(--x-down); border-color: var(--x-down); }
      .x-ibtn:focus-visible { outline: 2px solid var(--x-lime); outline-offset: 2px; }
      .x-ph--head { display: none; }
      .x-dimtxt { color: var(--x-dim); font-family: var(--sans); }
      @media (min-width: 900px) {
        .x-ph, .x-ph--head { grid-template-columns: minmax(130px, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1.15fr) 96px; align-items: center; gap: 12px; margin-bottom: 0; border-radius: 0; border-width: 0 0 1px; padding: 12px; }
        .x-ph--head { display: grid; font: var(--type-tag); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--x-dim); background: var(--x-card-2); border-radius: var(--r-m) var(--r-m) 0 0; }
        .x-ph--head span:not(:first-child), .x-ph__c { text-align: right; }
        .x-ph__coin { grid-column: auto; padding-right: 0; }
        .x-ph__k { display: none; }
        .x-ph__v { overflow-wrap: normal; white-space: nowrap; font-size: 13px; }
        .x-ph > .x-ph__act { position: static; justify-content: flex-end; }
        #pf-list { border: 1px solid var(--x-line); border-radius: var(--r-m); overflow: hidden; background: var(--x-card); }
        #pf-list .x-pf-empty { padding: 28px 16px; }
      }
      .x-pf-status { font: var(--type-caption); color: var(--x-dim); margin-top: 10px; }
      .x-pf-status.is-stale { color: var(--x-bg); background: var(--x-lime); border-radius: var(--r-s); padding: 8px 12px; }
      .x-pf-donut { position: relative; width: 100%; max-width: 240px; aspect-ratio: 1; margin: 0 auto; }
      .x-pf-donut canvas { width: 100% !important; height: 100% !important; }
      .x-pf-donut__mid { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; pointer-events: none; }
      .x-pf-donut__mid small { font: var(--type-caption); color: var(--x-dim); }
      .x-pf-donut__mid b { font: 600 clamp(14px, 4.2vw, 17px)/1.15 var(--x-serif); white-space: nowrap; }
      .x-pf-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
      .x-pf-legend li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--x-line); font: var(--type-small); }
      .x-pf-legend li:last-child { border-bottom: 0; }
      .x-pf-legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
      .x-pf-legend b { margin-left: auto; font-family: var(--x-mono); font-weight: var(--weight-regular); }
      .x-pf-disc { padding-top: 8px; border-top: 1px solid var(--x-line); }

      /* newsletter states (wci-widgets.js) */
      .x-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
      .x-news[hidden] { display: none; }
      .x-news__ok.is-error { color: #ff8a8a; }
      .x-news__retry { margin-top: 8px; }
      .x-news button[disabled] { opacity: 0.6; cursor: progress; }

      /* floating avatar (wci-widgets.js) */
      .wci-float { position: fixed; z-index: 60; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 10px; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
      .wci-float > * { pointer-events: auto; }
      .wci-float.is-away { opacity: 0; transform: translateY(12px); }
      .wci-float.is-away > *, .wci-float.is-away .wci-ava { pointer-events: none; }
      .wci-ava { all: unset; pointer-events: auto; box-sizing: border-box; cursor: pointer; width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #ff2e88, #c6ff00); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 46, 136, 0.45); transition: transform 0.18s ease, box-shadow 0.18s ease; }
      .wci-ava:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 26px rgba(198, 255, 0, 0.45); }
      .wci-ava:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
      .wci-ava__ring { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #0d0618; }
      .wci-ava__ring img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
      .wci-ava__wink { opacity: 0; }
      .wci-ava.is-wink .wci-ava__wink { opacity: 1; }
      .wci-ava.is-wink .wci-ava__open { opacity: 0; }
      .wci-float.is-in .wci-ava { animation: wci-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both; }
      @keyframes wci-pop { 0% { transform: scale(0) translateY(30px); opacity: 0; } 60% { transform: scale(1.12) translateY(-6px); opacity: 1; } 80% { transform: scale(0.95) translateY(0); } 100% { transform: scale(1); } }
      .wci-tip { position: relative; box-sizing: border-box; width: min(280px, calc(100vw - 28px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); background: var(--x-card-2, #1d0f34); border: 1px solid #ff2e88; border-radius: 16px 16px 4px 16px; padding: 12px 44px 12px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); color: #fff; font: var(--type-small); }
      .wci-tip[hidden] { display: none; }
      .wci-tip__txt a { color: #c6ff00; font-weight: var(--weight-bold); text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
      .wci-tip__x { all: unset; cursor: pointer; position: absolute; top: 0; right: 0; width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; line-height: 1; color: rgba(255, 255, 255, 0.75); border-radius: 50%; }
      .wci-tip__x:hover { color: #fff; }
      .wci-tip__x:focus-visible { outline: 2px solid #c6ff00; outline-offset: -4px; }
      @media (min-width: 1024px) { .wci-ava { width: 80px; height: 80px; } .wci-float { right: 24px; bottom: 24px; } }
      /* keep the end of the page clear of the bubble */
      body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
      @media (min-width: 1024px) { body { padding-bottom: 104px; } }
      @media (prefers-reduced-motion: reduce) {
        .wci-float.is-in .wci-ava { animation: none; }
        .wci-ava, .wci-float { transition: none; }
        .wci-ava:hover { transform: none; }
      }

/* ---- static article pages (generated by tools/gen_static.py) ---- */
.x-lang--links { gap: 0; }
.x-lang--links a { font: var(--type-tag); font-weight: var(--weight-bold); letter-spacing: 0.04em; min-width: var(--tap); min-height: var(--tap); display: inline-grid; place-items: center; border-radius: var(--r-pill); color: var(--x-dim); text-decoration: none; }
.x-lang--links a:hover { color: #fff; }
.x-lang--links a[aria-current="true"] { background: var(--x-lime); color: var(--x-bg); }
.x-drawer--static { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 0 var(--gutter) 8px; border-top: 0; }
.x-drawer--static a { border-bottom: 0; font-size: var(--size-small); min-height: 36px; }
@media (min-width: 1024px) { .x-drawer--static { display: none; } }
.x-crumbs { font: var(--type-caption); color: var(--x-dim); }
.x-crumbs a { color: var(--x-dim); text-decoration: none; }
.x-crumbs a:hover { color: var(--x-lime); }
.x-disc a { color: var(--x-dim); }
.x-foot__base p { max-width: 90ch; }
.x-pf-local { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .x-foot__cols > .x-foot__news:last-child { grid-column: 1 / -1; max-width: 640px; } }
.x-method.x-static { font: var(--type-body); color: rgba(255, 255, 255, 0.9); gap: 10px; }
