:root {
  --bg: #0f1115; --panel: #191d24; --panel2: #212632; --border: #2c333d;
  --text: #e9edf2; --muted: #949ca8; --accent: #25d366; --warn: #e5b455; --bad: #e2604e;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, "Segoe UI", sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 18px 48px; }
.head { text-align: center; margin-bottom: 18px; }
.logo { font-size: 44px; }
h1 { margin: 6px 0 4px; font-size: 26px; }
.lead { color: var(--muted); margin: 0; }
.muted { color: var(--muted); }

.consent {
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--warn);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 20px; font-size: 14px;
}
.consent strong { color: var(--warn); }
.consent p { margin: 8px 0 0; color: #cfd6de; }
.consent .how { color: var(--muted); }

.status { text-align: center; margin-bottom: 14px; min-height: 1.4em; }
.status.up { color: var(--accent); }
.status.down { color: var(--bad); }

.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.slot {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.slot h2 { margin: 0; font-size: 15px; letter-spacing: .04em; }
.qr-box {
  background: #fff; border-radius: 10px; padding: 12px; width: 100%;
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.qr-ascii {
  margin: 0; color: #000; background: #fff; font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 6px; line-height: 6px; letter-spacing: 0; white-space: pre;
}
.slot .state { font-size: 13px; color: var(--muted); }
.slot.linked .qr-box { background: var(--panel2); min-height: 120px; color: var(--accent); font-size: 40px; }
.slot.linked .state { color: var(--accent); font-weight: 700; }
.slot .spin { color: var(--muted); font-size: 13px; }
.foot { text-align: center; margin-top: 26px; }
