:root {
  --bg: #0b0c0e;
  --bg-2: #121316;
  --panel: #131416;
  --panel-2: #1a1c20;
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4f1ea;
  --muted: #9a9da4;
  --blue: #3b7ef0;
  --blue-2: #6ea2ff;
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 78% -8%, rgba(59, 126, 240, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 70%);
  background-attachment: fixed;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: 0.1px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: #3b7ef0;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(59, 126, 240, 0.4);
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-logo { height: 38px; filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 6px rgba(255, 140, 0, 0.35)); width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #3b7ef0; color: #fff; box-shadow: 0 8px 24px rgba(59, 126, 240, 0.30); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(59, 126, 240, 0.10); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(248, 113, 113, 0.45); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.1); }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* hero */
.hero { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: center; padding: 48px 0 72px; }
.eyebrow { color: #3b7ef0; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
h1 { font-size: clamp(44px, 6.8vw, 92px); line-height: 1.02; margin: 0 0 20px; letter-spacing: -0.02em; }
h1 .accent { color: transparent; -webkit-text-stroke: 2.5px #3b7ef0; display: inline-block; }
.lead { color: var(--muted); font-size: 21px; max-width: 24em; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pill .dot.amber { background: #fbbf24; }
.note { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: #e6edfa; background: rgba(59, 126, 240, 0.12); border: 1px solid rgba(110, 162, 255, 0.35); }

.hero-art { position: relative; text-align: center; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 126, 240, 0.22), transparent 72%);
  filter: blur(18px);
}
.hero-art img {
  position: relative; display: block; width: 100%; height: auto;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
}
.caption { position: relative; margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.015em; }
.sub { color: var(--muted); font-size: 17px; max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(59, 126, 240, 0.16); color: var(--blue-2);
}
.icon svg { width: 20px; height: 20px; }
.bsteps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bstep { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); font-weight: 700; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.bstep p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cta-band { text-align: center; padding: 72px 0 56px; border-top: 1px solid var(--line); }
footer { padding: 28px 0 44px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }
footer p { margin: 0 0 6px; max-width: 60em; }

/* dashboard */
.dash { padding: 8px 0 64px; }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: 0; }
.panel .hint { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.center-card { max-width: 460px; margin: 60px auto; text-align: center; }
.center-card h1 { font-size: 30px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.user { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--panel-2); object-fit: cover; }
input[type=text] {
  background: #0b0c0e; color: var(--text); border: 1px solid var(--line); border-radius: 9px;
  padding: 11px 13px; font: inherit; font-size: 15.5px; width: 100%; min-width: 0;
}
input[type=text]:focus { outline: 2px solid rgba(110, 162, 255, 0.6); border-color: transparent; }
label.field { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 24px; letter-spacing: 0.12em;
  background: #0b0c0e; border: 1px dashed rgba(110, 162, 255, 0.5); border-radius: 10px; padding: 12px 18px; user-select: all;
}
.chan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.chan { display: flex; align-items: center; gap: 10px; }
.chan .key {
  flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  background: #23252a; border: 1px solid var(--line); font-weight: 700;
}
.chan .saved { color: var(--green); font-size: 13px; width: 50px; flex: none; opacity: 0; transition: opacity 0.2s; }
.chan .saved.on { opacity: 1; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .meta { color: var(--muted); font-size: 13.5px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(59, 126, 240, 0.18); color: var(--blue-2); margin-left: 8px; }
.msg { margin: 12px 0 0; font-size: 14.5px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }
.empty { color: var(--muted); font-size: 15px; margin: 0; }
details.help { margin-top: 12px; color: var(--muted); font-size: 14px; }
details.help summary { cursor: pointer; color: var(--blue-2); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .chan-grid { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  .nav a:not([data-webradio]):not([href="/dashboard"]) { display: none; }
  .brand { white-space: nowrap; font-size: 16px; }
}

/* coloured feature cards */
.card.c {
  background: linear-gradient(155deg, color-mix(in srgb, var(--c) 38%, #0b0c0e), color-mix(in srgb, var(--c) 12%, #0b0c0e));
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 14%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card.c:hover { transform: translateY(-3px); box-shadow: 0 16px 38px color-mix(in srgb, var(--c) 28%, transparent); }
.card.c .icon { background: var(--c); color: var(--ic, #fff); box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 50%, transparent); }
.card.c p { color: #e4e5e8; }

/* live radio showcase */
.big { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 0 0 36px; letter-spacing: -0.03em; }
.big .outline { display: block; color: transparent; -webkit-text-stroke: 2.5px #3b7ef0; }
.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: stretch; }
.sc-list { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.sc-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--muted); font: inherit; font-size: 15px; font-weight: 600;
}
.sc-item:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.sc-item.on { color: #fff; background: linear-gradient(90deg, rgba(59, 126, 240, 0.22), rgba(59, 126, 240, 0.10)); border-color: rgba(110, 162, 255, 0.6); }
.sc-item .ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #23252a; color: var(--blue-2); }
.sc-item.on .ico { background: var(--blue); color: #fff; }
.sc-item svg { width: 18px; height: 18px; }
.sc-item .arrow { margin-left: auto; opacity: 0; }
.sc-item.on .arrow { opacity: 1; }
.sc-stage { border-radius: var(--radius); border: 1px solid var(--line); background: #0b0c0e; overflow: hidden; display: flex; flex-direction: column; }
.sc-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #101114; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sc-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.sc-bar i:nth-child(2) { background: #facc15; }
.sc-bar i:nth-child(3) { background: #22c55e; margin-right: 8px; }
.sc-stage img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; pointer-events: none; user-select: none; }
.sc-cap { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; padding: 18px 22px; background: #0e0f12; border-top: 1px solid var(--line); }
.sc-cap h3 { margin: 0; font-size: 18px; min-width: 170px; }
.sc-cap p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; min-width: 220px; }
@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; }
  .sc-list { display: grid; grid-template-columns: 1fr 1fr; }
  .sc-item .arrow { display: none; }
  .sc-item { font-size: 14px; padding: 10px; }
}

/* the hidden attribute must always win, even on elements styled with display */
[hidden] { display: none !important; }

/* Discord Bot button in the header */
.nav a.nav-bot { padding: 8px 16px; border-radius: 99px; background: #5865f2; color: #fff; font-weight: 600; }
.nav a.nav-bot:hover { filter: brightness(1.1); color: #fff; }
@media (max-width: 720px) { .nav a.nav-bot { display: inline-block !important; padding: 6px 12px; } }

/* header divider */
.topbar { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nav a.nav-bot { background: #5865f2; }

.nav a.nav-avatar { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #3b7ef0; margin-right: -6px; }
.nav a.nav-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .nav a.nav-avatar { display: inline-flex !important; width: 28px; height: 28px; margin-right: -4px; } }

/* scroll effects */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #3b7ef0, #7aa7ff); pointer-events: none; }
.topbar.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.hero { --drift: 0px; }
.hero > *:last-child { transform: translateY(var(--drift)); will-change: transform; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* zoom reveal glow behind the demo */
.demo-wrap { position: relative; --zg: 1; }
.demo-wrap::before { content: ""; position: absolute; left: 50%; top: 55%; width: 90%; aspect-ratio: 1; max-width: 900px; transform: translate(-50%, -50%) scale(calc(.4 + var(--zg) * .6)); background: radial-gradient(closest-side, rgba(59,126,240,.28), transparent); opacity: var(--zg); pointer-events: none; z-index: -1; }
.demo-pair { perspective: none; }

/* ER:LC key box and bot steps */
.keybox { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-top: 14px; }
.keybox .keystatus { margin: 0 0 12px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.keybox .keystatus::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5b6068; flex: none; }
.keybox.on .keystatus::before { background: #3ddc84; }
.keybox .hint.small { font-size: 12.5px; margin: 12px 0 0; }
input.keyinput { width: 100%; box-sizing: border-box; background: #0c0d0f; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--text, #eee); font: 15px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
input.keyinput:focus { outline: 2px solid rgba(110,162,255,.6); border-color: transparent; }
.bsteps { display: grid; gap: 12px; margin: 14px 0 18px; }
.bstep { display: flex; gap: 14px; align-items: flex-start; }
.bstep .bn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.bstep.off { opacity: .5 } .bstep.off .bn { background: #3a3d44 }
.bstep p { margin: 2px 0 0 }

/* Download button hover: lift, glow, a light sweep and a nudging arrow */
.btn[data-download] { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, filter 0.25s ease; }
.btn[data-download]::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left 0.7s ease; }
.btn[data-download] svg { transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.btn-primary[data-download]:hover { filter: none; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(59, 126, 240, 0.55), 0 0 0 1px rgba(160, 196, 255, 0.5); }
.btn[data-download]:hover::after { left: 130%; }
.btn[data-download]:hover svg { transform: translateY(2px); animation: dl-nudge 0.9s ease-in-out infinite; }
@keyframes dl-nudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .btn[data-download], .btn[data-download]::after, .btn[data-download] svg { transition: none; animation: none !important; } .btn[data-download]:hover svg { animation: none; } }

/* Live Radio: vertical scrolling gallery that advances every 5 seconds */
.sc-viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0c0e; }
.sc-track { display: flex; flex-direction: column; height: 500%; transition: transform 0.95s cubic-bezier(0.65, 0, 0.2, 1); will-change: transform; }
.sc-track img { flex: 0 0 20%; width: 100%; height: 20%; aspect-ratio: auto; object-fit: cover; }
.sc-cap h3, .sc-cap p { transition: opacity 0.22s ease, transform 0.22s ease; }
.sc-cap.swap h3, .sc-cap.swap p { opacity: 0; transform: translateY(6px); }
.sc-item { position: relative; overflow: hidden; }
.sc-item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #3b7ef0, #8cb6ff); transform: scaleX(0); transform-origin: left; border-radius: 0 3px 3px 0; }
.sc-item.on.run::after { animation: sc-fill var(--sc-ms, 5000ms) linear forwards; }
@keyframes sc-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .sc-track { transition: none; } .sc-item.on.run::after { animation: none; transform: scaleX(1); } }

/* ---------- Dashboard: My Networks cards, network pages, settings ---------- */
.listbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 22px; }
.listbar h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0; font-size: 15px; }
.rbpill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #d6dbe4; font: inherit; font-size: 13.5px; cursor: pointer; }
.rbpill:hover { border-color: var(--blue-2); }
.rbpill i { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.rbpill i.on { background: #34d399; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ncard { position: relative; display: flex; flex-direction: column; background: #111317; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.ncard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.nban { position: relative; height: 104px; overflow: hidden; }
.nban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #111317); }
.nlogo { position: relative; display: grid; place-items: center; overflow: hidden; width: 60px; height: 60px; border-radius: 16px; font-weight: 800; font-size: 22px; color: #fff; flex: none; border: 3px solid #111317; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); }
.nlogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nlogo.overlap { position: absolute; left: 20px; top: 70px; z-index: 2; }
.nlogo.big { width: 72px; height: 72px; font-size: 26px; border-color: rgba(255, 255, 255, 0.12); }
.nlogo.xl { width: 88px; height: 88px; font-size: 32px; border-radius: 22px; border-color: rgba(255, 255, 255, 0.12); }
.nbody { padding: 38px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nname { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nname h3 { margin: 0; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255, 138, 0, 0.14); color: #ffb35c; border: 1px solid rgba(255, 138, 0, 0.4); flex: none; }
.ntag.a { background: rgba(59, 126, 240, 0.14); color: #8cb6ff; border-color: rgba(59, 126, 240, 0.4); }
.ndisc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ndisc b { color: #9aa6ff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dico { width: 15px; height: 15px; flex: none; background: #7983f5; border-radius: 4px; }
.nstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nstats > div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.nstats b { display: block; font-size: 18px; }
.nstats b.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-right: 6px; vertical-align: middle; }
.nstats span { font-size: 11.5px; color: var(--muted); }
.nstats.tiles b { font-size: 26px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: #c8cfda; }
.chip.f { background: rgba(174, 224, 12, 0.12); border-color: rgba(174, 224, 12, 0.45); color: #c7ee3b; }
.nact { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.nact .btn { flex: 1; justify-content: center; }
.nact .nic { flex: 0 0 auto; padding-left: 14px; padding-right: 14px; }
.drawer { margin-bottom: 18px; }
.crumb { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.crumb a { color: var(--blue-2); }
.nhead { display: flex; gap: 18px; align-items: center; margin-bottom: 4px; }
.nhead h1 { margin: 0 0 2px; font-size: 30px; letter-spacing: -0.01em; }
.ntabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 24px; overflow-x: auto; }
.ntabs a { padding: 11px 16px; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.ntabs a:hover { color: var(--text); }
.ntabs a.on { color: #fff; border-color: var(--blue); }
.cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.logoset { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.logoside { display: grid; gap: 10px; flex: 1; min-width: 240px; }
.swrow { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: 13.5px; color: #c7cdff; background: rgba(88, 101, 242, 0.12); border: 1px solid rgba(88, 101, 242, 0.5); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.swrow .dim { opacity: 0.75; font-size: 12.5px; }
.swrow .sw { width: 38px; height: 22px; border-radius: 12px; background: #3a3f55; position: relative; flex: none; transition: background 0.2s; }
.swrow .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.swrow.on .sw { background: var(--blue); }
.swrow.on .sw::after { transform: translateX(16px); }
.nban.pick { height: 84px; border-radius: 12px; border: 1px solid var(--line); }
.nban.pick::after { display: none; }
.gbox { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.gbox.ok { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.45); color: #b8f2d8; }
select { background: #0c0d0f; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text, #eee); font: inherit; font-size: 14px; width: 100%; }
.dz { border-color: rgba(248, 113, 113, 0.4); }
.dz h2 { color: #f87171; }
.previewbox .ncard:hover { transform: none; box-shadow: none; }
.hint.small { font-size: 12.5px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .nhead h1, .listbar h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .ncard { transition: none; } .ncard:hover { transform: none; } }

/* ---- Dashboard: flat and quiet (overrides the first pass above) ---- */
.dash { --dline: rgba(255, 255, 255, 0.08); }
.dash .panel { background: #131416; border: 1px solid var(--dline); border-radius: 10px; padding: 22px; }
.dash .panel h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.dash .panel .hint { font-size: 14px; }
.dash .btn { border-radius: 8px; font-weight: 600; }
.dash .btn-primary { box-shadow: none; }
.dash .btn-ghost { border-color: rgba(255, 255, 255, 0.16); }
.dash .btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }
.dash input[type=text], .dash select { border-radius: 8px; background: #0e0f11; }
.dash input[type=text]:focus { outline: 0; border-color: var(--blue); }
.dash .listbar h1, .dash .nhead h1 { font-weight: 650; letter-spacing: 0; }
.dash .rbpill { border-radius: 8px; background: transparent; }
.dash .rbpill:hover { border-color: rgba(255, 255, 255, 0.3); }
.dash .ngrid { gap: 16px; }
.dash .ncard { background: #131416; border: 1px solid var(--dline); border-radius: 10px; transition: border-color 0.15s ease; }
.dash .ncard:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.22); }
.dash .nban { height: 88px; }
.dash .nban::after { display: none; }
.dash .nlogo { border-radius: 10px; border: 3px solid #131416; box-shadow: none; font-weight: 700; }
.dash .nlogo.overlap { top: 58px; }
.dash .nlogo.big, .dash .nlogo.xl { border-color: var(--dline); }
.dash .nbody { padding: 36px 18px 18px; gap: 10px; }
.dash .nname h3 { font-size: 17px; font-weight: 600; }
.dash .ntag, .dash .ntag.a { background: none; border: 0; padding: 0; border-radius: 0; font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }
.dash .ndisc b { color: var(--text); font-weight: 500; }
.dash .dico { background: #5865f2; border-radius: 3px; width: 12px; height: 12px; }
.dash .nstats { gap: 0; border: 1px solid var(--dline); border-radius: 8px; overflow: hidden; }
.dash .nstats > div { background: none; border: 0; border-radius: 0; border-left: 1px solid var(--dline); padding: 9px 12px; }
.dash .nstats > div:first-child { border-left: 0; }
.dash .nstats b { font-size: 17px; font-weight: 600; }
.dash .nstats b.live::before { width: 6px; height: 6px; }
.dash .nstats.tiles { gap: 12px; border: 0; border-radius: 0; overflow: visible; }
.dash .nstats.tiles > div { border: 1px solid var(--dline); border-radius: 10px; padding: 14px 16px; }
.dash .nstats.tiles b { font-size: 26px; font-weight: 600; }
.dash .chip { background: none; border-radius: 6px; color: var(--muted); padding: 2px 8px; }
.dash .chip.f { background: none; border-color: rgba(174, 224, 12, 0.35); color: #bfe433; }
.dash .ntabs { gap: 2px; border-bottom: 1px solid var(--dline); }
.dash .ntabs a { padding: 10px 14px; font-size: 14px; }
.dash .ntabs a.on { border-color: var(--text); color: var(--text); }
.dash .crumb a { color: var(--muted); }
.dash .crumb a:hover { color: var(--text); }
.dash .swrow { background: transparent; border: 1px solid var(--dline); color: var(--text); border-radius: 8px; }
.dash .swrow:hover { border-color: rgba(255, 255, 255, 0.25); }
.dash .swrow.on { border-color: rgba(255, 255, 255, 0.35); }
.dash .swrow .sw { background: #3a3d44; }
.dash .gbox, .dash .gbox.ok { background: none; border: 1px solid var(--dline); border-radius: 8px; color: var(--muted); }
.dash .gbox.ok { color: var(--text); }
.dash .nban.pick { border-radius: 8px; }
.dash .tag { background: none; border: 1px solid var(--dline); color: var(--muted); border-radius: 6px; }
.dash .code { border-radius: 8px; border: 1px solid var(--dline); background: #0e0f11; }
.dash .chan .key { border-radius: 6px; background: #1b1d21; }
.dash .dz { border-color: rgba(248, 113, 113, 0.3); }
.dash .dz h2 { color: var(--red); }
.dash .teamrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; cursor: pointer; }
.dash .teamrow input { width: 16px; height: 16px; accent-color: var(--blue); }
.dash .teamsbox { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dline); }
.dash .teamsbox .btn { margin-top: 10px; }
body:has(main.dash) { background-image: none; background: var(--bg); }

/* Plus tab */
.nav a.nav-plus { padding: 7px 15px; border-radius: 99px; border: 1px solid rgba(240, 192, 80, 0.55); color: #f0c050; font-weight: 600; }
.nav a.nav-plus:hover { background: rgba(240, 192, 80, 0.1); color: #f5d27a; }
@media (max-width: 720px) { .nav a.nav-plus { display: inline-block !important; padding: 5px 11px; } }
.nav a.nav-bot, .nav a.nav-plus { white-space: nowrap; }
@media (max-width: 520px) {
  .nav { gap: 8px; font-size: 13px; }
  .nav a.nav-bot, .nav a.nav-plus { padding: 5px 10px; }
  .topbar .brand span { display: none; }
}

.dash .plusbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid rgba(240, 192, 80, 0.35); border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; background: rgba(240, 192, 80, 0.05); }
.dash .plusbar .gold { color: #f0c050; }
.dash .plusbar .sub { color: var(--muted); }
.dash .plusbar .msg { margin: 0; flex-basis: 100%; }
.dash .ntag.plus, .ntag.plus { color: #f0c050; font-weight: 700; }
.ntag.plus::before { content: '+'; margin-right: 2px; }
.btn.btn-plus { background: none; border: 1px solid rgba(240, 192, 80, 0.55); color: #f0c050; font-weight: 600; }
.btn.btn-plus:hover { background: rgba(240, 192, 80, 0.1); }
.plusbar .row { gap: 8px; flex-wrap: wrap; }

.nav a.nav-lib { padding: 7px 15px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--text); font-weight: 600; white-space: nowrap; }
.nav a.nav-lib:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 720px) { .nav a.nav-lib { display: inline-block !important; padding: 5px 11px; } }

.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.dp-card { border: 1px solid var(--line); border-radius: 14px; background: #111317; overflow: hidden; }
.dp-card.on { border-color: rgba(110, 162, 255, 0.55); }
.dp-art { height: 190px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 80%, hsl(var(--g) 60% 22% / .55), transparent 70%), #0c0d10; }
.dp-art img { position: absolute; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); }
.dp-v { left: -2%; top: 14px; width: 68%; transform: rotate(-4deg); }
.dp-t { left: 5%; bottom: 8px; width: 42%; transform: rotate(-2deg); }
.dp-h { right: 3%; top: 16px; height: 150px; transform: rotate(6deg); }
.dp-meta { padding: 12px 14px 14px; display: grid; gap: 10px; }
.dp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dcur { font-size: 13px; color: var(--green); font-weight: 600; }
.dp-card .tg { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.dp-card .tg.free { background: rgba(52,211,153,.14); color: #6ee7b7; }
.dp-card .tg.plus { background: rgba(240,192,80,.14); color: #f0c050; }
.dp-card .tg.paid { background: rgba(110,162,255,.16); color: #9cbcff; }

.dp-title { margin: 22px 0 0; font-size: 16px; }
.dp-v1 { left: 8%; top: 52px; width: 84%; transform: rotate(-2deg); }
/* Dispatch tab */
.dash .code.off { color: var(--muted, #8b93a1); font-family: inherit; letter-spacing: 0; }
.dash .dlist { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.dash .panel h3 { margin: 18px 0 4px; font-size: 15px; }
/* Sound effects tab */
.dash .snd-list { display: grid; gap: 8px; margin-top: 12px; }
.dash .snd { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--dline); border-radius: 10px; background: #0e0f11; flex-wrap: wrap; }
.dash .snd-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; flex: 1; }
.dash .snd-info .hint { flex-basis: 100%; margin: 0; }
.dash .snd .row { margin: 0; }
.dash .snd-plus { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(240, 180, 41, .45); background: rgba(240, 180, 41, .08); margin-top: 10px; flex-wrap: wrap; }

/* profile picture sits at the far right of the menu */
.nav a.nav-avatar { margin-right: 0; margin-left: 4px; }
@media (max-width: 720px) { .nav a.nav-avatar { margin-right: 0; margin-left: 2px; } }

/* ---- v24: raised menu buttons (Discord Bot, Radio Design Library, Plus), each in its own colour ---- */
.nav a.nav-bot, .nav a.nav-lib, .nav a.nav-plus {
  display: inline-flex !important; align-items: center; gap: 7px; position: relative;
  padding: 8px 15px 8px 13px; border: 0; border-radius: 12px; font-weight: 800; white-space: nowrap; text-decoration: none;
  transform: translateY(-2px); transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.nav a.nav-bot { color: #fff !important; background: linear-gradient(180deg, #7b86ff, #5865f2); box-shadow: 0 4px 0 #3a43a8, 0 10px 22px rgba(88, 101, 242, .35); }
.nav a.nav-lib { color: #17191d !important; background: linear-gradient(180deg, #ffffff, #d9dce2); box-shadow: 0 4px 0 #8b9099, 0 10px 22px rgba(255, 255, 255, .12); }
.nav a.nav-plus { color: #1d1405 !important; background: linear-gradient(180deg, #ffe08a, #f2b43e); box-shadow: 0 4px 0 #b9811f, 0 10px 22px rgba(240, 170, 60, .35); }
.nav a.nav-bot:hover, .nav a.nav-lib:hover, .nav a.nav-plus:hover { filter: brightness(1.07); transform: translateY(-3px); }
.nav a.nav-bot:hover { background: linear-gradient(180deg, #7b86ff, #5865f2); color: #fff !important; }
.nav a.nav-lib:hover { background: linear-gradient(180deg, #ffffff, #d9dce2); color: #17191d !important; }
.nav a.nav-plus:hover { background: linear-gradient(180deg, #ffe08a, #f2b43e); color: #1d1405 !important; }
.nav a.nav-bot:active, .nav a.nav-lib:active, .nav a.nav-plus:active { transform: translateY(1px); filter: brightness(.97); }
.nav a.nav-bot:active { box-shadow: 0 1px 0 #3a43a8, 0 4px 10px rgba(88, 101, 242, .3); }
.nav a.nav-lib:active { box-shadow: 0 1px 0 #8b9099, 0 4px 10px rgba(255, 255, 255, .1); }
.nav a.nav-plus:active { box-shadow: 0 1px 0 #b9811f, 0 4px 10px rgba(240, 170, 60, .3); }
.nav a.nav-bot:focus-visible, .nav a.nav-lib:focus-visible, .nav a.nav-plus:focus-visible { outline: 2px solid #8cb6ff; outline-offset: 3px; }
.nav .nb-ico { flex: none; }
.nav a.nav-plus .nb-new { position: absolute; top: -9px; right: -10px; font: 800 9.5px/1 system-ui, sans-serif; font-style: normal; letter-spacing: .06em; background: #ef4444; color: #fff; padding: 3px 6px; border-radius: 99px; box-shadow: 0 0 0 2px #0f1013; }
@media (prefers-reduced-motion: reduce) { .nav a.nav-bot, .nav a.nav-lib, .nav a.nav-plus { transition: none; } }
@media (max-width: 900px) { .nav a.nav-bot, .nav a.nav-lib, .nav a.nav-plus { padding: 6px 11px 6px 10px; gap: 6px; font-size: 13px; } }
@media (max-width: 720px) {
  .nav a.nav-bot, .nav a.nav-lib, .nav a.nav-plus { display: inline-flex !important; padding: 6px 9px; border-radius: 10px; }
  .nav a.nav-bot span, .nav a.nav-lib span { display: none; }
  .nav a.nav-plus .nb-new { top: -8px; right: -8px; font-size: 8.5px; padding: 2px 5px; }
}

/* channel locks (Plus) */
.dash .lk-list { display: grid; gap: 8px; margin-top: 12px; }
.dash .lk { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--dline); border-radius: 10px; background: #0e0f11; flex-wrap: wrap; }
.dash .lk-head { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.dash .lk-num { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: #1c1f24; color: #dfe3ea; }
.dash .chip.lk-on { border-color: rgba(239, 68, 68, .5); color: #fca5a5; }
.dash .lk-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dash .lk-role { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 9px; border-radius: 99px; background: #17191d; border: 1px solid var(--dline); font-size: 13px; }
.dash .lk-role i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dash .lk-role.gone { opacity: .6; font-style: italic; }
.dash .lk-x { all: unset; cursor: pointer; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 15px; line-height: 1; }
.dash .lk-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dash .lk-x:focus-visible { outline: 2px solid #6ea2ff; }
.dash .lk-x[disabled] { display: none; }
.dash .lk-roles select { width: auto; min-width: 170px; padding: 6px 10px; font-size: 13px; }

/* ---- v24b: raised hero buttons (Download for Windows, Use the web radio, and the ones at the bottom), same style as the menu buttons ---- */
.hero .actions .btn, .cta-band .actions .btn {
  border: 0; border-radius: 14px; font-weight: 800; position: relative;
  transform: translateY(-3px); transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.hero .actions .btn-primary, .cta-band .actions .btn-primary { color: #fff; background: linear-gradient(180deg, #5b95ff, #3b7ef0); box-shadow: 0 5px 0 #2353a8, 0 14px 30px rgba(59, 126, 240, .38); }
.hero .actions .btn-ghost, .cta-band .actions .btn-ghost { color: #fff; background: linear-gradient(180deg, #3b3f47, #2a2d33); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 5px 0 #15161a, 0 5px 0 1px rgba(255, 255, 255, .06), 0 14px 28px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); }
.hero .actions .btn:hover, .cta-band .actions .btn:hover { filter: brightness(1.08); transform: translateY(-4px); }
.hero .actions .btn-primary:hover, .cta-band .actions .btn-primary:hover { box-shadow: 0 6px 0 #2353a8, 0 18px 36px rgba(59, 126, 240, .5); }
.hero .actions .btn-ghost:hover, .cta-band .actions .btn-ghost:hover { box-shadow: 0 6px 0 #0e0f12, 0 18px 32px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1); }
.hero .actions .btn:active, .cta-band .actions .btn:active { transform: translateY(1px); filter: brightness(.97); }
.hero .actions .btn-primary:active, .cta-band .actions .btn-primary:active { box-shadow: 0 1px 0 #2353a8, 0 6px 14px rgba(59, 126, 240, .35); }
.hero .actions .btn-ghost:active, .cta-band .actions .btn-ghost:active { box-shadow: 0 1px 0 #0e0f12, 0 6px 14px rgba(0, 0, 0, .4); }
.hero .actions .btn:focus-visible, .cta-band .actions .btn:focus-visible { outline: 2px solid #8cb6ff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .hero .actions .btn, .cta-band .actions .btn { transition: none; } }

/* ---- v26: "What's inside" cards in the same raised style as the menu buttons, each in its own colour ---- */
.card.c {
  border: 0; border-radius: 18px; color: var(--ic, #fff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 90%, #fff), var(--c));
  box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 55%, #000), 0 16px 34px color-mix(in srgb, var(--c) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
  translate: 0 -3px;
  transition: translate .15s ease, box-shadow .15s ease, filter .15s ease;
}
.card.c:hover { transform: none; translate: 0 -6px; filter: brightness(1.05); box-shadow: 0 9px 0 color-mix(in srgb, var(--c) 55%, #000), 0 22px 42px color-mix(in srgb, var(--c) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.card.c h3 { color: var(--ic, #fff); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.card.c p { color: var(--ic, #fff); font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.card.c .icon { background: rgba(255, 255, 255, .24); color: var(--ic, #fff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 rgba(0, 0, 0, .18); border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .card.c { transition: none; } }
#whats-inside .grid { margin-top: 24px; }

/* channel groups (dashboard) */
.dash .grp-list { display: grid; gap: 10px; }
.dash .grp { padding: 12px 14px; border: 1px solid var(--dline); border-radius: 10px; background: #0e0f11; display: grid; gap: 10px; }
.dash .grp .row { margin: 0; }
.dash .grp-chs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.dash .grp-ch { all: unset; cursor: pointer; display: grid; gap: 2px; justify-items: center; padding: 7px 4px; border-radius: 8px; border: 1px solid var(--dline); background: #15171b; color: var(--muted); min-width: 0; }
.dash .grp-ch b { font-size: 14px; color: #dfe3ea; }
.dash .grp-ch span { font-size: 10.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .grp-ch.on { background: #13284a; border-color: #3b7ef0; color: #cfe0ff; }
.dash .grp-ch:focus-visible { outline: 2px solid #6ea2ff; }
@media (max-width: 700px) { .dash .grp-chs { grid-template-columns: repeat(5, 1fr); } }

/* small gold PLUS tag next to a Plus-only section heading (dashboard) */
.plus-pill { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 7px; border-radius: 6px; font: 800 10px/1 Consolas, monospace; letter-spacing: .1em; color: #f0c050; background: rgba(240, 192, 80, .14); border: 1px solid rgba(240, 192, 80, .4); }

/* ---- top menu: logo and page tabs on the left, Discord Bot / Library / Plus / sign in on the right ---- */
.topbar { justify-content: flex-start; gap: 22px; }
.topbar .nav { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav .tabs { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav .tabs a { padding: 8px 13px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s; }
.nav .tabs a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav .tabs a.on { color: #fff; background: rgba(255, 255, 255, .09); }
.nav .acts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav a.nav-signin { padding: 7px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); color: var(--text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav a.nav-signin:hover { background: rgba(255, 255, 255, .07); color: #fff; }
@media (max-width: 1080px) { .nav a.nav-lib span { display: none; } .nav a.nav-lib { padding-left: 11px; padding-right: 11px; } }
@media (max-width: 880px) {
  .nav .tabs a:not([data-tab="/dashboard"]) { display: none !important; }
  .nav .acts a { display: inline-flex !important; }
  .nav a.nav-bot span { display: none; }
}
@media (max-width: 520px) { .nav .tabs { display: none; } .nav a.nav-signin { padding: 5px 10px; font-size: 13px; } }

/* dashboard: dispatch tones */
.tones-wrap { margin: 22px 0 6px; }
.tone-list { display: grid; gap: 8px; margin: 10px 0 12px; }
.tone-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.tone-row.busy { opacity: .55; pointer-events: none; }
.tone-n { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-weight: 800; font-size: 13px; color: var(--muted); }
.tone-main { display: grid; gap: 4px; min-width: 0; }
.tone-main input { max-width: 280px; }
.tone-file { font-size: 12.5px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.tight { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .tone-row { grid-template-columns: 28px 1fr; } .tone-row .row.tight { grid-column: 1 / -1; justify-content: flex-start; } }

/* copyright line in the footer */
footer .copyline { color: var(--muted); opacity: .8; font-size: 13px; margin-top: 6px; }
