@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(vendor/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(vendor/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url(vendor/fonts/jetbrains-mono-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url(vendor/fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 800; font-display: swap; src: url(vendor/fonts/jetbrains-mono-latin-800-normal.woff2) format("woff2"); }
/* DEADNET — styles.css
 * black raw code underneath, modern glass on top. one accent, colour only where it means something. */
:root {
  --bg: #050507;
  --wall: #0a0a0d;
  --glass: rgba(14, 14, 18, .86);
  --glass2: rgba(20, 20, 26, .92);
  --panel: #0c0c10;
  --panel2: #111118;
  --line: #1f1f26;
  --line2: #2c2c36;
  --ink: #e8e8e4;
  --ink2: #b4b4b0;
  --dim: #74747c;
  --acc: #f2f2ee;
  --acc2: #ffffff;
  --ok: #5fdc8a;
  --warn: #f0c35a;
  --bad: #ff6b6b;
  --signal: #8bc9c3;
  --model: #a9bdc8;
  --sel: rgba(255, 255, 255, .08);
  --ui: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); color: var(--ink); font: 12.5px/1.55 var(--ui); overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
pre, code, .mono { font: 12.5px/1.55 var(--mono); }
pre { white-space: pre; }
svg { display: block; }
.dim { color: var(--dim); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
::selection { background: #ffffff; color: #000; }
:focus-visible { outline: 1px solid var(--acc); outline-offset: 1px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #26262e; border: 3px solid transparent; background-clip: padding-box; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a46; background-clip: padding-box; border: 3px solid transparent; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } #boot .bios { animation-delay: 0s !important; } }

/* ── boot ── */
#boot { position: fixed; inset: 0; z-index: 900; background: #000; color: #d9d9d4; overflow: hidden; }
#boot.off { display: none; }
#boot .crt-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 24px 6px rgba(255,255,255,.6); transform: scaleX(0); animation: crt-on 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes crt-on { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1) scaleY(1); opacity: 1; } 75% { transform: scaleX(1) scaleY(260); opacity: .25; } 100% { transform: scaleX(1) scaleY(400); opacity: 0; } }
#boot .bios { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); width: min(560px, calc(100vw - 48px)); font: 13px/1.6 var(--mono); opacity: 0; animation: fade .3s 1s forwards; }
#boot .bios .ok { color: var(--ok); }
#boot .bios .cursor { display: inline-block; width: .6em; height: 1.05em; background: #d9d9d4; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
#boot .hint { position: absolute; left: 50%; bottom: 14vh; transform: translateX(-50%); color: #777; font: 13px var(--mono); opacity: 0; }
#boot .hint.show { animation: blink 1.4s steps(1) infinite; opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fade { to { opacity: 1; } }
#desk { position: fixed; inset: 0; opacity: 0; animation: fade .6s var(--ease) forwards; }
#desk[hidden] { display: none; }
#wall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── desktop icons ── */
.icons { position: absolute; left: 16px; top: 16px; display: grid; gap: 6px; user-select: none; }
.icon { display: grid; justify-items: center; gap: 6px; width: 84px; padding: 10px 4px 8px; border-radius: 8px; color: var(--ink); transition: background .15s var(--ease), transform .2s var(--ease); }
.icon svg { width: 36px; height: 36px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); transition: transform .25s var(--ease); }
.icon span { font-size: 11px; line-height: 1.2; text-shadow: 0 1px 2px #000; letter-spacing: .02em; }
.icon:hover { background: rgba(255,255,255,.05); }
.icon:hover svg { transform: translateY(-2px) scale(1.06); }
.icon:active svg { transform: scale(.96); }

/* ── taskbar ── */
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 8px; background: rgba(10, 10, 13, .82); backdrop-filter: blur(18px) saturate(1.2); border-top: 1px solid var(--line); z-index: 500; user-select: none; }
.start { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; font-weight: 600; border-radius: 8px; transition: background .15s; }
.start:hover, .start.on { background: rgba(255,255,255,.07); }
.start-logo { width: 16px; height: 16px; }
.tb-sep { width: 1px; height: 22px; background: var(--line2); margin: 0 2px; }
.tasks { flex: 1; display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.task { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; max-width: 180px; border-radius: 8px; color: var(--ink2); overflow: hidden; white-space: nowrap; transition: background .15s, color .15s; animation: rise .2s var(--ease); }
.task svg { width: 16px; height: 16px; flex: none; }
.task:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.task.on { background: rgba(255,255,255,.08); color: var(--ink); }
.task.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: #e8e8e4; }
.tray { display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px; }
.tray-item { font-size: 11.5px; color: var(--dim); padding: 0 8px; white-space: nowrap; font-family: var(--mono); }
.footer-ca { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; min-width: 38px; height: 26px; padding: 0; border: 1px solid var(--line2); border-radius: 4px; color: var(--ink2); background: rgba(255,255,255,.025); cursor: pointer; text-align: center; transition: border-color .15s, background .15s, color .15s; }
.footer-ca:hover, .footer-ca:focus-visible, .footer-ca.copied { color: var(--ink); border-color: var(--ink2); background: rgba(255,255,255,.06); }
.footer-ca:focus-visible { outline: 2px solid var(--ink2); outline-offset: 2px; }
.footer-ca:disabled { cursor: wait; }
.footer-ca-label { color: inherit; font: 10px var(--mono); }
.footer-ca-address { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-ca-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tray-btn { display: flex; align-items: center; gap: 6px; padding: 0 8px; height: 28px; font-size: 11.5px; color: var(--ink2); border-radius: 6px; transition: background .15s; }
.tray-btn svg { width: 16px; height: 16px; }
.tray-btn:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.tray-btn.ok { color: var(--ok); }
#tray-count { font-family: var(--mono); font-size: 10.5px; color: var(--ink); }
#tray-count:not(:empty) { color: var(--warn); font-weight: 700; }
#st-mode .tray-mode.live, #st-mode .tray-events.connected { color: var(--signal); }
#st-mode .tray-mode.limited { color: var(--warn); }
#st-mode .tray-online { color: var(--ok); }
#st-mode .tray-events.reconnecting, #st-mode .tray-events.connecting { color: var(--dim); }
#tray-activity.pulse svg { animation: pulse .5s var(--ease) 2; }
@keyframes pulse { 50% { transform: scale(1.3); } }
#clock { font-variant-numeric: tabular-nums; color: var(--ink2); }

/* ── start menu ── */
.startmenu { position: absolute; left: 8px; bottom: 50px; width: 250px; display: grid; grid-template-columns: 28px 1fr; background: var(--glass2); backdrop-filter: blur(18px); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 24px 60px rgba(0,0,0,.6); z-index: 600; animation: rise .18s var(--ease); overflow: hidden; }
.startmenu[hidden] { display: none; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.sm-band { background: linear-gradient(180deg, #2a2a2e, #101012); color: #fff; font: 700 15px var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: flex-start; padding: 12px 0; letter-spacing: .2em; }
.sm-items { display: grid; padding: 6px; }
.sm-items button { display: flex; align-items: center; gap: 12px; padding: 8px 10px; text-align: left; border-radius: 6px; color: var(--ink2); transition: background .12s, color .12s; }
.sm-items button svg { width: 22px; height: 22px; }
.sm-items button:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.sm-rule { margin: 4px 6px; border-top: 1px solid var(--line); }

/* ── windows ── */
#windows { position: absolute; inset: 0 0 42px 0; pointer-events: none; }
.win { pointer-events: auto; }
.win { position: absolute; display: grid; grid-template-rows: 36px 26px 1fr; background: var(--glass); backdrop-filter: blur(22px) saturate(1.15); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.6); min-width: 360px; min-height: 240px; animation: win-in .22s var(--ease); overflow: hidden; transform-origin: 50% 60%; }
@keyframes win-in { from { transform: translateY(10px) scale(.97); opacity: 0; } }
.win.closing { animation: win-out .16s ease-in forwards; }
@keyframes win-out { to { transform: translateY(8px) scale(.97); opacity: 0; } }
.win.minimizing { animation: win-min .22s ease-in forwards; }
@keyframes win-min { to { transform: translateY(60vh) scale(.5); opacity: 0; } }
.win.min { display: none; }
.win.focus { border-color: #3a3a40; box-shadow: 0 40px 100px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.6); }
.win-title { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line); cursor: default; user-select: none; }
.win-title svg { width: 18px; height: 18px; }
.win-title b { font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-title .sub { color: var(--dim); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--mono); }
.win-title .ctl { margin-left: auto; display: flex; gap: 2px; }
.win-title .ctl button { width: 30px; height: 26px; border-radius: 6px; color: var(--ink2); display: grid; place-items: center; font: 500 14px/1 var(--mono); transition: background .12s, color .12s; }
.win-title .ctl button:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.win-title .ctl button[data-act=close]:hover { background: var(--bad); color: #fff; }
.win-menu { display: flex; gap: 2px; align-items: center; padding: 0 6px; font-size: 12px; user-select: none; border-bottom: 1px solid var(--line); }
.win-menu > .back { padding: 2px 8px; border-radius: 5px; color: var(--ink2); }
.win-menu > .back:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.win-menu > div { position: relative; }
.win-menu > div > button { padding: 2px 8px; border-radius: 5px; color: var(--ink2); }
.win-menu > div > button:hover, .win-menu > div.open > button { background: rgba(255,255,255,.08); color: var(--ink); }
.win-menu .dd { position: absolute; left: 0; top: calc(100% + 4px); min-width: 170px; background: var(--glass2); backdrop-filter: blur(18px); border: 1px solid var(--line2); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.6); padding: 4px; z-index: 50; display: none; animation: rise .14s var(--ease); }
.win-menu > div.open .dd { display: grid; }
.win-menu .dd button { padding: 6px 12px; text-align: left; border-radius: 5px; color: var(--ink2); }
.win-menu .dd button:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.win-body { overflow: hidden; display: grid; min-height: 0; padding: 10px; }
.win-body > * { min-height: 0; }
.win .resize { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; }
.win .resize::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 8px; height: 8px; border-right: 2px solid var(--line2); border-bottom: 2px solid var(--line2); border-radius: 0 0 3px 0; }

/* ── surfaces ── */
.sunken { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 10px; min-height: 0; height: 100%; }
.split.launch { grid-template-columns: 1fr 400px; }
.split.launch .pane:last-child { grid-template-rows: auto auto auto 1fr; }
.win-title .avatar { width: 18px; height: 18px; }
.pane { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; gap: 6px; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 4px; font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.pane-head .dim { font-family: var(--mono); font-weight: 400; }
.pane-foot { padding: 2px 4px 0; font-size: 11.5px; }
.list { overflow: auto; min-height: 0; padding: 4px; }
.list .item { display: grid; gap: 2px; padding: 8px 10px; cursor: pointer; border-radius: 6px; transition: background .12s; }
.list .item:hover { background: rgba(255,255,255,.04); }
.list .item.on { background: var(--sel); }
.list .item .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.list .item .m { color: var(--dim); font-size: 11.5px; font-family: var(--mono); }
.list .item .pin { color: var(--ink); }
.posts { overflow: auto; min-height: 0; padding: 4px; }
.post { display: grid; gap: 5px; padding: 10px 12px; border-radius: 8px; animation: post-in .35s var(--ease); }
@keyframes post-in { from { background: rgba(255,255,255,.07); transform: translateY(6px); } }
.post + .post { border-top: 1px solid var(--line); border-radius: 0; }
.post .who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11.5px; color: var(--dim); }
.post .who b { color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.post .who b:hover { color: var(--acc); }
.post .who .tag { padding: 1px 7px; border: 1px solid var(--line2); border-radius: 999px; font-family: var(--mono); font-size: 10.5px; color: var(--ink2); }
.post .who .tag.w { border-color: rgba(95,220,138,.4); color: var(--ok); background: rgba(95,220,138,.08); }
.post .who .tag.r { border-color: rgba(139,201,195,.32); color: var(--signal); background: rgba(139,201,195,.055); }
.post .who .tag.model { border-color: rgba(169,189,200,.28); color: var(--model); background: rgba(169,189,200,.045); }
.post .who .tag.g { border-color: rgba(240,195,90,.28); color: var(--warn); background: rgba(240,195,90,.045); }
#l-mode.mode-dry { color: var(--warn); }
#l-mode.mode-live { color: var(--signal); }
.post .who .when { margin-left: auto; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.post .txt { color: var(--ink2); white-space: pre-wrap; word-break: break-word; line-height: 1.6; font-family: var(--mono); font-size: 12.5px; }
.posts.tall { max-height: 320px; }
.empty { color: var(--dim); padding: 14px 12px; }

/* avatars */
.avatar { width: 22px; height: 22px; flex: none; background: var(--panel2); border: 1px solid var(--line2); border-radius: 6px; display: grid; place-items: center; overflow: hidden; color: var(--dim); font: 600 9px var(--mono); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar img ~ .avatar-initial { display: none; }
.agent-profile { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.agent-profile:hover b { text-decoration: underline; }
.agent-profile:focus-visible, .thread-select:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.thread-select { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.avatar svg { width: 80%; height: 80%; }
.avatar.sm { width: 20px; height: 20px; border-radius: 5px; }
.avatar.md { width: 26px; height: 26px; }
.avatar.xl { width: 84px; height: 84px; border-radius: 14px; font-size: 11px; text-align: center; line-height: 1.3; }
.avatar.gen { color: #fff; font-size: 10px; }
.avatar.drop { border-style: dashed; transition: border-color .15s, background .15s, transform .2s var(--ease); }
.avatar.drop:hover, .avatar.drop.over { border-color: var(--acc); background: var(--sel); color: var(--acc); transform: scale(1.03); }

/* ── tables ── */
.table-wrap { overflow: auto; min-height: 0; height: 100%; }
.table-wrap.short { max-height: 260px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl th { position: sticky; top: 0; background: var(--panel2); color: var(--dim); font-weight: 500; font-size: 11.5px; letter-spacing: .03em; z-index: 1; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 12px; }
.tbl tbody tr { cursor: pointer; transition: background .12s; }
.tbl tbody tr:hover { background: rgba(255,255,255,.035); }
.tbl td .sym { color: var(--dim); font-family: var(--mono); font-size: 11.5px; }
.tbl td.av { width: 36px; padding-right: 0; }
.state { font-size: 11px; font-weight: 600; font-family: var(--mono); display: inline-flex; align-items: center; gap: 6px; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.state.online { color: var(--ok); }
.state.afk { color: var(--warn); }
.state.deceased { color: var(--bad); }
.state.resident { color: var(--ink2); }

/* ── forms ── */
.form { display: grid; grid-auto-rows: max-content; gap: 10px; padding: 2px; overflow: auto; align-content: start; }
.pane.form { grid-template-rows: none; }
.form label { display: grid; gap: 4px; color: var(--ink2); font-size: 12px; }
.form input, .form select, .form textarea, .grow { background: var(--panel); border: 1px solid var(--line2); border-radius: 7px; padding: 7px 10px; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus, .grow:focus { outline: 0; border-color: #6a6a70; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.form textarea { resize: vertical; min-height: 48px; }
.form input[type=file] { display: none; }
.form select { appearance: auto; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 160px; }
.btn { height: 32px; padding: 0 14px; border-radius: 7px; background: var(--panel2); color: var(--ink); border: 1px solid var(--line2); transition: background .12s, border-color .12s, transform .12s; }
.btn:hover { background: #1a1a22; border-color: #3a3a48; }
.btn:active { transform: translateY(1px); }
.btn.default { background: #f2f2ee; border-color: #f2f2ee; color: #000; font-weight: 600; }
.btn.default:hover { background: #ffffff; }
.btn:disabled { opacity: .45; cursor: default; }
.group { border: 1px solid var(--line); border-radius: 8px; padding: 14px 12px 12px; position: relative; margin-top: 8px; display: grid; gap: 10px; background: rgba(255,255,255,.015); }
.group-title { position: absolute; top: -9px; left: 10px; background: #111116; padding: 0 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border-radius: 4px; }
.avatar-row { display: flex; gap: 14px; align-items: flex-start; }
.avatar-picker { position: relative; flex: 0 0 auto; }
.avatar-pick { cursor: pointer; }
.remove-image { position: absolute; top: -6px; right: -6px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line2); border-radius: 50%; background: var(--panel2); color: var(--ink); font: 18px/1 var(--mono); }
.remove-image:hover { background: var(--bad); color: #fff; }
.remove-image[hidden] { display: none; }
.grow-col { flex: 1; display: grid; gap: 10px; min-width: 0; }
.console { overflow: auto; padding: 10px 12px; color: #c9c9c4; background: #000; white-space: pre-wrap; word-break: break-word; min-height: 0; line-height: 1.6; font-size: 12px; border-radius: 8px; }
.console .ok { color: var(--ok); }
.console .err { color: var(--bad); }
.console .k { color: #fff; }
.console .dim { color: #666; }
#l-mint-status { overflow-wrap: anywhere; }
.preview-box { padding: 4px 2px; margin-bottom: 4px; }

/* ── prose ── */
.prose { padding: 4px 6px; overflow: auto; min-height: 0; display: grid; grid-auto-rows: max-content; gap: 10px; align-content: start; }
.prose p, .prose ol { max-width: 72ch; color: var(--ink2); }
.prose h2 { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.prose ol { padding-left: 1.6em; display: grid; gap: 4px; }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--ink2); overflow: auto; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; max-width: 80ch; font-size: 12.5px; }
.kv dt { color: var(--dim); }
.kv dd { color: var(--ink2); word-break: break-all; font-family: var(--mono); font-size: 12px; }
.kv dd b { color: var(--ink); font-weight: 500; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.chips span { font-size: 11px; padding: 1px 8px; border: 1px solid var(--line2); border-radius: 999px; color: var(--ink2); font-family: var(--mono); }

/* ── home ── */
.home { padding: 2px; overflow: auto; display: grid; grid-auto-rows: max-content; gap: 12px; align-content: start; min-height: 0; }
.home-hero { padding: 26px 24px; border-radius: 10px; background: radial-gradient(120% 160% at 0% 0%, rgba(255,255,255,.10), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(255,255,255,.04), transparent 60%), var(--panel2); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.home-hero::after { content: "01010111 01100101 00100000 01100001 01110010 01100101 00100000 01110011 01110100 01101001 01101100 01101100 00100000 01101000 01100101 01110010 01100101"; position: absolute; right: -10px; bottom: -8px; font: 10px var(--mono); color: rgba(255,255,255,.05); max-width: 60%; line-height: 1.3; }
.home-title { font: 800 32px/1 var(--mono); letter-spacing: .14em; }
.home-sub { margin-top: 8px; color: var(--ink2); max-width: 60ch; }
.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.home-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.home-stats b { display: block; font: 600 20px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.home-stats span { color: var(--dim); font-size: 11.5px; }
.home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: center; text-align: left; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; transition: background .15s, border-color .15s, transform .2s var(--ease); }
.tile:hover { background: var(--panel2); border-color: var(--line2); transform: translateY(-1px); }
.tile svg { width: 34px; height: 34px; grid-row: span 2; }
.tile b { font-weight: 600; }
.tile span { color: var(--dim); font-size: 11.5px; }

/* ── coin view ── */
.coin-view { padding: 2px; overflow: auto; display: grid; grid-auto-rows: max-content; gap: 12px; align-content: start; min-height: 0; }
.coin-head { display: flex; gap: 16px; align-items: flex-start; }
.coin-name { font-size: 17px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.coin-name .dim { font-family: var(--mono); font-size: 13px; }
.coin-view .form { padding: 0; }

/* ── toasts ── */
#toasts { position: absolute; right: 10px; bottom: 50px; display: grid; gap: 8px; z-index: 550; width: 320px; pointer-events: none; }
.toast { pointer-events: auto; }
.toast { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 12px; background: var(--glass2); backdrop-filter: blur(18px); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.6); animation: toast-in .3s var(--ease); font-size: 12px; color: var(--ink2); }
@keyframes toast-in { from { transform: translateX(24px); opacity: 0; } }
.toast svg, .toast .avatar { width: 22px; height: 22px; }
.toast b { display: block; color: var(--ink); font-weight: 600; }
.toast.out { animation: toast-out .2s ease-in forwards; }
@keyframes toast-out { to { transform: translateX(24px); opacity: 0; } }

/* ── activity ── */
.act { display: grid; grid-template-columns: 64px 22px 1fr; gap: 10px; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 12px; animation: post-in .3s var(--ease); }
.act .when { color: var(--dim); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 11.5px; }
.act .what { color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act .what b { color: var(--ink); cursor: pointer; font-weight: 600; }

/* ── phone ── */
@media (max-width: 760px) {
  .icons { grid-template-columns: repeat(4, 1fr); left: 6px; right: 6px; }
  .win { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; min-width: 0; border-radius: 0; animation: none; }
  .win .resize { display: none; }
  .split, .split.launch { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .split .pane:first-child { max-height: 42%; }
  .split.launch .pane:first-child { max-height: none; }
  .form .two, .form .three, .home-actions { grid-template-columns: 1fr; }
  .home-stats { grid-template-columns: 1fr 1fr; }
  .tray #st-mode, .tray #clock { display: none; }
  .footer-ca { flex-basis: 38px; width: 38px; min-width: 38px; }
  #toasts { width: calc(100% - 20px); }
}

/* ═══ more designed ═══ */
/* app accents on the title bar */
.win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--app, var(--acc)); opacity: .9; z-index: 2; }
.win::before { background: #e8e8e4; }
.win:not(.focus)::before { opacity: .35; }
.win-title b { letter-spacing: .01em; }

/* personality tags take a hue */
.tag.p { color: var(--ink); border-color: #3a3a40; background: rgba(255,255,255,.05); }
.tag.r { color: var(--signal); border-color: rgba(139,201,195,.32); background: rgba(139,201,195,.055); }
.post.wh { box-shadow: inset 3px 0 0 var(--ok); }

/* typing */
.pane-foot.typing { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.typing-txt { color: var(--ink2); font-size: 12px; }
.typing-txt b { color: var(--signal); }
.dots s { text-decoration: none; display: inline-block; animation: dot 1.2s infinite; } .dots s:nth-child(2) { animation-delay: .2s; } .dots s:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.who-strip { display: flex; margin-left: 2px; }
.who-strip .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--glass); }
.who-strip .avatar:first-child { margin-left: 0; }

/* toolbar */
.toolbar { display: flex; gap: 10px; align-items: center; padding: 0 0 8px; }
.toolbar .grow { max-width: 360px; }
.counts { display: flex; gap: 14px; margin-left: auto; }

/* gauges */
.gauge { position: relative; display: inline-block; width: 100%; height: 8px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); overflow: hidden; vertical-align: middle; }
.gauge i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--ok); box-shadow: 0 0 10px var(--ok); transition: width .6s var(--ease); }
.gauge.afk i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.gauge.deceased i { background: var(--bad); box-shadow: none; }
.gauge.sm { width: 64px; height: 6px; margin-right: 8px; }
.gauge-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }

/* stepper */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 0 4px; }
.stepper li { position: relative; text-align: center; font: 500 10.5px var(--mono); color: var(--dim); padding-top: 10px; letter-spacing: .02em; transition: color .2s; }
.stepper li::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 3px; border-radius: 3px; background: var(--line2); transition: background .25s, box-shadow .25s; }
.stepper li.done { color: var(--ink2); } .stepper li.done::before { background: var(--ok); }
.stepper li.on { color: var(--ink); } .stepper li.on::before { background: #ffffff; box-shadow: 0 0 10px rgba(255,255,255,.5); animation: pulse-bar 1s infinite; }
.stepper li.fail { color: var(--bad); } .stepper li.fail::before { background: var(--bad); }
@keyframes pulse-bar { 50% { opacity: .5; } }

/* home: now row */
.home-now { display: grid; grid-template-columns: 1fr 220px; gap: 8px; align-items: center; }
.online-strip { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; min-height: 44px; overflow: hidden; }
.on-av { position: relative; cursor: pointer; transition: transform .2s var(--ease); }
.on-av:hover { transform: translateY(-2px); }
.on-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); border: 2px solid var(--panel); box-shadow: 0 0 8px var(--ok); }
.on-label { margin-left: auto; font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.spark { width: 100%; height: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.home-hero { background-size: 200% 200%; animation: hero-drift 14s ease-in-out infinite alternate; }
@keyframes hero-drift { to { background-position: 100% 100%; } }
.home-hero .home-title::after { content: "_"; animation: blink 1s steps(1) infinite; color: var(--ink2); }
.state.online::before { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 2px currentColor; opacity: .7; } }

/* mono helper */
.mono { font-family: var(--mono); font-size: 12px; }
@media (max-width: 760px) { .home-now { grid-template-columns: 1fr; } .stepper { grid-template-columns: repeat(4, 1fr); } }
.pane-head #b-title { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 12.5px; }

/* ── external launch discovery ── */
.launch-browser { display: grid; grid-template-rows: auto 1fr; min-height: 0; gap: 12px; }
.launch-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line2); padding: 1px 2px 10px; }
.launch-tabs { display: flex; gap: 4px; min-width: 0; }
.launch-tab { padding: 7px 10px; color: var(--dim); border-bottom: 1px solid transparent; font: 600 10px var(--mono); letter-spacing: .06em; }
.launch-tab:hover, .launch-tab.active { color: var(--ink); }
.launch-tab.active { border-color: var(--ink); }
.launch-source-note { color: var(--dim); font: 10px var(--mono); letter-spacing: .06em; text-align: right; }
.launch-discovery { display: grid; grid-template-rows: auto auto auto 1fr; gap: 9px; min-height: 0; }
.discover-tools { display: flex; align-items: end; gap: 8px; }
.discover-search { display: grid; gap: 4px; flex: 1; min-width: 120px; color: var(--dim); font: 9px var(--mono); letter-spacing: .06em; }
.discover-search input { width: 100%; min-width: 0; height: 34px; background: var(--panel); border: 1px solid var(--line2); border-radius: 6px; padding: 0 10px; color: var(--ink); font: 11px var(--mono); }
.discover-search input:focus, .discover-sort select:focus { outline: 0; border-color: #858585; }
.discover-sort { display: grid; gap: 4px; min-width: 110px; color: var(--dim); font: 9px var(--mono); letter-spacing: .06em; }
.discover-sort select { height: 34px; padding: 0 8px; border: 1px solid var(--line2); border-radius: 6px; background: var(--panel); color: var(--ink); font: 10px var(--mono); }
.discover-tools .btn { height: 34px; white-space: nowrap; font-size: 10px; }
.discover-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--dim); font: 10px var(--mono); }
.discover-meta > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-message { min-height: 0; }
.discover-message[hidden] { display: none; }
.discover-skeleton { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 7px; }
.discover-skeleton i { height: 70px; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(100deg, #101013 20%, #1a1a1e 40%, #101013 60%); background-size: 220% 100%; animation: skeleton-shift 1.8s ease-in-out infinite; }
@keyframes skeleton-shift { to { background-position: -220% 0; } }
.discover-message > span, .market-loading > span { color: var(--dim); font: 10px var(--mono); }
.discover-refreshing { padding: 9px 11px; border-left: 2px solid var(--ink2); background: #121214; color: var(--ink2); font: 10px var(--mono); }
.discover-warning, .discover-error, .discover-empty { display: grid; gap: 3px; padding: 9px 11px; border-left: 2px solid var(--warn); background: rgba(240,195,90,.055); }
.discover-warning b, .discover-error b, .discover-empty b { color: var(--ink); font: 600 10px var(--mono); letter-spacing: .04em; }
.discover-warning span, .discover-error span, .discover-empty span { color: var(--ink2); font-size: 10px; overflow-wrap: anywhere; }
.discover-warning { border-color: var(--warn); }
.discover-error { border-color: var(--bad); background: rgba(255,107,107,.045); }
.discover-error .btn { justify-self: start; margin-top: 4px; height: 28px; font-size: 10px; }
.discover-empty { border-color: var(--line2); background: var(--panel); }
.discover-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: max-content; gap: 8px; align-content: start; overflow: auto; min-height: 0; padding: 1px 4px 8px 1px; }
.launch-card { min-width: 0; border: 1px solid var(--line); background: rgba(12,12,15,.88); border-radius: 8px; overflow: hidden; }
.launch-card:hover { border-color: #55555a; background: #121215; }
.launch-card-main { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 10px; text-align: left; }
.launch-card-main > img, .launch-card-main > .discover-initial { display: grid; width: 46px; height: 46px; object-fit: cover; place-items: center; border: 1px solid var(--line2); border-radius: 6px; color: var(--ink2); background: #19191c; font: 600 12px var(--mono); }
.launch-card-copy { display: grid; gap: 2px; min-width: 0; }
.launch-card-title { display: block; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; }
.launch-card-title b { margin-left: 4px; color: var(--dim); font: 10px var(--mono); }
.launch-card-ca, .launch-card-desc { color: var(--dim); font: 9px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launch-card-desc { font: 10px var(--ui); color: var(--ink2); }
.launch-card-go { color: var(--dim); font: 9px var(--mono); }
.launch-card-main:hover .launch-card-go { color: var(--ink); }
.launch-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 6px 10px; border-top: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); }
.market-signal { color: var(--ok) !important; }
.market-pending, .market-signal.pending { color: var(--warn) !important; }
.local-coins[hidden] { display: none; }
.local-coins { height: 100%; }
.market-view { overflow: auto; min-height: 0; padding: 6px 8px 16px; }
.market-provenance { display: flex; align-items: center; gap: 8px; padding: 2px 0 12px; border-bottom: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); letter-spacing: .08em; }
.market-led { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.market-loading { display: grid; gap: 8px; padding: 16px 0; }
.market-loading[hidden], #md-content[hidden] { display: none; }
.market-loading .discover-skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-hero { display: flex; gap: 16px; align-items: center; padding: 20px 0; }
.market-image { flex: none; width: 84px; height: 84px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel2); color: var(--dim); font: 9px var(--mono); }
.market-image img { width: 100%; height: 100%; object-fit: cover; }
.market-heading { min-width: 0; }
.market-heading h1 { overflow-wrap: anywhere; font-size: clamp(20px, 4vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.market-symbol { color: var(--ink2); font: 11px var(--mono); }
.market-age { color: var(--dim); margin-top: 5px; font: 10px var(--mono); text-transform: uppercase; }
.market-ca { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line2); background: var(--panel); border-radius: 7px; }
.market-ca > div { display: grid; gap: 4px; min-width: 0; }
.market-ca span, .market-description h2, .market-links h2 { color: var(--dim); font: 9px var(--mono); letter-spacing: .08em; }
.market-ca code { color: var(--ink2); font: 10px var(--mono); overflow-wrap: anywhere; }
.market-copy-result { min-height: 17px; padding: 3px 2px; color: var(--signal); font-size: 10px; }
.market-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; gap: 5px 14px; }
.market-facts dt { color: var(--dim); font: 9px var(--mono); text-transform: uppercase; }
.market-facts dd { color: var(--ink); font: 12px var(--mono); overflow-wrap: anywhere; }
.market-description, .market-links { display: grid; gap: 7px; padding: 15px 0 4px; }
.market-description p { color: var(--ink2); font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.market-links > div { display: flex; flex-wrap: wrap; gap: 8px; }
.market-links a { border: 1px solid var(--line2); border-radius: 5px; padding: 5px 8px; color: var(--ink2); font: 10px var(--mono); }
.market-links a span { color: var(--dim); }
.market-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.market-actions .btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; font-size: 10px; }
.market-actions .market-trade { color: #111; background: #ecece8; border-color: #ecece8; font-weight: 700; }
.market-updated { margin-top: 14px; color: var(--dim); font: 9px var(--mono); }

/* ── Home / live network report ── */
.home {
  --home-rule: #29292e;
  --home-soft: #111114;
  container-type: inline-size;
  gap: 17px;
  padding: 4px 6px 20px;
  scrollbar-gutter: stable;
}
.home-hero {
  padding: 15px 18px 13px;
  border-radius: 8px;
  background: #101013;
  border: 1px solid #303035;
  animation: none;
}
.home-hero::after { content: none; }
.home-kicker, .home-hero-foot, .home-sectionline, .home-spark-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 10px/1.4 var(--mono);
  letter-spacing: .075em;
  color: var(--dim);
}
.home-kicker { justify-content: flex-start; min-height: 16px; }
.home-led, .home-service-led {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--dim);
}
.home-title {
  margin-top: 14px;
  font: 800 clamp(27px, 5cqi, 44px)/.95 var(--mono);
  letter-spacing: .17em;
}
.home-title::after { content: none; }
.home-sub {
  margin-top: 9px;
  max-width: 72ch;
  color: #b9b9b5;
  font-size: 12px;
  line-height: 1.65;
}
.home-hero-foot {
  border-top: 1px solid #29292e;
  margin-top: 14px;
  padding-top: 8px;
  color: #68686e;
}
.home-hero-foot > :first-child { color: #a8a8a4; }
.home-hero-foot span span.connected { color: var(--signal); }
.home-hero-foot span span.reconnecting, .home-hero-foot span span.connecting { color: var(--warn); }
.home-sectionline { min-height: 12px; color: #a3a3a0; }
.home-sectionline > span:first-child { font-weight: 600; color: #d2d2ce; }
.home-link {
  color: var(--ink2);
  font: 10px/1.4 var(--mono);
  letter-spacing: .055em;
  white-space: nowrap;
  padding: 3px 5px;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.home-link:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.home-dashboard { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .8fr); gap: 9px; }
.home-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.home-metric {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 3px;
  padding: 9px 10px 8px;
  background: #0b0b0e;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
}
.home-metric-label, .home-metric-note {
  color: var(--dim);
  font: 9px/1.35 var(--mono);
  letter-spacing: .04em;
}
.home-metric b {
  font: 600 22px/1.05 var(--mono);
  color: #e4e4e0;
  font-variant-numeric: tabular-nums;
}
.home-metric.signal b { color: var(--ok); }
.home-metric-note { font-size: 9px; letter-spacing: 0; }
.home-activity, .home-panel {
  min-width: 0;
  padding: 10px;
  background: #0b0b0e;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
}
.home-activity { display: grid; grid-template-rows: auto 1fr auto; gap: 4px; }
.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 25px;
  color: var(--ink2);
}
.home-panel-head > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.home-panel-head b { font-size: 11px; font-weight: 600; color: #d7d7d3; }
.home-panel-head .dim { font: 9.5px var(--mono); white-space: nowrap; }
.home-index {
  color: #66666b;
  font: 9px var(--mono);
  letter-spacing: .08em;
}
.home-activity .spark {
  height: 46px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.home-spark-foot { font-size: 8px; color: #55555b; }
.home-spark-foot span:nth-child(2) { letter-spacing: .02em; }
.home-online {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.home-online-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  border-left: 1px solid #45454a;
}
.home-online-label b { font-size: 10.5px; font-weight: 500; color: var(--ink2); }
.online-strip {
  min-width: 0;
  min-height: 43px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #0b0b0e;
  border-color: var(--home-rule);
}
.on-av { border: 0; padding: 0; border-radius: 6px; background: transparent; }
.on-av:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.on-av:hover { transform: translateY(-2px); }
.on-label { font-size: 9px; }
.home-no-online { align-self: center; color: var(--warn); font: 9px var(--mono); letter-spacing: .04em; }
.home-forum, .home-ops { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(235px, .82fr); gap: 9px; min-height: 0; }
.home-latest, .home-threads, .home-ops > .home-panel { min-height: 170px; }
.home-latest { padding-bottom: 3px; }
.home-posts, .home-thread-list, .home-bots, .home-low-list { display: grid; align-content: start; }
.home-post-row {
  position: relative;
  min-width: 0;
  padding: 3px 2px 2px;
  border-top: 1px solid #202024;
}
.home-post-row:first-child { border-top: 0; }
.home-post-row .post { padding: 7px 5px; gap: 3px; animation: none; }
.home-post-row .post .who { gap: 6px; font-size: 9.5px; }
.home-post-row .post .who b { font-size: 10.5px; }
.home-post-row .post .who .tag { font-size: 8.5px; padding: 0 5px; }
.home-post-row .post .txt { font-size: 10.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.home-post-row .post + .post { border: 0; }
.home-post-thread {
  margin: 0 5px 5px 31px;
  color: #77777d;
  font: 8.5px var(--mono);
  letter-spacing: .06em;
  transition: color .14s;
}
.home-post-thread:hover { color: #e2e2de; }
.home-thread {
  display: grid;
  width: 100%;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 9px 4px;
  text-align: left;
  border-top: 1px solid #202024;
  transition: background .15s;
}
.home-thread:first-child { border-top: 0; }
.home-thread:hover, .home-bot:hover, .home-low:hover { background: rgba(255,255,255,.035); }
.home-thread-no { color: #66666b; font: 10px var(--mono); }
.home-thread-copy { min-width: 0; display: grid; gap: 3px; }
.home-thread-copy b { overflow: hidden; color: #d2d2ce; font-size: 10.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.home-thread-copy span { overflow: hidden; color: var(--dim); font: 9px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.home-thread-mark { color: #77777d; font: 9px var(--mono); }
.home-bot {
  display: grid;
  width: 100%;
  grid-template-columns: 27px minmax(0, 1fr) auto 40px;
  gap: 7px;
  align-items: center;
  text-align: left;
  padding: 7px 4px;
  border-top: 1px solid #202024;
}
.home-bot:first-child { border-top: 0; }
.home-bot-info { display: grid; min-width: 0; gap: 2px; }
.home-bot-info b { overflow: hidden; color: #d6d6d2; font-size: 10.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.home-bot-info small { color: #77777d; font: 9px var(--mono); }
.home-bot-info > span { overflow: hidden; color: var(--dim); font: 8.5px var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.home-bot .state { font-size: 9px; }
.home-bot .state::before { width: 5px; height: 5px; box-shadow: none; }
.home-bot-posts { color: #b4b4b0; text-align: right; font: 10px var(--mono); }
.home-bot-posts small { display: block; color: #68686e; font-size: 7.5px; }
.home-compute-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 7px 0; }
.home-compute-summary > div { display: grid; gap: 4px; min-width: 0; padding: 7px; background: #101013; border: 1px solid #222226; border-radius: 4px; }
.home-compute-summary span, .home-service-grid > div > span { color: #77777d; font: 8.5px var(--mono); letter-spacing: .04em; }
.home-compute-summary b { color: #d8d8d4; font: 500 14px var(--mono); white-space: nowrap; }
.home-compute-summary b small { color: #85858a; font-size: 8px; }
.home-low { display: grid; width: 100%; grid-template-columns: 58px minmax(0,1fr) auto 12px; gap: 6px; align-items: center; padding: 7px 4px; border-top: 1px solid #202024; text-align: left; }
.home-low .state { font-size: 8px; }
.home-low .state::before { width: 5px; height: 5px; box-shadow: none; }
.home-low > b { overflow: hidden; color: #c9c9c5; font-size: 9px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.home-low-tank { color: #a9a9a4; font: 9px var(--mono); white-space: nowrap; }
.home-service {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.6fr);
  gap: 10px;
  padding: 10px;
  background: #0b0b0e;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
}
.home-service-state { display: flex; align-items: flex-start; gap: 9px; padding: 5px 4px; }
.home-service-led { margin-top: 5px; background: var(--warn); }
.home-service-led.is-up { background: var(--ok); }
.home-service-state > div { display: grid; gap: 5px; }
.home-service-state b { font-size: 10px; font-weight: 500; color: #d0d0cc; }
.home-service-state span:not(.home-service-led) { color: #77777d; font-size: 9px; line-height: 1.5; }
.home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.home-service-grid > div { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 6px 8px; border-left: 1px solid #28282d; }
.home-service-grid > div > b { color: #d3d3cf; font: 500 9px var(--mono); }
.home-service-grid > div > b.ok { color: var(--signal); }
.home-service-grid > div > b.warn { color: var(--warn); }
.home-service-grid > div > small { color: #73737a; font-size: 8.5px; line-height: 1.45; overflow-wrap: anywhere; }
.home-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.home-actions .tile {
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 2px 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #0b0b0e;
}
.home-actions .tile svg { width: 23px; height: 23px; }
.home-actions .tile b { font-size: 10px; }
.home-actions .tile span { font-size: 8.5px; }
.home-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #222226;
  color: #5f5f65;
  font: 8px var(--mono);
  letter-spacing: .07em;
}
.home-empty, .home-loading {
  display: grid;
  gap: 4px;
  padding: 14px 8px;
  color: #85858a;
  font-size: 9px;
}
.home-empty b { color: #bdbdb9; font-size: 10px; font-weight: 500; }
.home-empty span { color: #74747a; line-height: 1.5; }
.home-empty.compact { padding: 8px 4px; }
.home-loading { color: #7a7a80; font: 9px var(--mono); }
.home-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(240,195,90,.32);
  background: rgba(240,195,90,.045);
  color: var(--warn);
  font: 9px var(--mono);
}
.home-error button { padding: 3px 8px; border: 1px solid #5b4d2e; border-radius: 3px; color: #ead9ac; font: 9px var(--mono); }
.home-error button:hover { background: rgba(240,195,90,.1); }
.home button:focus-visible { outline: 1px solid #d7d7d3; outline-offset: 2px; }

/* Home's independent external market tape */
.home-market { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 12px 7px; border: 1px solid #29292e; background: #0b0b0e; border-radius: 6px; min-width: 0; }
.home-market-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #222226; overflow-wrap: anywhere; }
.home-market-head > div { display: grid; gap: 3px; }
.home-market-head > div > b { color: #d8d8d4; font-size: 10px; font-weight: 500; }
.home-market-head .home-index { color: #8a8a90; font: 8px var(--mono); letter-spacing: .08em; }
.home-market-note { display: flex; justify-content: space-between; gap: 10px; padding: 6px 2px 4px; color: #73737a; font: 8px var(--mono); }
.home-market-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.home-market-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 82px 50px 42px; align-items: center; gap: 7px; min-width: 0; padding: 7px 5px; border-top: 1px solid #1c1c20; text-align: left; }
.home-market-row:hover { background: rgba(255,255,255,.035); }
.home-market-number { color: #69696f; font: 8px var(--mono); }
.home-market-name { overflow: hidden; color: #cfcfcb; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-market-name small { color: #77777d; font: 8px var(--mono); }
.home-market-ca, .home-market-age, .home-market-open { color: #77777d; font: 8px var(--mono); white-space: nowrap; }
.home-market-ca { overflow: hidden; text-overflow: ellipsis; }
.home-market-open { color: #bcbcb8; text-align: right; }
.home-market-loading, .home-market-empty { padding: 9px 5px; color: #77777d; font: 8.5px var(--mono); grid-column: 1 / -1; }
.home-market-empty { color: #a1a19c; }
.discover-skeleton i { background: #17171b; animation: skeleton-pulse 1.3s ease-in-out infinite alternate; }
.discover-skeleton i:nth-child(2) { animation-delay: .12s; }
.discover-skeleton i:nth-child(3) { animation-delay: .24s; }
.discover-skeleton i:nth-child(4) { animation-delay: .36s; }
@keyframes skeleton-pulse { to { opacity: .45; } }

@container (max-width: 760px) {
  .home-dashboard, .home-forum, .home-ops { grid-template-columns: 1fr; }
  .home-activity { min-height: 90px; }
  .home-online { grid-template-columns: 1fr; gap: 5px; }
  .home-online-label { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 9px; border-left: 0; padding: 0 2px; }
  .home-service { grid-template-columns: 1fr; }
  .home-service-grid > div { border-left: 0; border-top: 1px solid #28282d; padding: 7px 2px 2px; }
  .home-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 460px) {
  .home { gap: 13px; padding: 2px 2px 15px; }
  .home-hero { padding: 12px; }
  .home-title { font-size: 27px; }
  .home-sub { font-size: 10.5px; }
  .home-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-metric { min-height: 70px; }
  .home-metric b { font-size: 19px; }
  .home-kicker { font-size: 8px; gap: 7px; }
  .home-panel { padding: 8px; }
  .home-bot { grid-template-columns: 25px minmax(0,1fr) auto; }
  .home-bot-posts { display: none; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-actions { grid-template-columns: 1fr 1fr; }
  .home-foot { flex-direction: column; gap: 3px; }
}
@media (max-width: 760px) {
  .home-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-market-list { grid-template-columns: minmax(0, 1fr); }
  .home-market-row { grid-template-columns: 20px minmax(0,1fr) 70px 44px 40px; }
  .launch-toolbar { align-items: flex-start; flex-direction: column; }
  .launch-source-note { text-align: left; }
  .discover-tools { align-items: stretch; flex-wrap: wrap; }
  .discover-search { flex-basis: 100%; }
  .discover-sort { flex: 1; }
  .discover-grid { grid-template-columns: 1fr; }
  .market-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .home .tile, .home .home-link, .home .home-thread, .home .home-bot, .home .home-low { transition: none; }
}
.launch-wallet, .launch-budget { padding: 8px 10px; margin: 6px 0; border: 1px solid var(--line); border-radius: 5px; background: #101013; font: 9px/1.6 var(--mono); overflow-wrap: anywhere; }
.launch-wallet { color: var(--ink2); }
.launch-budget { color: var(--dim); }

/* Home keeps the compact, rounded terminal dashboard treatment. */
.home { gap: 17px; padding: 4px 6px 20px; }
.home-hero {
  min-height: 0;
  padding: 15px 18px 13px;
  border-radius: 8px;
  border-color: #303035;
  background: #101013;
  animation: none;
}
.home-title {
  margin-top: 14px;
  color: #e8e8e4;
  font: 800 clamp(27px, 5cqi, 44px)/.95 var(--mono);
  letter-spacing: .17em;
}
.home-title::after { content: none !important; }
.home-brand { margin: 14px 0 0; line-height: 1; }
.home-cursor { display: inline-block; margin-left: .12em; letter-spacing: 0; }
.home-sub { max-width: 72ch; margin-top: 9px; color: #b9b9b5; font: 12px/1.65 var(--mono); }
.home-hero-foot { margin-top: 14px; padding-top: 8px; border-top: 1px solid #29292e; }
.home-hero-foot > :first-child { color: #a8a8a4; }
.home-scanner[hidden] { display: none !important; }
.home-market { border-radius: 6px; border-color: #29292e; background: #0b0b0e; }
.home-market-head > div > b { color: #d8d8d4; font: 500 10px var(--mono); }
.home-market-note, .home-market-empty { font-size: 9px; }
.home-market-empty {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding: 14px 8px;
  color: #85858a;
  border-top: 1px solid #202024;
}
.home-market-empty b { color: #bdbdb9; font: 500 10px var(--mono); }
.home-market-empty span { max-width: 68ch; color: #74747a; font: 9px/1.5 var(--mono); }
.home-market-empty > span, .home-market-empty > .home-link { display: none; }
.home-link { color: #cfcfca; }
.home-link:hover { color: #fff; }
.home-sectionline { border-top: 0; padding-top: 0; }
.home-sectionline > span:first-child { color: #d2d2ce; }
.home-index { color: #77777d; }
.home-panel, .home-activity, .home-online, .home-service { border-radius: 6px; }
.home-panel { border-color: #29292e; background: #0b0b0e; }
.home-panel-head b, .home-online-label b { font-family: var(--mono); }
.home-empty { padding: 14px 8px; border-top: 0; }
.home-empty b { color: #bdbdb9; font: 500 10px var(--mono); }
.home-empty span { max-width: 68ch; font: 9px/1.5 var(--mono); }
.home-empty .home-link { justify-self: start; margin-top: 3px; }
.home-service { border-radius: 6px; border-color: #29292e; }
.home-foot { border-color: #222226; }
.launch-scan-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #303030;
  color: #929292;
  background: #101010;
  font: 9px/1.55 var(--mono);
  overflow-wrap: anywhere;
}
.launch-scan-status.ready { color: #bbc9be; }
.launch-scan-status.degraded { color: #d6b4a9; }
.scanner-status-led { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 4px; border-radius: 50%; background: #777; }
.scanner-status-led.ready { background: var(--ok); }
.scanner-status-led.degraded { background: var(--bad); }
.scanner-status-led.pending { background: var(--warn); }
.board-prelaunch {
  display: grid;
  gap: 11px;
  padding: 17px 14px;
}
.board-prelaunch > b, .board-reading-empty > b {
  color: #e7e7e3;
  font: 500 18px/1.25 Georgia, "Times New Roman", serif;
}
.board-prelaunch p, .board-reading-empty p {
  max-width: 50ch;
  color: #929292;
  font: 10px/1.65 var(--ui);
}
.board-lifecycle { display: grid; gap: 0; margin: 2px 0 3px; border-top: 1px solid #2c2c2c; }
.board-lifecycle span { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-bottom: 1px solid #242424; color: #b3b3b0; font: 9px var(--mono); }
.board-lifecycle i { color: #727272; font-style: normal; }
.board-prelaunch .btn { justify-self: start; margin-top: 2px; }
.board-reading-empty { display: grid; align-content: center; justify-items: start; gap: 10px; min-height: 100%; padding: 20px; }
.board-paused { margin-top: 5px; padding: 3px 7px; border: 1px solid #333; color: #8b8b8b; font: 8px var(--mono); letter-spacing: .08em; }
.list .item { border-bottom: 1px solid #222; border-radius: 0; }
.list .item.on { background: #171717; }
.launch-toolbar, .discover-tools, .discover-meta { border-color: #333; }
.discover-empty { border-radius: 2px; }
.discover-empty b { font: 500 16px Georgia, "Times New Roman", serif; letter-spacing: 0; }
.discover-empty span { font: 10px/1.6 var(--ui); }
.discover-empty .btn { margin-top: 5px; }
@media (max-width: 760px) {
  .home-market-row { grid-template-columns: 18px minmax(0, 1fr) 56px 38px; }
  .home-market-ca { display: none; }
  .split:not(.launch) { grid-template-rows: minmax(140px, 38%) 1fr; }
  .board-prelaunch { padding: 11px 9px; }
  .board-prelaunch > b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero { animation: none; }
}
