:root{
  --bg:#120600;
  --bg2:#1a0b02;
  --text:#ffd43b;
  --dim:rgba(255,212,59,.75);
  --orange:#ff7a00;
  --line:rgba(255,122,0,.35);
  --shadow: 18px 18px 0 rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; margin:0; }
body{
  background:
    radial-gradient(900px 600px at 15% 20%, rgba(255,212,59,.22), transparent 60%),
    radial-gradient(900px 700px at 85% 35%, rgba(255,122,0,.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.screen{ height:100%; display:flex; align-items:center; justify-content:center; padding:18px; }

.frame{
  width:min(980px, 100%);
  height:min(720px, 100vh - 36px);
  border-radius: 18px;
  border: 2px solid var(--line);
  background: rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.topbar{
  height: 54px;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 14px;
  background: rgba(0,0,0,.32);
  border-bottom: 1px solid var(--line);
}

.dots{ display:flex; gap:8px; }
.dot{ width:10px; height:10px; border-radius:999px; border:1px solid var(--line); background: rgba(255,122,0,.15); }

.title{ font-weight: 900; letter-spacing:.04em; text-transform: uppercase; }

.pill{
  margin-left:auto;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,212,59,.08);
  color: var(--dim);
}

.term{
  height: calc(100% - 54px - 40px);
  padding: 14px;
  outline:none;
}

.log{
  height: calc(100% - 44px);
  overflow:auto;
  padding-right: 6px;
}

.line{ white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.line.dim{ color: var(--dim); }
.line.err{ color: #ff9b6a; }
.line.ok{ color: #ffe58f; }

.inputRow{
  display:flex;
  align-items:center;
  gap:10px;
  height: 44px;
  border-top: 1px dashed rgba(255,122,0,.35);
  padding-top: 10px;
}

.prompt{ color: var(--dim); font-weight: 900; user-select:none; }
.input{
  flex:1;
  border:0;
  outline:none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 900;
}

.footer{
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.28);
}

.hint{ color: var(--dim); font-size: 12px; font-weight: 800; }
.kbd{ padding: 2px 7px; border:1px solid var(--line); border-radius: 10px; background: rgba(255,212,59,.08); }
