/* =========================================================================
   NomadRails — "MISSION CONTROL" dark terminal system   (prefix: tm-)
   Near-black canvas, cool white text, single lemon-green accent,
   monospace data, blueprint grid, HUD corner ticks. No soft cards.
   ========================================================================= */

:root {
  --bg0: #0B0E13;
  --bg1: #10141B;
  --bg2: #161B23;
  --bg3: #1C222C;
  --line:  rgba(234,240,230,.09);
  --line2: rgba(234,240,230,.18);

  --txt:  #EAF0E6;
  --txt2: #98A39C;
  --txt3: #616C66;

  --acc:   #C6F24E;     /* lemon-green */
  --acc-d: #ABDA2E;
  --glow:  rgba(198,242,78,.30);
  --up:    #5BE39A;
  --mid:   #F2C14E;
  --down:  #FF6B5C;

  --disp: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1240px;
  --pad: clamp(16px, 4.5vw, 46px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--txt);
  background-color: var(--bg0);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(60rem 40rem at 82% -8%, rgba(198,242,78,.06), transparent 60%);
  background-size: 46px 46px, 46px 46px, auto;
  background-position: -1px -1px, -1px -1px, 0 0;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: #fff; }

h1,h2,h3,h4 { font-family: var(--disp); font-weight: 600; line-height: 1.05; margin: 0 0 .45em; letter-spacing: 0; color: #fff; }
h1 { font-size: clamp(2.5rem, 6.6vw, 5rem); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1.1em; }
strong { color: #fff; font-weight: 600; }

.tm-wrap { width: min(var(--wrap), 100% - 2*var(--pad)); margin-inline: auto; }

.tm-mono { font-family: var(--mono); }
.tm-kicker { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); margin: 0; }
.tm-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt2); }
.tm-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.tm-skip { position: absolute; left: -9999px; top: 0; background: var(--acc); color: #0B0E13; padding: 10px 14px; z-index: 300; font-family: var(--mono); }
.tm-skip:focus { left: 0; }
::selection { background: var(--acc); color: #0B0E13; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---- live status bar ---- */
.tm-statusbar { background: #06080C; border-bottom: 1px solid var(--line); overflow: hidden; }
.tm-statusbar__in { display: flex; align-items: center; gap: 26px; height: 34px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--txt2); white-space: nowrap; }
.tm-statusbar b { color: var(--txt); }
.tm-live { color: var(--acc); display: inline-flex; align-items: center; gap: 7px; }
.tm-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 var(--glow); animation: tm-pulse 2s infinite; }
@keyframes tm-pulse { 0%{box-shadow:0 0 0 0 var(--glow)} 70%{box-shadow:0 0 0 8px rgba(198,242,78,0)} 100%{box-shadow:0 0 0 0 rgba(198,242,78,0)} }
.tm-statusbar .sep { color: var(--txt3); }
@media (max-width: 680px) { .tm-statusbar__in span:nth-child(n+6) { display: none; } }

/* =======================  MASTHEAD  ======================= */
.tm-head { position: sticky; top: 0; z-index: 100; background: rgba(11,14,19,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tm-head__bar { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.tm-brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: #fff; }
.tm-brand__mark { width: 34px; height: 34px; flex: none; border: 1px solid var(--acc); display: grid; place-items: center; background: rgba(198,242,78,.08); box-shadow: 0 0 16px rgba(198,242,78,.18); }
.tm-brand__mark svg { width: 20px; height: 20px; }
.tm-brand__name { font-family: var(--disp); font-weight: 700; font-size: 1.32rem; letter-spacing: 0; }
.tm-brand__name b { color: var(--acc); font-weight: 700; }
.tm-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.tm-nav a { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--txt2); padding: 10px 13px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid transparent; }
.tm-nav a:hover { color: #fff; border-color: var(--line2); }
.tm-nav a[aria-current="page"] { color: var(--acc); }
.tm-nav a[aria-current="page"]::before { content: "› "; color: var(--acc); }
.tm-burger { margin-left: auto; display: none; min-width: 54px; height: 44px; padding: 0 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--txt); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; cursor: pointer; }

@media (max-width: 900px) {
  .tm-burger { display: inline-flex; align-items: center; justify-content: center; }
  .tm-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg1); border-bottom: 1px solid var(--line2); transform: translateY(-130%); transition: transform .26s ease; }
  .tm-nav[data-open="true"] { transform: translateY(0); }
  .tm-nav a { border: 0; border-bottom: 1px solid var(--line); padding: 15px var(--pad); font-size: .9rem; }
}

/* =======================  BUTTONS  ======================= */
.tm-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .04em; padding: 14px 22px; min-height: 50px; border: 1px solid var(--line2); cursor: pointer; transition: all .16s ease; }
.tm-btn svg { width: 17px; height: 17px; }
.tm-btn--acc { background: var(--acc); color: #0B0E13; border-color: var(--acc); font-weight: 600; box-shadow: 0 0 0 0 var(--glow); }
.tm-btn--acc:hover { background: #fff; border-color: #fff; color: #0B0E13; box-shadow: 0 0 28px var(--glow); transform: translateY(-1px); }
.tm-btn--ghost { background: transparent; color: var(--txt); }
.tm-btn--ghost:hover { color: #fff; border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.tm-btn--block { background: var(--bg2); color: var(--txt); }
.tm-btn--block:hover { color: #0B0E13; background: var(--acc); border-color: var(--acc); }

/* =======================  PANEL (HUD corner ticks)  ======================= */
.tm-panel { position: relative; background: var(--bg1); border: 1px solid var(--line2); }
.tm-panel--tick::before, .tm-panel--tick::after { content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none; }
.tm-panel--tick::before { top: -1px; left: -1px; border-top: 2px solid var(--acc); border-left: 2px solid var(--acc); }
.tm-panel--tick::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--acc); border-right: 2px solid var(--acc); }

/* =======================  HERO  ======================= */
.tm-hero { padding: clamp(36px,6vw,76px) 0 clamp(30px,4vw,52px); border-bottom: 1px solid var(--line); }
.tm-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 940px){ .tm-hero__grid{ grid-template-columns: 1fr; } }
.tm-hero h1 { text-wrap: balance; margin-bottom: .25em; }
.tm-hero h1 .hl { color: var(--acc); position: relative; }
.tm-hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 2px; background: var(--acc); box-shadow: 0 0 10px var(--glow); }
.tm-caret { display: inline-block; width: .14em; height: .82em; background: var(--acc); margin-left: .14em; transform: translateY(.06em); animation: tm-blink 1.1s steps(1) infinite; box-shadow: 0 0 10px var(--glow); }
@keyframes tm-blink { 50% { opacity: 0; } }
.tm-hero__stand { font-size: clamp(1.05rem,1.5vw,1.26rem); color: var(--txt2); max-width: 42ch; }
.tm-hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin: 28px 0 0; }
.tm-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.tm-hero__meta span { font-family: var(--mono); font-size: .74rem; color: var(--txt2); display: inline-flex; align-items: center; gap: 8px; }
.tm-hero__meta span::before { content: "▸"; color: var(--acc); }

