/* BloodBot website + admin portal */
:root {
  --bg: #0c0b10; --bg-2: #111017; --panel: #16151d; --panel-2: #1d1c26; --line: #2a2835; --line-2: #383546;
  --text: #f1eff6; --muted: #a5a1b4; --faint: #757186;
  --accent: #e5384f; --accent-2: #c92a41; --accent-soft: rgba(229, 56, 79, .14); --accent-line: rgba(229, 56, 79, .45);
  --good: #3ecf8e; --warn: #f5a524; --bad: #ff5c6c; --info: #5b8cff;
  --radius: 14px; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  color-scheme: dark;
}
/* 6.1.1: the public website (not the admin portal) sits on BloodBot's plum night, with Bricolage for headings */
body.site { --bg: #140e18; --bg-2: #1a131f; --panel: #1f1726; --panel-2: #291f30; --line: #34293c; --line-2: #45374c;
  --muted: #b7aabb; --faint: #8a7d8f; background: var(--bg); }
body.site h1, body.site h2 { font-family: var(--display); font-stretch: 92%; letter-spacing: -.025em; }
body.site h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; }
body.site h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
body.site .top { background: rgba(20, 14, 24, .82); }
body.site .brand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: #ff7a8c; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h2 { font-size: 24px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
code, kbd { font: 13px ui-monospace, "JetBrains Mono", Menlo, monospace; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
kbd { border-bottom-width: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 520px; margin: 0 auto; padding: 0 20px; }
.mid { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 11, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--panel-2); text-decoration: none; }
.foot { border-top: 1px solid var(--line); margin-top: 80px; padding: 34px 0 40px; color: var(--faint); font-size: 13px; }
.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--muted); }
.foot .credit b { color: var(--text); }
.foot .tip { opacity: .75; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--accent-2); color: #fff; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--accent); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: var(--panel-2); border-color: var(--accent-line); }
.btn.big { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.danger { background: #a3182b; }
.btn.danger:hover { background: #c41d33; }
.btn.twitch { background: #9146ff; }
.btn.twitch:hover { background: #a66bff; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
label.f { display: block; margin-bottom: 16px; }
label.f > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
label.f > small { display: block; color: var(--faint); font-size: 12px; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 11px; padding: 11px 13px;
  font: 15px Inter, system-ui, sans-serif; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }
.slug-row { display: flex; align-items: stretch; }
.slug-row input { border-radius: 11px 0 0 11px; }
.slug-row .suffix { display: flex; align-items: center; padding: 0 12px; background: var(--panel-2); border: 1px solid var(--line-2); border-left: 0;
  border-radius: 0 11px 11px 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.hint-ok { color: var(--good); } .hint-bad { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.human-check { margin: 4px 0 14px; min-height: 65px; }

/* cards & panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card h2, .card h3 { margin-top: 0; }
.auth { padding: 56px 0; }
.auth .card { padding: 30px 28px; box-shadow: var(--shadow); }
.auth h1 { font-size: 28px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.notice { border-radius: 12px; padding: 12px 15px; margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.notice.ok { background: rgba(62, 207, 142, .1); border-color: rgba(62, 207, 142, .4); }
.notice.bad { background: rgba(255, 92, 108, .1); border-color: rgba(255, 92, 108, .45); }
.notice.info { background: rgba(91, 140, 255, .1); border-color: rgba(91, 140, 255, .4); }
.notice.warn { background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .45); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.good { color: var(--good); border-color: rgba(62, 207, 142, .45); background: rgba(62, 207, 142, .1); }
.pill.warn { color: var(--warn); border-color: rgba(245, 165, 36, .45); background: rgba(245, 165, 36, .1); }
.pill.bad { color: var(--bad); border-color: rgba(255, 92, 108, .45); background: rgba(255, 92, 108, .1); }
.pill.info { color: #8fb0ff; border-color: rgba(91, 140, 255, .45); background: rgba(91, 140, 255, .1); }
.bar { height: 8px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ff8a5c); border-radius: 99px; }
.bar.warn > span { background: var(--warn); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 700; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: rgba(255, 255, 255, .015); }
.table-wrap { overflow-x: auto; }
.empty { padding: 30px; text-align: center; color: var(--faint); }

/* landing page */
.hero { padding: 80px 0 40px; text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 620px; z-index: -1;
  background: radial-gradient(closest-side, rgba(229, 56, 79, .28), transparent 70%); filter: blur(20px); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); max-width: 860px; margin: 0 auto 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff5a6e, #ff9a6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .row { justify-content: center; }
.beta-tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 99px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #ff9aa8; font-weight: 700; font-size: 13px; margin-bottom: 22px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 30px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: #ff8091; margin-bottom: 14px; font-size: 20px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.section { padding: 56px 0 0; }
.section > .wrap > h2 { text-align: center; font-size: 30px; }
.section > .wrap > p.sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 10px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.steps li { list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--accent-2); color: #fff; margin-bottom: 12px; font-size: 14px; }
.steps { padding: 0; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }
.cta { text-align: center; background: linear-gradient(135deg, rgba(229, 56, 79, .18), rgba(255, 138, 92, .08)); border: 1px solid var(--accent-line);
  border-radius: 20px; padding: 44px 24px; margin-top: 56px; }

/* account */
.status-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.status-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 5px rgba(255,255,255,.04); }
.status-card .dot.on { background: var(--good); box-shadow: 0 0 0 5px rgba(62, 207, 142, .15); }
.status-card .dot.warn { background: var(--warn); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 26px 0 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.qr { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; line-height: 0; }
.qr > svg { width: 260px; height: 260px; max-width: 70vw; max-height: 70vw; display: block; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font: 16px ui-monospace, monospace; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.thread .msg { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; }
.thread .msg.admin { border-color: var(--accent-line); background: linear-gradient(0deg, var(--accent-soft), var(--accent-soft)), var(--panel); }
.thread .who { font-size: 12px; color: var(--faint); margin-bottom: 4px; white-space: normal; }

/* guides */
.guides-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding-top: 34px; }
.guides-side { position: sticky; top: 84px; align-self: start; font-size: 14px; }
.guides-side h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin: 18px 0 6px; }
.guides-side a { display: block; color: var(--muted); padding: 5px 10px; border-radius: 8px; }
.guides-side a.on, .guides-side a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 26px; }
.guide-item { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--text); }
.guide-item:hover { border-color: var(--accent-line); text-decoration: none; }
.guide-item b { display: block; margin-bottom: 3px; }
.guide-item span { color: var(--muted); font-size: 13px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose ol > li::marker { color: var(--accent); font-weight: 800; }
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; color: var(--muted); }
.prose blockquote p:last-child { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose img { border-radius: 12px; border: 1px solid var(--line); margin: 8px 0; }
.prose th { background: var(--panel); }
.prose code { font-size: .88em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose dt { font-weight: 700; margin-top: 1.1em; }
.prose dd { margin: .2em 0 0; color: var(--muted); }
.prose kbd { font: 12px ui-monospace, monospace; background: var(--panel); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }
.prose table { display: block; overflow-x: auto; }
.guide-item b .gi { margin-right: 8px; color: inherit; font-size: inherit; }
.search-box { display: flex; gap: 8px; margin-bottom: 22px; }

/* admin */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: var(--bg-2); border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 4px 8px 18px; font-size: 16px; }
.admin-side .brand small { display: block; color: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.admin-side a { display: flex; justify-content: space-between; color: var(--muted); padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: 14px; }
.admin-side a:hover, .admin-side a.on { background: var(--panel-2); color: var(--text); text-decoration: none; }
.admin-side .count { background: var(--accent-2); color: #fff; border-radius: 99px; padding: 0 8px; font-size: 12px; }
.admin-main { padding: 26px 30px 60px; min-width: 0; }
.admin-main h1 { font-size: 26px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat .l { color: var(--faint); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-size: 26px; font-weight: 800; }
.inline-form { display: inline; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pre { white-space: pre-wrap; word-break: break-word; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; }

@media (max-width: 860px) {
  .guides-layout { grid-template-columns: 1fr; }
  .guides-side { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .nav a.hide-m { display: none; }
  .admin-main { padding: 20px 16px 50px; }
}
@media (max-width: 420px) {
  .nav { gap: 2px; }
  .nav a { padding: 8px 8px; font-size: 13px; }
}

/* ===== v5.0 landing page ===== */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 36px; }
.lp-hero::before { content: ""; position: absolute; z-index: -1; inset: -30% -20% auto 30%; height: 760px;
  background: radial-gradient(closest-side, rgba(229, 56, 79, .32), transparent 72%); filter: blur(30px); }
.lp-hero::after { content: ""; position: absolute; z-index: -1; inset: 30% 50% auto -20%; height: 600px;
  background: radial-gradient(closest-side, rgba(145, 70, 255, .18), transparent 72%); filter: blur(30px); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff4d61, #ff9a6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 0 0 26px; max-width: 560px; }
.lp-ctas { gap: 12px; }
.lp-ctas .btn .ic-discord, .lp-new .btn .ic-discord { width: 20px; height: 20px; }
.lp-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.lp-hero-shot { position: relative; padding: 0 0 40px 30px; }
.lp-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 120px -30px rgba(229, 56, 79, .55);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.lp-browser img { display: block; width: 100%; height: auto; }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.lp-browser-bar i:nth-child(1) { background: #ff5f57; } .lp-browser-bar i:nth-child(2) { background: #febc2e; } .lp-browser-bar i:nth-child(3) { background: #28c840; }
.lp-browser-bar span { margin-left: 10px; font-size: 12px; color: var(--faint); background: var(--bg-2); padding: 3px 12px; border-radius: 99px; }
.lp-float { position: absolute; height: auto; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .75); }
.lp-float-a { width: 46%; left: -6%; bottom: -4px; transform: rotate(-3deg); }
.lp-float-b { width: 40%; right: -4%; top: -28px; transform: rotate(3deg); }
.lp-strip { padding: 10px 0 0; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.lp-stats div { text-align: center; }
.lp-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #ffb3bd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stats span { color: var(--muted); font-size: 13px; font-weight: 600; }
.lp-section { padding: 72px 0 0; }
.lp-eyebrow { color: #ff7a8c; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.lp-h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 12px; }
.lp-sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto 10px; }
.lp-spot { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 72px; }
.lp-spot.flip .lp-spot-text { order: 2; }
.lp-spot h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; margin: 0 0 12px; }
.lp-spot p { color: var(--muted); font-size: 16px; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lp-ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.lp-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: #ff7a8c; font-size: 11px; font-weight: 900; }
.lp-spot-text > a { font-weight: 700; }
.lp-spot-img { position: relative; }
.lp-spot-img::before { content: ""; position: absolute; inset: 8% 6%; z-index: -1; background: radial-gradient(closest-side, rgba(229, 56, 79, .35), transparent); filter: blur(30px); }
.lp-spot-img img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.lp-spot-img.lp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.lp-spot-img.lp-pair img:last-child { transform: translateY(24px); }
.lp-spot-img.lp-tall img { max-width: 400px; margin: 0 auto; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 30px; }
.lp-item { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: border-color .15s, transform .15s; }
.lp-item:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.lp-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.lp-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.lp-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); font-size: 18px; }
.lp-new { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 34px;
  background: linear-gradient(135deg, rgba(229, 56, 79, .14), rgba(145, 70, 255, .08)); border: 1px solid var(--accent-line); border-radius: 22px; }
.lp-newlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-newlist li { display: flex; gap: 12px; align-items: flex-start; }
.lp-newlist b { display: block; }
.lp-newlist span:not(.lp-ic) { color: var(--muted); font-size: 13.5px; }
.lp-community { display: flex; align-items: center; gap: 22px; margin-top: 64px; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, rgba(88, 101, 242, .2), rgba(88, 101, 242, .06));
  border: 1px solid rgba(88, 101, 242, .45); }
.lp-community h2 { margin: 0 0 4px; }
.lp-community p { margin: 0; }
.lp-community > div:nth-child(2) { flex: 1; }
.lp-community-ic { width: 60px; height: 60px; border-radius: 16px; background: #5865f2; display: grid; place-items: center; color: #fff; flex: none; }
.lp-community-ic .ic-discord { width: 34px; height: 34px; }
.lp-community .btn { background: #5865f2; }
.lp-community .btn:hover { background: #6f7bf7; }
.nav-discord { display: inline-flex; align-items: center; gap: 6px; }
.nav-discord .ic-discord { width: 17px; height: 17px; }
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero-shot { padding: 10px 6px 30px; }
  .lp-browser { transform: none; }
  .lp-spot, .lp-new { grid-template-columns: 1fr; gap: 28px; }
  .lp-spot.flip .lp-spot-text { order: 0; }
  .lp-newlist { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-hero { padding-top: 36px; }
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-float-a { width: 52%; left: -2%; } .lp-float-b { width: 46%; right: -2%; top: -18px; }
  .lp-community { flex-direction: column; text-align: center; }
  .lp-new { padding: 22px; }
  .lp-spot { margin-top: 52px; }
}

/* v5.1.2: radio choices (admin Bots page) */
.choice { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.choice input { margin-top: 4px; accent-color: var(--accent, #e5384f); }

/* ===== 6.0 ===== */
.nav-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
a.beta-tag:hover { text-decoration: none; border-color: var(--accent); }
.page-pad { padding-top: 48px; }
.eyebrow { color: #ff7a8c; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.lead-s { font-size: 16px; max-width: 680px; }

/* footer */
.foot-grid { display: grid !important; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; align-items: start !important; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid b { color: var(--text); font-size: 13px; margin-bottom: 2px; }
.foot-brand p { margin: 4px 0 0; color: var(--faint); max-width: 300px; }
.foot-brand .brand { font-size: 16px; }
.foot-brand .brand img { width: 26px; height: 26px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* home: new in 6 */
.lp-new6 { padding-top: 40px; }
.lp-new6 .wrap { background: linear-gradient(160deg, rgba(229, 56, 79, .12), var(--panel) 45%); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.lp-new6-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-new6-head .lp-h2 { margin: 0; }
.lp-new6-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lp-new6-item { display: flex; flex-direction: column; gap: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.lp-new6-item .lp-ic { margin-bottom: 6px; }
.lp-new6-item b { font-size: 15px; }
.lp-new6-item span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 560px) { .lp-new6 .wrap { padding: 20px; border-radius: 0; border-left: 0; border-right: 0; } }

/* home: showcase strip */
.lp-sc { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 26px 0 16px; }
.lp-sc a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: center; }
.lp-sc a:hover { text-decoration: none; color: var(--text); }
.lp-sc img, .lp-sc span { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line-2); object-fit: cover; display: grid; place-items: center; background: var(--panel-2); font-size: 24px; color: var(--text); }
.lp-sc a.live img, .lp-sc a.live span { border-color: #e5384f; box-shadow: 0 0 0 3px rgba(229, 56, 79, .3); }
.lp-sc b { font-weight: 600; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* changelog */
.cl-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; }
.cl-jump a { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.cl-jump a:hover { text-decoration: none; color: var(--text); border-color: var(--accent-line); }
.cl-ver { border-top: 1px solid var(--line); padding: 26px 0 6px; scroll-margin-top: 80px; }
.cl-ver h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.cl-ver h2 a { color: var(--text); }
.cl-ver ul { padding-left: 20px; margin: 0; color: var(--muted); }
.cl-ver li { margin-bottom: 10px; line-height: 1.6; }
.cl-ver li b { color: var(--text); }
.cl-major h2 { font-size: 28px; }

/* roadmap */
.rm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.rm-col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rm-head h2 { font-size: 18px; margin: 0 0 2px; }
.rm-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; scroll-margin-top: 90px; }
.rm-item p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.rm-vote button { display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 6px 4px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--muted); font: 700 12px Inter, sans-serif; cursor: pointer; line-height: 1.1; }
.rm-vote button b { font-size: 15px; color: var(--text); }
.rm-vote button:hover:not([disabled]) { border-color: var(--accent); }
.rm-vote button.on { background: var(--accent-soft); border-color: var(--accent); color: #ff8a9a; }
.rm-vote button[disabled] { cursor: default; }
.rm-empty { padding: 10px 2px; margin: 0; }
.rm-done { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rm-done:first-of-type { border-top: 0; }
@media (max-width: 900px) { .rm-cols { grid-template-columns: 1fr; } }

/* status */
.st-banner { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 16px; border: 1px solid; margin: 8px 0 18px; }
.st-banner h1 { font-size: 24px; margin: 0; }
.st-banner .st-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.st-banner.good { background: rgba(62, 207, 142, .08); border-color: rgba(62, 207, 142, .4); } .st-banner.good .st-dot { background: var(--good); box-shadow: 0 0 0 6px rgba(62, 207, 142, .18); }
.st-banner.warn { background: rgba(245, 165, 36, .08); border-color: rgba(245, 165, 36, .45); } .st-banner.warn .st-dot { background: var(--warn); }
.st-banner.bad { background: rgba(255, 92, 108, .08); border-color: rgba(255, 92, 108, .45); } .st-banner.bad .st-dot { background: var(--bad); }
.st-banner.info { background: rgba(91, 140, 255, .08); border-color: rgba(91, 140, 255, .4); } .st-banner.info .st-dot { background: var(--info); }
.st-mine { margin-bottom: 16px; }
.st-mine .small { margin-top: 6px; }
.st-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.st-row:first-child { border-top: 0; }
.st-c { width: 10px; height: 10px; border-radius: 50%; }
.st-c.good { background: var(--good); } .st-c.warn { background: var(--warn); }
.st-days { display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; height: 34px; }
.st-days span { border-radius: 2px; background: var(--line); }
.st-days span.good { background: var(--good); } .st-days span.warn { background: var(--warn); } .st-days span.bad { background: var(--bad); }
.st-legend { display: flex; justify-content: space-between; margin-top: 6px; }
.st-past { padding: 12px 0; border-top: 1px solid var(--line); }
.st-past p { margin: 4px 0 0; }

/* showcase cards (home page and /showcase): Twitch's live preview (or the channel's offline picture) on top */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.sc-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.sc-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.sc-card.live { border-color: rgba(233, 25, 22, .5); }
.sc-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 60% 22%) 70%); }
.sc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-cover .sc-wash { filter: blur(26px) saturate(1.5) brightness(.8); transform: scale(1.5); }
.sc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%, transparent 70%, rgba(0, 0, 0, .3)); pointer-events: none; }
.sc-card:hover .sc-shot { transform: scale(1.03); }
.sc-shot { transition: transform .4s; }
.sc-tags { position: absolute; z-index: 1; left: 12px; top: 12px; display: flex; gap: 6px; }
.sc-badge, .sc-count { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; color: #fff; }
.sc-badge { background: #e91916; }
.sc-count { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); font-weight: 700; }
.sc-id { display: flex; align-items: flex-start; gap: 12px; padding: 0 18px; margin-top: -26px; position: relative; z-index: 1; }
.sc-face { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; text-decoration: none !important;
  background: hsl(var(--h) 45% 30%); box-shadow: 0 0 0 4px var(--panel); font: 800 26px var(--display); color: #fff; }
.sc-face img { width: 100%; height: 100%; object-fit: cover; }
.sc-card.live .sc-face { box-shadow: 0 0 0 4px var(--panel), 0 0 0 6px #e91916; }
.sc-who { min-width: 0; padding-top: 32px; }
.sc-card h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-card h3 a { color: var(--text); }
.sc-now { margin: 1px 0 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-card:not(.live) .sc-now { color: var(--faint); }
.sc-about { margin: 10px 18px 0; font-size: 14px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-acts { display: flex; gap: 8px; margin: auto 0 0; padding: 16px 18px 18px; flex-wrap: wrap; }
.sc-acts .btn { flex: 1; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .sc-card, .sc-shot { transition: none; } .sc-card:hover { transform: none; } .sc-card:hover .sc-shot { transform: none; } }
.sc-page-head { max-width: 720px; }
.sc-page-head .lead-s { font-size: 17px; }
.sc-how { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--muted); }
.sc-how b { color: var(--text); }


/* theme gallery */
.th-bar { display: flex; gap: 10px; margin: 22px 0 18px; max-width: 620px; }
.th-bar input { flex: 1; } .th-bar select { width: auto; }
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.th-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 90px; }
.th-card:target { border-color: var(--accent); }
.th-card p { margin: 2px 0; }
.th-card .btn { align-self: flex-start; margin-top: 8px; }
.th-swatches { display: flex; gap: 4px; height: 42px; margin-bottom: 6px; }
.th-swatches span { flex: 1; border-radius: 8px; }
.th-swatches span.none { background: repeating-linear-gradient(45deg, var(--panel-2) 0 8px, var(--bg-2) 8px 16px); }

/* sign-in door (team sign-in) */
.door { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.door-opt { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); }
.door-opt:hover { text-decoration: none; border-color: var(--accent); background: var(--panel-2); }
.door-opt b { font-size: 16px; }
.door-opt span { font-size: 14px; }
.grid2 > .card + .card, .grid3 > .card + .card { margin-top: 0; }
.mnav { display: none; }
@media (max-width: 860px) {
  .mnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 12px 8px; }
  .mnav a { color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
  .mnav a.on, .mnav a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
}
.admin-group { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 4px; }
.adm-item + .adm-item { margin-top: 10px; }
.adm-sw { display: inline-flex; gap: 2px; } .adm-sw i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.nowrap { white-space: nowrap; }
.adm-todo { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.adm-todo a { background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .45); color: var(--text); padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.adm-todo a:hover { text-decoration: none; border-color: var(--warn); }

/* 6.1.2: the status dot (menu and footer), and a slightly tighter menu on mid-size screens */
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--good); box-shadow: 0 0 0 3px rgba(62, 207, 142, .18); }
.st-dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(245, 165, 36, .2); }
.st-dot.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(255, 92, 108, .2); }
.st-dot.info { background: var(--info); box-shadow: 0 0 0 3px rgba(91, 140, 255, .2); }
.foot-status { display: inline-flex; align-items: center; margin: 4px 0 10px; color: var(--muted) !important; font-size: 13px; }
@media (max-width: 1120px) { .nav a.hide-mid { display: none; } }
@media (max-width: 1180px) { body.site .nav a { padding: 8px 10px; } }
