/* freebuff-switch — minimal, functional dark shell. Frontend is NOT the focus. */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0c0e13;
  color: #cfd6e4;
  font: 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
header {
  padding: 10px 16px;
  background: #12151d;
  border-bottom: 1px solid #222837;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
h1 { font-size: 17px; margin: 0; letter-spacing: .5px; }
.badge {
  font-size: 11px;
  color: #9fe8a0;
  border: 1px solid #2c5a2c;
  border-radius: 99px;
  padding: 1px 8px;
  vertical-align: middle;
  margin-left: 6px;
}
.status { display: flex; gap: 14px; font-size: 12px; color: #8a93a6; }
.status b { color: #e8eefb; font-weight: 600; }
main { display: grid; grid-template-columns: 1fr 300px; gap: 12px; padding: 12px; }
@media (max-width: 900px) { main { grid-template-columns: 1fr; } }
.left { min-width: 0; }
.screen-wrap { position: relative; }
#screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  image-rendering: pixelated;
  border: 1px solid #222837;
  border-radius: 6px;
  display: block;
}
#idle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b6478;
  font-size: 15px;
  letter-spacing: .3px;
  pointer-events: none;
  background: rgba(6, 8, 12, .55);
}
#idle b { color: #8b96ab; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
button {
  background: #1a1f2b;
  color: #cfd6e4;
  border: 1px solid #2c3342;
  border-radius: 5px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
button:hover { background: #232a3a; border-color: #3a4358; }
button:active { background: #10141d; }
.hint { color: #6b7280; font-size: 11px; margin: 10px 0 0; }
aside { min-height: 300px; }
aside h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6b7280;
  margin: 4px 0 6px;
}
pre {
  background: #0a0c11;
  border: 1px solid #1c212d;
  border-radius: 6px;
  padding: 8px;
  font: inherit;
  font-size: 11.5px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 260px;
  overflow: auto;
  margin: 0 0 12px;
  color: #a8b2c7;
}