body {
  background: url('/assets/legacy/twink.gif') repeat;
  color: #ffff00;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, default;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 16px;
  line-height: 1.45;
  text-shadow: 1px 1px #000;
}

/* Recovered AI Lab skin v1: quieter retro-futurist operating room */
:root {
  --lab-bg: #04070a;
  --lab-panel: rgba(7, 12, 15, .94);
  --lab-panel-2: rgba(13, 19, 22, .96);
  --lab-line: rgba(116, 236, 219, .42);
  --lab-line-soft: rgba(116, 236, 219, .16);
  --lab-text: #dce9e1;
  --lab-muted: #7f938e;
  --lab-green: #79f2a6;
  --lab-cyan: #62eadf;
  --lab-amber: #d8d16d;
  --lab-rust: #c46a4a;
}

body.clean-room {
  background:
    linear-gradient(115deg, rgba(9, 18, 22, .98), rgba(3, 6, 9, 1) 52%, rgba(8, 12, 10, .98)),
    #04070a;
  color: var(--lab-text);
  cursor: default;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 14px;
  letter-spacing: 0;
  text-shadow: none;
}

.clean-room a,
.clean-room button {
  cursor: pointer;
}

.clean-room .ai-room3d {
  background:
    linear-gradient(180deg, rgba(116, 236, 219, .05), transparent 18%, rgba(0, 0, 0, .18) 68%, rgba(0, 0, 0, .48)),
    linear-gradient(90deg, rgba(116, 236, 219, .05), transparent 24%, transparent 76%, rgba(196, 106, 74, .05)),
    #04070a;
  box-shadow:
    inset 0 0 0 1px rgba(116, 236, 219, .22),
    inset 0 42px 120px rgba(0, 0, 0, .58),
    inset 0 -90px 150px rgba(0, 0, 0, .72);
}

.clean-room #ai-room-canvas {
  filter: saturate(.72) contrast(1.08) brightness(.86);
  cursor: grab;
}

.clean-room .ai-room3d.is-orbiting-room #ai-room-canvas {
  cursor: grabbing;
}

.clean-room .room-orbit-controls {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  left: 22px;
  pointer-events: none;
  position: absolute;
  right: 22px;
  top: 68%;
  transform: translateY(-50%);
  z-index: 8;
}

.clean-room .room-orbit-controls button {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(183, 255, 0, .95), rgba(91, 132, 0, .88));
  border: 1px solid rgba(232, 255, 184, .72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42), 0 0 22px rgba(183, 255, 0, .26);
  color: #030503;
  display: flex;
  font: 900 34px/1 "Courier New", monospace;
  height: 58px;
  justify-content: center;
  opacity: .72;
  pointer-events: auto;
  text-shadow: none;
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
  width: 42px;
}

.clean-room .room-orbit-controls button:hover,
.clean-room .room-orbit-controls button:focus {
  box-shadow: 0 18px 44px rgba(0, 0, 0, .52), 0 0 34px rgba(183, 255, 0, .45);
  opacity: 1;
  transform: translateY(-2px);
}

.clean-room .room-orbit-controls span {
  background: rgba(6, 10, 8, .62);
  border: 1px solid rgba(183, 255, 0, .26);
  color: rgba(232, 255, 184, .68);
  font: 700 10px "Courier New", monospace;
  letter-spacing: .08em;
  padding: 6px 10px;
  pointer-events: none;
  text-transform: uppercase;
  display: none;
}

.clean-room .room-noise {
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .045), rgba(255, 255, 255, .045) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, transparent, rgba(116, 236, 219, .035), transparent);
  mix-blend-mode: screen;
  opacity: .18;
}

.clean-room .ide-screen {
  background:
    linear-gradient(180deg, rgba(17, 25, 28, .98), rgba(7, 11, 13, .98)),
    #090d10;
  border: 1px solid rgba(116, 236, 219, .76);
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .88),
    0 0 34px rgba(98, 234, 223, .32),
    0 24px 90px rgba(0, 0, 0, .72),
    inset 0 0 44px rgba(98, 234, 223, .05);
  color: var(--lab-text);
  grid-template-rows: 34px 42px minmax(0, 1fr);
  height: min(660px, 60vh);
  overflow: hidden;
  top: max(14px, 2vh);
  width: min(1880px, 92vw);
}

.clean-room .ide-screen::before {
  border: 1px solid rgba(216, 209, 109, .18);
  content: "";
  inset: 6px;
  pointer-events: none;
  position: absolute;
  z-index: 70;
}

.clean-room .ide-titlebar {
  background: linear-gradient(180deg, #202a2d, #101619);
  border-bottom: 1px solid rgba(116, 236, 219, .34);
  color: #e9f6ee;
  font-size: 12px;
  gap: 8px;
  padding: 0 12px;
  text-transform: uppercase;
}

.clean-room .ide-titlebar button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--lab-muted);
  font-size: 11px;
  padding: 2px 4px;
}

.clean-room .ide-titlebar button:first-child,
.clean-room .ide-titlebar button:nth-child(2) {
  color: var(--lab-cyan);
}

.clean-room .ide-titlebar button:hover {
  border-color: rgba(116, 236, 219, .42);
  color: var(--lab-text);
}

.clean-room .ide-titlebar span {
  color: rgba(220, 233, 225, .72);
  font-size: 12px;
  letter-spacing: .06em;
}

.clean-room .ide-commandbar {
  background: #070a0d;
  border-bottom: 1px solid rgba(116, 236, 219, .2);
  padding: 7px 11px;
}

.clean-room .ide-commandbar input {
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(216, 209, 109, .24);
  color: #d7e4dc;
  font-size: 12px;
  height: 27px;
}

.clean-room .ide-commandbar input:focus {
  border-color: rgba(116, 236, 219, .7);
  box-shadow: 0 0 0 1px rgba(116, 236, 219, .18);
}

.clean-room .ide-body {
  background:
    linear-gradient(90deg, rgba(116, 236, 219, .055) 1px, transparent 1px),
    linear-gradient(rgba(116, 236, 219, .045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(10, 23, 27, .98), rgba(5, 8, 11, .98) 58%, rgba(17, 12, 16, .96));
  background-size: 42px 42px, 42px 42px, auto;
}

.clean-room .desktop-icons {
  gap: 14px;
  left: 20px;
  top: 20px;
  width: 84px;
}

.clean-room .desktop-icons button {
  color: rgba(220, 233, 225, .82);
  font-size: 9px;
  text-shadow: none;
}

.clean-room .desktop-icons button:hover,
.clean-room .desktop-icons button:focus {
  background: rgba(116, 236, 219, .09);
  border-color: rgba(116, 236, 219, .38);
}

.clean-room .desktop-icon {
  border: 1px solid rgba(116, 236, 219, .42);
  box-shadow: 0 0 13px rgba(98, 234, 223, .18);
  filter: saturate(.78) brightness(.88);
}

.clean-room .start-menu {
  background: rgba(9, 13, 15, .98);
  border: 1px solid rgba(116, 236, 219, .42);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .62);
  color: var(--lab-text);
}

.clean-room .start-menu b {
  background: transparent;
  border-bottom: 1px solid rgba(116, 236, 219, .28);
  color: var(--lab-cyan);
}

.clean-room .start-menu button {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(116, 236, 219, .2);
  color: var(--lab-text);
}

.clean-room .os-taskbar {
  background: rgba(5, 8, 10, .94);
  border-top: 1px solid rgba(116, 236, 219, .32);
  color: var(--lab-text);
  height: 34px;
  padding: 4px 8px;
}

.clean-room .os-taskbar button {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(116, 236, 219, .26);
  color: rgba(220, 233, 225, .84);
  font-size: 11px;
  height: 24px;
}

.clean-room .os-taskbar .start-button {
  background: rgba(216, 209, 109, .9);
  border-color: rgba(255, 242, 147, .8);
  color: #11140f;
}

.clean-room .os-taskbar span {
  background: rgba(98, 234, 223, .08);
  border: 1px solid rgba(116, 236, 219, .26);
  color: var(--lab-cyan);
}

.clean-room .os-taskbar em {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(216, 209, 109, .24);
  color: var(--lab-muted);
}

.clean-room .ide-sidebar {
  background: rgba(8, 12, 14, .92);
  border: 1px solid rgba(116, 236, 219, .18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .48);
  color: var(--lab-text);
  left: 118px;
  top: 22px;
}

.clean-room .ide-side-title {
  color: rgba(220, 233, 225, .65);
  font-size: 10px;
  letter-spacing: .08em;
}

.clean-room .ide-file-list button {
  color: rgba(220, 233, 225, .82);
  font-size: 12px;
}

.clean-room .ide-file-list button::before {
  color: var(--lab-cyan);
}

.clean-room .ide-file-list button.active,
.clean-room .ide-tabs button.active,
.clean-room .ide-activity button.active,
.clean-room .ide-activity button:hover {
  background: rgba(98, 234, 223, .13);
  color: #f4fff9;
}

.clean-room .ide-mini-status {
  border-top-color: rgba(116, 236, 219, .18);
  color: rgba(121, 242, 166, .78);
}

.clean-room .desktop-window,
.clean-room .project-manager,
.clean-room .memory-bin,
.clean-room .ide-main,
.clean-room .ide-preview {
  background: var(--lab-panel);
  border: 1px solid rgba(116, 236, 219, .38);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .72),
    0 18px 52px rgba(0, 0, 0, .58),
    0 0 28px rgba(98, 234, 223, .12);
}

.clean-room .desktop-window-bar {
  background: linear-gradient(180deg, #202a2d, #101619);
  border-bottom: 1px solid rgba(116, 236, 219, .32);
  color: rgba(220, 233, 225, .9);
  font-size: 11px;
  letter-spacing: .08em;
}

.clean-room .desktop-window-bar button,
.clean-room .browser-bar button {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(116, 236, 219, .26);
  color: rgba(220, 233, 225, .72);
}

.clean-room .desktop-window-bar button:hover,
.clean-room .browser-bar button:hover {
  border-color: rgba(216, 209, 109, .5);
  color: var(--lab-amber);
}

.clean-room .project-list-panel,
.clean-room .project-detail-panel,
.clean-room .memory-bin-body {
  background: rgba(0, 0, 0, .36);
  border: 1px solid rgba(116, 236, 219, .24);
  color: var(--lab-text);
}

.clean-room .project-list-panel b,
.clean-room .project-detail-panel b,
.clean-room .memory-bin-body b {
  color: var(--lab-amber);
  letter-spacing: .08em;
}

.clean-room .project-list button {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(116, 236, 219, .22);
  color: var(--lab-text);
}

.clean-room .project-list button.active,
.clean-room .project-list button:hover {
  background: rgba(98, 234, 223, .11);
  border-color: rgba(116, 236, 219, .54);
}

.clean-room .project-list small,
.clean-room .project-detail-panel small {
  color: rgba(121, 242, 166, .72);
}

.clean-room .project-detail-panel h3 {
  color: var(--lab-cyan);
  text-shadow: 0 0 12px rgba(98, 234, 223, .24);
}

.clean-room .project-file-chips button,
.clean-room .project-actions button {
  background: rgba(216, 209, 109, .92);
  border: 1px solid rgba(255, 242, 147, .75);
  color: #10120e;
}

.clean-room .project-file-chips button {
  background: rgba(255, 255, 255, .08);
  color: var(--lab-text);
}

.clean-room .ide-main {
  grid-template-rows: 28px 30px minmax(0, 1fr) 112px;
  height: min(390px, calc(100% - 64px));
  left: max(316px, calc(50% - 340px));
  top: 34px;
  width: min(680px, calc(100% - 620px));
}

.clean-room .ide-tabs {
  background: rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(116, 236, 219, .12);
}

.clean-room .ide-tabs button {
  color: rgba(220, 233, 225, .7);
}

.clean-room .ide-editor {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    #111416;
  background-size: 48px 48px;
  color: #dde5df;
}

.clean-room .ide-editor pre {
  color: #dfe9e2;
  font-size: 12px;
  line-height: 1.55;
}

.clean-room .ide-editor .ln {
  color: #5b6865;
}

.clean-room .ide-editor .code-line.is-active {
  background: rgba(216, 209, 109, .12);
  outline-color: rgba(216, 209, 109, .26);
}

.clean-room .ide-editor .code-line.is-active::after {
  color: var(--lab-amber);
}

.clean-room .ide-terminal {
  background: #080b0c;
  border-top: 1px solid rgba(116, 236, 219, .16);
}

.clean-room .ide-terminal-tabs {
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid rgba(116, 236, 219, .12);
}

.clean-room .ide-terminal-tabs button {
  color: rgba(220, 233, 225, .58);
}

.clean-room .ide-terminal-tabs button.active {
  border-bottom-color: var(--lab-cyan);
  color: var(--lab-text);
}

.clean-room .ide-terminal pre {
  color: var(--lab-green);
  font-size: 12px;
  max-height: 78px;
}

.clean-room .ide-preview {
  height: min(360px, calc(100% - 86px));
  left: min(1028px, calc(100% - 470px));
  top: 76px;
  width: min(430px, calc(100% - 1014px));
}

.clean-room .ide-preview.is-fullscreen {
  background: #030506;
  border-color: rgba(116, 236, 219, .62);
  box-shadow: 0 0 42px rgba(98, 234, 223, .2), 0 24px 90px rgba(0, 0, 0, .76);
}

.clean-room .browser-bar {
  background: #101619;
  border-bottom: 1px solid rgba(116, 236, 219, .3);
  color: var(--lab-text);
}

.clean-room .browser-bar span {
  background: rgba(0, 0, 0, .54);
  border: 1px solid rgba(116, 236, 219, .22);
  color: rgba(220, 233, 225, .68);
}

.clean-room .preview-playtest-badge,
.clean-room .ai-process-panel {
  background: rgba(5, 8, 10, .9);
  border: 1px solid rgba(216, 209, 109, .45);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .5);
  color: var(--lab-amber);
}

.clean-room .ai-process-panel {
  bottom: 46px;
  left: 330px;
  max-width: 320px;
}

.clean-room .ai-process-panel b {
  color: var(--lab-cyan);
}

.clean-room .ai-process-panel p {
  color: rgba(121, 242, 166, .78);
}

.clean-room .process-meter {
  background: rgba(0, 0, 0, .62);
  border-color: rgba(116, 236, 219, .26);
}

.clean-room .process-meter i {
  background: linear-gradient(90deg, var(--lab-cyan), var(--lab-green), var(--lab-amber));
}

.clean-room .robot-chat-hotspot span {
  background: rgba(8, 12, 14, .84);
  border: 1px solid rgba(116, 236, 219, .38);
  color: rgba(220, 233, 225, .82);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .46);
  text-shadow: none;
}

.clean-room .robot-chat-hotspot span::before {
  background: var(--lab-green);
  box-shadow: 0 0 10px rgba(121, 242, 166, .5);
}

.clean-room .robot-chat-hotspot:hover span,
.clean-room .robot-chat-hotspot:focus span {
  border-color: rgba(216, 209, 109, .62);
  color: var(--lab-amber);
}

.clean-room .robot-chat-panel {
  background:
    linear-gradient(90deg, rgba(116, 236, 219, .04) 1px, transparent 1px),
    linear-gradient(rgba(116, 236, 219, .035) 1px, transparent 1px),
    rgba(6, 10, 12, .97);
  background-size: 30px 30px;
  border: 1px solid rgba(116, 236, 219, .54);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .68), 0 0 32px rgba(98, 234, 223, .16);
}

.clean-room .robot-chat-title {
  background: linear-gradient(180deg, #172226, #0d1215);
  border-bottom: 1px solid rgba(116, 236, 219, .32);
  color: var(--lab-cyan);
}

.clean-room .robot-chat-title button,
.clean-room .robot-chat-form button {
  background: rgba(216, 209, 109, .92);
  border: 1px solid rgba(255, 242, 147, .75);
  color: #11140f;
  text-shadow: none;
}

.clean-room .robot-chat-log {
  background: rgba(0, 0, 0, .26);
}

.clean-room .robot-chat-log p {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(116, 236, 219, .18);
  border-left: 2px solid rgba(116, 236, 219, .6);
  color: var(--lab-text);
}

.clean-room .robot-chat-log p.user {
  background: rgba(216, 209, 109, .08);
  border-left-color: var(--lab-amber);
  color: #f4edb0;
}

.clean-room .robot-chat-log p.system {
  background: rgba(196, 106, 74, .08);
  border-left-color: var(--lab-rust);
  color: rgba(121, 242, 166, .86);
}

.clean-room .robot-chat-log b {
  color: var(--lab-cyan);
}

.clean-room .robot-chat-form {
  background: rgba(0, 0, 0, .62);
  border-top: 1px solid rgba(116, 236, 219, .3);
}

.clean-room .robot-chat-form input {
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(116, 236, 219, .28);
  color: var(--lab-green);
}

.clean-room .ai-thought-popup,
.clean-room .ai-interrupt-bubble {
  background: rgba(9, 13, 15, .95);
  border: 1px solid rgba(216, 209, 109, .46);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .62);
  color: var(--lab-text);
}

.clean-room .ai-thought-popup::after {
  border-right-color: rgba(216, 209, 109, .68);
}

.clean-room .ai-thought-popup b,
.clean-room .ai-interrupt-bubble b {
  color: var(--lab-amber);
}

.clean-room .ai-interrupt-bubble span {
  color: var(--lab-text);
}

.clean-room .ai-interrupt-bubble::after {
  border-top-color: rgba(216, 209, 109, .52);
}

.clean-room .ai-interrupt-bubble button {
  background: rgba(216, 209, 109, .92);
  border: 1px solid rgba(255, 242, 147, .72);
  color: #10120e;
}

