/* Shell: service-page chrome, Console set, windows, toast. docs/10-design-system.md §4, §7, §9 */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nx-void); color: var(--nx-text); font: 16px/1.5 var(--nx-font-body); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
a { color: var(--nx-link); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--nx-cyan); outline-offset: 2px; }
img { max-width: 100%; }

.nx-skip { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--nx-ink); color: var(--nx-text); padding: 8px 12px; font: 600 12px var(--nx-font-console); border: 2px solid var(--nx-cyan); text-decoration: none; }
.nx-skip:focus { top: 8px; }

/* AI label, mandatory wherever a character's name appears (P3) */
.nx-ai { display: inline-block; font: 600 9px/1.4 var(--nx-font-console); color: var(--nx-void); background: var(--nx-acid); border-radius: 3px; padding: 1px 4px; letter-spacing: .08em; vertical-align: 1px; }

/* ---- Service-page shell ---- */
.nx-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--nx-void) url(/static/img/background.png) center top / cover fixed; }
.nx-shell::before { content: ""; position: fixed; inset: 0; background: rgba(5, 6, 36, .6); pointer-events: none; z-index: 0; }
.nx-topbar { position: relative; z-index: 2; height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: rgba(8, 12, 24, .92); border-bottom: 2px solid var(--nx-cyan); box-shadow: 0 0 18px rgba(11, 222, 251, .35); }
.nx-topbar .brand { font: 22px var(--nx-font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; background: var(--nx-grad-logo); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(1px 1px 0 #040212); }
.nx-topbar nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nx-topbar nav a { position: relative; font: 13px var(--nx-font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-acid-text); text-decoration: none; padding: 6px 9px; border-radius: 14px; text-shadow: var(--nx-text-outline); }
.nx-topbar nav a:hover, .nx-topbar nav a[aria-current="page"] { background: rgba(11, 222, 251, .15); color: #fff; box-shadow: inset 0 0 10px rgba(242, 9, 243, .35); }
.nx-topbar form { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nx-topbar input[type=search] { width: 220px; max-width: 40vw; height: 34px; border-radius: 17px; border: 1px solid var(--nx-cyan); background: var(--nx-ink); color: var(--nx-text); padding: 0 12px; font: 14px var(--nx-font-body); }
.nx-topbar .account { font: 600 12px var(--nx-font-console); letter-spacing: .06em; color: var(--nx-text); text-decoration: none; border: 1px solid var(--nx-text-dim); padding: 7px 10px; border-radius: 4px; white-space: nowrap; }
.nx-main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px 16px 40px; }
.nx-footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; background: var(--nx-ink); border-top: 2px solid var(--nx-cyan); font: 11px var(--nx-font-console); letter-spacing: .06em; color: var(--nx-text-dim); }
.nx-footer a { color: var(--nx-text); text-decoration: none; border: 1px solid var(--nx-text-dim); padding: 4px 8px; }
.nx-footer .counter { color: var(--nx-acid); background: #031a0a; border: 1px solid #39ff8a; padding: 2px 6px; }
.nx-footer .spacer { flex: 1; }

/* ---- Console set: essential controls, flat, 7:1 ---- */
.nx-console { background: var(--nx-ink); border: 3px solid var(--nx-cyan); border-radius: 10px; box-shadow: inset 0 0 24px rgba(0, 0, 0, .6), var(--nx-glow-cyan); overflow: hidden; margin: 0 0 20px; }
.nx-console > header { background: var(--nx-grad-chrome); color: var(--nx-void); font: 600 12px var(--nx-font-console); letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; }
.nx-console > .body { padding: 16px 18px; }
.nx-console h1, .nx-console h2 { font: 28px var(--nx-font-display); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; color: var(--nx-text); text-shadow: 0 0 10px rgba(11, 222, 251, .5); }
.nx-console h2 { font-size: 20px; }
.nx-console p { margin: 0 0 10px; }
.nx-console .dim { color: var(--nx-text-dim); }
.nx-console ul.rows { list-style: none; margin: 0; padding: 0; }
.nx-console ul.rows li { padding: 8px 0; border-bottom: 1px solid rgba(11, 222, 251, .2); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.nx-console ul.rows li .meta { font: 12px var(--nx-font-console); color: var(--nx-text-dim); margin-left: auto; }
.nx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 2px solid rgba(11, 222, 251, .7); background: var(--nx-grad-pill); color: #fff; font: 16px var(--nx-font-display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: var(--nx-glow-cyan); text-shadow: 0 0 6px var(--nx-cyan), 1px 1px 2px #000; transition: transform .15s ease, box-shadow .15s ease; }
.nx-btn:hover { transform: translateY(-2px); box-shadow: var(--nx-glow-hot); color: #fff; }
.nx-btn:active { transform: scale(.96); }
.nx-btn.primary { border-color: rgba(242, 9, 243, .8); box-shadow: var(--nx-glow-magenta); text-shadow: 0 0 6px var(--nx-magenta), 1px 1px 2px #000; }
.nx-btn.console { background: var(--nx-ink); box-shadow: none; border: 1px solid var(--nx-cyan); font: 600 12px var(--nx-font-console); letter-spacing: .06em; text-shadow: none; }
.nx-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.nx-btn.small { min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 15px; }
.nx-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.nx-field label { font: 600 12px var(--nx-font-console); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-text-dim); }
.nx-field input, .nx-field textarea, .nx-field select { background: var(--nx-void); color: var(--nx-text); border: 1px solid var(--nx-cyan); border-radius: 6px; padding: 10px 12px; font: 15px var(--nx-font-body); }
.nx-notice { border: 1px solid var(--nx-warn); color: var(--nx-warn); padding: 10px 12px; border-radius: 6px; font: 13px var(--nx-font-console); }
.nx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.nx-card { display: block; background: rgba(11, 17, 86, .5); border: 2px solid rgba(11, 222, 251, .5); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--nx-text); transition: transform .15s ease, box-shadow .15s ease; }
.nx-card:hover { transform: translateY(-2px); box-shadow: var(--nx-glow-cyan); color: #fff; }
.nx-card .title { font: 18px var(--nx-font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--nx-acid-text); text-shadow: var(--nx-text-outline); }
.nx-card .sub { font: 12px var(--nx-font-console); color: var(--nx-text-dim); }
.nx-flux { display: block; width: min(320px, 70vw); margin: 0 auto 10px; animation: nxLevitate 4.5s ease-in-out infinite; }

/* ---- Retro window system (lifted from the prototype; one instance per open window) ---- */
.nx-win-layer { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.nx-win { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 760px); max-height: 86vh; display: flex; flex-direction: column; background: var(--nx-deep); border: 3px solid var(--nx-cyan); border-radius: 10px; box-shadow: 0 0 30px rgba(11, 222, 251, .6), 0 0 60px rgba(242, 9, 243, .4); overflow: hidden; pointer-events: auto; animation: nxWindowPop .22s cubic-bezier(.175, .885, .32, 1.275); }
.nx-win.is-maximized { left: 2vw !important; top: 2vh !important; transform: none; width: 96vw; height: 94vh; max-height: 94vh; }
.nx-win.is-minimized .nx-win-body { display: none; }
.nx-win-title { background: var(--nx-grad-chrome); color: var(--nx-void); font: 600 12px var(--nx-font-console); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; display: flex; align-items: center; gap: 10px; cursor: grab; user-select: none; }
.nx-win-title:active { cursor: grabbing; }
.nx-win-title .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-win-btn { width: 26px; height: 26px; border-radius: 4px; border: 1px solid var(--nx-void); background: var(--nx-ink); color: var(--nx-text); font: 700 12px var(--nx-font-console); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nx-win-btn:hover { background: var(--nx-magenta); color: #fff; }
.nx-win-body { flex: 1; overflow: auto; padding: 16px; background: var(--nx-ink); color: var(--nx-text); font: 14px/1.5 var(--nx-font-body); }
.nx-win-body h2 { font: 22px var(--nx-font-display); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
@keyframes nxWindowPop { from { transform: translate(-50%, -50%) scale(.7); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

/* ---- Toast (secret found, status) ---- */
.nx-toast { position: fixed; left: 50%; top: 24px; transform: translateX(-50%); z-index: 1200; background: var(--nx-ink); border: 2px solid var(--nx-acid); box-shadow: 0 0 18px rgba(206, 244, 27, .6); color: var(--nx-text); font: 600 13px var(--nx-font-console); letter-spacing: .08em; padding: 12px 18px; animation: nxToastIn .3s ease-out; max-width: 92vw; }
@keyframes nxToastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes nxLevitate { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- FX toggles ---- */
body.fx-scanlines::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 800; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, .25) 50%); background-size: 100% 3px; }

@media (max-width: 720px) {
  .nx-topbar { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .nx-topbar form { margin-left: 0; width: 100%; }
  .nx-topbar input[type=search] { flex: 1; max-width: none; }
}
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt { margin-top: 14px; }

/* ---- Forum ---- */
.nx-post { border: 1px solid rgba(11, 222, 251, .3); border-left: 3px solid var(--nx-magenta); border-radius: 6px; padding: 10px 14px; margin: 0 0 10px; background: rgba(11, 17, 86, .35); }
.nx-post header { font: 12px var(--nx-font-console); letter-spacing: .04em; margin-bottom: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.nx-post header a:last-child { margin-left: auto; }
.nx-post .body p { margin: 0 0 8px; }

/* ---- Chat ---- */
.nx-chat-grid { display: flex; gap: 0; min-height: 420px; }
.nx-chat-log { flex: 1; min-width: 0; height: 60vh; max-height: 560px; overflow-y: auto; padding: 12px 14px; font: 14px/1.5 var(--nx-font-console); background: var(--nx-void); }
.nx-chat-side { width: 180px; flex: none; border-left: 1px solid rgba(11, 222, 251, .3); padding: 12px; font: 12px var(--nx-font-console); }
.nx-chat-side h2 { font: 600 11px var(--nx-font-console); letter-spacing: .1em; color: var(--nx-acid); margin: 0 0 8px; text-transform: uppercase; }
.nx-chat-side ul { list-style: none; margin: 0; padding: 0; } .nx-chat-side li { padding: 3px 0; }
.nx-msg { padding: 2px 0; word-wrap: break-word; }
.nx-msg time { color: var(--nx-text-dim); margin-right: 6px; font-size: 11px; }
.nx-msg .who a { color: var(--nx-acid-text); text-decoration: none; font-weight: 600; }
.nx-msg.emote { color: var(--nx-ice); font-style: italic; } .nx-msg.emote a { color: var(--nx-ice); }
.nx-msg.system { color: var(--nx-text-dim); }
.nx-chat-empty { color: var(--nx-text-dim); padding: 20px; text-align: center; }
.nx-chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(11, 222, 251, .3); background: var(--nx-deep); }
.nx-chat-form input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--nx-cyan); background: var(--nx-ink); color: var(--nx-text); padding: 0 14px; font: 15px var(--nx-font-body); }
@media (max-width: 720px) { .nx-chat-grid { flex-direction: column; } .nx-chat-side { width: auto; border-left: 0; border-top: 1px solid rgba(11, 222, 251, .3); } .nx-chat-log { height: 50vh; } }
/* Account forms and the one-time recovery banner */
.nx-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.nx-two h2 { margin: 8px 0 10px; }
.nx-stack { max-width: 460px; }
.nx-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--nx-text); margin: 0 0 12px; }
.nx-check input { margin-top: 3px; }
.nx-code { display: inline-block; font: 700 16px/1.3 var(--nx-font-console); letter-spacing: .12em; color: var(--nx-acid-text); background: var(--nx-void); border: 1px dashed var(--nx-acid); padding: 4px 10px; border-radius: 4px; user-select: all; }
.nx-notice.ok { color: var(--nx-ok, #3f6); border-color: var(--nx-ok, #3f6); }
.nx-banner { margin: 10px 16px 0; padding: 10px 14px; border: 2px solid var(--nx-acid); background: rgba(11, 222, 251, .08); border-radius: 8px; font-size: 14px; box-shadow: var(--nx-glow-cyan); }

/* ---- The torrent miniclient (docs/62 §3.3): one compact pill in the top bar; hidden until there is something to show ---- */
.nx-mini { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 4px 0 10px; border: 1px solid rgba(11, 222, 251, .55); border-radius: 15px; background: var(--nx-ink); font: 600 11px/1 var(--nx-font-console); letter-spacing: .02em; color: var(--nx-text-dim); white-space: nowrap; }
.nx-mini[hidden] { display: none; }
.nx-mini.on { color: var(--nx-ok); border-color: rgba(61, 255, 138, .6); box-shadow: 0 0 10px rgba(61, 255, 138, .2); }
.nx-mini-io { padding-right: 2px; }
.nx-mini-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 12px; border: 1px solid rgba(11, 222, 251, .6); background: rgba(11, 222, 251, .08); color: var(--nx-text); font: 12px/1 var(--nx-font-console); text-decoration: none; cursor: pointer; padding: 0; }
.nx-mini-btn:hover, .nx-mini-btn:focus-visible { background: rgba(11, 222, 251, .25); color: #fff; }
.nx-mini-btn.go { border-color: rgba(242, 9, 243, .8); color: #ffb3ff; }
.nx-mini-btn[hidden] { display: none; }
/* A finished download: a gentle pulse until the pointer or focus passes over it. */
.nx-mini-btn.pulse, .cl-saveall.pulse { animation: nxPulse 2.6s ease-in-out infinite; }
@keyframes nxPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(206, 244, 27, 0); } 50% { box-shadow: 0 0 0 5px rgba(206, 244, 27, .16), 0 0 16px rgba(206, 244, 27, .55); } }
@media (max-width: 720px) { .nx-topbar .nx-mini { order: 3; } .nx-mini-io { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; } }
/* The sound switch and its volume bar (bgm.js). The bar sits on top of the switch, joined to it by two short struts, so
   the pair reads as one piece; the bar's fill follows --v (set by bgm.js). Sizes come from --u, so the homepage can
   scale the same piece with its stage. */
.nx-vol { --u: 1px; --v: 60%; --strut: 4; position: relative; display: flex; align-items: center; height: calc(15 * var(--u)); padding: 0 calc(7 * var(--u)); box-sizing: border-box; border: calc(2 * var(--u)) solid var(--nx-cyan); border-radius: calc(8 * var(--u)); background: rgba(5, 6, 36, .88); box-shadow: 0 0 calc(8 * var(--u)) rgba(11, 222, 251, .55), inset 0 0 calc(6 * var(--u)) rgba(242, 9, 243, .35); cursor: pointer; }
.nx-vol::before, .nx-vol::after { content: ""; position: absolute; top: 100%; width: calc(2 * var(--u)); height: calc(var(--strut) * var(--u)); background: var(--nx-cyan); box-shadow: 0 0 calc(4 * var(--u)) var(--nx-cyan); }
.nx-vol::before { left: 22%; } .nx-vol::after { right: 22%; }
.nx-vol input { -webkit-appearance: none; appearance: none; width: 100%; height: 100%; margin: 0; background: transparent; cursor: pointer; }
.nx-vol input:focus-visible { outline: none; }
.nx-vol:focus-within { outline: 2px solid var(--nx-acid); outline-offset: 2px; }
.nx-vol input::-webkit-slider-runnable-track { height: calc(4 * var(--u)); border-radius: 99px; background: linear-gradient(90deg, var(--nx-cyan), var(--nx-magenta) var(--v), rgba(185, 192, 230, .22) var(--v)); }
.nx-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-top: calc(-3.5 * var(--u)); border-radius: 50%; background: #fff; border: calc(2 * var(--u)) solid var(--nx-magenta); box-shadow: 0 0 calc(6 * var(--u)) var(--nx-magenta); }
.nx-vol input::-moz-range-track { height: calc(4 * var(--u)); border-radius: 99px; background: rgba(185, 192, 230, .22); }
.nx-vol input::-moz-range-progress { height: calc(4 * var(--u)); border-radius: 99px; background: linear-gradient(90deg, var(--nx-cyan), var(--nx-magenta)); }
.nx-vol input::-moz-range-thumb { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: #fff; border: calc(2 * var(--u)) solid var(--nx-magenta); box-shadow: 0 0 calc(6 * var(--u)) var(--nx-magenta); }
.nx-vol[data-state="off"] { border-color: rgba(185, 192, 230, .45); box-shadow: none; }
.nx-vol[data-state="off"]::before, .nx-vol[data-state="off"]::after { background: rgba(185, 192, 230, .45); box-shadow: none; }
.nx-vol[data-state="off"] input { opacity: .45; }
.nx-vol[data-state="ducked"] { border-color: var(--nx-magenta); box-shadow: 0 0 calc(8 * var(--u)) rgba(242, 9, 243, .45); }
/* Sound is on but the browser holds the music until the first click: the bar pulses acid until then. */
.nx-vol[data-state="waiting"] { border-color: var(--nx-acid); animation: nxVolWait 1.1s ease-in-out infinite; }
.nx-vol[data-state="waiting"]::before, .nx-vol[data-state="waiting"]::after { background: var(--nx-acid); box-shadow: 0 0 calc(4 * var(--u)) var(--nx-acid); }
@keyframes nxVolWait { 50% { box-shadow: 0 0 calc(16 * var(--u)) var(--nx-acid), inset 0 0 calc(6 * var(--u)) rgba(206, 244, 27, .55); } }
/* Pages swapping in place (nav.js): a thin bar along the top while the next page loads. */
.nx-loadbar { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 2000; pointer-events: none; opacity: 0; background: linear-gradient(90deg, var(--nx-cyan), var(--nx-magenta), var(--nx-acid)); box-shadow: 0 0 10px var(--nx-cyan), 0 0 4px var(--nx-magenta); }
.nx-loadbar.on { opacity: 1; animation: nxLoad 1.6s cubic-bezier(.1, .7, .3, 1) forwards; }
.nx-loadbar.on.done { width: 100%; animation: none; opacity: 0; transition: width .12s ease-out, opacity .3s .12s; }
@keyframes nxLoad { from { width: 0; } to { width: 88%; } }
/* The top bar's switch: the homepage's sound art, small, under its bar. */
.nx-soundctl { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.nx-soundctl .nx-vol { width: 74px; --u: .8px; --strut: 4; }
.nx-sound-mini { position: relative; width: 84px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nx-sound-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: filter .15s ease; }
.nx-sound-mini[aria-pressed="true"] .off, .nx-sound-mini:not([aria-pressed="true"]) .on { visibility: hidden; }
.nx-sound-mini:hover img, .nx-sound-mini:focus-visible img { filter: drop-shadow(0 0 8px var(--nx-cyan)) brightness(1.12); }
.nx-sound-mini:focus-visible { outline: 2px solid var(--nx-acid); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 720px) { .nx-topbar .nx-soundctl { order: 2; } }
/* The same switch in a member page's host bar, in its own small frame (bgm-frame.js). */
html.nx-bgm-frame, html.nx-bgm-frame body { background: transparent; min-height: 0; height: 100%; overflow: hidden; }
html.nx-bgm-frame body { display: flex; align-items: center; justify-content: center; }
html.nx-bgm-frame .nx-soundctl { gap: 3px; }
html.nx-bgm-frame .nx-soundctl .nx-vol { width: 66px; --u: .7px; }
html.nx-bgm-frame .nx-sound-mini { width: 76px; height: 24px; }


/* The Messenger in the top bar (docs/64 §7): the button with the unread count; the profile's "Send a message" block. */
.nx-im-mini { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nx-im-mini img { width: 100%; height: 100%; display: block; transition: filter .15s ease, transform .15s ease; }
.nx-im-mini:hover img, .nx-im-mini:focus-visible img { filter: drop-shadow(0 0 8px var(--nx-magenta)); transform: rotate(-4deg) scale(1.06); }
.nx-im-mini .nx-badge { top: -4px; right: -6px; }
.nx-topbar nav a .nx-badge { top: -9px; right: -10px; min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; }
.nx-profile-po { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0 14px; padding: 10px; border: 1px solid var(--nx-cyan); border-radius: 10px; background: rgba(11, 222, 251, .06); }
.nx-profile-po .nx-btn { margin-left: auto; }
.nx-profile-dp { border-radius: 10px; }
.nx-im-link { text-decoration: none; font-size: .95em; filter: drop-shadow(0 0 4px rgba(11, 222, 251, .6)); }
.nx-im-link:hover { filter: drop-shadow(0 0 6px var(--nx-magenta)); }
.nx-pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; padding: 10px; border: 1px solid var(--nx-cyan); border-radius: 6px; background: rgba(0, 0, 0, .35); font: 12px/1.5 var(--nx-font-console); }
.nx-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.nx-dl dt { color: var(--nx-text-dim); } .nx-dl dd { margin: 0; overflow-wrap: anywhere; }
