@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ——— tokens: a navy terminal, green like the miners' LEDs, blue like the hall ——— */
:root {
  --bg: #0a0f1f; --surface: #0d1429; --surface2: #121b36; --line: #1b2546; --line2: #2a3768;
  --text: #d6e0f5; --muted: #8592b6; --faint: #536088;
  --accent: #3dff8a; --accent-2: #8dffb9; --accent-ink: #04140b; --accent-soft: rgba(61, 255, 138, .1);
  --blue: #5aa9ff; --cyan: #4fd8ff; --pos: #3dff8a; --neg: #ff5c7a; --warn: #ffc860;
  --pos-soft: rgba(61, 255, 138, .14); --neg-soft: rgba(255, 92, 122, .14);
  --display: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'JetBrains Mono', ui-monospace, monospace;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 0px; --r-sm: 0px;
  --max: 1240px; --gut: 40px; --rail: 232px; --top: 0px;
  --studio: var(--surface);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 13.5px/1.6 var(--mono); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-left: var(--rail); font-variant-ligatures: none; }
a { color: inherit; text-decoration: none; transition: color .12s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(20px, 2vw, 26px); }
h2 { font-size: 14px; font-weight: 600; }
h3 { font-size: 13.5px; }
p { margin: 0 0 12px; }
b, strong { font-weight: 600; }
code, .mono { font-family: var(--mono); }
.display { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.dim { color: var(--faint); }
.pos, .green { color: var(--pos); }
.neg, .red, .ember { color: var(--neg); }
.accent { color: var(--accent); }
.blue { color: var(--blue); }
.amber { color: var(--text); }
[hidden] { display: none !important; }
::selection { background: rgba(61, 255, 138, .3); color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line2); }
::-webkit-scrollbar-track { background: transparent; }

.k, .eyebrow { font-size: 11.5px; color: var(--faint); letter-spacing: 0; text-transform: lowercase; font-weight: 400; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; display: inline-block; box-shadow: 0 0 8px rgba(61, 255, 138, .7); animation: blink 2s steps(1) infinite; }
.live-dot.off { background: var(--faint); box-shadow: none; animation: none; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .35; } }
.cursor { display: inline-block; width: .6em; height: 1.05em; background: var(--accent); vertical-align: -.15em; animation: cur 1.1s steps(1) infinite; }
@keyframes cur { 50% { opacity: 0; } }
.prompt { color: var(--faint); }
.prompt b { color: var(--accent); font-weight: 400; }
.prompt i { color: var(--text); font-style: normal; }

/* live numbers: a short flash when the value changes */
.lv { font-variant-numeric: tabular-nums; }
.lv-up { animation: lvUp 1s ease-out; }
.lv-down { animation: lvDown 1s ease-out; }
@keyframes lvUp { 0% { background: var(--pos-soft); color: var(--pos); text-shadow: 0 0 10px rgba(61, 255, 138, .6); } 100% { background: transparent; } }
@keyframes lvDown { 0% { background: var(--neg-soft); color: var(--neg); } 100% { background: transparent; } }