/* console panel */
.tm-console { background: var(--bg1); }
.tm-console__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line2); font-family: var(--mono); font-size: .72rem; color: var(--txt2); }
.tm-console__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.tm-console__bar .dot.on { background: var(--acc); box-shadow: 0 0 8px var(--glow); }
.tm-console__bar .path { margin-left: 6px; color: var(--txt3); }
.tm-console__cmd { padding: 13px 16px 6px; font-family: var(--mono); font-size: .8rem; color: var(--txt2); }
.tm-console__cmd b { color: var(--acc); }
.tm-ctable { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .8rem; }
.tm-ctable th, .tm-ctable td { padding: 9px 16px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.tm-ctable thead th { color: var(--txt3); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.tm-ctable thead th:first-child, .tm-ctable tbody th { text-align: left; }
.tm-ctable tbody th { color: var(--txt); font-weight: 500; }
.tm-ctable td.g { color: var(--up); } .tm-ctable td.m { color: var(--mid); } .tm-ctable td.b { color: var(--down); }
.tm-console__foot { padding: 11px 16px; border-top: 1px solid var(--line2); font-family: var(--mono); font-size: .66rem; color: var(--txt3); }
.tm-console__foot::before { content: "// "; color: var(--acc); }

/* hero quote chips */
.tm-quote { margin-top: 22px; }
.tm-quoterow { display: flex; flex-wrap: wrap; border: 1px solid var(--line2); }
.tm-q { font-family: var(--mono); font-size: .74rem; padding: 10px 14px; border-right: 1px solid var(--line); color: var(--txt2); }
.tm-q:last-child { border-right: 0; }
.tm-q b { color: var(--txt); }
.tm-q .u { color: var(--up); } .tm-q .d { color: var(--down); }

/* =======================  SECTION  ======================= */
.tm-section { padding: clamp(44px,6vw,80px) 0; border-bottom: 1px solid var(--line); }
.tm-section--raise { background: linear-gradient(180deg, var(--bg1), transparent 70%); }
.tm-sechead { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(26px,4vw,44px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tm-sechead__no { font-family: var(--mono); font-size: .8rem; color: var(--acc); letter-spacing: .1em; }
.tm-sechead__t { flex: 1 1 320px; }
.tm-sechead__t h2 { margin: 0; }
.tm-sechead__t p { margin: .55em 0 0; color: var(--txt2); max-width: 62ch; }

/* =======================  SCENARIO MODULES  ======================= */
.tm-mods { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 960px){ .tm-mods{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 540px){ .tm-mods{ grid-template-columns: 1fr;} }
.tm-mod { position: relative; display: flex; flex-direction: column; padding: 22px 20px; background: var(--bg1); border: 1px solid var(--line2); color: var(--txt); text-decoration: none; transition: background .16s, border-color .16s, transform .16s; overflow: hidden; }
.tm-mod::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.tm-mod:hover { background: var(--bg2); border-color: var(--line2); transform: translateY(-3px); }
.tm-mod:hover::after { transform: scaleX(1); }
.tm-mod__no { font-family: var(--mono); font-size: .72rem; color: var(--acc); letter-spacing: .08em; }
.tm-mod__ico { width: 42px; height: 42px; margin: 16px 0 14px; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--acc); }
.tm-mod__ico svg { width: 22px; height: 22px; }
.tm-mod h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .3em; }
.tm-mod p { font-size: .9rem; color: var(--txt2); margin: 0 0 16px; }
.tm-mod__pick { margin-top: auto; font-family: var(--mono); font-size: .72rem; color: var(--txt3); border-top: 1px solid var(--line); padding-top: 12px; }
.tm-mod__pick b { color: var(--acc); }

/* =======================  DATA TABLE  ======================= */
.tm-tablewrap { border: 1px solid var(--line2); overflow-x: auto; background: var(--bg1); }
table.tm-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.tm-table caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-family: var(--mono); font-size: .7rem; color: var(--txt3); border-top: 1px solid var(--line); }
.tm-table th, .tm-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tm-table thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--txt3); font-weight: 500; background: var(--bg2); position: sticky; top: 0; }
.tm-table tbody th { color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1.04rem; background: var(--bg1); position: sticky; left: 0; }
.tm-table tbody tr:hover td, .tm-table tbody tr:hover th { background: var(--bg2); }
.tm-fig { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tm-fig.g { color: var(--up); } .tm-fig.m { color: var(--mid); } .tm-fig.b { color: var(--down); }
.tm-pill { display: inline-block; font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid currentColor; margin-left: 7px; vertical-align: middle; }
.tm-pill--pick { color: var(--acc); }
.tm-pill--spon { color: var(--mid); }
.tm-tcell { display: inline-flex; align-items: center; gap: 10px; }
.tm-logo { width: 24px; height: 24px; flex: none; border: 1px solid var(--line2); display: grid; place-items: center; color: #fff; font-family: var(--disp); font-weight: 700; font-size: .74rem; }
.lg-wise{background:#2563c9}.lg-revolut{background:#0b0d12;border-color:var(--line2)}.lg-payoneer{background:#ff4800}.lg-okx{background:#000;border-color:var(--line2)}.lg-n26{background:#1d8a73}

/* =======================  SPONSOR MODULE  ======================= */
.tm-ad { border: 1px solid var(--mid); background: var(--bg1); position: relative; }
.tm-ad__bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; border-bottom: 1px dashed var(--mid); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); }
.tm-ad__body { padding: clamp(20px,3vw,30px); display: grid; grid-template-columns: auto 1fr; gap: clamp(16px,3vw,26px); }
.tm-ad__seal { width: 66px; height: 66px; flex: none; border: 1px solid var(--line2); display: grid; place-items: center; background: #000; color: #fff; font-family: var(--disp); font-weight: 700; font-size: 1.6rem; }
.tm-ad h3 { color: #fff; margin: 0 0 .2em; }
.tm-ad__take { font-family: var(--mono); font-size: .72rem; color: var(--txt3); margin-bottom: 12px; }
.tm-ad__take .s { color: var(--mid); letter-spacing: 1px; }
.tm-ad p { color: var(--txt2); }
.tm-pc { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-family: var(--mono); font-size: .8rem; }
.tm-pc li { display: flex; gap: 9px; color: var(--txt2); }
.tm-pc .p::before { content: "+"; color: var(--up); font-weight: 700; }
.tm-pc .c::before { content: "\2212"; color: var(--down); font-weight: 700; }
@media (max-width: 620px){ .tm-ad__body{ grid-template-columns: 1fr;} .tm-pc{ grid-template-columns: 1fr;} }

.tm-disclosure { border: 1px solid var(--line); border-left: 3px solid var(--mid); background: var(--bg1); padding: 16px 18px; font-family: var(--mono); font-size: .76rem; line-height: 1.65; color: var(--txt2); }
.tm-disclosure b { color: var(--txt); }

/* =======================  STATS  ======================= */
.tm-stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line2); }
.tm-stat { padding: clamp(18px,2.4vw,26px); border-right: 1px solid var(--line); }
.tm-stat:last-child { border-right: 0; }
.tm-stat b { display: block; font-family: var(--disp); font-size: clamp(2rem,4.2vw,3rem); font-weight: 700; color: var(--acc); line-height: 1; letter-spacing: 0; }
.tm-stat span { font-family: var(--mono); font-size: .72rem; color: var(--txt2); display: block; margin-top: 9px; }
@media (max-width: 720px){ .tm-stats{ grid-template-columns:1fr 1fr;} .tm-stat:nth-child(2){border-right:0} .tm-stat:nth-child(-n+2){border-bottom:1px solid var(--line)} }

/* =======================  TOOLS  ======================= */
.tm-tools { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 820px){ .tm-tools{ grid-template-columns:1fr 1fr;} }
@media (max-width: 460px){ .tm-tools{ grid-template-columns:1fr;} }
.tm-tool { padding: 20px; background: var(--bg1); border: 1px solid var(--line2); text-decoration: none; color: var(--txt); display: flex; flex-direction: column; gap: 8px; transition: background .16s, transform .16s; }
.tm-tool:hover { background: var(--bg2); transform: translateY(-3px); }
.tm-tool__logo { width: 38px; height: 38px; border: 1px solid var(--line2); display: grid; place-items: center; color: #fff; font-family: var(--disp); font-weight: 700; }
.tm-tool h4 { font-family: var(--disp); color: #fff; font-size: 1.12rem; margin: 4px 0 0; font-weight: 600; }
.tm-tool p { margin: 0; font-size: .88rem; color: var(--txt2); }
.tm-tool__go { margin-top: auto; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--acc); }

/* =======================  FAQ  ======================= */
.tm-faq details { border: 1px solid var(--line2); margin-bottom: 12px; background: var(--bg1); }
.tm-faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 18px; font-family: var(--disp); font-weight: 600; font-size: 1.1rem; color: #fff; position: relative; min-height: 44px; }
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::before { content: "▸"; color: var(--acc); margin-right: 12px; display: inline-block; transition: transform .2s; }
.tm-faq details[open] summary::before { transform: rotate(90deg); }
.tm-faq__a { padding: 0 18px 20px 42px; color: var(--txt2); }
.tm-faq__a p:last-child { margin-bottom: 0; }

/* =======================  CTA  ======================= */
.tm-cta { border: 1px solid var(--acc); background: linear-gradient(135deg, rgba(198,242,78,.07), transparent 60%), var(--bg1); padding: clamp(28px,4vw,48px); position: relative; box-shadow: inset 0 0 60px rgba(198,242,78,.05); }
.tm-cta h2 { color: #fff; max-width: 20ch; }
.tm-cta p { color: var(--txt2); max-width: 52ch; }

/* =======================  FOOTER  ======================= */
.tm-foot { background: #06080C; border-top: 1px solid var(--line2); padding: clamp(36px,5vw,58px) 0 24px; }
.tm-foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(20px,3vw,40px); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px){ .tm-foot__top{ grid-template-columns:1fr 1fr;} }
@media (max-width: 440px){ .tm-foot__top{ grid-template-columns:1fr;} }
.tm-foot__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--disp); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; }
.tm-foot__brand .tm-brand__mark { width: 30px; height: 30px; }
.tm-foot p { color: var(--txt2); font-size: .92rem; max-width: 38ch; }
.tm-foot h5 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--txt3); margin: 0 0 14px; }
.tm-foot ul { list-style: none; margin: 0; padding: 0; }
.tm-foot li { margin-bottom: 9px; font-size: .93rem; }
.tm-foot a { color: var(--txt2); } .tm-foot a:hover { color: var(--acc); }
.tm-foot__ad { margin-top: 22px; border: 1px solid var(--line); padding: 14px 16px; }
.tm-foot__ad .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); }
.tm-foot__ad p { color: var(--txt2); font-size: .84rem; margin: 8px 0 12px; }
.tm-foot__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--txt3); }

