:root{
  --bg:#0b0d12;
  --bg2:#0f1736;
  --ink:#f2f4ff;
  --mut:rgba(242,244,255,.66);
  --acc:#6feeff;
  --acc2:#1f3cff;
  --line:rgba(242,244,255,.10);
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  --disp:'Outfit',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
body{
  margin:0;
  background-image:url('../images/tbg.png');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  color:var(--ink);
  font-family:var(--disp);
}
body::before{
  content:'';
  position:fixed;
  inset:0;
  background:linear-gradient(180deg, rgba(3,7,17,.72), rgba(5,10,24,.82));
  pointer-events:none;
}
main.wrap{position:relative;z-index:1;}
a{color:inherit;text-decoration:none}
.wrap{max-width:980px;margin:0 auto;padding:32px 18px 56px}
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.back{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(242,244,255,.8);
  border:1px solid rgba(242,244,255,.14);
  padding:10px 12px;
  border-radius:999px;
}
.back:hover{border-color:rgba(111,238,255,.6);background:rgba(111,238,255,.08)}
.title .k{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(111,238,255,.9);
}
.title .h{
  font-size:22px;
  letter-spacing:-.02em;
  font-weight:900;
}
.hint{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(242,244,255,.62);
}
.terminal{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(7,9,18,.88);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.38);
}
.bar{
  display:flex;align-items:center;gap:10px;
  padding:16px 18px;
  background:rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.commandTip{
  padding:12px 16px;
  font-family:var(--mono);
  font-size:11px;
  color:rgba(242,244,255,.7);
  background:linear-gradient(90deg, rgba(111,238,255,.12), rgba(31,60,255,.12));
  border-bottom:1px solid rgba(111,238,255,.15);
  border-left:3px solid rgba(111,238,255,.5);
  transition:all 0.3s ease;
  cursor:pointer;
  user-select:none;
}
.commandTip:hover{
  background:linear-gradient(90deg, rgba(111,238,255,.18), rgba(31,60,255,.18));
  border-left-color:var(--acc);
  color:var(--acc);
}
.commandTip .command{
  color:var(--acc);
  font-weight:500;
  letter-spacing:.08em;
  padding:4px 8px;
  background:rgba(111,238,255,.15);
  border-radius:6px;
  cursor:pointer;
  transition:all 0.2s ease;
}
.commandTip .command:hover{
  background:rgba(111,238,255,.25);
  text-shadow:0 0 10px rgba(111,238,255,.8);
}
.dot{width:10px;height:10px;border-radius:50%}
.dot.r{background:#ff5f57}.dot.y{background:#ffbd2e}.dot.g{background:#28c840}
.barTitle{
  margin-left:10px;
  font-family:var(--mono);
  font-size:12px;
  color:rgba(242,244,255,.72);
  flex:1;
}
.online{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#ff5f57;
}
.online.on{color:#28c840}
.msgs{
  height:min(62vh,520px);
  overflow:auto;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.msg{display:flex;gap:10px;align-items:flex-start;font-family:var(--mono);font-size:12px;line-height:1.6}
.who{color:rgba(111,238,255,.95);white-space:nowrap}
.who.you{color:#28c840}
.txt{color:rgba(242,244,255,.82);word-break:break-word}
.txt a{
  color:var(--acc);
  text-decoration:underline;
  transition:all 0.2s ease;
  padding:0 2px;
}
.txt a:hover{
  color:#fff;
  text-shadow:0 0 8px rgba(111,238,255,.6);
}
.inputRow{
  display:flex;align-items:center;gap:10px;
  padding:14px 16px;
  border-top:1px solid rgba(242,244,255,.10);
  background:rgba(11,13,18,.78);
}
.prompt{font-family:var(--mono);color:rgba(255,255,255,.75);font-weight:700}
.inp{
  flex:1;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  outline:none;
  color:var(--ink);
  font-family:var(--mono);
  font-size:13px;
  padding:12px 14px;
}
.send{
  min-width:70px;
  border-radius:12px;
  border:1px solid rgba(111,238,255,.18);
  background:rgba(111,238,255,.12);
  color:var(--ink);
  font-family:var(--mono);
  font-size:13px;
  padding:0 12px;
  height:38px;
}
.send:hover{border-color:rgba(111,238,255,.6);background:rgba(111,238,255,.22)}
.note{
  margin:14px 4px 0;
  color:rgba(242,244,255,.58);
  font-size:13px;
  line-height:1.6;
}