/* ——— the rack rail ——— */
.rail { position: fixed; left: 0; top: 0; bottom: 0; z-index: 30; width: var(--rail); display: flex; flex-direction: column; background: #080c1a; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.mark { display: block; padding: 22px 18px 18px; color: var(--accent); border-bottom: 1px solid var(--line); }
.mark pre { margin: 0; font: 700 10.5px/1.05 var(--mono); letter-spacing: 0; white-space: pre; color: var(--accent); text-shadow: 0 0 6px rgba(61, 255, 138, .75), 0 0 18px rgba(61, 255, 138, .35); transition: text-shadow .2s; }
.mark:hover pre { text-shadow: 0 0 8px rgba(61, 255, 138, .95), 0 0 26px rgba(61, 255, 138, .55); }
.units { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.u { position: relative; display: grid; grid-template-columns: 10px 34px 1fr; align-items: center; gap: 8px; height: 34px; padding: 0 18px; margin: 1px 10px; color: var(--muted); border: 1px solid transparent; background: linear-gradient(90deg, transparent, transparent); transition: color .12s, border-color .12s, background-color .12s; }
.u b { font-weight: 400; font-size: 11px; color: var(--faint); }
.u::after { content: ''; position: absolute; right: 10px; top: 50%; width: 14px; height: 5px; margin-top: -2.5px; background: repeating-linear-gradient(90deg, var(--line2) 0 2px, transparent 2px 4px); opacity: .7; }
.u:hover { color: var(--text); border-color: var(--line); background: var(--surface); }
.u:hover .led { background: var(--blue); box-shadow: 0 0 6px rgba(90, 169, 255, .8); }
.u.on { color: var(--text); border-color: var(--line2); background: var(--surface2); }
.u.on b { color: var(--accent); }
.u.on .led { background: var(--accent); box-shadow: 0 0 8px rgba(61, 255, 138, .9); animation: blink 2.4s steps(1) infinite; }
.u-me { margin-top: 10px; }
.u-me::before { content: ''; position: absolute; left: -10px; right: -10px; top: -7px; border-top: 1px solid var(--line); }
.led { width: 6px; height: 6px; border-radius: 50%; background: #1f2a4d; display: inline-block; flex: none; transition: background-color .12s, box-shadow .12s; }
.led.on { background: var(--accent); box-shadow: 0 0 8px rgba(61, 255, 138, .9); animation: blink 2.4s steps(1) infinite; }
.rail-buy { margin: 16px 18px 6px; }
.tele { padding: 12px 18px 6px; display: flex; flex-direction: column; font-size: 12px; }
.tl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 4px 0; color: var(--faint); white-space: nowrap; }
.tl-row b { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.tl-row b small { color: var(--faint); font-weight: 400; }
.tl-row b.on { color: var(--accent); }
.tl-row b.pre { color: var(--warn); }
.tl-row b.cy { color: var(--cyan); }
.tl-spark { margin: 8px 0 6px; padding: 8px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tl-spark span { display: block; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.spark { display: block; width: 100%; height: 34px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(61, 255, 138, .7)); }
.spark polyline.area { fill: rgba(61, 255, 138, .08); stroke: none; filter: none; }
.spark line { stroke: var(--line2); }
.rail-foot { margin-top: auto; padding: 12px 18px 16px; font-size: 11px; color: var(--faint); border-top: 1px solid var(--line); }
.rail-foot a:hover { color: var(--accent); }

/* ——— buttons: terminal buttons ——— */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 600 13.5px/1 var(--mono); height: 40px; padding: 0 18px; cursor: pointer; white-space: nowrap; user-select: none; transition: background-color .12s, border-color .12s, color .12s, box-shadow .12s, transform .12s; }
.btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px rgba(61, 255, 138, .15), 0 0 18px -6px rgba(61, 255, 138, .5); }
.btn:active { transform: scale(.97); transition-duration: .05s; }
.btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled=true] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; background: transparent; border-color: var(--line2); color: var(--muted); }
.btn.primary { background: #e7eefb; border-color: #e7eefb; color: #071022; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 22px -4px rgba(61, 255, 138, .65); }
.btn.primary:disabled { background: #e7eefb; border-color: #e7eefb; color: #071022; }
.btn.ghost { border-color: var(--line2); }
.btn.small { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn.big { height: 46px; padding: 0 22px; font-size: 14px; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn .arr { transition: transform .12s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn.copied { color: var(--accent); border-color: var(--accent); }
a.more, .section-head > a, .lnk-arrow { color: var(--blue); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
a.more:hover, .section-head > a:hover { color: var(--accent); }
a.more::after, .section-head > a::after { content: '→'; transition: transform .12s; } a.more:hover::after, .section-head > a:hover::after { transform: translateX(3px); }

/* ——— layout ——— */
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 36px var(--gut) 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.page-head p { color: var(--muted); max-width: 760px; margin: 12px 0 0; }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.section-head h2, .plate { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.section-head h2::before, .plate::before { content: ''; width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 6px rgba(61, 255, 138, .8); }
.section-head p { color: var(--muted); margin: 4px 0 0; font-size: 12.5px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card { background: transparent; border: 0; padding: 0; }
.label { color: var(--muted); }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; }

/* figures: one row of numbers in a pane */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.fig { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fig + .fig { border-left: 1px solid var(--line); }
.fig .v { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.15; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig .v small { font-size: .55em; color: var(--faint); }
.fig .s { font-size: 12px; color: var(--muted); }

/* split bar and htop-style meters */
.split-bar, .split { display: flex; gap: 2px; height: 6px; }
.split-bar > *, .split > div { min-width: 6px; font-size: 0; }
:is(.split-bar, .split) > .s-rigs { background: var(--accent); } :is(.split-bar, .split) > .s-burn { background: var(--neg); } :is(.split-bar, .split) > .s-team { background: var(--line2); }
.meter-t { white-space: nowrap; overflow: hidden; }
.meter-t .lbl { color: var(--cyan); }
.meter-t .br { color: var(--faint); }
.meter-t .fill { color: var(--accent); }
.meter-t .fill.neg { color: var(--neg); }
.meter-t .fill.blue { color: var(--blue); }
.meter-t .rest { color: #233056; }
.meter-t .val { color: var(--muted); }

/* ——— tables: htop rows ——— */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .06em; color: var(--faint); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line2); white-space: nowrap; text-transform: uppercase; }
th:first-child { padding-left: 8px; }
td { padding: 5px 12px 5px 0; border-bottom: 1px solid rgba(27, 37, 70, .6); vertical-align: middle; white-space: nowrap; }
td:first-child { padding-left: 8px; }
th:last-child, td:last-child { padding-right: 8px; }
tbody tr { transition: background-color .1s; }
tbody tr:hover { background: var(--surface2); }
td.r, th.r { text-align: right; }
td.nw { white-space: nowrap; }
td a:hover { color: var(--accent); }
.empty { padding: 22px 8px; color: var(--muted); }
td.empty { text-align: left; white-space: normal; }
tr.in td { animation: rowIn 1s ease-out; }
@keyframes rowIn { from { background: var(--accent-soft); } to { background: transparent; } }

/* ——— coins, people, tags ——— */
.coin { display: inline-flex; align-items: center; gap: 7px; min-width: 0; vertical-align: middle; }
.coin img, .coin .ph { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; background: var(--surface2); flex: none; }
.coin b { font-weight: 500; color: var(--cyan); }
.coin small { color: var(--muted); font-size: 12px; }
.av { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface2); }
.av.ph { display: inline-grid; place-items: center; font-size: 10px; color: var(--muted); text-transform: uppercase; }
.who { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1; padding: 3px 6px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.tag.pos, .tag.green { color: var(--pos); border-color: rgba(61, 255, 138, .35); }
.tag.neg, .tag.ember { color: var(--neg); border-color: rgba(255, 92, 122, .4); }
.tag.accent { color: var(--cyan); border-color: rgba(79, 216, 255, .4); }
.tag.grey { color: var(--muted); }
.tx { color: var(--faint); }
.tx:hover { color: var(--accent); }
.copy { cursor: pointer; border-bottom: 1px dashed var(--line2); }
.copy:hover { color: var(--accent); border-color: var(--accent); }

/* ——— rigs as ASCII ——— */
.rig-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #0b1124; border: 1px solid var(--line); container-type: inline-size; display: grid; place-items: center; isolation: isolate; }
.rig-img > img { width: 100%; height: 100%; object-fit: cover; }
.ascii { margin: 0; font: 500 calc(100cqw / (var(--cols, 28) * .6) * .86)/1.02 var(--mono); color: var(--accent); white-space: pre; letter-spacing: 0; text-align: left; user-select: none; text-shadow: 0 0 6px rgba(61, 255, 138, .35); transition: opacity .3s; }
.ascii.from3d { animation: fadeIn .4s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.v3d-host { position: relative; }
.v3d { position: absolute; inset: 0; z-index: 1; }
.v3d-host.is3d > .ascii, .v3d-host.is3d > .v3d-fb { opacity: 0; }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px 2px 3px; background: rgba(10, 15, 31, .85); border: 1px solid var(--line2); font-size: 11.5px; line-height: 1.2; color: var(--cyan); max-width: calc(100% - 16px); }
.chip img, .chip .ph { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface2); }
.chip.at-bl { left: 6px; bottom: 6px; }
.chip.at-tl { left: 6px; top: 6px; }
.chip.at-tr { right: 6px; top: 6px; padding: 2px 7px; color: var(--muted); }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.grid-rigs, .rigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px 16px; }
.rig-card { display: flex; flex-direction: column; gap: 8px; color: var(--text); min-width: 0; }
.rig-card:hover { color: var(--text); }
.rig-card .rig-img { transition: border-color .15s, box-shadow .15s; }
.rig-card:hover .rig-img { border-color: var(--accent); box-shadow: 0 0 24px -10px rgba(61, 255, 138, .6); }
.rig-card .info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rig-card .t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rig-card .t b { font-weight: 600; white-space: nowrap; }
.rig-card:hover .t b { color: var(--accent); }
.rig-card .t span { font-size: 12.5px; color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rig-card .s { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--faint); }
.rig-card .s b { color: var(--text); font-weight: 500; }
.rig-card .s .m b { color: var(--pos); }
.rig-card.open .t b { color: var(--faint); }

/* ——— tabs and segmented controls (sliding indicator from common.js) ——— */
.tabs, .seg { position: relative; display: inline-flex; gap: 0; border: 1px solid var(--line2); max-width: 100%; overflow-x: auto; scrollbar-width: none; isolation: isolate; }
.tabs::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
.tabs > .ind, .seg > .ind { position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; background: var(--cyan); transition: transform .22s cubic-bezier(.3, .7, .2, 1), width .22s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.tabs button, .seg button { position: relative; background: none; border: 0; color: var(--muted); font: 500 13px var(--mono); height: 32px; padding: 0 14px; cursor: pointer; white-space: nowrap; transition: color .15s, background-color .15s; }
.tabs button + button, .seg button + button { border-left: 1px solid var(--line); }
.tabs button:hover, .seg button:hover { color: var(--text); background: var(--surface2); }
.tabs button.on, .seg button.on { color: #04121c; background: transparent; font-weight: 600; }
.tabs button:active, .seg button:active { transform: scale(.97); }

input[type=text], input[type=number], select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line2); color: var(--text); padding: 0 12px; height: 38px; font: 13.5px var(--mono); border-radius: 0; transition: border-color .12s, box-shadow .12s; }
textarea { padding: 10px 12px; height: auto; }
input:hover, select:hover { border-color: #3a4a85; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
input::placeholder { color: var(--faint); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label { font-size: 12px; color: var(--muted); }
.err { color: var(--neg); }
.err:empty { display: none; }
.err::before { content: '! '; }

/* ——— bars ——— */
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; }
.bars i { flex: 1; background: var(--accent); opacity: .75; min-height: 2px; position: relative; transition: opacity .1s; box-shadow: 0 0 8px -2px rgba(61, 255, 138, .5); }
.bars i:hover { opacity: 1; }

/* ——— footer ——— */
footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; margin-top: auto; }
footer .in { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) 22px; display: flex; gap: 12px 28px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
footer .brand { padding: 0; border: 0; font-size: 12.5px; }
footer .brand img { width: 16px; height: 16px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ——— responsive ——— */
@media (max-width: 1100px) { :root { --rail: 200px; --gut: 28px; } .mark pre { font-size: 9px; } }
@media (max-width: 960px) {
  .g4, .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(3) { border-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--line); }
  .g3 { grid-template-columns: minmax(0, 1fr); }
}
/* phones and small tablets: the rail folds into a top bar + a dock of units */
@media (max-width: 900px) {
  :root { --rail: 0px; --top: 52px; --dock: 58px; }
  body { padding-left: 0; padding-top: var(--top); padding-bottom: var(--dock); }
  .rail { right: 0; bottom: auto; width: 100%; max-width: 100vw; height: var(--top); flex-direction: row; align-items: center; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .mark { padding: 0 14px; border: 0; }
  .mark pre { font-size: 6.5px; }
  .tele { flex-direction: row; padding: 0; margin-left: auto; order: 1; }
  .rail-buy { order: 2; }
  .tele .tl-row { display: none; padding: 0 12px; gap: 8px; }
  .tele .tl-row:nth-child(5) { display: flex; }
  .tele .tl-spark { display: none; }
  .rail-buy { margin: 0 10px 0 0; height: 34px; padding: 0 12px; font-size: 12.5px; }
  .rail-buy .arr { display: none; }
  .rail-foot { display: none; }
  .units { position: fixed; left: 0; right: 0; bottom: 0; height: var(--dock); flex-direction: row; padding: 0; background: #080c1a; border-top: 1px solid var(--line); border-bottom: 0; overflow-x: auto; scrollbar-width: none; }
  .units::-webkit-scrollbar { display: none; }
  .u { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: 1 0 auto; min-width: 62px; height: 100%; margin: 0; padding: 0 8px; border: 0; border-right: 1px solid var(--line); font-size: 12px; }
  .u b { font-size: 9.5px; }
  .u::after, .u-me::before { display: none; }
  .u-me { margin: 0; }
  .u.on { background: var(--surface2); box-shadow: inset 0 2px 0 var(--accent); }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { font-size: 13px; }
  main { padding: 24px var(--gut) 56px; }
  .section { margin-top: 48px; }
  .page-head { margin-bottom: 22px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .grid-rigs, .rigs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .rig-card .t, .rig-card .s { flex-direction: column; gap: 0; }
  .fig { padding: 12px; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) { .tele .tl-row span { display: none; } .tele .tl-row { padding: 0 10px; } .rail { overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.btn, .tabs button, .seg button, .opt { text-transform: lowercase; }
.crumb { width: 100%; max-width: var(--max); margin: 0 auto; padding: 14px var(--gut) 0; display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: var(--faint); }
.crumb b { color: var(--cyan); font-weight: 500; }
.crumb + main { padding-top: 22px; }

/* the wordmark: outlined "miner" (thin stroke, no fill) with a blinking green cursor */
.wm { display: inline-flex; align-items: flex-end; gap: .08em; font: 700 40px/1 var(--mono); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px var(--text); text-transform: lowercase; }
.wm-cur { display: inline-block; width: .42em; height: .12em; margin-bottom: .08em; background: var(--accent); box-shadow: 0 0 10px rgba(61, 255, 138, .7); animation: wm-blink 1.05s steps(1) infinite; }
@keyframes wm-blink { 50% { opacity: 0; } }
.mark .wm { font-size: 38px; }
.mark:hover .wm { -webkit-text-stroke-color: var(--accent); }
.wm-big { font-size: clamp(64px, 9vw, 132px); -webkit-text-stroke-width: 1.6px; margin-bottom: 18px; text-shadow: 0 0 30px rgba(10, 15, 31, .9); }
@media (prefers-reduced-motion: reduce) { .wm-cur { animation: none; } }
@media (max-width: 1100px) { .mark .wm { font-size: 32px; } }
@media (max-width: 760px) { .mark .wm { font-size: 22px; -webkit-text-stroke-width: 1px; } .wm-big { font-size: 64px; } }
.mark { display: flex; align-items: center; gap: 10px; }
.mark-logo { width: 44px; height: 44px; flex: none; object-fit: cover; image-rendering: auto; }
@media (max-width: 1100px) { .mark-logo { width: 36px; height: 36px; } }
@media (max-width: 760px) { .mark-logo { width: 26px; height: 26px; } .mark { gap: 6px; } }