@media (prefers-reduced-motion: reduce){ *{ animation: none !important; transition: none !important; } }

@media (max-width: 560px) {
  .tm-statusbar { display: none; }

  .tm-faq__a a,
  .tm-disclosure a,
  .tm-ad p a:not(.tm-btn),
  .tm-cta p a:not(.tm-btn),
  .tm-foot a,
  .tm-foot__bottom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  .tm-foot li { margin-bottom: 0; }
}

/* =========================================================================
   ARTICLE COMPONENTS (tm-) — for the native Chinese content pages
   ========================================================================= */
.tm-lang { display: inline-flex; align-items: center; border: 1px solid var(--line2); margin-left: 8px; font-family: var(--mono); font-size: .72rem; }
.tm-lang a { padding: 7px 11px; color: var(--txt2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.tm-lang a + a { border-left: 1px solid var(--line2); }
.tm-lang a:hover { color: #fff; }
.tm-lang a.on { background: var(--acc); color: #0B0E13; font-weight: 700; }
@media (max-width: 900px){ .tm-nav .tm-lang { margin: 8px 0 0; } }

.tm-article { padding: clamp(24px,4vw,42px) 0 clamp(40px,6vw,68px); }
.tm-crumb { font-family: var(--mono); font-size: .74rem; color: var(--txt3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.tm-crumb a { color: var(--txt3); text-decoration: none; } .tm-crumb a:hover { color: var(--acc); }
.tm-crumb span { color: var(--line2); }
.tm-article__head { max-width: 780px; margin: 0 0 clamp(22px,4vw,36px); }
.tm-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line2); font-family: var(--mono); font-size: .72rem; color: var(--acc); margin-bottom: 16px; }
.tm-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--glow); display: inline-block; }
.tm-article__head h1 { font-size: clamp(2rem,4.6vw,3.1rem); }
.tm-lede { font-size: 1.18rem; line-height: 1.55; color: var(--txt2); margin-top: .3em; }
.tm-article__meta { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: .78rem; color: var(--txt3); margin-top: 16px; align-items: center; }
.tm-article__meta time { color: var(--txt2); }
.tm-byline { display: inline-flex; align-items: center; gap: 9px; }
.tm-byline__av { width: 30px; height: 30px; border: 1px solid var(--acc); background: rgba(198,242,78,.1); display: grid; place-items: center; color: var(--acc); font-weight: 700; font-size: .76rem; font-family: var(--disp); }

.tm-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: clamp(28px,4vw,52px); align-items: start; }
.tm-layout > * { min-width: 0; }
@media (max-width: 940px){ .tm-layout { grid-template-columns: minmax(0,1fr); } }
.tm-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 940px){ .tm-aside { position: static; } }

