    :root {
      --bg: #050908;
      --surface: #0d1411;
      --surface2: #111b16;
      --line: #283a2e;
      --line-soft: #1a2b21;
      --green: #b4f273;
      --green2: #75a84c;
      --text: #d1ded1;
      --muted: #7f9784;
      --amber: #ffb774;
      --red: #ff817b;
    }
    * { box-sizing: border-box; }
    html { min-height: 100%; }
    body {
      margin: 0;
      min-height: 100vh;
      background: radial-gradient(ellipse at 75% 12%, #102016 0%, transparent 46%),
                  radial-gradient(ellipse at 0% 100%, #131b14 0%, transparent 40%), var(--bg);
      color: var(--text);
      font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
            'Liberation Mono', monospace;
      overflow-x: hidden;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 10;
      opacity: .18;
      background: repeating-linear-gradient(to bottom, transparent 0 3px,
                                               rgba(0, 0, 0, .23) 4px 5px);
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image: linear-gradient(#14201844 1px, transparent 1px),
                        linear-gradient(90deg, #14201844 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, #0007, transparent 78%);
    }
    .shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; position: relative; }
    .topline {
      min-height: 36px; display: flex; align-items: center; justify-content: space-between;
      gap: 16px; color: var(--muted); font-size: 11px; letter-spacing: .08em;
      border-bottom: 1px solid var(--line-soft);
    }
    .live { color: var(--green2); }
    .live::before { content: "●"; margin-right: 7px; font-size: 9px; }
    header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
    .logo { color: var(--green); font-size: clamp(25px, 4vw, 38px); font-weight: 900; letter-spacing: -.07em; line-height: 1; text-shadow: 0 0 20px #8fed5131; }
    .logo span { color: #607767; }
    .logo-sub { color: var(--muted); font-size: 10px; letter-spacing: .23em; margin-top: 9px; }
    .head-right { text-align: right; font-size: 11px; color: var(--muted); }
    .head-right b { color: var(--amber); font-weight: 500; }
    .layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(325px,.85fr); gap: 26px; margin: 32px 0 42px; }
    .eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--green); text-transform: uppercase; }
    h1 { font-size: clamp(28px,3.6vw,49px); line-height: 1.10; letter-spacing: -.07em; margin: 13px 0 16px; color: #e8f8e3; font-weight: 700; }
    h1 em { color: var(--green); font-style: normal; }
    .intro { color: #9aafa0; max-width: 580px; line-height: 1.8; margin: 0 0 26px; }
    .stats { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 29px; }
    .stat { padding: 9px 12px; border: 1px solid var(--line); background: #1019149e; color: var(--muted); font-size: 11px; }
    .stat strong { color: var(--text); font-weight: 600; }
    .panel { border: 1px solid var(--line); background: linear-gradient(145deg, #0e1711ed, #090f0cee); box-shadow: 0 20px 55px #0006; }
    .panel-label { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #152019a8; border-bottom: 1px solid var(--line); padding: 12px 17px; font-size: 11px; color: var(--green); letter-spacing: .09em; }
    .panel-label small { font-size: 10px; color: var(--muted); letter-spacing: 0; }
    .topic { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
    .topic:last-child { border-bottom: 0; }
    .topic-icon { color: var(--green2); font-size: 15px; }
    .topic-title { color: #c9dcc8; font-size: 13px; }
    .topic-desc { color: var(--muted); font-size: 11px; margin-top: 5px; }
    .topic-meta { font-size: 10px; color: #688271; white-space: nowrap; padding-top: 2px; }
    .login { position: relative; align-self: start; }
    .auth-body { padding: 25px; }
    .lock { color: var(--amber); font-size: 11px; }
    .auth-title { font-size: 21px; color: #eaf7e5; font-weight: 700; margin: 11px 0 8px; letter-spacing: -.04em; }
    .auth-sub { color: var(--muted); font-size: 12px; line-height: 1.75; margin: 0 0 27px; }
    label.field { display: block; font-size: 11px; color: #a3b9a8; margin: 17px 0 8px; letter-spacing: .05em; }
    input[type=text], input[type=password] {
      appearance: none; width: 100%; background: #050a07; color: var(--text);
      border: 1px solid #324638; border-radius: 0; outline: none;
      font: inherit; font-size: 13px; padding: 13px 12px;
      transition: border-color .15s, box-shadow .15s;
    }
    input::placeholder { color: #536b59; }
    input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #b4f27312; }
    .auth-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
    .remember { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; cursor: pointer; }
    .remember input { accent-color: var(--green); }
    .invite-link { border: 0; background: transparent; padding: 0; color: var(--green); font: inherit; font-size: 11px; cursor: pointer; }
    .invite-link:hover { text-decoration: underline; }
    .submit { width: 100%; margin-top: 24px; padding: 13px; border: 1px solid #d5ffa8; background: var(--green); color: #14200e; font: 700 12px/1.5 inherit; font-family: inherit; letter-spacing: .13em; cursor: pointer; transition: background .15s; }
    .submit:hover { background: #d5ffa8; }
    .response { min-height: 0; margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--red); }
    .response:not(:empty) { border-left: 2px solid var(--red); background: #ff817b0a; padding: 10px 12px; }
    .auth-note { padding: 13px 25px; border-top: 1px solid var(--line); background: #0a100c; font-size: 10px; color: #688271; }
    .warning { margin-top: 16px; border: 1px dashed #58462c; background: #241b0f52; padding: 14px 16px; font-size: 11px; color: #bca47d; line-height: 1.75; }
    .warning strong { color: var(--amber); }
    .ascii-scene {
      position: relative; min-height: 238px; overflow: hidden; margin: 15px 0 0;
      background: linear-gradient(180deg, #08120bbb, #040806);
      border: 1px solid var(--line-soft);
    }
    .ascii-scene pre {
      position: absolute; left: 50%; top: -24px; transform: translateX(-50%);
      margin: 0; color: #9ad576; opacity: .28; font-size: 9px; line-height: 1.15;
      letter-spacing: 0; white-space: pre; user-select: none; pointer-events: none;
    }
    .ascii-quote {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 25px 16px 15px;
      background: linear-gradient(transparent, #050a08 45%);
      text-align: center; color: var(--green); font-size: 12px; font-weight: 700;
      text-shadow: 0 0 15px #92ff584b;
    }
    .ascii-quote small { display: block; font-size: 10px; font-weight: 400; margin-bottom: 6px; color: #799d7c; letter-spacing: .14em; }
    footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); color: #597360; padding: 20px 0 35px; font-size: 10px; letter-spacing: .04em; }
    @media(max-width: 800px) {
      .layout { grid-template-columns: 1fr; }
      .login { grid-row: 1; }
      .ascii-scene { min-height: 205px; }
    }
    @media(max-width: 460px) {
      .shell { width: calc(100% - 28px); }
      .topline { font-size: 9px; }
      .head-right { display: none; }
      header { min-height: 82px; }
      .layout { margin-top: 22px; }
      .auth-body { padding: 20px; }
      .topic { grid-template-columns: 18px minmax(0,1fr); }
      .topic-meta { display: none; }
    }
    @media(prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
    /* CSP-compatible replacement for former inline color attributes */
    .logo-accent { color: var(--green); }

