/* 327th Bot Hub. Same design as the bot dashboards: dark graphite with the 327th gold. */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #e3a92b; --accent-hover: #f0b940; --accent-ink: #17140c; --accent-soft: rgba(227, 169, 43, .12);
  --bg: #10100f; --surface: #171715; --surface-2: #1e1e1b; --surface-3: #292824;
  --border: rgba(255, 244, 214, .075); --border-strong: rgba(255, 244, 214, .14);
  --text: #ecebe5; --muted: #a9a69b; --faint: #716e64;
  --success: #5cb87a; --success-soft: rgba(92, 184, 122, .14); --danger: #e5534b; --danger-soft: rgba(229, 83, 75, .13);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 6px; --radius-lg: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.icon { width: 18px; height: 18px; flex: none; }

.page { max-width: 1040px; margin: 0 auto; padding: 56px 24px 64px; }
.head { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--border-strong); }
.head h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.head p { margin: 4px 0 0; }
.mark { width: 48px; height: 48px; flex: none; border-radius: var(--radius-lg); background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9'/%3E%3C/svg%3E") center / cover;
  position: relative; }
.mark::after { content: ""; position: absolute; inset: 0; background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 6.5c2.6 2 5.3 3 8 3v6.2c0 4.8-3.3 8.2-8 9.8-4.7-1.6-8-5-8-9.8V9.5c2.7 0 5.4-1 8-3z'/%3E%3C/svg%3E") center / cover;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 6.5c2.6 2 5.3 3 8 3v6.2c0 4.8-3.3 8.2-8 9.8-4.7-1.6-8-5-8-9.8V9.5c2.7 0 5.4-1 8-3z'/%3E%3C/svg%3E") center / cover; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .15s, background-color .15s; }
.card.live:hover { border-color: var(--accent); }
.card-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 14px; border-bottom: 1px solid var(--border); }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; color: var(--accent); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .icon { width: 24px; height: 24px; }
.card-title { min-width: 0; flex: 1; }
.card-title h2 { margin: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status.on { color: var(--success); }
.status.on::before { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.status.off { color: var(--danger); }
.status.off::before { background: var(--danger); }
.status.soon { color: var(--accent); }
.status.soon::before { background: var(--accent); }
.card-body { padding: 14px 18px 18px; display: grid; gap: 14px; flex: 1; align-content: start; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 4px;
  font-size: 12.5px; text-decoration: none; color: var(--text); background: var(--surface-2); }
.links a:hover { border-color: var(--accent); color: var(--accent); }
.open { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; margin: 0 18px 18px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none; }
.open:hover { background: var(--accent-hover); }
.open:focus-visible, .links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.soon { border-style: dashed; opacity: .7; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border-strong); border-left: 3px solid var(--danger);
  border-radius: var(--radius); background: var(--danger-soft); }
.foot { margin-top: 28px; font-size: 13px; text-align: center; }

@media (max-width: 600px) {
  .page { padding: 32px 16px 48px; }
  .head h1 { font-size: 23px; }
  .mark { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