.tm-prose { font-size: 1.05rem; color: #C9D2CC; max-width: 72ch; }
.tm-prose h2 { font-family: var(--disp); color: #fff; font-size: clamp(1.45rem,3vw,2rem); margin: 1.7em 0 .5em; scroll-margin-top: 84px; position: relative; padding-left: 18px; }
.tm-prose h2::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 3px; background: var(--acc); }
.tm-prose h2:first-child { margin-top: 0; }
.tm-prose h3 { font-family: var(--disp); color: var(--acc); font-size: 1.4rem; margin: 1.4em 0 .4em; scroll-margin-top: 84px; }
.tm-prose ul, .tm-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.tm-prose li { margin-bottom: .5em; } .tm-prose li::marker { color: var(--acc); }
.tm-prose blockquote { margin: 1.4em 0; padding: 14px 18px 14px 22px; border-left: 3px solid var(--mid); background: var(--bg1); color: var(--txt2); }
.tm-prose a { color: var(--acc); font-weight: 500; } .tm-prose a:hover { color: #fff; }
.tm-prose code { background: #06080C; padding: 1px 6px; font-family: var(--mono); font-size: .88em; border: 1px solid var(--line2); color: var(--acc); }
.tm-prose strong { color: #fff; }

.tm-takeaways { background: var(--bg1); border: 1px solid var(--line2); border-left: 3px solid var(--acc); padding: 20px 24px; margin: 0 0 28px; }
.tm-takeaways h2 { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .7em; color: var(--acc); }
.tm-takeaways ul { margin: 0; padding-left: 1.2em; } .tm-takeaways li { font-size: .95rem; color: #C9D2CC; }

.tm-note { display: flex; gap: 14px; padding: 16px 18px; margin: 24px 0; font-size: .92rem; border: 1px solid var(--line2); }
.tm-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.tm-note--risk { background: rgba(255,107,92,.07); border-color: rgba(255,107,92,.35); color: #f3b8b0; } .tm-note--risk svg { color: var(--down); }
.tm-note--info { background: rgba(242,193,78,.07); border-color: rgba(242,193,78,.35); color: #f0d49a; } .tm-note--info svg { color: var(--mid); }
.tm-note strong { color: #fff; }

.tm-verdict { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin: 22px 0 28px; }
.tm-verdict__item { background: var(--bg1); border: 1px solid var(--line2); padding: 14px 16px; }
.tm-verdict__item h4 { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--txt3); margin: 0 0 4px; }
.tm-verdict__item p { margin: 0; font-family: var(--disp); font-size: 1.1rem; font-weight: 600; color: var(--acc); }

.tm-incontext { margin: 26px 0; border: 1px solid var(--line2); border-left: 3px solid var(--mid); background: var(--bg1); padding: 18px 20px; }
.tm-incontext__tag { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.tm-incontext p { font-size: .92rem; margin: .5em 0; color: var(--txt2); }
.tm-inlink { color: var(--acc); font-weight: 500; }

.tm-toc { position: sticky; top: 84px; font-size: .88rem; }
.tm-toc__title { font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--txt3); margin-bottom: 12px; }
.tm-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line2); }
.tm-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--txt2); text-decoration: none; line-height: 1.35; }
.tm-toc a:hover { color: var(--acc); } .tm-toc a.is-active { color: var(--acc); font-weight: 500; border-left-color: var(--acc); }
@media (max-width: 940px){ .tm-toc { position: static; margin-bottom: 28px; border: 1px solid var(--line2); padding: 16px 18px; } .tm-toc ol { border-left: 0; } .tm-toc a { padding-left: 0; border-left: 0; } }

.tm-stars { color: var(--mid); letter-spacing: 2px; }
.tm-divider { height: 1px; background: var(--line2); border: 0; margin: clamp(36px,5vw,60px) 0; }
.tm-related { padding-top: clamp(30px,4vw,50px); }