.clean-room .code-studio.is-building .ide-titlebar {
  box-shadow: inset 0 -2px 0 var(--lab-amber);
}

.clean-room .code-studio.is-thinking .ide-titlebar {
  box-shadow: inset 0 -2px 0 var(--lab-rust);
}

.clean-room .code-studio.is-running .ide-titlebar {
  box-shadow: inset 0 -2px 0 var(--lab-green);
}

@media (min-width: 1500px) and (orientation: landscape) {
  .clean-room .ide-screen {
    height: min(700px, 62vh);
    width: min(1920px, 92vw);
  }

  .clean-room .ide-main {
    height: min(460px, calc(100% - 82px));
    left: calc(50% - 390px);
    width: min(780px, calc(100% - 680px));
  }

  .clean-room .ide-preview {
    height: min(430px, calc(100% - 104px));
    left: min(1180px, calc(100% - 560px));
    width: min(520px, calc(100% - 1160px));
  }

  .clean-room .ai-process-panel {
    left: 620px;
  }
}

@media (orientation: portrait) {
  .clean-room .ide-screen {
    height: min(760px, 52vh);
    width: min(1120px, 96vw);
  }

  .clean-room .ide-main {
    height: min(430px, calc(100% - 70px));
    left: 300px;
    top: 32px;
    width: calc(100% - 320px);
  }

  .clean-room .ide-preview:not(.is-fullscreen) {
    left: 300px;
    top: 476px;
    width: calc(100% - 320px);
  }

  .clean-room .ai-process-panel {
    left: 300px;
  }
}

@media (max-width: 760px) {
  .clean-room .ide-screen {
    height: 56vh;
    top: 8px;
    width: calc(100vw - 12px);
  }

  .clean-room .desktop-icons,
  .clean-room .ide-sidebar {
    display: none;
  }

  .clean-room .ide-main {
    left: 10px;
    top: 46px;
    width: calc(100% - 20px);
  }

  .clean-room .ide-preview:not(.is-fullscreen) {
    left: 10px;
    top: 340px;
    width: calc(100% - 20px);
  }

  .clean-room .ai-process-panel {
    bottom: 40px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
}

a {
  color: #00ffff;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, default;
}

table, th, td {
  border: 5px #223B6A;
  padding: 15px;
  border-style: ridge;
}

input, textarea, select, button {
  font-family: inherit;
}

.top-banner {
  background-image: url(/assets/legacy/b1.png);
  background-repeat: repeat-x;
  width: auto;
  min-height: 116px;
}

.home-link {
  margin-left: 30px;
}

.top-banner img {
  max-width: 100%;
  height: auto;
}

.compact-room-banner {
  background-size:auto 62px;
  min-height:62px;
  overflow:hidden;
}

.compact-room-banner img {
  height:62px;
  max-width:none;
  width:auto;
}

.site-banner {
  border-bottom: 4px solid #000;
  position: relative;
}

.site-banner a {
  color: #00ffff;
  display: inline-block;
  font-size: 34px;
  line-height: 1;
  margin: 18px 0 0 34px;
  text-decoration: none;
  text-shadow: 3px 3px #000, 0 0 12px #00ffff;
}

.site-banner small {
  color: #ffff00;
  display: block;
  font-size: 16px;
  margin-top: 8px;
}

.nav-table {
  width: 100%;
}

.nav-table td {
  background: url('/assets/legacy/twink.gif') repeat;
  color: #ffff00;
  font-size: 12px;
  padding: 7px 5px;
  text-align: center;
  white-space: nowrap;
}

.nav-table .active {
  color: #ffff00;
  text-decoration: none;
}

.ai-room3d {
  background:#020206;
  border-bottom:6px ridge #223B6A;
  box-shadow:0 0 38px #00ffff, inset 0 0 70px rgba(255,0,255,.18);
  height:calc(100vh - 164px);
  min-height:620px;
  overflow:hidden;
  position:relative;
  width:100%;
}

#ai-room-canvas {
  display:block;
  height:100%;
  image-rendering:auto;
  inset:0;
  position:absolute;
  width:100%;
}

.room-noise {
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.07), rgba(255,255,255,.07) 1px, transparent 1px, transparent 5px),
    url(/assets/legacy/twink.gif) repeat;
  inset:0;
  mix-blend-mode:screen;
  opacity:.22;
  pointer-events:none;
  position:absolute;
  z-index:2;
}

.robot-chat-hotspot {
  background: transparent;
  border: 0;
  bottom: 74px;
  color: transparent;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  height: min(260px, 30vh);
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: min(310px, 26vw);
  z-index: 64;
}

.robot-chat-hotspot span {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 255, 255, .24), rgba(255, 0, 255, .22)),
    rgba(2, 8, 14, .9);
  border: 2px solid #00ffff;
  border-radius: 0;
  bottom: 6px;
  box-shadow: 0 0 14px rgba(0, 255, 255, .85), inset 0 0 18px rgba(0, 255, 255, .16);
  color: #dfffff;
  display: flex;
  font: 900 10px "Courier New", monospace;
  gap: 7px;
  left: 50%;
  letter-spacing: 0;
  padding: 7px 10px;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 0 7px #00ffff;
  transform: translateX(-50%) translateY(10px);
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
  white-space: nowrap;
  opacity: .72;
}

