:root {
  color-scheme: dark;
  --bg: #060606;
  --panel: rgba(10, 10, 10, 0.95);
  --line: rgba(46, 224, 19, 0.45);
  --text: #2ee013;
  --frame-width: 100%;
  --frame-height: 420px;
  --padding: 14px;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 14px;
  background: var(--bg);
  color: var(--text);
  font-family: monospace;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  align-items: end;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  gap: 4px;
}

input[type="color"],
input[type="text"],
input[type="range"] {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 4px;
}

.viewer {
  padding: var(--padding);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.message-shell {
  width: var(--frame-width);
  height: var(--frame-height);
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.message-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-line;
  text-align: center;
}
