:root {
  --bg: #151515; --card: #1f1f1f; --card2: #262626; --line: #333;
  --text: #f0f0f0; --muted: #9a9a9a; --lime: #cce200; --lime-ink: #151515;
  --red: #ff6b6b; --green: #7ddc8a; --r: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)); max-width: 960px; margin: 0 auto; }
header { padding: 22px 0 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
h1 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
h1 b { color: var(--lime); }
.upd { color: var(--muted); font-size: 13px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 10px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
@media (max-width: 440px) { .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 104px; padding: 14px; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s; }
.tile:hover { border-color: #555; }
.tile:active { transform: scale(.98); }
.tile .ic { font-size: 24px; line-height: 1; }
.tile .nm { font-weight: 700; font-size: 16px; line-height: 1.2; padding-right: 18px; }
.tile .sb { color: var(--muted); font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.tile.main { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.tile.main .sb { color: #3d4400; }
.dot { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: #555; }
.dot.ok { background: var(--green); box-shadow: 0 0 0 3px rgba(125,220,138,.18); }
.dot.bad { background: var(--red); box-shadow: 0 0 0 3px rgba(255,107,107,.2); }
.tile.main .dot.ok { background: #2f7d32; box-shadow: none; }
.tile.main .dot.bad { background: #b3261e; box-shadow: none; }
.state { font-size: 12px; font-weight: 600; color: var(--red); }
.tile.main .state { color: #8a1c14; }
.note { color: var(--muted); font-size: 13px; margin-top: 26px; line-height: 1.5; }
.note a { color: var(--muted); }