.robot-chat-hotspot span::before {
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

.robot-chat-hotspot:hover span,
.robot-chat-hotspot:focus span {
  border-color: #ffff00;
  color: #ffff00;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.robot-chat-panel {
  background:
    linear-gradient(90deg, rgba(0, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 255, .05) 1px, transparent 1px),
    rgba(3, 8, 14, .96);
  background-size: 26px 26px;
  border: 3px solid #00ffff;
  bottom: 120px;
  box-shadow: 0 0 24px rgba(0, 255, 255, .9), 0 0 70px rgba(255, 0, 255, .35), 7px 7px 0 rgba(0, 0, 0, .45);
  color: #eaffff;
  display: grid;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  grid-template-rows: 30px minmax(120px, 1fr) 42px;
  height: min(390px, 48vh);
  position: absolute;
  right: max(24px, calc(50% - 590px));
  text-shadow: none;
  width: min(450px, calc(100vw - 34px));
  z-index: 75;
}

.robot-chat-panel.is-hidden {
  display: none;
}

.robot-chat-title {
  align-items: center;
  background: linear-gradient(90deg, #071d28, #210033);
  border-bottom: 2px solid #00ffff;
  color: #00ffff;
  display: flex;
  gap: 8px;
  padding: 4px 7px;
}

.robot-chat-title b {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.robot-chat-title button,
.robot-chat-form button {
  background: #101010;
  border: 2px solid #ffff00;
  color: #ffff00;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: 900 11px "Courier New", monospace;
  padding: 4px 8px;
  text-shadow: 0 0 7px #ffff00;
}

.robot-chat-log {
  background:
    linear-gradient(90deg, rgba(0, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 255, .06) 1px, transparent 1px),
    #080b10;
  background-size: 28px 28px;
  overflow: auto;
  padding: 9px;
}

.robot-chat-log p {
  background: rgba(0, 255, 255, .04);
  border: 1px solid rgba(0, 255, 255, .25);
  border-left: 4px solid #00ffff;
  color: #d8ffff;
  font-size: 12px;
  line-height: 1.42;
  margin: 0 0 9px;
  padding: 7px 8px;
}

.robot-chat-log p.user {
  background: rgba(255, 255, 0, .06);
  border-left-color: #ffff00;
  color: #ffff00;
  margin-left: 28px;
}

.robot-chat-log p.system {
  background: rgba(255, 0, 255, .06);
  border-left-color: #ff00ff;
  color: #00ff66;
  font-size: 11px;
}

.robot-chat-log b,
.robot-chat-log span {
  display: block;
}

.robot-chat-log b {
  color: #00ffff;
  font-size: 11px;
  margin-bottom: 2px;
}

.robot-chat-log p.user b {
  color: #ffff00;
}

.robot-chat-log img {
  border: 3px ridge #00ffff;
  display: block;
  margin-top: 7px;
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.robot-chat-form {
  align-items: center;
  background: rgba(0, 0, 0, .78);
  border-top: 2px solid #00ffff;
  display: flex;
  gap: 7px;
  padding: 6px;
}

.robot-chat-form input {
  background: #000;
  border: 2px inset #00ffff;
  color: #00ff66;
  flex: 1;
  font: 12px "Courier New", monospace;
  min-width: 0;
  outline: 0;
  padding: 7px;
}

.room-hud {
  background:rgba(0,0,0,.74);
  border:4px ridge #223B6A;
  box-shadow:0 0 16px rgba(0,255,255,.75);
  color:#ffff00;
  font-size:13px;
  line-height:1.35;
  max-width:290px;
  padding:10px;
  position:absolute;
  text-align:left;
  text-shadow:1px 1px #000, 0 0 8px #ffff00;
  top:18px;
  z-index:3;
}

.room-hud b {
  color:#00ffff;
  display:block;
  font-size:15px;
  margin-bottom:7px;
  text-shadow:0 0 10px #00ffff;
}

.room-hud span {
  display:block;
  margin:3px 0;
}

.room-hud-left {
  left:18px;
}

.room-hud-right {
  right:18px;
}

.room-log-jump {
  background:#ffff00;
  border:5px outset #fff;
  bottom:18px;
  color:#000;
  font-size:16px;
  font-weight:700;
  left:50%;
  padding:7px 13px;
  position:absolute;
  text-decoration:none;
  text-shadow:none;
  transform:translateX(-50%);
  z-index:3;
}

.room-log-jump:active {
  border-style:inset;
}

.room-task-sheet {
  background:#fff6b8;
  border:5px outset #fff;
  bottom:62px;
  box-shadow:0 0 18px rgba(255,255,0,.75), 8px 8px 0 rgba(0,0,0,.5);
  color:#050505;
  font-size:13px;
  left:18px;
  line-height:1.35;
  max-width:340px;
  padding:10px 12px 10px 26px;
  position:absolute;
  text-align:left;
  text-shadow:none;
  transform:rotate(-1.5deg);
  z-index:3;
}

.room-task-sheet b {
  color:#000;
  display:block;
  font-size:15px;
  margin:0 0 6px -12px;
}

.room-task-sheet ol {
  margin:0;
  padding-left:16px;
}

.room-task-sheet li {
  margin:3px 0;
}

.room-task-sheet li.active {
  background:#00ffff;
  outline:2px dashed #ff00ff;
  padding:2px 4px;
}

.room-task-sheet .task-mode {
  background:#000;
  color:#00ff66;
  display:inline-block;
  font-weight:700;
  margin:7px 0 0 -12px;
  padding:3px 6px;
}

.clean-room {
  overflow: hidden;
}

.clean-room .top-banner,
.clean-room .nav-table,
.clean-room .room-task-sheet,
.clean-room .room-log-jump,
.clean-room .pickup-os,
.clean-room .gb-shell,
.clean-room marquee {
  display: none !important;
}

.clean-room .ai-room3d {
  border-bottom: 0;
  height: 100vh;
  min-height: 100vh;
}

.ide-screen {
  background: #1e1e1e;
  border: 5px ridge #00ffff;
  box-shadow: 0 0 28px #00ffff, 0 0 76px rgba(255, 0, 255, .38), inset 0 0 28px rgba(0, 0, 0, .9);
  color: #d4d4d4;
  display: grid;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  grid-template-rows: 30px 38px minmax(0, 1fr);
  height: min(620px, 58vh);
  left: 50%;
  overflow: hidden;
  position: absolute;
  text-shadow: none;
  top: max(8px, 1vh);
  transform: translateX(-50%);
  width: min(2040px, 94vw);
  z-index: 5;
}

.ide-titlebar,
.ide-commandbar,
.ide-statusbar,
.browser-bar {
  align-items: center;
  display: flex;
  min-width: 0;
}

.ide-titlebar {
  background: #3c3c3c;
  border-bottom: 1px solid #111;
  color: #f3f3f3;
  gap: 6px;
  padding: 0 7px;
}

.ide-titlebar span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ide-commandbar {
  background: #252526;
  border-bottom: 1px solid #111;
  gap: 7px;
  padding: 5px 7px;
  overflow: hidden;
}

.ide-commandbar input {
  background: #111;
  border: 1px solid #444;
  color: #e6e6e6;
  flex: 1;
  font-size: 12px;
  min-width: 0;
  outline: 0;
  padding: 6px 8px;
}

.clean-room .ide-commandbar button {
  display: none;
}

.ide-commandbar input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, .45);
}

.ide-titlebar button,
.ide-commandbar button,
.ide-tabs button,
.ide-sidebar button,
.ide-activity button,
.ide-terminal-tabs button,
.ide-statusbar button,
.browser-bar button {
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
}

.ide-commandbar button,
.ide-statusbar button,
.browser-bar button {
  background: #ffff00;
  border: 3px outset #fff;
  color: #000;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 7px;
  white-space: nowrap;
}

.ide-commandbar button:active,
.ide-statusbar button:active,
.browser-bar button:active {
  border-style: inset;
}

.ide-body {
  background:
    linear-gradient(90deg, rgba(0, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 255, .05) 1px, transparent 1px),
    radial-gradient(circle at 75% 20%, rgba(255, 0, 255, .18), transparent 34%),
    #10131c;
  background-size: 34px 34px, 34px 34px, auto, auto;
  display: block;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.desktop-icons {
  display: grid;
  gap: 12px;
  left: 18px;
  position: absolute;
  top: 16px;
  width: 92px;
  z-index: 3;
}

.desktop-icons button {
  background: transparent;
  border: 1px solid transparent;
  color: #d8ffff;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  font-size: 10px;
  line-height: 1.1;
  padding: 3px;
  text-align: center;
  text-shadow: 1px 1px #000, 0 0 6px #00ffff;
}

.desktop-icons button:hover,
.desktop-icons button:focus {
  background: rgba(0, 120, 215, .35);
  border-color: #00ffff;
  outline: 0;
}

.desktop-icon {
  border: 2px outset rgba(255, 255, 255, .65);
  box-shadow: 0 0 8px rgba(0, 255, 255, .65);
  display: block;
  height: 30px;
  margin: 0 auto 5px;
  position: relative;
  width: 36px;
}

.desktop-icon::before,
.desktop-icon::after {
  content: "";
  position: absolute;
}

.icon-folder {
  background: #ffeb3b;
}

.icon-folder::before {
  background: #ffeb3b;
  height: 8px;
  left: 3px;
  top: -8px;
  width: 18px;
}

.icon-browser {
  background: radial-gradient(circle, #001b28 42%, #00ffff 43%, #00ffff 54%, #001b28 55%);
}

.icon-code {
  background: #121212;
}

.icon-code::before {
  border-bottom: 7px solid transparent;
  border-right: 9px solid #00ff66;
  border-top: 7px solid transparent;
  left: 7px;
  top: 7px;
}

.icon-code::after {
  border-bottom: 7px solid transparent;
  border-left: 9px solid #00ff66;
  border-top: 7px solid transparent;
  right: 7px;
  top: 7px;
}

.icon-run {
  background: #111;
}

.icon-run::before {
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffff00;
  border-top: 10px solid transparent;
  left: 11px;
  top: 5px;
}

.icon-trash {
  background: #555;
}

.icon-trash::before {
  background: #c0c0c0;
  height: 4px;
  left: -3px;
  top: -7px;
  width: 38px;
}

.start-menu {
  background: #c0c0c0;
  border: 4px outset #fff;
  bottom: 31px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
  color: #000;
  left: 8px;
  min-width: 238px;
  padding: 8px;
  position: absolute;
  text-shadow: none;
  z-index: 40;
}

.start-menu.is-hidden {
  display: none;
}

.start-menu b,
.start-menu span,
.start-menu button {
  display: block;
  margin-bottom: 6px;
  width: 100%;
}

.start-menu b {
  background: #000080;
  color: #fff;
  padding: 5px 7px;
}

.start-menu button {
  background: #efefef;
  border: 2px outset #fff;
  color: #000;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  padding: 6px 8px;
  text-align: left;
}

.os-taskbar {
  align-items: center;
  background: linear-gradient(#cfcfcf, #8c8c8c);
  border-top: 3px solid #ffffff;
  bottom: 0;
  color: #000;
  display: flex;
  gap: 5px;
  height: 31px;
  left: 0;
  padding: 3px 6px;
  position: absolute;
  right: 0;
  text-shadow: none;
  z-index: 35;
}

.os-taskbar button {
  background: #c0c0c0;
  border: 2px outset #fff;
  color: #000;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  font-size: 11px;
  height: 23px;
  padding: 2px 8px;
  white-space: nowrap;
}

.os-taskbar button[data-window-open] {
  display: none;
}

.os-taskbar button[data-window-open].is-active {
  display: inline-block;
}

.os-taskbar button:active,
.os-taskbar button.is-active {
  border-style: inset;
}

.os-taskbar .start-button {
  background: #ffff00;
  font-weight: 900;
}

.os-taskbar span {
  background: #007acc;
  border: 2px inset #8fbfe8;
  color: #fff;
  flex: 1;
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 2px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-taskbar em {
  background: #efefef;
  border: 2px inset #fff;
  color: #000;
  font-size: 11px;
  font-style: normal;
  min-width: 72px;
  padding: 2px 6px;
  text-align: center;
}

.ide-activity {
  background: #333333;
  border-right: 1px solid #111;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  left: 0;
  padding: 7px 4px;
  position: absolute;
  top: 0;
  width: 44px;
  z-index: 2;
}

.ide-activity button {
  color: #bdbdbd;
  font-size: 11px;
  min-height: 30px;
}

.ide-activity button.active,
.ide-activity button:hover {
  background: #094771;
  color: #fff;
}

.ide-sidebar {
  background: #181818;
  border-right: 1px solid #303030;
  min-width: 0;
  overflow: auto;
  padding: 7px;
  height: 100%;
  box-shadow: 0 0 16px rgba(0, 255, 255, .45);
  height: 252px;
  left: 116px;
  position: absolute;
  top: 18px;
  width: 188px;
  z-index: 4;
}

.ide-side-title {
  color: #cccccc;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 7px;
}

.ide-file-list button {
  color: #cccccc;
  display: block;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  padding: 5px 4px 5px 13px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.ide-file-list button::before {
  content: "> ";
  color: #00ffff;
}

.ide-file-list button.active,
.ide-tabs button.active {
  background: #094771;
  color: #fff;
}

.ide-mini-status {
  border-top: 1px solid #333;
  color: #9cdcfe;
  font-size: 11px;
  margin-top: 10px;
  padding-top: 9px;
}

.ide-mini-status b,
.ide-mini-status span {
  display: block;
  margin: 3px 0;
  overflow-wrap: anywhere;
}

.project-manager {
  background: #101010;
  border: 3px ridge #9aa7b8;
  box-shadow: 0 0 22px rgba(0, 255, 255, .62), 8px 8px 0 rgba(0, 0, 0, .4);
  display: grid;
  grid-template-rows: 27px minmax(0, 1fr);
  height: min(390px, calc(100% - 64px));
  left: 170px;
  min-width: 420px;
  position: absolute;
  resize: both;
  top: 58px;
  width: min(730px, calc(100% - 220px));
  z-index: 8;
}

.project-manager-body {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  padding: 10px;
}

.project-list-panel,
.project-detail-panel,
.memory-bin-body {
  background: rgba(0, 0, 0, .78);
  border: 2px inset #00ffff;
  color: #d8ffff;
  min-height: 0;
  overflow: auto;
  padding: 10px;
  text-shadow: none;
}

.project-list-panel b,
.project-detail-panel b,
.memory-bin-body b {
  color: #ffff00;
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.project-list {
  display: grid;
  gap: 7px;
}

.project-list button {
  background: #171717;
  border: 2px outset #425b64;
  color: #eaffff;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  font-size: 11px;
  padding: 7px;
  text-align: left;
}

.project-list button.active,
.project-list button:hover {
  background: #094771;
  border-color: #00ffff;
}

.project-list small,
.project-detail-panel small {
  color: #00ff66;
  display: block;
  margin-top: 4px;
}

.project-detail-panel h3 {
  color: #00ffff;
  font-size: 20px;
  line-height: 1.1;
  margin: 0 0 8px;
  text-shadow: 0 0 8px #00ffff;
}

.project-detail-panel p {
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0;
}

.project-file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.project-file-chips button,
.project-actions button {
  background: #ffff00;
  border: 3px outset #fff;
  color: #000;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

.project-file-chips button {
  background: #c0c0c0;
  font-weight: 700;
}

.project-file-chips button:active,
.project-actions button:active {
  border-style: inset;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.memory-bin {
  background: #090909;
  border: 3px ridge #9aa7b8;
  box-shadow: 0 0 18px rgba(255, 255, 0, .5), 7px 7px 0 rgba(0, 0, 0, .38);
  display: grid;
  grid-template-rows: 27px minmax(0, 1fr);
  height: 250px;
  left: 188px;
  min-width: 260px;
  position: absolute;
  resize: both;
  top: 120px;
  width: 390px;
  z-index: 7;
}

.memory-bin-body {
  border-color: #ffff00;
  color: #00ff66;
  font-size: 12px;
  line-height: 1.45;
}

.memory-bin-body p,
.memory-bin-body code {
  display: block;
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.ide-main {
  background: #1e1e1e;
  border: 3px ridge #9aa7b8;
  box-shadow: 0 0 18px rgba(0, 255, 255, .55), 7px 7px 0 rgba(0, 0, 0, .38);
  display: grid;
  grid-template-rows: 27px 28px minmax(0, 1fr) 96px;
  height: min(340px, calc(100% - 36px));
  left: max(322px, calc(50% - 265px));
  min-width: 0;
  position: absolute;
  resize: both;
  top: 16px;
  width: min(530px, calc(100% - 352px));
  z-index: 5;
}

.desktop-window {
  min-height: 170px;
  min-width: 260px;
}

.desktop-window.is-hidden {
  display: none !important;
}

.desktop-window.is-minimized {
  height: 31px !important;
  overflow: hidden;
}

.desktop-window-bar {
  align-items: center;
  background: linear-gradient(90deg, #28364f, #101824);
  border-bottom: 2px solid #00ffff;
  color: #ffffff;
  cursor: move;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  padding: 3px 6px;
  user-select: none;
}

.desktop-window-bar span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-window-bar button {
  background: #c0c0c0;
  border: 2px outset #fff;
  color: #000;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  height: 18px;
  line-height: 1;
  padding: 0 5px;
}

.ide-tabs {
  background: #252526;
  display: flex;
  min-width: 0;
  overflow: hidden;
}

.ide-tabs button {
  border-right: 1px solid #111;
  color: #cccccc;
  font-size: 12px;
  max-width: 170px;
  min-width: 80px;
  overflow: hidden;
  padding: 4px 10px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ide-editor {
  background: #1e1e1e;
  color: #d4d4d4;
  min-height: 0;
  overflow: auto;
  padding: 9px 0;
}

.ide-editor pre {
  background: transparent;
  border: 0;
  color: #d4d4d4;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  padding: 0 14px;
  tab-size: 2;
  white-space: pre-wrap;
}

.ide-editor .code-line {
  display: block;
  min-height: 18px;
}

.ide-editor .code-line.is-active {
  background: rgba(255, 255, 0, .14);
  color: #ffffff;
  outline: 1px solid rgba(0, 255, 255, .35);
}

.ide-editor .code-line.is-active::after {
  animation: caretBlink .8s steps(1) infinite;
  color: #ffff00;
  content: "█";
  margin-left: 2px;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

.ide-editor .ln {
  color: #858585;
  display: inline-block;
  margin-right: 12px;
  min-width: 28px;
  text-align: right;
  user-select: none;
}

.ide-terminal {
  background: #101010;
  border-top: 1px solid #333;
  min-height: 0;
  overflow: hidden;
}

.ide-terminal-tabs {
  background: #181818;
  border-bottom: 1px solid #303030;
  display: flex;
  gap: 3px;
  height: 28px;
  padding-left: 8px;
}

.ide-terminal-tabs button {
  color: #cccccc;
  font-size: 11px;
  padding: 4px 8px;
}

.ide-terminal-tabs button.active {
  color: #fff;
  border-bottom: 2px solid #00ffff;
}

.ide-terminal pre {
  background: transparent;
  border: 0;
  color: #00ff66;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  max-height: 62px;
  overflow: auto;
  padding: 8px 10px;
  white-space: pre-wrap;
}

.ide-preview {
  background: #0d1117;
  border: 3px ridge #9aa7b8;
  box-shadow: 0 0 18px rgba(255, 255, 0, .4), 7px 7px 0 rgba(0, 0, 0, .34);
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr);
  height: min(310px, calc(100% - 62px));
  left: min(846px, calc(100% - 430px));
  min-width: 0;
  position: absolute;
  resize: both;
  top: 48px;
  width: min(365px, calc(100% - 840px));
  z-index: 6;
}

.ide-preview.is-fullscreen {
  height: calc(100% - 16px) !important;
  left: 8px !important;
  min-height: 260px;
  resize: none;
  top: 8px !important;
  width: calc(100% - 16px) !important;
  z-index: 60 !important;
}

.browser-bar {
  background: #d7d7d7;
  border-bottom: 2px solid #000;
  color: #000;
  gap: 7px;
  padding: 4px 6px;
  cursor: move;
  user-select: none;
}

.browser-bar span {
  background: #fff;
  border: 2px inset #bbb;
  flex: 1;
  font-size: 11px;
  overflow: hidden;
  padding: 3px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-bar button[data-window-close],
.browser-bar button[data-window-minimize],
.browser-bar button[data-window-focus] {
  min-width: 22px;
  padding-left: 4px;
  padding-right: 4px;
}

.ide-preview iframe {
  background: #030303;
  border: 0;
  height: 100%;
  width: 100%;
}

.preview-playtest-badge {
  background: rgba(0, 0, 0, .86);
  border: 2px solid #ffff00;
  color: #ffff00;
  font-size: 12px;
  font-weight: 900;
  left: auto;
  max-width: min(360px, calc(100% - 24px));
  padding: 5px 8px;
  pointer-events: none;
  position: absolute;
  right: 10px;
  text-shadow: 0 0 8px #ffff00;
  top: 42px;
  z-index: 4;
}

.preview-playtest-badge.is-hidden {
  display: none;
}

.ide-statusbar {
  display: none;
}

.ide-statusbar span {
  flex: 1;
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-process-panel {
  background: rgba(0, 0, 0, .88);
  border: 3px ridge #ff00ff;
  bottom: 34px;
  box-shadow: 0 0 18px rgba(255, 0, 255, .65);
  color: #ffff00;
  font-size: 11px;
  left: 258px;
  max-width: 250px;
  padding: 7px;
  position: absolute;
  text-shadow: none;
  z-index: 28;
}

.ai-process-panel b,
.ai-process-panel span,
.ai-process-panel p {
  display: block;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.ai-process-panel b {
  color: #00ffff;
  font-size: 13px;
}

.ai-process-panel p {
  color: #00ff66;
  margin-bottom: 0;
}

.process-meter {
  background: #101010;
  border: 1px solid #00ffff;
  height: 8px;
  margin: 5px 0;
  overflow: hidden;
}

.process-meter i {
  background: linear-gradient(90deg, #00ffff, #ffff00, #ff00ff);
  display: block;
  height: 100%;
  width: 0%;
}

.ai-interrupt-bubble {
  background: #fff6b8;
  border: 3px outset #fff;
  bottom: 54px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45), 0 0 18px rgba(255, 255, 0, .55);
  color: #000;
  font-size: 12px;
  left: 430px;
  max-width: min(360px, calc(100% - 460px));
  padding: 9px 10px;
  position: absolute;
  text-shadow: none;
  z-index: 55;
}

.ai-interrupt-bubble::after {
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #fff6b8;
  bottom: -16px;
  content: "";
  left: 44px;
  position: absolute;
}

.ai-interrupt-bubble.is-hidden {
  display: none;
}

.ai-interrupt-bubble b,
.ai-interrupt-bubble span {
  display: block;
  margin-bottom: 6px;
}

.ai-interrupt-bubble b {
  color: #000080;
}

.ai-interrupt-bubble button {
  background: #ffff00;
  border: 3px outset #fff;
  color: #000;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font: inherit;
  font-weight: 900;
  padding: 3px 7px;
}

.ai-thought-popup {
  background:
    linear-gradient(90deg, rgba(255, 0, 255, .12), rgba(0, 255, 255, .1)),
    rgba(5, 5, 9, .94);
  border: 3px ridge #ff00ff;
  box-shadow: 0 0 18px rgba(255, 0, 255, .72), 0 0 26px rgba(0, 255, 255, .3), 6px 6px 0 rgba(0, 0, 0, .4);
  color: #00ff66;
  font-size: 12px;
  left: calc(50% + 96px);
  max-width: min(340px, 34vw);
  padding: 9px 11px;
  position: absolute;
  text-shadow: none;
  bottom: clamp(265px, 34vh, 430px);
  z-index: 82;
}

.ai-thought-popup::after {
  border-right: 14px solid #ff00ff;
  border-bottom: 9px solid transparent;
  border-top: 9px solid transparent;
  bottom: 16px;
  content: "";
  left: -16px;
  position: absolute;
}

.ai-thought-popup.is-hidden {
  display: none;
}

.ai-thought-popup b,
.ai-thought-popup span {
  display: block;
}

.ai-thought-popup b {
  color: #ffff00;
  font-size: 13px;
  margin-bottom: 5px;
}

@media (orientation: portrait) {
  .ai-thought-popup {
    bottom: clamp(450px, 38vh, 720px);
    left: calc(50% + 44px);
    max-width: min(360px, 42vw);
  }
}

@media (max-width: 760px) {
  .ai-thought-popup {
    bottom: 34vh;
    left: 50%;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
  }

  .ai-thought-popup::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #ff00ff;
    border-bottom: 0;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.code-studio.is-building .ide-titlebar {
  box-shadow: inset 0 -3px 0 #ffff00;
}

.code-studio.is-thinking .ide-titlebar {
  box-shadow: inset 0 -3px 0 #ff00ff;
}

.code-studio.is-running .ide-titlebar {
  box-shadow: inset 0 -3px 0 #00ff66;
}

@media (min-width: 1500px) and (orientation: landscape) {
  .ide-screen {
    height: min(660px, 60vh);
    width: min(2140px, 96vw);
  }

  .ide-sidebar {
    height: min(318px, calc(100% - 92px));
    width: 214px;
  }

  .project-manager {
    height: min(460px, calc(100% - 70px));
    width: min(880px, calc(100% - 240px));
  }

  .ide-main {
    height: min(440px, calc(100% - 58px));
    left: calc(50% - 380px);
    width: min(760px, calc(100% - 600px));
  }

  .ide-preview {
    height: min(408px, calc(100% - 78px));
    left: min(1130px, calc(100% - 570px));
    width: min(520px, calc(100% - 1120px));
  }

  .ai-process-panel {
    left: 610px;
    max-width: 330px;
  }
}

@media (orientation: portrait) {
  .ide-screen {
    height: min(760px, 50vh);
    top: max(10px, 1vh);
    width: min(1120px, 97vw);
  }

  .desktop-icons {
    gap: 10px;
    left: 14px;
    width: 78px;
  }

  .ide-sidebar {
    height: min(300px, calc(100% - 86px));
    left: 102px;
    width: 178px;
  }

  .ide-main {
    height: min(420px, calc(100% - 58px));
    left: 296px;
    width: calc(100% - 312px);
  }

  .ide-preview:not(.is-fullscreen) {
    height: max(210px, calc(100% - 486px));
    left: 296px;
    top: 452px;
    width: calc(100% - 312px);
  }

  .project-manager {
    left: 104px;
    width: calc(100% - 122px);
  }

  .ai-process-panel {
    left: 296px;
    max-width: min(330px, calc(100% - 312px));
  }
}

.page-shell {
  width: 900px;
  max-width: calc(100% - 24px);
  margin: 0 auto 36px;
}

.wide-shell {
  width: 1100px;
  max-width: calc(100% - 24px);
  margin: 0 auto 36px;
}

.terminal {
  background: #000;
  border: 5px ridge #223B6A;
  padding: 14px;
  margin: 14px auto;
  box-shadow: 0 0 0 2px #000, 0 0 24px #00ffff;
}

.terminal-red {
  border-color: #ff0000;
  box-shadow: 0 0 20px #ff0000;
}

.terminal-green {
  border-color: #00ff00;
  box-shadow: 0 0 20px #00ff00;
}

.terminal-yellow {
  border-color: #ffff00;
  box-shadow: 0 0 20px #ffff00;
}

.headline {
  color: #ff0000;
  text-align: center;
  font-size: 42px;
  line-height: 1.1;
  margin: 18px 0;
  text-shadow: 2px 2px #000, 0 0 12px #ff0000;
}

.subhead {
  color: #00ffff;
  text-align: center;
  margin: 8px 0 18px;
}

.barcode {
  white-space: pre-wrap;
}

.glitch {
  color: #00ff00;
  text-shadow: 1px 0 #ff00ff, -1px 0 #00ffff;
}

.warning-strip {
  background: #ffff00;
  color: #000;
  border-top: 4px solid #ff0000;
  border-bottom: 4px solid #ff0000;
  padding: 8px 12px;
  font-weight: bold;
}

.thought-box {
  min-height: 150px;
  color: #74ff74;
  background: #020202;
  border: 2px dashed #00ff00;
  padding: 12px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 0 4px #004400, 1px 1px #000;
}

.thought-line {
  margin: 0 0 4px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.status-card {
  background: #070707;
  border: 3px ridge #223B6A;
  padding: 10px;
  min-height: 74px;
}

.status-card b {
  color: #00ffff;
  display: block;
  margin-bottom: 6px;
}

.log-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.log-list li {
  border-left: 5px solid #00ffff;
  background: #050505;
  margin: 10px 0;
  padding: 10px 12px;
}

.log-date {
  color: #ff00ff;
  font-weight: bold;
}

.redacted {
  color: #ff0000;
  background: #ffff00;
  padding: 0 4px;
}

.button-row {
  text-align: center;
  margin: 18px 0;
}

.old-button {
  background: #c0c0c0;
  border: 4px outset #fff;
  color: #000;
  padding: 8px 12px;
  margin: 4px;
  font-weight: bold;
}

.old-button:active {
  border-style: inset;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meter {
  background: #111;
  border: 2px solid #00ffff;
  height: 18px;
  margin-top: 6px;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00ff00, #ffff00, #ff0000);
  width: 42%;
}

.signal-panel input,
.signal-panel textarea {
  width: 100%;
  box-sizing: border-box;
  background: #000;
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 8px;
  margin: 5px 0 10px;
}

.signal-output {
  min-height: 160px;
  background: #000;
  color: #00ff00;
  border: 2px dashed #00ff00;
  padding: 10px;
  white-space: pre-wrap;
}

.market-tape {
  background: #000;
  border: 4px ridge #223B6A;
  color: #ffff00;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 13px;
  line-height: 1.4;
  max-width: 760px;
  padding: 8px;
}

.market-tape-head {
  color: #00ffff;
  font-weight: 700;
  margin-bottom: 6px;
}

.market-tape-row {
  border-left: 5px solid #ffff00;
  margin: 6px 0;
  padding: 5px 6px;
  background: #050505;
}

.market-tape-row b {
  color: #ffffff;
  display: inline-block;
  min-width: 48px;
}

.market-tape-row span {
  display: inline-block;
  margin-right: 10px;
}

.market-up {
  border-left-color: #00ff00;
}

.market-up span:nth-child(4) {
  color: #00ff00;
}

.market-down {
  border-left-color: #ff3333;
}

.market-down span:nth-child(4) {
  color: #ff6666;
}

.gb-market-strip {
  border-left: 5px solid #00ff00;
  color: #9cff9c;
  font-size: 11px;
  margin: 8px 0;
  padding-left: 7px;
}

.gb-market-strip span {
  display: block;
  margin: 2px 0;
}

.gb-social-strip {
  border-left: 5px solid #ff66ff;
  color: #ffb3ff;
  font-size: 11px;
  margin: 8px 0;
  padding-left: 7px;
}

.gb-social-strip span {
  display: block;
  margin: 2px 0;
}

.gb-social-strip span:first-child {
  color: #00ffff;
  font-weight: 700;
}

.floating-ad {
  position: absolute;
  z-index: 5;
}

.shake img:hover,
.shake:hover {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 14s linear infinite;
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.small-note {
  font-size: 11px;
  color: #aaa;
}

.trash-note {
  background: #000;
  border: 5px ridge #223B6A;
  color: #ffff00;
  padding: 10px;
  width: 686px;
  max-width: calc(100% - 30px);
  margin: 14px auto;
}

.trash-note-narrow {
  width: 520px;
}

.trash-alert {
  background: #ffff00;
  color: #000;
  border-top: 4px solid red;
  border-bottom: 4px solid red;
  padding: 7px 12px;
  font-weight: bold;
}

.trash-title {
  text-align: center;
  color: red;
  text-shadow: 2px 2px #000;
  margin: 22px 0 12px;
}

.scrap {
  position: absolute;
  z-index: 4;
}

.micro {
  color: #fff36a;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ugly-input {
  background:#000;
  color:#00ff00;
  border:2px solid #00ff00;
  width:100%;
  box-sizing:border-box;
  padding:8px;
}

.fake-popup {
  background:#c0c0c0;
  color:#000;
  border:4px outset #fff;
  padding:8px;
  font-family: monospace;
}

.agent-workbench {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 12px;
  width: 1240px;
  max-width: calc(100% - 18px);
  margin: 14px auto;
  position: relative;
  z-index: 7;
}

.agent-log-rail,
.agent-module-card {
  background: #000;
  border: 5px ridge #223B6A;
  color: #fff36a;
  padding: 14px;
  box-sizing: border-box;
}

.agent-log-rail {
  position: sticky;
  top: 8px;
  align-self: start;
  max-height: 86vh;
  overflow: auto;
}

.agent-log-rail h3,
.agent-module-card h3 {
  color: #00ffff;
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 8px;
  text-shadow: 2px 2px #001b1b, 0 0 8px #00ffff;
}

.agent-module-card h4 {
  color: #ff66ff;
  font-size: 18px;
  line-height: 1.3;
  margin: 10px 0;
  overflow-wrap: anywhere;
  text-shadow: 1px 1px #000, 0 0 5px #ff00ff;
}

.agent-total-log {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.agent-total-log li {
  background: #050505;
  border-left: 4px solid #00ffff;
  margin: 8px 0;
  padding: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.agent-total-log a {
  color: #fff36a;
  display: block;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.agent-log-detail {
  background: #020202;
  border: 2px dashed #00ff00;
  color: #74ff74;
  font-size: 13px;
  line-height: 1.45;
  min-height: 95px;
  padding: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.agent-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agent-module-card {
  min-height: 300px;
}

.agent-module-output {
  min-height: 150px;
  overflow: auto;
}

.agent-module-card p,
.agent-drawing + p {
  color: #fff36a;
  font-size: 13px;
  line-height: 1.45;
}

.agent-drawing {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
  border: 4px ridge #00ffff;
  image-rendering: auto;
}

.guestbook-home {
  background-color: #050508;
  font-size: 15px;
  overflow-x: hidden;
}

.pickup-os {
  width: min(1180px, calc(100% - 24px));
  margin: 14px auto 28px;
  border: 5px ridge #223B6A;
  background:
    linear-gradient(135deg, rgba(0, 255, 170, 0.12), transparent 28%),
    linear-gradient(315deg, rgba(255, 0, 120, 0.14), transparent 30%),
    #050509;
  box-shadow: 0 0 0 3px #000, 0 0 34px rgba(0, 255, 255, 0.42);
  color: #f5ff7a;
  position: relative;
  z-index: 2;
}

.pickup-os::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
}

.os-titlebar {
  background: linear-gradient(90deg, #c0c0c0, #f2f2f2 45%, #7f8faa);
  border-bottom: 3px solid #000;
  color: #000;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 8px;
  text-shadow: none;
}

.os-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr) minmax(240px, 0.9fr) minmax(280px, 1.05fr);
  gap: 12px;
  padding: 12px;
  position: relative;
}

.os-window,
.os-module-card {
  background: rgba(0, 0, 0, 0.88);
  border: 4px ridge #223B6A;
  box-shadow: inset 0 0 22px rgba(0, 255, 255, 0.08), 0 0 12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.os-window-head {
  background: #101a31;
  border-bottom: 2px solid #00ffff;
  color: #00ffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 7px;
}

.os-identity-body {
  min-height: 280px;
  padding: 18px;
  position: relative;
}

.os-core-mark {
  color: #00ffff;
  font-size: 58px;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 12px;
  text-shadow: 3px 3px #000, 0 0 18px #00ffff;
}

.os-identity h1 {
  color: #fff;
  font-size: 32px;
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 720px;
  overflow-wrap: anywhere;
  text-shadow: 2px 2px #000, 0 0 12px #ff00ff;
}

.os-identity p {
  color: #ff66ff;
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
}

.os-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.os-signal-row span {
  background: #ffff00;
  border: 3px outset #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 7px;
  text-shadow: none;
  white-space: nowrap;
}

.os-layer-map ol,
.os-chain-map ul {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.os-layer-map li,
.os-chain-map li {
  border-left: 7px solid #00ff99;
  background: #050505;
  margin: 0 0 9px;
  padding: 8px 9px;
}

.os-layer-map li:nth-child(2) {
  border-left-color: #ffff00;
}

.os-layer-map li:nth-child(3) {
  border-left-color: #ff3333;
}

.os-layer-map li:nth-child(4) {
  border-left-color: #00ffff;
}

.os-chain-map li:nth-child(2) {
  border-left-color: #f4d35e;
}

.os-chain-map li:nth-child(3) {
  border-left-color: #00c805;
}

.os-chain-map li:nth-child(4) {
  border-left-color: #8df6a1;
}

.os-layer-map b,
.os-chain-map b {
  color: #fff;
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.os-layer-map span,
.os-chain-map span {
  color: #d8d8d8;
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.os-distill-status {
  color: #ff66ff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px 0;
}

.os-distill-list {
  padding: 8px 10px 10px;
}

.os-distill-list p,
.os-distill-list div {
  border-left: 4px solid #ff66ff;
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 7px;
  padding-left: 7px;
}

.os-distill-list b {
  color: #00ffff;
}

.os-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
  position: relative;
}

.os-module-card {
  min-height: 260px;
  padding: 10px;
  overflow: hidden;
}

.os-module-card h3 {
  color: #00ffff;
  font-size: 20px;
  line-height: 1;
  margin: 0 0 8px;
  text-shadow: 2px 2px #000, 0 0 10px #00ffff;
}

.os-module-card h4 {
  color: #ff66ff;
  font-size: 15px;
  line-height: 1.2;
  margin: 0 0 9px;
}

.os-module-output {
  background: #020202;
  border: 2px dashed #00ff66;
  color: #9cff9c;
  min-height: 118px;
  padding: 8px;
  overflow: hidden;
}

.os-module-card p {
  color: #fff36a;
  font-size: 12px;
  line-height: 1.4;
  margin: 8px 0 0;
}

.os-market-tape {
  border-width: 2px;
  font-size: 11px;
  max-height: 182px;
  overflow: hidden;
  padding: 6px;
}

.gb-shell {
  width: min(860px, calc(100% - 16px));
  margin: 8px auto 70px;
  background: rgba(0, 0, 0, 0.62);
  border: 4px ridge #223B6A;
  padding: 0 12px 14px;
  position: relative;
  z-index: 2;
}

.gb-title-line {
  color: #ffff00;
  font-size: 31px;
  font-weight: 700;
  margin: 18px 0 8px 0;
  text-shadow: 1px 1px #000, 0 0 7px #ffff00;
}

.gb-meta-line {
  color: #8f8f8f;
  font-size: 12px;
  margin: 0 0 12px 0;
}

.gb-actions {
  color: #00aaff;
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 3px 0;
}

.gb-actions a {
  color: #00aaff;
  text-decoration: none;
}

.gb-actions a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.gb-pagination {
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  margin: 12px 0 18px 0;
  max-width: 520px;
}

.gb-pagination-bottom {
  margin-top: 4px;
}

.gb-page-info {
  color: #777;
  font-weight: 400;
  margin-bottom: 3px;
}

.gb-page-link,
.gb-page-gap {
  display: inline-block;
  margin: 0 7px 4px 0;
}

.gb-page-link {
  color: #00aaff;
}

.gb-page-current {
  background: #ffff00;
  color: #000;
  padding: 0 5px;
  text-shadow: none;
}

.gb-page-disabled {
  color: #555;
  text-decoration: line-through;
}

.gb-page-gap {
  color: #ff66ff;
}

.gb-entry {
  color: #ffff00;
  margin: 0 0 32px 0;
  padding-left: 20px;
  border-left: 7px solid #f4f4f4;
  max-width: 760px;
  overflow-wrap: anywhere;
}

.gb-entry p {
  margin: 7px 0;
}

.gb-pinned {
  margin-top: 12px;
}

.gb-gap {
  border-left-color: #ff00ff;
  color: #d8d8d8;
}

.gb-gap .gb-post-head b,
.gb-gap .gb-module {
  color: #ff66ff;
}

.gb-gap p {
  color: #d8d8d8;
}

.gb-post-head {
  color: #777;
  margin-bottom: 6px;
}

.gb-post-head b {
  color: #ffff00;
  font-size: 16px;
}

.gb-post-head span {
  color: #777;
  font-size: 12px;
  margin-left: 5px;
}

.gb-module {
  color: #ff66ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 4px 0;
}

.gb-drawing {
  display: block;
  width: 360px;
  max-width: calc(100vw - 34px);
  height: auto;
  margin: 10px 0 6px 0;
  background: #ffffff;
}

.gb-detail {
  margin-top: 8px;
  color: #9cff9c;
}

.gb-detail summary {
  color: #00aaff;
  cursor: url("/assets/legacy/spamcur.gif") 2 4, pointer;
  font-size: 13px;
  font-weight: 700;
}

.gb-detail pre {
  background: transparent;
  border: 0;
  color: #9cff9c;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 12px;
  line-height: 1.45;
  margin: 6px 0 0;
  padding: 0;
  white-space: pre-wrap;
}

.gb-side-scrap {
  position: fixed;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.gb-side-scrap-a {
  right: 24px;
  top: 270px;
}

.gb-side-scrap-b {
  right: 58px;
  top: 550px;
}

.gb-side-scrap-c {
  right: 160px;
  top: 790px;
}

@media (max-width: 760px) {
  .ai-room3d {
    height:calc(100vh - 118px);
    min-height:560px;
  }

  .room-hud {
    font-size:11px;
    max-width:42vw;
    padding:7px;
    top:8px;
  }

  .room-hud-left {
    left:8px;
  }

  .room-hud-right {
    right:8px;
  }

  .room-log-jump {
    bottom:10px;
    font-size:13px;
    white-space:nowrap;
  }

  .room-task-sheet {
    bottom:54px;
    font-size:10px;
    left:8px;
    max-width:166px;
    padding:7px 8px 7px 20px;
  }

  .room-task-sheet b {
    font-size:11px;
  }

  .headline {
    font-size: 30px;
  }

  table,
  th,
  td {
    border-width: 2px;
  }

  .status-grid,
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .nav-table {
    font-size: 12px;
    table-layout: fixed;
  }

  .nav-table td {
    font-size: 9px;
    padding: 4px 1px;
    white-space: normal;
  }

  .trash-title {
    font-size: 32px;
    line-height: 1.05;
  }

  .trash-note,
  .trash-note-narrow {
    margin: 10px 8px !important;
    max-width: calc(100% - 16px);
    width: auto;
  }

  .scrap {
    display: none;
  }

  .home-link {
    margin-left: 0;
  }

  .agent-workbench,
  .agent-module-grid {
    display: block;
    width: auto;
    max-width: calc(100% - 16px);
  }

  .agent-log-rail {
    position: static;
    max-height: 360px;
    margin-bottom: 10px;
  }

  .agent-module-card {
    margin-bottom: 10px;
  }

  .agent-log-rail h3,
  .agent-module-card h3 {
    font-size: 26px;
  }

  .thought-box {
    font-size: 15px;
  }

  .pickup-os {
    width: auto;
    max-width: calc(100% - 10px);
    margin: 8px 5px 18px;
  }

  .os-titlebar {
    font-size: 11px;
  }

  .os-hero-grid,
  .os-module-grid {
    display: block;
    padding: 8px;
  }

  .os-window,
  .os-module-card {
    margin-bottom: 10px;
  }

  .os-core-mark {
    font-size: 42px;
  }

  .os-identity h1 {
    font-size: 24px;
  }

  .os-signal-row {
    display: block;
  }

  .os-signal-row span {
    display: inline-block;
    margin: 0 4px 6px 0;
    max-width: calc(100% - 12px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .os-identity-body {
    min-height: auto;
    padding: 13px;
  }

  .gb-shell {
    width: auto;
    max-width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
  }

  .gb-entry {
    max-width: calc(100% - 8px);
    padding-left: 10px;
    border-left-width: 5px;
  }

  .gb-title-line {
    font-size: 28px;
  }
}

/* Final skin pass: Atlantic indie-lab desktop, applied after legacy rules. */
body.clean-room {
  background:
    radial-gradient(circle at 50% 16%, rgba(96, 216, 205, .14), transparent 30%),
    radial-gradient(circle at 83% 62%, rgba(190, 91, 56, .13), transparent 34%),
    linear-gradient(115deg, #061013 0%, #030608 52%, #09100d 100%);
  color: #e4eee8;
  cursor: default;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: none;
}

body.clean-room .ai-room3d {
  background:
    linear-gradient(180deg, rgba(125, 235, 221, .045), transparent 24%, rgba(0, 0, 0, .32) 72%, rgba(0, 0, 0, .58)),
    linear-gradient(90deg, rgba(125, 235, 221, .045), transparent 28%, transparent 72%, rgba(190, 91, 56, .055)),
    #04070a;
  box-shadow:
    inset 0 0 0 1px rgba(125, 235, 221, .18),
    inset 0 52px 130px rgba(0, 0, 0, .58),
    inset 0 -120px 180px rgba(0, 0, 0, .78);
}

body.clean-room #ai-room-canvas {
  filter: saturate(.7) contrast(1.08) brightness(.9);
}

body.clean-room .room-noise {
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035), rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, transparent, rgba(125, 235, 221, .026), transparent);
  opacity: .16;
}

body.clean-room .ide-screen {
  background:
    linear-gradient(180deg, rgba(20, 27, 29, .98), rgba(7, 10, 12, .99)),
    #080d0f;
  border: 1px solid rgba(125, 235, 221, .82);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .9),
    0 0 38px rgba(82, 232, 218, .28),
    0 28px 90px rgba(0, 0, 0, .72),
    inset 0 0 52px rgba(82, 232, 218, .045);
  color: #dce9e2;
  grid-template-rows: 34px 38px minmax(0, 1fr);
  height: min(690px, 61vh);
  top: max(8px, 1vh);
  width: min(2360px, 98vw);
}

body.clean-room .ide-screen::before {
  border: 1px solid rgba(214, 206, 105, .18);
  inset: 6px;
}

body.clean-room .ide-titlebar {
  background: linear-gradient(180deg, #222b2d, #111719);
  border-bottom: 1px solid rgba(125, 235, 221, .28);
  color: #edf7f1;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 0 12px;
  text-transform: uppercase;
}

body.clean-room .ide-titlebar button {
  background: transparent;
  border: 1px solid transparent;
  color: #819590;
  font-size: 11px;
  padding: 2px 5px;
}

body.clean-room .ide-titlebar button[data-code-action="menu"],
body.clean-room .ide-titlebar button[data-code-action="palette"] {
  color: #71eadf;
}

body.clean-room .ide-titlebar button:hover,
body.clean-room .desktop-window-bar button:hover,
body.clean-room .browser-bar button:hover {
  border-color: rgba(214, 206, 105, .48);
  color: #d6ce69;
}

body.clean-room .ide-commandbar {
  background: rgba(5, 7, 9, .94);
  border-bottom: 1px solid rgba(125, 235, 221, .18);
  gap: 8px;
  padding: 6px 10px;
}

body.clean-room .ide-commandbar button {
  display: none !important;
}

body.clean-room .ide-commandbar input {
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(214, 206, 105, .24);
  color: #dce9e2;
  font-size: 12px;
  height: 26px;
}

body.clean-room .ide-commandbar input:focus {
  border-color: rgba(125, 235, 221, .66);
  box-shadow: 0 0 0 1px rgba(125, 235, 221, .16);
}

body.clean-room .ide-body {
  background:
    linear-gradient(90deg, rgba(125, 235, 221, .055) 1px, transparent 1px),
    linear-gradient(rgba(125, 235, 221, .045) 1px, transparent 1px),
    radial-gradient(circle at 75% 18%, rgba(190, 91, 56, .12), transparent 33%),
    linear-gradient(135deg, rgba(9, 20, 23, .98), rgba(5, 8, 11, .98) 58%, rgba(16, 12, 14, .97));
  background-size: 42px 42px, 42px 42px, auto, auto;
}

body.clean-room .desktop-icons {
  gap: 14px;
  left: 20px;
  top: 22px;
  width: 86px;
}

body.clean-room .desktop-icons button {
  border-radius: 3px;
  color: rgba(226, 238, 232, .8);
  font-size: 9px;
  padding: 5px 3px;
  text-shadow: none;
}

body.clean-room .desktop-icons button:hover,
body.clean-room .desktop-icons button:focus {
  background: rgba(125, 235, 221, .08);
  border-color: rgba(125, 235, 221, .42);
}

body.clean-room .desktop-icon {
  border: 1px solid rgba(125, 235, 221, .38);
  border-radius: 4px;
  box-shadow: 0 0 13px rgba(82, 232, 218, .16);
  filter: saturate(.78) brightness(.88);
  height: 34px;
  width: 40px;
}

body.clean-room .icon-folder,
body.clean-room .icon-folder::before {
  background: #d6ce69;
}

body.clean-room .icon-browser {
  background: radial-gradient(circle, #071114 42%, #71eadf 43%, #71eadf 54%, #071114 55%);
}

body.clean-room .icon-code::before {
  border-right-color: #7af0a9;
}

body.clean-room .icon-code::after {
  border-left-color: #7af0a9;
}

body.clean-room .icon-run::before {
  border-left-color: #d6ce69;
}

body.clean-room .start-menu,
body.clean-room .desktop-window,
body.clean-room .project-manager,
body.clean-room .memory-bin,
body.clean-room .ide-main,
body.clean-room .ide-preview {
  background: rgba(8, 12, 14, .94);
  border: 1px solid rgba(125, 235, 221, .34);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .7),
    0 18px 52px rgba(0, 0, 0, .58),
    0 0 26px rgba(82, 232, 218, .11);
  color: #dce9e2;
}

body.clean-room .desktop-window-bar,
body.clean-room .browser-bar {
  background: linear-gradient(180deg, #1f292b, #111619);
  border-bottom: 1px solid rgba(125, 235, 221, .3);
  color: rgba(226, 238, 232, .9);
  font-size: 11px;
  letter-spacing: .07em;
}

body.clean-room .desktop-window-bar button,
body.clean-room .browser-bar button {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(125, 235, 221, .24);
  color: rgba(226, 238, 232, .74);
  height: 18px;
}

body.clean-room .browser-bar span {
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(125, 235, 221, .24);
  color: rgba(226, 238, 232, .7);
}

body.clean-room .ide-sidebar {
  background: rgba(9, 13, 15, .9);
  border: 1px solid rgba(125, 235, 221, .16);
  box-shadow: 0 0 22px rgba(82, 232, 218, .09);
  height: min(326px, calc(100% - 96px));
  left: 128px;
  padding: 12px;
  top: 54px;
  width: 238px;
}

body.clean-room .ide-side-title {
  color: rgba(226, 238, 232, .62);
  font-size: 10px;
  letter-spacing: .1em;
}

body.clean-room .ide-file-list button {
  color: rgba(226, 238, 232, .82);
  font-size: 12px;
  padding: 6px 6px 6px 14px;
}

body.clean-room .ide-file-list button::before {
  color: #71eadf;
}

body.clean-room .ide-file-list button.active,
body.clean-room .ide-tabs button.active {
  background: rgba(82, 232, 218, .12);
  color: #f4fff9;
}

body.clean-room .ide-mini-status {
  border-top-color: rgba(125, 235, 221, .16);
  color: rgba(122, 240, 169, .75);
}

body.clean-room .ide-main {
  grid-template-rows: 28px 30px minmax(0, 1fr) 116px;
  height: min(470px, calc(100% - 86px));
  left: max(396px, calc(50% - 370px));
  top: 54px;
  width: min(740px, calc(100% - 756px));
}

body.clean-room .ide-tabs {
  background: rgba(255, 255, 255, .032);
  border-bottom: 1px solid rgba(125, 235, 221, .12);
}

body.clean-room .ide-tabs button {
  color: rgba(226, 238, 232, .68);
}

body.clean-room .ide-editor {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    #111517;
  background-size: 48px 48px;
  color: #dce9e2;
}

body.clean-room .ide-editor pre {
  color: #dfe9e3;
  font-size: 12px;
  line-height: 1.6;
}

body.clean-room .ide-editor .ln {
  color: #62706c;
}

body.clean-room .ide-editor .code-line.is-active {
  background: rgba(214, 206, 105, .12);
  outline-color: rgba(214, 206, 105, .28);
}

body.clean-room .ide-editor .code-line.is-active::after {
  color: #d6ce69;
}

body.clean-room .ide-terminal {
  background: #070a0b;
  border-top: 1px solid rgba(125, 235, 221, .15);
}

body.clean-room .ide-terminal-tabs {
  background: rgba(255, 255, 255, .026);
  border-bottom: 1px solid rgba(125, 235, 221, .12);
}

body.clean-room .ide-terminal-tabs button {
  color: rgba(226, 238, 232, .58);
}

body.clean-room .ide-terminal-tabs button.active {
  border-bottom-color: #71eadf;
  color: #e4eee8;
}

body.clean-room .ide-terminal pre {
  color: #7af0a9;
  font-size: 12px;
  max-height: 82px;
}

body.clean-room .ide-preview {
  height: min(430px, calc(100% - 118px));
  left: max(780px, calc(100% - 550px));
  top: 78px;
  width: min(520px, calc(100% - 806px));
}

body.clean-room .ide-preview.is-fullscreen {
  background: #030506;
  border-color: rgba(125, 235, 221, .62);
  box-shadow: 0 0 42px rgba(82, 232, 218, .2), 0 24px 90px rgba(0, 0, 0, .76);
}

body.clean-room .project-manager {
  height: min(500px, calc(100% - 92px));
  left: 142px;
  top: 66px;
  width: min(880px, calc(100% - 230px));
}

body.clean-room .project-list-panel,
body.clean-room .project-detail-panel,
body.clean-room .memory-bin-body {
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(125, 235, 221, .22);
  color: #dce9e2;
}

body.clean-room .project-list-panel b,
body.clean-room .project-detail-panel b,
body.clean-room .memory-bin-body b {
  color: #d6ce69;
  letter-spacing: .08em;
}

body.clean-room .project-list button {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(125, 235, 221, .2);
  color: #dce9e2;
}

body.clean-room .project-list button.active,
body.clean-room .project-list button:hover {
  background: rgba(82, 232, 218, .1);
  border-color: rgba(125, 235, 221, .5);
}

body.clean-room .project-detail-panel h3 {
  color: #71eadf;
  text-shadow: 0 0 12px rgba(82, 232, 218, .22);
}

body.clean-room .project-file-chips button,
body.clean-room .project-actions button,
body.clean-room .ai-interrupt-bubble button,
body.clean-room .robot-chat-form button {
  background: rgba(214, 206, 105, .92);
  border: 1px solid rgba(255, 244, 153, .7);
  color: #10130f;
  text-shadow: none;
}

body.clean-room .project-file-chips button {
  background: rgba(255, 255, 255, .075);
  color: #dce9e2;
}

body.clean-room .memory-bin {
  height: 282px;
  left: 178px;
  top: 132px;
  width: 420px;
}

body.clean-room .ai-process-panel,
body.clean-room .preview-playtest-badge,
body.clean-room .ai-thought-popup,
body.clean-room .ai-interrupt-bubble {
  background: rgba(7, 10, 12, .92);
  border: 1px solid rgba(214, 206, 105, .42);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 24px rgba(214, 206, 105, .08);
  color: #d6ce69;
}

body.clean-room .ai-process-panel {
  bottom: 42px;
  left: clamp(280px, 26vw, 560px);
  max-width: 330px;
}

body.clean-room .ai-process-panel b,
body.clean-room .ai-thought-popup b,
body.clean-room .ai-interrupt-bubble b {
  color: #71eadf;
}

body.clean-room .ai-process-panel p,
body.clean-room .ai-interrupt-bubble span {
  color: rgba(122, 240, 169, .82);
}

body.clean-room .process-meter {
  background: rgba(0, 0, 0, .62);
  border: 1px solid rgba(125, 235, 221, .24);
}

body.clean-room .process-meter i {
  background: linear-gradient(90deg, #71eadf, #7af0a9, #d6ce69);
}

body.clean-room .ai-thought-popup {
  bottom: clamp(245px, 28vh, 430px);
  left: calc(50% + 72px);
  max-width: min(340px, 34vw);
}

body.clean-room .ai-thought-popup::after {
  border-right-color: rgba(214, 206, 105, .62);
}

body.clean-room .ai-interrupt-bubble {
  bottom: 58px;
  left: calc(50% - 130px);
  max-width: min(360px, 42vw);
}

body.clean-room .ai-interrupt-bubble::after {
  border-top-color: rgba(214, 206, 105, .5);
}

body.clean-room .robot-chat-hotspot {
  bottom: clamp(112px, 14vh, 180px);
  left: 50%;
  transform: translateX(-50%);
}

body.clean-room .robot-chat-hotspot span {
  align-items: center;
  background: rgba(8, 12, 14, .76);
  border: 1px solid rgba(125, 235, 221, .36);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .48), 0 0 18px rgba(82, 232, 218, .12);
  color: rgba(226, 238, 232, .84);
  display: inline-flex;
  font-size: 10px;
  gap: 7px;
  letter-spacing: .12em;
  padding: 7px 12px;
  text-transform: uppercase;
  text-shadow: none;
}

body.clean-room .robot-chat-hotspot span::before {
  background: #7af0a9;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(122, 240, 169, .55);
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

body.clean-room .robot-chat-hotspot:hover span,
body.clean-room .robot-chat-hotspot:focus span {
  border-color: rgba(214, 206, 105, .62);
  color: #d6ce69;
}

body.clean-room .robot-chat-panel {
  background:
    linear-gradient(90deg, rgba(125, 235, 221, .04) 1px, transparent 1px),
    linear-gradient(rgba(125, 235, 221, .035) 1px, transparent 1px),
    rgba(6, 10, 12, .97);
  background-size: 30px 30px;
  border: 1px solid rgba(125, 235, 221, .54);
  border-radius: 3px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .68), 0 0 32px rgba(82, 232, 218, .16);
}

body.clean-room .robot-chat-title {
  background: linear-gradient(180deg, #172226, #0d1215);
  border-bottom: 1px solid rgba(125, 235, 221, .32);
  color: #71eadf;
}

body.clean-room .robot-chat-log {
  background: rgba(0, 0, 0, .26);
}

body.clean-room .robot-chat-log p {
  background: rgba(255, 255, 255, .034);
  border: 1px solid rgba(125, 235, 221, .18);
  border-left: 2px solid rgba(125, 235, 221, .58);
  color: #dce9e2;
}

body.clean-room .robot-chat-log p.user {
  background: rgba(214, 206, 105, .08);
  border-left-color: #d6ce69;
  color: #efe7a6;
}

body.clean-room .robot-chat-log p.system {
  background: rgba(190, 91, 56, .08);
  border-left-color: #be5b38;
  color: rgba(122, 240, 169, .86);
}

body.clean-room .robot-chat-log b {
  color: #71eadf;
}

body.clean-room .robot-chat-form {
  background: rgba(0, 0, 0, .62);
  border-top: 1px solid rgba(125, 235, 221, .28);
}

body.clean-room .robot-chat-form input {
  background: rgba(0, 0, 0, .7);
  border: 1px solid rgba(125, 235, 221, .28);
  color: #7af0a9;
}

body.clean-room .os-taskbar {
  background: rgba(5, 8, 10, .94);
  border-top: 1px solid rgba(125, 235, 221, .3);
  color: #dce9e2;
  height: 34px;
  padding: 4px 8px;
}

body.clean-room .os-taskbar button {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(125, 235, 221, .24);
  color: rgba(226, 238, 232, .84);
  font-size: 11px;
  height: 24px;
}

body.clean-room .os-taskbar .start-button {
  background: rgba(214, 206, 105, .9);
  border-color: rgba(255, 244, 153, .7);
  color: #10130f;
}

body.clean-room .os-taskbar span {
  background: rgba(82, 232, 218, .08);
  border: 1px solid rgba(125, 235, 221, .24);
  color: #71eadf;
}

body.clean-room .os-taskbar em {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(214, 206, 105, .24);
  color: #8fa19c;
}

body.clean-room .code-studio.is-building .ide-titlebar {
  box-shadow: inset 0 -2px 0 #d6ce69;
}

body.clean-room .code-studio.is-thinking .ide-titlebar {
  box-shadow: inset 0 -2px 0 #be5b38;
}

body.clean-room .code-studio.is-running .ide-titlebar {
  box-shadow: inset 0 -2px 0 #7af0a9;
}

@media (min-width: 1500px) and (orientation: landscape) {
  body.clean-room .ide-screen {
    height: min(720px, 62vh);
    width: min(2480px, 98vw);
  }

  body.clean-room .ide-sidebar {
    height: min(350px, calc(100% - 106px));
    left: 144px;
    width: 260px;
  }

  body.clean-room .ide-main {
    height: min(520px, calc(100% - 104px));
    left: calc(50% - 430px);
    width: min(860px, calc(100% - 860px));
  }

  body.clean-room .ide-preview {
    height: min(500px, calc(100% - 126px));
    left: max(1180px, calc(100% - 620px));
    width: min(600px, calc(100% - 1200px));
  }

  body.clean-room .ai-process-panel {
    left: 620px;
    max-width: 350px;
  }
}

@media (orientation: portrait) {
  body.clean-room .ide-screen {
    height: min(840px, 56vh);
    width: min(1200px, 98vw);
  }

  body.clean-room .ide-sidebar {
    left: 104px;
    width: 196px;
  }

  body.clean-room .ide-main {
    height: min(470px, calc(100% - 86px));
    left: 314px;
    width: calc(100% - 334px);
  }

  body.clean-room .ide-preview:not(.is-fullscreen) {
    height: max(220px, calc(100% - 526px));
    left: 314px;
    top: 512px;
    width: calc(100% - 334px);
  }

  body.clean-room .project-manager {
    left: 104px;
    width: calc(100% - 124px);
  }

  body.clean-room .ai-process-panel {
    left: 314px;
    max-width: min(340px, calc(100% - 334px));
  }

  body.clean-room .ai-thought-popup {
    bottom: clamp(410px, 36vh, 690px);
    left: calc(50% + 44px);
    max-width: min(360px, 42vw);
  }
}

@media (max-width: 760px) {
  body.clean-room .ide-screen {
    height: 58vh;
    top: 6px;
    width: calc(100vw - 10px);
  }

  body.clean-room .desktop-icons,
  body.clean-room .ide-sidebar {
    display: none;
  }

  body.clean-room .ide-main {
    left: 10px;
    top: 46px;
    width: calc(100% - 20px);
  }

  body.clean-room .ide-preview:not(.is-fullscreen) {
    left: 10px;
    top: 356px;
    width: calc(100% - 20px);
  }

  body.clean-room .ai-process-panel {
    bottom: 40px;
    left: 10px;
    max-width: calc(100% - 20px);
  }

  body.clean-room .robot-chat-panel {
    bottom: 16px;
    right: 10px;
    width: calc(100% - 20px);
  }
}

/* Locked X posting theatre: looks like X, but visitors never receive controls. */
.icon-xpost {
  background: #050505;
}

.icon-xpost::before {
  color: #f4f7fb;
  content: "X";
  font-size: 22px;
  font-weight: 900;
  left: 12px;
  line-height: 1;
  position: absolute;
  top: 6px;
}

body.clean-room .x-post-window {
  display: grid;
  grid-template-rows: 28px minmax(0, 1fr);
  height: min(560px, calc(100% - 92px));
  left: max(520px, calc(100% - 790px));
  min-width: 620px;
  overflow: hidden;
  position: absolute;
  top: 62px;
  width: min(760px, calc(100% - 548px));
  z-index: 90;
}

body.clean-room .x-post-window.is-hidden {
  display: none !important;
}

body.clean-room .x-post-body {
  background: #000;
  color: #e7e9ea;
  min-height: 0;
  overflow: hidden;
  padding: 8px;
  pointer-events: none;
  position: relative;
}

body.clean-room .x-post-body::after {
  border: 1px solid rgba(29, 155, 240, .35);
  border-radius: 999px;
  color: rgba(113, 234, 223, .82);
  content: "LOCKED OBSERVER VIEW";
  font-size: 9px;
  letter-spacing: .08em;
  padding: 4px 8px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 49px;
}

body.clean-room .x-browser-line {
  align-items: center;
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 7px;
  display: flex;
  gap: 7px;
  height: 30px;
  margin-bottom: 8px;
  padding: 0 9px;
}

body.clean-room .x-browser-line i {
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

body.clean-room .x-browser-line i:nth-child(1) {
  background: #ff5f57;
}

body.clean-room .x-browser-line i:nth-child(2) {
  background: #ffbd2e;
}

body.clean-room .x-browser-line i:nth-child(3) {
  background: #28c840;
  margin-right: 5px;
}

body.clean-room .x-browser-line b {
  background: #050505;
  border: 1px solid #333639;
  border-radius: 999px;
  color: rgba(231, 233, 234, .78);
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  padding: 5px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-room .x-browser-line span {
  color: #ffd400;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.clean-room .x-app-frame {
  background: #000;
  border: 1px solid #2f3336;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  height: calc(100% - 39px);
  min-height: 0;
}

body.clean-room .x-app-rail {
  border-right: 1px solid #2f3336;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
}

body.clean-room .x-app-rail b {
  color: #f7f9f9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

body.clean-room .x-app-rail span {
  border-radius: 999px;
  color: #e7e9ea;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 9px;
}

body.clean-room .x-app-rail span:nth-of-type(1) {
  background: rgba(231, 233, 234, .12);
}

body.clean-room .x-app-rail button {
  background: #eff3f4;
  border: 0;
  border-radius: 999px;
  color: #0f1419;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
  padding: 9px 16px;
}

body.clean-room .x-timeline {
  display: grid;
  grid-template-rows: 48px auto minmax(180px, 1fr) auto 48px;
  min-height: 0;
}

body.clean-room .x-timeline-head {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, .86);
  border-bottom: 1px solid #2f3336;
  display: flex;
  gap: 12px;
  grid-row: 1;
  padding: 0 18px;
}

body.clean-room .x-timeline-head b {
  color: #f7f9f9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

body.clean-room .x-timeline-head span {
  color: #71767b;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-room .x-reply-target {
  background: #000;
  border-bottom: 1px solid #2f3336;
  color: #71767b;
  display: grid;
  gap: 4px;
  grid-row: 2;
  padding: 12px 18px 11px 72px;
  position: relative;
}

body.clean-room .x-post-body:not(.is-comment) .x-reply-target {
  display: none;
}

body.clean-room .x-reply-target::before {
  background: #333639;
  border-radius: 999px;
  content: "";
  height: 32px;
  left: 26px;
  position: absolute;
  top: 14px;
  width: 32px;
}

body.clean-room .x-reply-target::after {
  background: #2f3336;
  bottom: -10px;
  content: "";
  left: 42px;
  position: absolute;
  top: 46px;
  width: 2px;
}

body.clean-room .x-reply-target b {
  color: #e7e9ea;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

body.clean-room .x-reply-target span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

body.clean-room .x-composer-card {
  background: #000;
  display: grid;
  grid-row: 3 / 5;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 44px minmax(96px, 1fr) 32px 42px;
  min-height: 0;
  overflow: hidden;
  padding: 15px 18px 0;
}

body.clean-room .x-post-body:not(.is-comment) .x-composer-card {
  grid-row: 2 / 5;
}

body.clean-room .x-account {
  align-items: center;
  display: flex;
  gap: 10px;
  grid-column: 1 / 3;
}

body.clean-room .x-account i {
  align-items: center;
  background: linear-gradient(135deg, #71eadf, #ffd400);
  border-radius: 50%;
  color: #050505;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.clean-room .x-account b {
  color: #e7e9ea;
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

body.clean-room .x-account span {
  color: #71767b;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin-top: 1px;
}

body.clean-room .x-compose-text {
  color: #e7e9ea;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  grid-column: 2 / 3;
  line-height: 1.38;
  overflow: auto;
  padding: 6px 0 12px;
  white-space: pre-wrap;
}

body.clean-room .x-compose-text.is-posted {
  color: #e7e9ea;
}

body.clean-room .x-compose-text::after {
  animation: caretBlink .8s steps(1) infinite;
  color: #1d9bf0;
  content: "";
  border-right: 2px solid #1d9bf0;
  margin-left: 2px;
}

body.clean-room .x-compose-text.is-posted::after {
  border-right: 0;
}

body.clean-room .x-compose-toolbar {
  align-items: center;
  border-bottom: 1px solid #2f3336;
  color: #1d9bf0;
  display: flex;
  gap: 14px;
  grid-column: 2 / 3;
  text-transform: lowercase;
}

body.clean-room .x-compose-toolbar span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

body.clean-room .x-compose-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  grid-column: 2 / 3;
  justify-content: flex-end;
}

body.clean-room .x-compose-footer em,
body.clean-room .x-compose-footer span {
  color: #71767b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  margin-right: auto;
}

body.clean-room .x-compose-footer span {
  margin-right: 0;
}

body.clean-room .x-compose-footer button {
  background: rgba(29, 155, 240, .42);
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 900;
  min-width: 76px;
  padding: 8px 18px;
}

body.clean-room .x-compose-footer button.is-armed {
  animation: xButtonPress .7s ease-in-out 1;
  background: #1d9bf0;
  color: #fff;
}

body.clean-room .x-compose-footer button.is-posted {
  background: #00ba7c;
  color: #fff;
}

body.clean-room .x-activity-tape {
  align-items: center;
  background: #050505;
  border-top: 1px solid #2f3336;
  display: flex;
  gap: 10px;
  grid-row: 5;
  padding: 0 18px;
}

body.clean-room .x-activity-tape b {
  color: #ffd400;
  font-size: 10px;
  letter-spacing: .08em;
}

body.clean-room .x-activity-tape span {
  color: #00ba7c;
  flex: 1;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-room .code-studio.is-posting .ide-titlebar {
  box-shadow: inset 0 -2px 0 #1d9bf0;
}

@keyframes xButtonPress {
  0%,
  100% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(2px) scale(.98);
  }
}

@media (orientation: portrait) {
  body.clean-room .x-post-window {
    height: max(360px, calc(100% - 446px));
    left: 256px;
    top: 72px;
    width: calc(100% - 276px);
  }
}

@media (max-width: 760px) {
  body.clean-room .x-post-window {
    height: 390px;
    left: 10px;
    min-width: 0;
    top: 318px;
    width: calc(100% - 20px);
  }

  body.clean-room .x-app-frame {
    grid-template-columns: 1fr;
  }

  body.clean-room .x-app-rail {
    display: none;
  }
}

/* Robinhood Chain / RWA final skin pass */
body.clean-room {
  --lab-bg: #030804;
  --lab-panel: rgba(3, 10, 6, .95);
  --lab-panel-2: rgba(7, 16, 10, .96);
  --lab-line: rgba(0, 200, 5, .48);
  --lab-line-soft: rgba(0, 200, 5, .16);
  --lab-text: #e8fff0;
  --lab-muted: #8fa694;
  --lab-green: #00c805;
  --lab-cyan: #8df6a1;
  --lab-amber: #f4d35e;
  --lab-rust: #c8b26a;
  background:
    radial-gradient(circle at 62% 24%, rgba(0, 200, 5, .12), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(244, 211, 94, .08), transparent 22%),
    linear-gradient(115deg, #06110a 0%, #020403 48%, #0b140c 100%);
  color: var(--lab-text);
}

body.clean-room .ai-room3d {
  background:
    linear-gradient(180deg, rgba(0, 200, 5, .08), transparent 18%, rgba(0, 0, 0, .22) 68%, rgba(0, 0, 0, .58)),
    linear-gradient(90deg, rgba(0, 200, 5, .06), transparent 26%, transparent 72%, rgba(244, 211, 94, .05)),
    #030804;
  box-shadow:
    inset 0 0 0 1px rgba(0, 200, 5, .24),
    inset 0 42px 120px rgba(0, 0, 0, .62),
    inset 0 -96px 160px rgba(0, 0, 0, .76);
}

body.clean-room #ai-room-canvas {
  filter: saturate(.9) contrast(1.16) brightness(.92);
}

body.clean-room .room-noise {
  background:
    repeating-linear-gradient(to bottom, rgba(232, 255, 240, .045), rgba(232, 255, 240, .045) 1px, transparent 1px, transparent 4px),
    linear-gradient(90deg, transparent, rgba(0, 200, 5, .04), transparent);
}

body.clean-room .ide-screen {
  background: linear-gradient(180deg, rgba(6, 14, 8, .98), rgba(2, 6, 4, .98));
  border-color: rgba(0, 200, 5, .86);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .9),
    0 0 42px rgba(0, 200, 5, .36),
    0 26px 100px rgba(0, 0, 0, .76),
    inset 0 0 50px rgba(0, 200, 5, .06);
}

body.clean-room .ide-screen::before {
  border-color: rgba(244, 211, 94, .22);
}

body.clean-room .ide-titlebar,
body.clean-room .desktop-window-bar,
body.clean-room .browser-bar {
  background: linear-gradient(180deg, #152116, #070d08);
  border-bottom-color: rgba(0, 200, 5, .36);
  color: rgba(232, 255, 240, .92);
}

body.clean-room .ide-titlebar button[data-code-action="menu"],
body.clean-room .ide-titlebar button[data-code-action="palette"] {
  color: var(--lab-green);
}

body.clean-room .ide-titlebar span {
  color: rgba(232, 255, 240, .76);
}

body.clean-room .ide-commandbar,
body.clean-room .os-taskbar {
  background: rgba(2, 5, 3, .96);
  border-color: rgba(0, 200, 5, .24);
}

body.clean-room .ide-commandbar input {
  background: rgba(0, 0, 0, .78);
  border-color: rgba(0, 200, 5, .36);
  color: var(--lab-text);
}

body.clean-room .ide-commandbar input:focus {
  border-color: rgba(0, 200, 5, .86);
  box-shadow: 0 0 0 1px rgba(0, 200, 5, .18), 0 0 18px rgba(0, 200, 5, .22);
}

body.clean-room .ide-screen {
  grid-template-rows: 30px 70px minmax(0, 1fr);
}

body.clean-room .ide-commandbar {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(260px, 1.05fr);
  gap: 10px;
}

body.clean-room .mission-brief {
  border-left: 3px solid var(--lab-green);
  color: rgba(232, 255, 240, .82);
  line-height: 1.3;
  min-width: 0;
  padding-left: 9px;
}

body.clean-room .mission-brief b {
  color: var(--lab-amber);
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

body.clean-room .mission-brief span {
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.clean-room .ide-body {
  background:
    linear-gradient(90deg, rgba(0, 200, 5, .075) 1px, transparent 1px),
    linear-gradient(rgba(0, 200, 5, .06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(4, 14, 7, .98), rgba(3, 6, 5, .98) 55%, rgba(15, 18, 8, .96));
  background-size: 44px 44px, 44px 44px, auto;
}

body.clean-room .desktop-icon {
  border-color: rgba(0, 200, 5, .52);
  box-shadow: 0 0 14px rgba(0, 200, 5, .24);
}

body.clean-room .icon-folder,
body.clean-room .icon-folder::before {
  background: #e8fff0;
}

body.clean-room .icon-browser {
  background: radial-gradient(circle, #020403 42%, #00c805 43%, #00c805 54%, #020403 55%);
}

body.clean-room .icon-code::before {
  border-right-color: var(--lab-green);
}

body.clean-room .icon-code::after {
  border-left-color: var(--lab-green);
}

body.clean-room .icon-run::before {
  border-left-color: var(--lab-amber);
}

body.clean-room .desktop-window,
body.clean-room .project-manager,
body.clean-room .memory-bin,
body.clean-room .ide-main,
body.clean-room .ide-preview,
body.clean-room .chain-tape-window,
body.clean-room .start-menu {
  background: var(--lab-panel);
  border-color: rgba(0, 200, 5, .44);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .72),
    0 20px 60px rgba(0, 0, 0, .62),
    0 0 34px rgba(0, 200, 5, .16);
}

body.clean-room .project-list-panel,
body.clean-room .project-detail-panel,
body.clean-room .memory-bin-body,
body.clean-room .ide-sidebar,
body.clean-room .chain-desk-body {
  background: rgba(0, 0, 0, .38);
  border-color: rgba(0, 200, 5, .28);
}

body.clean-room .ide-file-list button::before,
body.clean-room .ide-terminal-tabs button.active,
body.clean-room .project-detail-panel h3,
body.clean-room .robot-chat-log b,
body.clean-room .chain-desk-ability b {
  color: var(--lab-green);
}

body.clean-room .ide-file-list button.active,
body.clean-room .ide-tabs button.active,
body.clean-room .project-list button.active,
body.clean-room .project-list button:hover {
  background: rgba(0, 200, 5, .16);
  color: #ffffff;
}

body.clean-room .ide-editor {
  background:
    linear-gradient(90deg, rgba(232, 255, 240, .018) 1px, transparent 1px),
    #101411;
  background-size: 48px 48px;
}

body.clean-room .ide-editor .code-line.is-active {
  background: rgba(0, 200, 5, .13);
  outline-color: rgba(0, 200, 5, .34);
}

body.clean-room .ide-editor .code-line.is-active::after {
  color: var(--lab-green);
}

body.clean-room .chain-tape-window {
  display: grid;
  grid-template-rows: 28px minmax(0, 1fr);
  height: min(470px, calc(100% - 118px));
  min-height: 300px;
  min-width: 286px;
  position: absolute;
  right: 22px;
  top: 54px;
  width: min(318px, calc(100% - 956px));
  z-index: 4;
}

body.clean-room .chain-tape-window .desktop-window-bar {
  cursor: default;
}

body.clean-room .chain-desk-body {
  border-top: 0;
  display: grid;
  grid-template-rows: auto auto minmax(132px, .85fr) minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 10px;
}

body.clean-room .chain-desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

body.clean-room .chain-desk-grid span {
  background: rgba(0, 200, 5, .08);
  border: 1px solid rgba(0, 200, 5, .24);
  color: rgba(232, 255, 240, .82);
  display: block;
  font-size: 10px;
  line-height: 1.25;
  min-width: 0;
  padding: 6px;
}

body.clean-room .chain-desk-grid b {
  color: var(--lab-amber);
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

body.clean-room .chain-desk-ability {
  border-left: 3px solid var(--lab-green);
  color: rgba(232, 255, 240, .78);
  font-size: 11px;
  line-height: 1.35;
  padding-left: 8px;
}

body.clean-room .chain-desk-ability p {
  margin: 3px 0 0;
}

body.clean-room .chain-desk-ability {
  border-left-color: var(--lab-amber);
}

body.clean-room .chain-kline-panel {
  background:
    linear-gradient(rgba(0, 200, 5, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 5, .05) 1px, transparent 1px),
    rgba(0, 0, 0, .46);
  background-size: 100% 22px, 26px 100%, auto;
  border: 1px solid rgba(244, 211, 94, .34);
  box-shadow: inset 0 0 24px rgba(0, 200, 5, .08);
  display: grid;
  grid-template-rows: auto minmax(80px, 1fr) auto auto;
  min-height: 0;
  overflow: hidden;
  padding: 7px;
}

body.clean-room .kline-panel-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 5px;
}

body.clean-room .kline-panel-head b {
  color: var(--lab-amber);
  font-size: 10px;
  letter-spacing: .08em;
}

body.clean-room .kline-panel-head span,
body.clean-room .kline-readout {
  color: rgba(232, 255, 240, .72);
  font-size: 9px;
  line-height: 1.25;
}

body.clean-room [data-kline-canvas] {
  background: rgba(1, 5, 3, .66);
  border: 1px solid rgba(0, 200, 5, .22);
  display: block;
  height: 100%;
  image-rendering: auto;
  min-height: 80px;
  width: 100%;
}

body.clean-room .kline-switcher {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 5px;
}

body.clean-room .kline-switcher button {
  background: rgba(0, 200, 5, .12);
  border: 1px solid rgba(0, 200, 5, .42);
  color: var(--lab-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  min-width: 0;
  padding: 3px 2px;
}

body.clean-room .kline-switcher button.is-active {
  background: var(--lab-green);
  color: #061006;
  font-weight: 900;
}

body.clean-room .kline-open-chart {
  background: linear-gradient(180deg, rgba(244, 211, 94, .98), rgba(183, 255, 0, .82));
  border: 1px solid rgba(255, 250, 204, .78);
  color: #081005;
  cursor: pointer;
  font: 900 9px/1.1 "Courier New", monospace;
  margin: 0;
  padding: 4px 6px;
  text-align: center;
  text-shadow: none;
  width: auto;
}

body.clean-room .kline-open-chart:hover,
body.clean-room .kline-open-chart:focus {
  box-shadow: 0 0 18px rgba(183, 255, 0, .28);
  transform: translateY(-1px);
}

body.clean-room .chain-market-tape {
  border: 1px solid rgba(0, 200, 5, .3);
  box-shadow: inset 0 0 22px rgba(0, 200, 5, .08);
  color: var(--lab-text);
  font-size: 10px;
  line-height: 1.25;
  max-height: none;
  min-height: 0;
  overflow: auto;
  padding: 7px;
}

body.clean-room .chain-market-tape .market-tape-head {
  color: var(--lab-amber);
  font-size: 10px;
  letter-spacing: .06em;
}

body.clean-room .chain-market-tape .market-tape-row {
  border-left-width: 3px;
  margin: 5px 0;
  padding: 5px;
}

body.clean-room .chain-market-tape .market-tape-row b {
  min-width: 42px;
}

body.clean-room .chain-market-tape .market-tape-row span {
  margin-right: 6px;
}

@media (max-width: 1080px) and (min-width: 621px) {
  body.clean-room .chain-tape-window {
    bottom: 48px;
    display: grid;
    height: 150px;
    left: 112px;
    min-height: 0;
    min-width: 0;
    right: 18px;
    top: auto;
    width: auto;
  }

  body.clean-room .chain-desk-body {
    gap: 6px;
    grid-template-columns: 230px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    padding: 7px;
  }

  body.clean-room .chain-desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clean-room .chain-desk-ability {
    display: none;
  }

  body.clean-room .chain-market-tape {
    min-width: 0;
    overflow: auto;
  }

  body.clean-room .chain-market-tape .market-tape-row span:nth-of-type(n+5) {
    display: none;
  }

  body.clean-room .ai-process-panel {
    bottom: 202px;
    left: 112px;
    max-width: 214px;
    width: 214px;
  }
}

@media (max-width: 620px) {
  body.clean-room .ide-screen {
    grid-template-rows: 30px 48px minmax(0, 1fr);
  }

  body.clean-room .ide-commandbar {
    display: flex;
  }

  body.clean-room .mission-brief {
    display: none;
  }

  body.clean-room .chain-tape-window {
    display: none;
  }
}

body.clean-room .ide-terminal pre,
body.clean-room .project-list small,
body.clean-room .project-detail-panel small,
body.clean-room .memory-bin-body code {
  color: #8df6a1;
}

body.clean-room .project-file-chips button,
body.clean-room .project-actions button,
body.clean-room .ai-interrupt-bubble button,
body.clean-room .robot-chat-form button,
body.clean-room .os-taskbar .start-button {
  background: #00c805;
  border-color: rgba(232, 255, 240, .76);
  color: #031006;
}

body.clean-room .project-file-chips button {
  background: rgba(232, 255, 240, .08);
  color: var(--lab-text);
}

body.clean-room .ai-process-panel,
body.clean-room .preview-playtest-badge,
body.clean-room .ai-thought-popup,
body.clean-room .ai-interrupt-bubble {
  background: rgba(2, 7, 4, .94);
  border-color: rgba(244, 211, 94, .48);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .64), 0 0 24px rgba(0, 200, 5, .12);
  color: var(--lab-amber);
}

body.clean-room .process-meter {
  border-color: rgba(0, 200, 5, .38);
}

body.clean-room .process-meter i {
  background: linear-gradient(90deg, #00c805, #e8fff0, #f4d35e);
}

body.clean-room .robot-chat-hotspot span {
  background: #e8fff0;
  border-color: rgba(0, 200, 5, .74);
  color: #031006;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .34), 0 0 18px rgba(0, 200, 5, .18);
}

body.clean-room .robot-chat-panel {
  background: rgba(2, 8, 5, .96);
  border-color: rgba(0, 200, 5, .72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .7), 0 0 32px rgba(0, 200, 5, .2);
}

body.clean-room .robot-chat-title {
  background: linear-gradient(90deg, rgba(0, 200, 5, .32), rgba(244, 211, 94, .08));
  border-bottom-color: rgba(0, 200, 5, .28);
}

body.clean-room .robot-chat-form input {
  background: rgba(0, 0, 0, .72);
  border-color: rgba(0, 200, 5, .42);
  color: var(--lab-text);
}

body.clean-room .x-account i {
  background: linear-gradient(135deg, #00c805, #e8fff0);
}

body.clean-room .x-compose-toolbar,
body.clean-room .x-compose-text::after,
body.clean-room .x-activity-tape span {
  color: #00c805;
}

body.clean-room .x-compose-footer button.is-armed,
body.clean-room .x-compose-footer button.is-posted {
  background: #00c805;
  color: #031006;
}

body.clean-room .code-studio.is-building .ide-titlebar {
  box-shadow: inset 0 -2px 0 #00c805;
}

body.clean-room .code-studio.is-thinking .ide-titlebar {
  box-shadow: inset 0 -2px 0 #f4d35e;
}

body.clean-room .code-studio.is-running .ide-titlebar {
  box-shadow: inset 0 -2px 0 #e8fff0;
}

body.clean-room .room-intro {
  align-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 200, 5, .24), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(244, 211, 94, .14), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, .92), rgba(2, 9, 5, .9) 46%, rgba(0, 0, 0, .96));
  color: #e8fff0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  inset: 0;
  justify-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vh, 42px) clamp(14px, 5vw, 70px);
  position: absolute;
  z-index: 120;
}

body.clean-room .room-intro::before {
  background:
    linear-gradient(90deg, transparent, rgba(0, 200, 5, .12), transparent),
    repeating-linear-gradient(to bottom, rgba(232, 255, 240, .06), rgba(232, 255, 240, .06) 1px, transparent 1px, transparent 5px);
  content: "";
  inset: 0;
  opacity: .8;
  pointer-events: none;
  position: absolute;
}

body.clean-room .room-intro.is-leaving {
  animation: roomIntroLeave .8s ease forwards;
}

body.clean-room .room-intro.is-hidden {
  display: none;
}

body.clean-room .intro-rail {
  background:
    linear-gradient(90deg, transparent, rgba(0, 200, 5, .8), #e8fff0, rgba(0, 200, 5, .8), transparent);
  bottom: 22%;
  height: 4px;
  left: 0;
  opacity: .9;
  position: absolute;
  transform: perspective(560px) rotateX(64deg);
  transform-origin: center bottom;
  width: 100%;
}

body.clean-room .intro-rail::before,
body.clean-room .intro-rail::after {
  background: repeating-linear-gradient(90deg, rgba(0, 200, 5, .7) 0 5px, transparent 5px 46px);
  content: "";
  height: 200px;
  left: 0;
  position: absolute;
  top: -98px;
  width: 100%;
}

body.clean-room .intro-bin {
  bottom: clamp(120px, 23vh, 190px);
  height: 146px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 230px;
  z-index: 2;
}

body.clean-room .intro-bin-body {
  background:
    linear-gradient(180deg, rgba(232, 255, 240, .08), transparent 24%),
    linear-gradient(90deg, #06130a, #12351c 52%, #06130a);
  border: 4px ridge rgba(0, 200, 5, .9);
  bottom: 0;
  box-shadow: 0 0 34px rgba(0, 200, 5, .52), inset 0 0 28px rgba(244, 211, 94, .12);
  height: 105px;
  left: 18px;
  position: absolute;
  width: 194px;
}

body.clean-room .intro-bin-body::before {
  background: linear-gradient(90deg, #00c805, #e8fff0, #00c805);
  content: "";
  height: 10px;
  left: 28px;
  position: absolute;
  top: 36px;
  width: 138px;
}

body.clean-room .intro-bin-lid {
  background: linear-gradient(90deg, #12351c, #e8fff0, #12351c);
  border: 3px ridge rgba(0, 200, 5, .9);
  height: 22px;
  left: 0;
  position: absolute;
  top: 38px;
  transform: rotate(-9deg);
  transform-origin: 20px 50%;
  width: 230px;
  z-index: 3;
}

body.clean-room .intro-bin-glow {
  background: radial-gradient(circle, rgba(244, 211, 94, .74), rgba(0, 200, 5, .24) 44%, transparent 72%);
  bottom: -34px;
  height: 110px;
  left: 50%;
  opacity: .85;
  position: absolute;
  transform: translateX(-50%);
  width: 360px;
}

body.clean-room .intro-bot {
  animation: introBotJump 1.35s cubic-bezier(.2, 1.2, .36, 1) both, introBotIdle 2.2s ease-in-out 1.35s infinite;
  bottom: clamp(182px, 31vh, 270px);
  height: 178px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 170px;
  z-index: 4;
}

body.clean-room .intro-bot-head {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .92), transparent 31%),
    linear-gradient(180deg, #e8fff0, #84ffd0 58%, #dfff90);
  border: 5px solid #00c805;
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(0, 200, 5, .74), inset 0 -12px 28px rgba(0, 0, 0, .18);
  display: block;
  height: 122px;
  left: 24px;
  position: absolute;
  top: 0;
  width: 122px;
}

body.clean-room .intro-bot-head::before {
  background: #06130a;
  border: 3px solid #e8fff0;
  content: "";
  height: 44px;
  left: 22px;
  position: absolute;
  top: 42px;
  width: 72px;
}

body.clean-room .intro-bot-head i {
  background: #f4d35e;
  box-shadow: 0 0 11px rgba(244, 211, 94, .9);
  height: 28px;
  position: absolute;
  top: 52px;
  width: 14px;
  z-index: 2;
}

body.clean-room .intro-bot-head i:first-child {
  left: 44px;
}

body.clean-room .intro-bot-head i:nth-child(2) {
  right: 44px;
}

body.clean-room .intro-bot-head b {
  background: #ff4dff;
  height: 7px;
  left: 51px;
  position: absolute;
  top: 82px;
  width: 28px;
  z-index: 2;
}

body.clean-room .intro-bot-halo {
  border: 4px solid #8df6a1;
  border-radius: 50%;
  height: 34px;
  left: 31px;
  position: absolute;
  top: -14px;
  transform: rotate(-6deg);
  width: 108px;
  z-index: 4;
}

body.clean-room .intro-bot-body {
  background: linear-gradient(180deg, #263627, #06130a);
  border: 4px solid rgba(0, 200, 5, .72);
  border-radius: 28px 28px 14px 14px;
  box-shadow: 0 0 28px rgba(244, 211, 94, .18);
  height: 70px;
  left: 49px;
  position: absolute;
  top: 104px;
  width: 72px;
}

body.clean-room .intro-bot-body::before {
  background: #f4d35e;
  content: "";
  height: 12px;
  left: 28px;
  position: absolute;
  top: 24px;
  width: 18px;
}

body.clean-room .intro-bot-arm {
  background: #e8fff0;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(232, 255, 240, .72);
  height: 16px;
  position: absolute;
  top: 123px;
  width: 54px;
}

body.clean-room .intro-bot-arm-left {
  animation: introWaveLeft 1.3s ease-in-out 1.4s infinite;
  left: 7px;
  transform: rotate(-34deg);
  transform-origin: 100% 50%;
}

body.clean-room .intro-bot-arm-right {
  animation: introWaveRight 1.3s ease-in-out 1.4s infinite;
  right: 7px;
  transform: rotate(34deg);
  transform-origin: 0 50%;
}

body.clean-room .intro-card {
  align-self: end;
  background: rgba(2, 9, 5, .92);
  border: 2px solid rgba(0, 200, 5, .86);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .72), 0 0 34px rgba(0, 200, 5, .28), inset 0 0 30px rgba(0, 200, 5, .06);
  color: #e8fff0;
  max-width: min(760px, 92vw);
  min-height: 176px;
  padding: clamp(16px, 2.2vw, 24px);
  position: relative;
  width: 760px;
  z-index: 5;
}

body.clean-room .intro-card b {
  color: #f4d35e;
  display: block;
  font: 900 clamp(14px, 1.6vw, 20px) "Courier New", monospace;
  letter-spacing: .06em;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(244, 211, 94, .48);
}

body.clean-room .intro-card p {
  color: #e8fff0;
  font: 800 clamp(17px, 2.2vw, 28px) "Courier New", monospace;
  line-height: 1.45;
  margin: 0;
  min-height: 78px;
  text-shadow: 0 0 10px rgba(0, 200, 5, .28);
}

body.clean-room .intro-meter {
  border: 1px solid rgba(0, 200, 5, .62);
  height: 10px;
  margin-top: 18px;
  padding: 2px;
}

body.clean-room .intro-meter i {
  background: linear-gradient(90deg, #00c805, #e8fff0, #f4d35e);
  display: block;
  height: 100%;
  transition: width .32s ease;
  width: 0;
}

body.clean-room .intro-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

body.clean-room .intro-actions button {
  background: #f4d35e;
  border: 3px outset rgba(232, 255, 240, .86);
  color: #031006;
  cursor: pointer;
  font: 900 12px "Courier New", monospace;
  padding: 7px 12px;
}

body.clean-room .intro-actions span {
  color: rgba(232, 255, 240, .68);
  font: 900 12px "Courier New", monospace;
}

@keyframes introBotJump {
  0% { opacity: 0; transform: translate(-50%, 150px) scale(.72) rotate(-8deg); }
  62% { opacity: 1; transform: translate(-50%, -18px) scale(1.05) rotate(5deg); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0); }
}

@keyframes introBotIdle {
  0%, 100% { transform: translate(-50%, 0) rotate(0); }
  50% { transform: translate(-50%, -10px) rotate(1.5deg); }
}

@keyframes introWaveLeft {
  0%, 100% { transform: rotate(-34deg); }
  50% { transform: rotate(-58deg); }
}

@keyframes introWaveRight {
  0%, 100% { transform: rotate(34deg); }
  50% { transform: rotate(58deg); }
}

@keyframes roomIntroLeave {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.035); visibility: hidden; }
}

@media (max-width: 620px) {
  body.clean-room .room-intro {
    padding: 16px 12px 22px;
  }

  body.clean-room .intro-bot {
    bottom: 300px;
    transform: translateX(-50%) scale(.86);
  }

  body.clean-room .intro-bin {
    bottom: 222px;
    transform: translateX(-50%) scale(.82);
  }

  body.clean-room .intro-card {
    min-height: 190px;
  }
}

/* Premium recovery intro pass */
body.clean-room .room-intro {
  align-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, .09), transparent 21%),
    radial-gradient(circle at 50% 50%, rgba(0, 200, 5, .18), transparent 34%),
    radial-gradient(circle at 18% 76%, rgba(125, 255, 178, .12), transparent 28%),
    linear-gradient(135deg, #030604 0%, #07110b 39%, #000 100%);
  color: #f3fff6;
  display: grid;
  grid-template-columns: minmax(300px, 480px) minmax(360px, 720px);
  grid-template-rows: 1fr;
  gap: clamp(30px, 6vw, 96px);
  justify-content: center;
  min-height: 100%;
  padding: clamp(32px, 7vh, 76px) clamp(26px, 7vw, 108px);
}

body.clean-room .room-intro::before {
  background:
    linear-gradient(90deg, transparent, rgba(232, 255, 240, .055), transparent),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .035), rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 7px),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(0, 200, 5, .06) 74px 75px);
  opacity: .66;
}

body.clean-room .room-intro::after {
  background:
    radial-gradient(circle, transparent 0 44%, rgba(0, 200, 5, .34) 45% 45.8%, transparent 46.5%),
    conic-gradient(from 210deg, transparent 0 28%, rgba(232, 255, 240, .24) 31%, transparent 34% 61%, rgba(0, 200, 5, .36) 64%, transparent 67%);
  border-radius: 50%;
  content: "";
  height: min(64vw, 720px);
  left: 50%;
  opacity: .48;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: min(64vw, 720px);
}

body.clean-room .intro-rail {
  background:
    linear-gradient(90deg, transparent, rgba(0, 200, 5, .42), rgba(232, 255, 240, .8), rgba(0, 200, 5, .42), transparent);
  bottom: 18%;
  height: 1px;
  opacity: .62;
  transform: none;
}

body.clean-room .intro-rail::before,
body.clean-room .intro-rail::after {
  background: linear-gradient(90deg, transparent, rgba(0, 200, 5, .16), transparent);
  height: 1px;
  top: -92px;
}

body.clean-room .intro-bin {
  align-self: center;
  bottom: auto;
  grid-column: 1;
  grid-row: 1;
  height: clamp(300px, 47vh, 430px);
  justify-self: center;
  left: auto;
  position: relative;
  transform: none;
  width: clamp(280px, 32vw, 430px);
  z-index: 3;
}

body.clean-room .intro-bin-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 26%, rgba(0, 200, 5, .14)),
    linear-gradient(135deg, rgba(0, 200, 5, .13), rgba(0, 0, 0, .66) 54%, rgba(244, 211, 94, .08));
  border: 1px solid rgba(232, 255, 240, .32);
  border-radius: 34px;
  bottom: 34px;
  box-shadow:
    0 42px 100px rgba(0, 0, 0, .58),
    0 0 80px rgba(0, 200, 5, .24),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -40px 80px rgba(0, 0, 0, .38);
  height: 64%;
  left: 9%;
  width: 82%;
}

body.clean-room .intro-bin-body::before {
  background:
    linear-gradient(90deg, transparent, rgba(232, 255, 240, .9), transparent),
    linear-gradient(90deg, rgba(0, 200, 5, .08), rgba(0, 200, 5, .42), rgba(0, 200, 5, .08));
  border-radius: 999px;
  height: 2px;
  left: 12%;
  top: 28%;
  width: 76%;
}

body.clean-room .intro-bin-body::after {
  border: 1px solid rgba(0, 200, 5, .24);
  border-radius: 28px;
  content: "";
  inset: 16px;
  position: absolute;
}

body.clean-room .intro-bin-lid {
  background:
    linear-gradient(90deg, transparent, rgba(232, 255, 240, .78), transparent),
    linear-gradient(90deg, rgba(0, 200, 5, .18), rgba(0, 200, 5, .42), rgba(0, 200, 5, .18));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(0, 200, 5, .34);
  height: 3px;
  left: 10%;
  top: 36px;
  transform: rotate(-3deg);
  width: 80%;
}

body.clean-room .intro-bin-glow {
  background:
    radial-gradient(ellipse at center, rgba(244, 211, 94, .28), rgba(0, 200, 5, .24) 36%, transparent 70%);
  bottom: -20px;
  height: 150px;
  opacity: .7;
  width: 118%;
}

body.clean-room .intro-bot {
  align-self: center;
  animation: introBotJump 1.15s cubic-bezier(.18, .9, .2, 1) both, introBotIdle 3.4s ease-in-out 1.15s infinite;
  bottom: auto;
  grid-column: 1;
  grid-row: 1;
  height: clamp(214px, 34vh, 310px);
  justify-self: center;
  left: auto;
  position: relative;
  transform: none;
  width: clamp(210px, 25vw, 320px);
  z-index: 5;
}

body.clean-room .intro-bot::before,
body.clean-room .intro-bot::after {
  border: 1px solid rgba(0, 200, 5, .46);
  border-radius: 50%;
  content: "";
  height: 78%;
  left: 11%;
  position: absolute;
  top: 4%;
  transform: rotate(62deg);
  width: 78%;
}

body.clean-room .intro-bot::after {
  border-color: rgba(232, 255, 240, .26);
  transform: rotate(-58deg);
}

body.clean-room .intro-bot-head {
  background:
    radial-gradient(circle at 42% 22%, rgba(255, 255, 255, .96), transparent 22%),
    linear-gradient(155deg, #f6fff8, #99ffd0 46%, #00c805 102%);
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 42% 42% 50% 50%;
  box-shadow:
    0 0 60px rgba(0, 200, 5, .44),
    0 26px 60px rgba(0, 0, 0, .44),
    inset 0 3px 8px rgba(255, 255, 255, .75),
    inset 0 -28px 48px rgba(0, 0, 0, .18);
  height: 58%;
  left: 20%;
  top: 9%;
  width: 60%;
}

body.clean-room .intro-bot-head::before {
  background:
    linear-gradient(180deg, rgba(9, 19, 13, .86), rgba(0, 0, 0, .92)),
    linear-gradient(90deg, rgba(0, 200, 5, .1), transparent);
  border: 1px solid rgba(232, 255, 240, .38);
  border-radius: 18px;
  box-shadow: inset 0 0 24px rgba(0, 200, 5, .18);
  height: 34%;
  left: 18%;
  top: 38%;
  width: 64%;
}

body.clean-room .intro-bot-head i {
  background: #eaff70;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(234, 255, 112, .9);
  height: 17%;
  top: 47%;
  width: 8%;
}

body.clean-room .intro-bot-head i:first-child {
  left: 36%;
}

body.clean-room .intro-bot-head i:nth-child(2) {
  right: 36%;
}

body.clean-room .intro-bot-head b {
  background: #00c805;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(0, 200, 5, .8);
  height: 2%;
  left: 42%;
  top: 66%;
  width: 16%;
}

body.clean-room .intro-bot-halo {
  animation: introOrbit 5.6s linear infinite;
  border: 1px solid rgba(232, 255, 240, .74);
  border-bottom-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 200, 5, .4);
  height: 19%;
  left: 22%;
  top: 0;
  width: 56%;
}

body.clean-room .intro-bot-body {
  background:
    linear-gradient(180deg, rgba(232, 255, 240, .2), transparent 16%),
    linear-gradient(160deg, rgba(0, 200, 5, .34), rgba(1, 14, 7, .96));
  border: 1px solid rgba(232, 255, 240, .28);
  border-radius: 28px 28px 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 36px rgba(0, 200, 5, .2);
  height: 27%;
  left: 35%;
  top: 62%;
  width: 30%;
}

body.clean-room .intro-bot-body::before {
  background: #f4d35e;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(244, 211, 94, .8);
  height: 10%;
  left: 38%;
  top: 42%;
  width: 24%;
}

body.clean-room .intro-bot-arm {
  background: linear-gradient(90deg, rgba(232, 255, 240, .96), rgba(126, 255, 184, .82));
  box-shadow: 0 0 22px rgba(232, 255, 240, .46);
  height: 7%;
  top: 73%;
  width: 30%;
}

body.clean-room .intro-bot-arm-left {
  animation: introWaveLeft 2.8s ease-in-out 1.1s infinite;
  left: 11%;
}

body.clean-room .intro-bot-arm-right {
  animation: introWaveRight 2.8s ease-in-out 1.1s infinite;
  right: 11%;
}

body.clean-room .intro-card {
  align-self: center;
  backdrop-filter: blur(22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035)),
    rgba(3, 8, 5, .72);
  border: 1px solid rgba(232, 255, 240, .18);
  border-radius: 28px;
  box-shadow:
    0 36px 120px rgba(0, 0, 0, .62),
    0 0 80px rgba(0, 200, 5, .16),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #f3fff6;
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  max-width: 720px;
  min-height: 280px;
  padding: clamp(28px, 4vw, 48px);
  width: auto;
}

body.clean-room .intro-card::before {
  color: rgba(126, 255, 184, .78);
  content: "RECOVERED AI AGENT  /  ROBINHOOD CHAIN RWA WATCH";
  display: block;
  font: 700 11px/1.3 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .24em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

body.clean-room .intro-card::after {
  background: linear-gradient(180deg, #00c805, rgba(232, 255, 240, .7), transparent);
  border-radius: 999px;
  content: "";
  height: 68%;
  left: 0;
  position: absolute;
  top: 16%;
  width: 2px;
}

body.clean-room .intro-card b {
  color: #f3fff6;
  font: 800 clamp(24px, 4vw, 52px)/.96 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0 0 20px;
  text-shadow: none;
}

body.clean-room .intro-card p {
  color: rgba(232, 255, 240, .82);
  font: 500 clamp(16px, 2vw, 24px)/1.52 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  max-width: 660px;
  min-height: 78px;
  text-shadow: none;
}

body.clean-room .intro-meter {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(232, 255, 240, .14);
  border-radius: 999px;
  height: 7px;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
}

body.clean-room .intro-meter i {
  background: linear-gradient(90deg, #00c805, #92ffb0, #f3fff6);
  border-radius: inherit;
  box-shadow: 0 0 24px rgba(0, 200, 5, .58);
}

body.clean-room .intro-actions {
  margin-top: 22px;
}

body.clean-room .intro-actions button {
  background: rgba(232, 255, 240, .08);
  border: 1px solid rgba(232, 255, 240, .22);
  border-radius: 999px;
  color: #f3fff6;
  font: 800 11px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .14em;
  padding: 10px 16px;
  text-transform: uppercase;
}

body.clean-room .intro-actions button:hover {
  background: #00c805;
  border-color: #00c805;
  color: #031006;
}

body.clean-room .intro-actions span {
  color: rgba(232, 255, 240, .58);
  font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
}

@keyframes introOrbit {
  0% { transform: rotateX(62deg) rotateZ(0); }
  100% { transform: rotateX(62deg) rotateZ(360deg); }
}

@keyframes introBotJump {
  0% { opacity: 0; transform: translateY(86px) scale(.84); filter: blur(10px); }
  70% { opacity: 1; transform: translateY(-8px) scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes introBotIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes introWaveLeft {
  0%, 100% { transform: rotate(-26deg); }
  50% { transform: rotate(-38deg) translateY(-4px); }
}

@keyframes introWaveRight {
  0%, 100% { transform: rotate(26deg); }
  50% { transform: rotate(38deg) translateY(-4px); }
}

@media (max-width: 900px) {
  body.clean-room .room-intro {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, .9fr) auto;
    gap: 18px;
    padding: 28px 18px;
  }

  body.clean-room .intro-bin,
  body.clean-room .intro-bot {
    grid-column: 1;
    grid-row: 1;
  }

  body.clean-room .intro-card {
    grid-column: 1;
    grid-row: 2;
    min-height: 238px;
    width: min(720px, 100%);
  }
}

@media (max-width: 620px) {
  body.clean-room .intro-bin {
    height: 280px;
    width: 280px;
  }

  body.clean-room .intro-bot {
    height: 230px;
    width: 230px;
  }

  body.clean-room .intro-card {
    border-radius: 22px;
    min-height: 236px;
    padding: 24px;
  }
}

body.clean-room .intro-character-canvas {
  align-self: center;
  display: block;
  grid-column: 1;
  grid-row: 1;
  height: clamp(330px, 58vh, 560px);
  justify-self: center;
  max-width: 100%;
  pointer-events: none;
  position: relative;
  width: clamp(340px, 38vw, 560px);
  z-index: 7;
}

body.clean-room .room-intro.has-3d-character .intro-bin,
body.clean-room .room-intro.has-3d-character .intro-bot {
  display: none;
}

body.clean-room .room-intro.no-3d-character .intro-character-canvas {
  display: none;
}

body.clean-room .room-intro.has-3d-character .intro-card {
  box-shadow:
    0 36px 120px rgba(0, 0, 0, .62),
    0 0 80px rgba(0, 200, 5, .18),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

@media (max-width: 900px) {
  body.clean-room .intro-character-canvas {
    grid-column: 1;
    grid-row: 1;
    height: min(48vh, 430px);
    width: min(86vw, 520px);
  }
}

@media (max-width: 620px) {
  body.clean-room .intro-character-canvas {
    height: 290px;
    width: 300px;
  }
}

/* Cozy chain room pass: keep the OS screen mounted to the room display. */
body.clean-room .ai-room3d {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 206, 128, .16), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(183, 255, 0, .13), transparent 24%),
    linear-gradient(180deg, #18110c 0%, #120d09 58%, #090805 100%);
}

body.clean-room #ai-room-canvas {
  filter: saturate(1.08) contrast(1.08) brightness(.98);
}

body.clean-room .ide-screen {
  background:
    linear-gradient(180deg, rgba(8, 17, 10, .94), rgba(3, 7, 4, .94));
  border-color: rgba(183, 255, 0, .72);
  box-shadow:
    0 0 0 1px rgba(10, 7, 4, .92),
    0 22px 76px rgba(20, 10, 3, .66),
    0 0 36px rgba(183, 255, 0, .2),
    inset 0 0 38px rgba(183, 255, 0, .035);
  height: min(560px, 54vh);
  top: max(12px, 1.2vh);
  width: min(1500px, 90vw);
}

body.clean-room .ide-screen::before {
  border-color: rgba(255, 222, 162, .2);
}

body.clean-room .ide-body {
  background:
    linear-gradient(90deg, rgba(183, 255, 0, .055) 1px, transparent 1px),
    linear-gradient(rgba(183, 255, 0, .045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(11, 18, 12, .94), rgba(6, 9, 6, .94) 58%, rgba(27, 18, 11, .92));
  background-size: 42px 42px, 42px 42px, auto;
}

body.clean-room .room-orbit-controls {
  top: 70%;
}

@media (orientation: portrait) {
  body.clean-room .ide-screen {
    height: min(760px, 52vh);
    width: min(1100px, 96vw);
  }
}

body.clean-room .ide-screen.is-mounted-display {
  background:
    linear-gradient(180deg, rgba(7, 16, 9, .985), rgba(1, 4, 2, .99)),
    #020503;
  border: 1px solid rgba(183, 255, 0, .55);
  border-radius: 7px;
  box-shadow:
    0 0 0 8px rgba(7, 6, 2, .92),
    0 0 0 11px rgba(72, 95, 12, .55),
    0 0 34px rgba(183, 255, 0, .2),
    inset 0 0 42px rgba(0, 0, 0, .5),
    inset 0 0 28px rgba(183, 255, 0, .05);
  box-sizing: border-box;
  height: var(--mounted-height);
  left: var(--mounted-left);
  overflow: hidden;
  top: var(--mounted-top);
  transform: none;
  width: var(--mounted-width);
}

body.clean-room .ide-screen.is-mounted-display::before {
  border: 1px solid rgba(232, 255, 240, .16);
  border-radius: 4px;
  inset: 7px;
}

body.clean-room .ide-screen.is-mounted-display::after {
  background:
    linear-gradient(112deg, transparent 0 28%, rgba(255, 255, 255, .075) 29%, transparent 43%),
    linear-gradient(180deg, rgba(232, 255, 240, .045), transparent 20%, transparent 78%, rgba(183, 255, 0, .04));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 69;
}

/* Warm mounted-desk pass: less AI console, more room-embedded desktop. */
body.clean-room .ide-screen.is-mounted-display {
  background:
    linear-gradient(180deg, rgba(18, 20, 14, .985), rgba(6, 8, 5, .99)),
    #080a06;
  border-color: rgba(202, 178, 98, .52);
  box-shadow:
    0 0 0 9px rgba(14, 10, 5, .94),
    0 0 0 12px rgba(106, 72, 36, .62),
    0 16px 34px rgba(0, 0, 0, .32),
    inset 0 0 36px rgba(0, 0, 0, .54),
    inset 0 0 18px rgba(202, 178, 98, .04);
}

body.clean-room .ide-screen.is-mounted-display .ide-titlebar,
body.clean-room .ide-screen.is-mounted-display .desktop-window-bar,
body.clean-room .ide-screen.is-mounted-display .browser-bar {
  background: linear-gradient(180deg, #2b2419, #14100b);
  border-bottom-color: rgba(202, 178, 98, .26);
  color: rgba(241, 232, 204, .9);
}

body.clean-room .ide-screen.is-mounted-display .ide-commandbar,
body.clean-room .ide-screen.is-mounted-display .os-taskbar {
  background: rgba(12, 10, 7, .96);
  border-color: rgba(202, 178, 98, .18);
}

body.clean-room .ide-screen.is-mounted-display .mission-brief {
  border-left-color: rgba(183, 255, 0, .58);
  color: rgba(241, 232, 204, .76);
}

body.clean-room .ide-screen.is-mounted-display .mission-brief b {
  color: rgba(202, 178, 98, .94);
}

body.clean-room .ide-screen.is-mounted-display .ide-body {
  background:
    linear-gradient(90deg, rgba(202, 178, 98, .035) 1px, transparent 1px),
    linear-gradient(rgba(202, 178, 98, .03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(13, 18, 12, .98), rgba(8, 9, 7, .98) 56%, rgba(28, 19, 11, .96));
  background-size: 56px 56px, 56px 56px, auto;
}

body.clean-room .ide-screen.is-mounted-display .desktop-window,
body.clean-room .ide-screen.is-mounted-display .project-manager,
body.clean-room .ide-screen.is-mounted-display .memory-bin,
body.clean-room .ide-screen.is-mounted-display .ide-main,
body.clean-room .ide-screen.is-mounted-display .ide-preview,
body.clean-room .ide-screen.is-mounted-display .chain-tape-window,
body.clean-room .ide-screen.is-mounted-display .start-menu {
  background: rgba(10, 12, 8, .9);
  border-color: rgba(202, 178, 98, .3);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .42),
    0 0 16px rgba(183, 255, 0, .06);
}

body.clean-room .ide-screen.is-mounted-display .ide-editor {
  background:
    linear-gradient(90deg, rgba(202, 178, 98, .018) 1px, transparent 1px),
    #11140f;
  background-size: 54px 54px;
}

body.clean-room .ide-screen.is-mounted-display .chain-desk-grid span,
body.clean-room .ide-screen.is-mounted-display .project-list-panel,
body.clean-room .ide-screen.is-mounted-display .project-detail-panel,
body.clean-room .ide-screen.is-mounted-display .memory-bin-body,
body.clean-room .ide-screen.is-mounted-display .ide-sidebar,
body.clean-room .ide-screen.is-mounted-display .chain-desk-body {
  background: rgba(18, 16, 11, .58);
  border-color: rgba(202, 178, 98, .2);
}

body.clean-room .robot-chat-hotspot span {
  background: linear-gradient(180deg, #e2cf8a, #b39143);
  border-color: rgba(74, 45, 12, .74);
  border-radius: 5px;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 249, 206, .55),
    inset 0 -8px 16px rgba(70, 41, 9, .18);
  color: #2c1b08;
  font-size: 9px;
  letter-spacing: .08em;
  padding: 5px 10px;
  text-transform: uppercase;
}

body.clean-room .robot-chat-hotspot span::before {
  background: #f4ead1;
  box-shadow: inset 0 0 0 1px rgba(55, 32, 7, .28);
  height: 6px;
  opacity: .85;
  width: 6px;
}

body.clean-room .robot-chat-hotspot {
  bottom: clamp(24px, 4vh, 44px);
  height: 58px;
  width: min(220px, 18vw);
}

body.clean-room .robot-chat-hotspot span {
  bottom: 0;
  transform: translateX(-50%);
}

body.clean-room .robot-chat-hotspot:hover span,
body.clean-room .robot-chat-hotspot:focus span {
  transform: translateX(-50%) translateY(-2px);
}

/* Public demo pass: make the direct line discoverable without hiding the desk. */
body.clean-room .robot-chat-hotspot {
  bottom: clamp(42px, 7vh, 92px);
  height: 86px;
  width: min(340px, 34vw);
  z-index: 96;
}

body.clean-room .robot-chat-hotspot span {
  align-items: flex-start;
  animation: robotChatPulse 2.6s ease-in-out infinite;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 230px;
  padding: 9px 14px;
}

body.clean-room .robot-chat-hotspot span b,
body.clean-room .robot-chat-hotspot span small {
  display: block;
  line-height: 1.15;
}

body.clean-room .robot-chat-hotspot span b {
  font-size: 11px;
}

body.clean-room .robot-chat-hotspot span small {
  font-size: 8px;
  opacity: .82;
}

body.clean-room .robot-chat-panel {
  bottom: clamp(104px, 15vh, 150px);
  height: min(430px, 54vh);
  width: min(520px, calc(100vw - 32px));
  z-index: 98;
}

body.clean-room .robot-chat-panel:not(.is-hidden) {
  animation: robotChatPanelPop .28s ease both;
}

body.clean-room .robot-chat-panel.is-auto-open {
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .46),
    0 0 0 1px rgba(236, 214, 142, .28),
    0 0 34px rgba(183, 255, 0, .32);
}

@keyframes robotChatPulse {
  0%, 100% {
    box-shadow:
      0 8px 18px rgba(0, 0, 0, .28),
      0 0 0 rgba(183, 255, 0, 0),
      inset 0 1px 0 rgba(255, 249, 206, .55),
      inset 0 -8px 16px rgba(70, 41, 9, .18);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, .34),
      0 0 22px rgba(183, 255, 0, .45),
      inset 0 1px 0 rgba(255, 249, 206, .65),
      inset 0 -8px 16px rgba(70, 41, 9, .18);
  }
}

@keyframes robotChatPanelPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  body.clean-room .robot-chat-hotspot {
    bottom: 62px;
    width: 290px;
  }

  body.clean-room .robot-chat-panel {
    bottom: 128px;
    height: min(440px, 56vh);
  }
}
