@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =====================================================================
   GuildBot dashboard: red & black, Discord-style layout
   ===================================================================== */
:root {
  --bg: #0a0a0c; --panel: #131316; --panel-2: #1a1a1f; --panel-3: #24242b; --hover: #1f1f25;
  --border: rgba(255,255,255,.07); --border-strong: rgba(255,255,255,.13);
  --text: #f3f3f5; --text-2: #a8a8b3; --text-3: #71717c;
  --accent: #d2262f; --accent-2: #f04a52; --accent-soft: rgba(210,38,47,.14); --accent-glow: rgba(210,38,47,.35);
  --good: #2bb673; --good-soft: rgba(43,182,115,.14); --warn: #f0b232; --warn-soft: rgba(240,178,50,.12); --crit: #f04747; --crit-soft: rgba(240,71,71,.13);
  --blurple: #5865f2;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 20px 50px rgba(0,0,0,.5);
  --rail: 76px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 14.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: var(--accent-2); text-decoration: none; } a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 800; } h2 { font-size: 20px; font-weight: 750; } h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
svg { width: 16px; height: 16px; flex: none; }
code { background: var(--panel-3); padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
::selection { background: var(--accent-soft); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 8px; border: 2px solid var(--bg); } ::-webkit-scrollbar-track { background: transparent; }

.muted { color: var(--text-2); } .faint { color: var(--text-3); } .small { font-size: 12.5px; } .red { color: var(--accent-2); }
.flex { display: flex; align-items: center; gap: 8px; } .flex-1 { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nowrap { white-space: nowrap; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--panel-3); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.center-screen { min-height: 100vh; display: grid; place-items: center; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--panel-2); cursor: pointer; font-weight: 650; font-size: 13.5px; white-space: nowrap; color: var(--text); text-decoration: none !important; transition: background .15s, border-color .15s, transform .12s, box-shadow .15s, filter .15s; }
.btn:hover { background: var(--hover); border-color: rgba(255,255,255,.2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.primary { background: linear-gradient(180deg, #e0333b, #b91c24); border-color: rgba(255,255,255,.08); color: #fff; box-shadow: 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.discord { background: linear-gradient(180deg, #6875f5, #4a56e0); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(88,101,242,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.btn.discord:hover { filter: brightness(1.08); }
.btn.danger { background: var(--crit-soft); border-color: transparent; color: var(--crit); } .btn.danger:hover { background: var(--crit); color: #fff; }
.btn.danger-solid { background: linear-gradient(180deg, #f25252, #c62b2b); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -8px rgba(240,71,71,.6); }
.btn.danger-solid:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); } .btn.ghost:hover { background: var(--hover); color: var(--text); }
.btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 9px; }
.btn.big { padding: 14px 24px; font-size: 15.5px; border-radius: 13px; }
.btn.icon-only { padding: 8px; }

/* ---------- tags, pills, notices */
.tag, .pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; background: rgba(255,255,255,.06); color: var(--text-2); white-space: nowrap; border: 1px solid var(--border); }
.tag svg, .pill svg { width: 12px; height: 12px; }
.tag.red { background: var(--accent-soft); color: #ff8a8f; border-color: rgba(240,74,82,.25); }
.tag.live, .pill.good { background: var(--good-soft); color: #58d69a; border-color: rgba(43,182,115,.25); }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(240,178,50,.25); }
.pill.accent { background: var(--accent-soft); color: #ff8a8f; }
.count-badge { background: var(--panel-3); color: var(--text-2); font-size: 11px; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border-strong); color: var(--text-2); font-size: 13px; }
.notice svg { margin-top: 2px; }
.notice.warn { border-color: rgba(240,178,50,.35); background: var(--warn-soft); color: var(--text); }
.notice.warn svg { color: var(--warn); }

/* ---------- cards */
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%), var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -24px rgba(0,0,0,.7); }
.card > h3:first-child, .card-title { margin-bottom: 4px; }
.card-title { display: flex; align-items: center; gap: 10px; }
.card-title > svg { width: 18px; height: 18px; color: var(--accent-2); }
.card h3 .faint { font-weight: 600; font-size: 12.5px; margin-left: 4px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 20px; color: var(--text-2); }
.empty > svg { width: 36px; height: 36px; color: var(--accent-2); opacity: .8; margin-bottom: 6px; }
.empty b { color: var(--text); font-size: 16px; }
.big-empty { padding: 60px 24px; }
.big-empty > span { max-width: 460px; }

/* ---------- app shell: server rail + main column */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #070708; border-right: 1px solid var(--border); padding: 12px 0; z-index: 40; }
.rail-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; align-items: center; gap: 8px; scrollbar-width: none; padding: 2px 0; }
.rail-scroll::-webkit-scrollbar { display: none; }
.rail-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rail-sep { width: 32px; height: 2px; border-radius: 2px; background: var(--border-strong); margin: 2px 0; flex: none; }
.rail-item { position: relative; width: 48px; height: 48px; flex: none; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rail-item::before { content: ""; position: absolute; left: -14px; top: 50%; width: 5px; height: 0; border-radius: 0 4px 4px 0; background: #fff; transform: translateY(-50%); transition: height .18s; }
.rail-item:hover::before { height: 20px; }
.rail-item.on::before { height: 38px; background: var(--accent-2); }
.rail-item .rail-icon, .rail-glyph, .rail-plus { width: 48px; height: 48px; border-radius: 50%; transition: border-radius .2s, background .2s, box-shadow .2s; }
.rail-item:hover .rail-icon, .rail-item.on .rail-icon, .rail-item:hover .rail-glyph, .rail-item.on .rail-glyph, .rail-item:hover .rail-plus { border-radius: 16px; }
.rail-item.on .rail-icon { box-shadow: 0 0 0 2px var(--accent); }
.rail-logo { width: 48px; height: 48px; transition: transform .2s; filter: drop-shadow(0 4px 12px var(--accent-glow)); }
.rail-item:hover .rail-logo { transform: scale(1.06); }
.rail-glyph, .rail-plus { display: grid; place-items: center; background: var(--panel-2); color: var(--text-2); }
.rail-glyph svg, .rail-plus svg { width: 20px; height: 20px; }
.rail-item.on .rail-glyph, .rail-item:hover .rail-glyph { background: var(--accent); color: #fff; }
.rail-plus { color: var(--good); } .rail-item:hover .rail-plus { background: var(--good); color: #fff; }
.rail-live { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--good); border: 3px solid #070708; }
.rail-item[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); background: #111; color: var(--text); font-size: 13px; font-weight: 650; padding: 7px 11px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow); border: 1px solid var(--border-strong); pointer-events: none; z-index: 60; }
.main-col { min-width: 0; display: flex; flex-direction: column; background: radial-gradient(900px 420px at 18% -8%, rgba(210,38,47,.13), transparent 62%), radial-gradient(800px 380px at 100% 0%, rgba(88,101,242,.06), transparent 60%); }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--border); }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 14.5px; min-width: 0; }
.crumb b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb-home { color: var(--text-2); cursor: pointer; } .crumb-home:hover { color: var(--text); }
.crumb svg { color: var(--text-3); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill.good { background: var(--good-soft); color: #58d69a; } .status-pill.crit { background: var(--crit-soft); color: #ff7b7b; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.good .dot { animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.55); } 70% { box-shadow: 0 0 0 7px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }
.me { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 13.5px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--panel-3); display: grid; place-items: center; overflow: hidden; font-weight: 700; flex: none; font-size: 13px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
main { padding: 28px 32px 60px; max-width: 1500px; width: 100%; margin: 0 auto; }

/* ---------- server icons */
.gicon { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(135deg, var(--panel-3), var(--panel-2)); display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--text-2); overflow: hidden; flex: none; }
.gicon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gicon.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
.gicon.rail-icon { font-size: 14px; }

/* ---------- home */
.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.welcome h1 { font-size: 34px; }
.welcome p.muted { margin-top: 8px; max-width: 620px; }
.section-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 30px 0 14px; }
.section-label svg { width: 14px; height: 14px; color: var(--accent-2); }
.np-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.np-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(43,182,115,.25); background: linear-gradient(90deg, rgba(43,182,115,.1), transparent 70%), var(--panel); cursor: pointer; text-align: left; transition: transform .15s, border-color .15s; }
.np-chip:hover { transform: translateY(-2px); border-color: var(--good); }
.np-chip b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-chip small { color: var(--text-2); font-size: 12px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; background: var(--good); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
.eq.paused i { animation: none; height: 4px; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.guild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gcard { position: relative; border-radius: 18px; border: 1px solid var(--border); background: var(--panel); overflow: hidden; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s; outline: none; }
.gcard:hover, .gcard:focus-visible { transform: translateY(-4px); border-color: rgba(240,74,82,.5); box-shadow: 0 24px 50px -22px var(--accent-glow); }
.gcard.locked { cursor: default; opacity: .6; } .gcard.locked:hover { transform: none; box-shadow: none; border-color: var(--border); }
.gcard-banner { height: 110px; background: linear-gradient(135deg, hsl(var(--hue, 355) 55% 26%), hsl(calc(var(--hue, 355) + 40) 45% 12%)); position: relative; overflow: hidden; }
.gcard-banner[style*="--banner"]::before { content: ""; position: absolute; inset: -30px; background: var(--banner) center / cover; filter: blur(22px) saturate(1.4) brightness(.7); transform: scale(1.1); }
.gcard-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--panel)); }
.gcard-body { position: relative; padding: 0 18px 18px; margin-top: -40px; }
.gicon.gcard-icon { width: 72px; height: 72px; border-radius: 22px; border: 4px solid var(--panel); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.gcard-name { font-size: 16.5px; font-weight: 750; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
.gcard-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; min-height: 24px; }
.gcard-go { position: absolute; right: 16px; bottom: 18px; display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; color: var(--accent-2); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.gcard:hover .gcard-go { opacity: 1; transform: none; }
.addable-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.addable { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: 14px; background: rgba(255,255,255,.015); transition: border-color .15s, background .15s; }
.addable:hover { border-color: rgba(43,182,115,.5); background: rgba(43,182,115,.04); }

/* ---------- server page */
.ghero { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 22px; background: var(--panel); }
.ghero-bg { position: absolute; inset: 0; background: linear-gradient(120deg, hsl(var(--hue, 355) 55% 22%), hsl(calc(var(--hue, 355) + 40) 40% 10%) 70%); }
.ghero-bg[style*="--banner"]::before { content: ""; position: absolute; inset: -40px; background: var(--banner) center / cover; filter: blur(34px) saturate(1.5) brightness(.55); transform: scale(1.15); }
.ghero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.2), rgba(10,10,12,.75)); }
.ghero-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; padding: 26px 28px; }
.gicon.ghero-icon { width: 88px; height: 88px; border-radius: 26px; font-size: 26px; box-shadow: 0 14px 34px rgba(0,0,0,.5); border: 3px solid rgba(255,255,255,.08); }
.ghero h1 { font-size: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghero .eyebrow { color: rgba(255,255,255,.65); }
.ghero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ghero-tags .tag { background: rgba(0,0,0,.35); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.1); color: #e6e6ea; }
.ghero-tags .tag.red { color: #ffb0b3; } .ghero-tags .tag.live { color: #7ee2ae; }
.glayout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.gnav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.gnav-label { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 0 12px 6px; }
.gnav-item { position: relative; width: 100%; display: flex; align-items: center; gap: 11px; border: 0; background: transparent; color: var(--text-2); padding: 10px 12px; border-radius: 11px; cursor: pointer; font-weight: 600; font-size: 14px; text-align: left; transition: background .12s, color .12s; }
.gnav-item svg { width: 18px; height: 18px; }
.gnav-item:hover { background: var(--hover); color: var(--text); }
.gnav-item.on { background: linear-gradient(90deg, var(--accent-soft), transparent); color: var(--text); }
.gnav-item.on::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--accent-2); }
.gnav-item.on svg { color: var(--accent-2); }
.gnav-item.danger.on { background: linear-gradient(90deg, var(--crit-soft), transparent); } .gnav-item.danger.on::before { background: var(--crit); } .gnav-item.danger.on svg { color: var(--crit); }
.live-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.gbody { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gbody > .card, .gbody > .two-col { margin: 0 !important; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--text-2); margin-top: 6px; }

/* ---------- forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px 20px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--text-2); font-weight: 650; margin: 18px 0 0; }
.form-grid .field { margin: 0; }
.field > small { font-weight: 450; color: var(--text-3); font-size: 12px; }
.input, .select { background: #0f0f12; border: 1px solid var(--border-strong); color: var(--text); border-radius: 11px; padding: 10px 12px; font: inherit; font-size: 14px; outline: none; min-width: 0; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.input:hover, .select:hover { border-color: rgba(255,255,255,.2); }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #111115; }
.input::placeholder { color: var(--text-3); }
textarea.input { resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.select option:disabled { color: #666; }
.flex > .input, .flex > .select { width: auto; } .flex > .input.flex-1 { width: 100%; }
.count { align-self: flex-end; font-size: 11px; color: var(--text-3); font-weight: 500; margin-top: -2px; }
.save-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); cursor: pointer; margin-top: 4px; }
.toggle-row b { font-size: 14px; }
.toggle-row small { display: block; color: var(--text-3); font-size: 12.5px; font-weight: 450; margin-top: 2px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--border-strong); transition: background .18s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c9c9d1; transition: transform .18s, background .18s; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch input:checked + span { background: var(--accent); border-color: transparent; }
.switch input:checked + span::after { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }
.check input { accent-color: var(--accent); width: 18px; height: 18px; cursor: pointer; }
details.more { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
details.more summary { cursor: pointer; color: var(--text-2); font-weight: 650; font-size: 13px; }
.avatar-preview { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; }
.preview-line { background: #0f0f12; border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; margin: 12px 0 8px; font-size: 14px; }
.preview-line .faint { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.mention { background: rgba(88,101,242,.3); color: #d4d8ff; border-radius: 4px; padding: 0 3px; font-weight: 600; }

/* ---------- lists, chips, tables */
.list { display: flex; flex-direction: column; margin-top: 10px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--border); font-size: 13.5px; border-radius: 8px; transition: background .12s; }
.list-row:hover { background: rgba(255,255,255,.02); }
.list-row:last-child { border-bottom: 0; }
.add-box { border: 1px dashed var(--border-strong); border-radius: 14px; padding: 16px; background: rgba(255,255,255,.012); }
.picked { background: #0f0f12; border: 1px solid var(--border-strong); border-radius: 11px; padding: 5px 5px 5px 12px; }
.suggest { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.suggest button { display: flex; align-items: center; gap: 10px; border: 0; background: var(--panel-2); padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; }
.suggest button:hover { background: var(--hover); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border-strong); font-size: 13px; }
.chip button { border: 0; background: transparent; color: var(--text-3); cursor: pointer; display: grid; padding: 0; }
.chip button:hover { color: var(--crit); } .chip button svg { width: 13px; height: 13px; }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; }
.grid-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.grid-table th { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: 12px 10px; border-bottom: 1px solid var(--border-strong); white-space: nowrap; cursor: help; background: rgba(255,255,255,.02); }
.grid-table th:first-child, .grid-table td:first-child { text-align: left; padding-left: 16px; }
.grid-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: center; }
.grid-table tr:last-child td { border-bottom: 0; }
.grid-table tr:hover td { background: rgba(255,255,255,.02); }
.role-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.preview-box { background: var(--crit-soft); border: 1px solid rgba(240,71,71,.35); border-radius: 14px; padding: 16px; }
.pl .flex > svg { color: var(--accent-2); }

/* ---------- Discord-style message preview */
.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sticky { position: sticky; top: 84px; }
.dmsg { display: flex; gap: 14px; background: #313338; border-radius: 12px; padding: 16px; color: #dbdee1; font-size: 14.5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.dmsg-av, .gicon.dmsg-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; font-size: 14px; }
.dmsg .tag { background: var(--blurple); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; border: 0; }
.dembed { margin-top: 6px; background: #2b2d31; border-left: 4px solid var(--accent); border-radius: 4px; padding: 10px 14px; max-width: 520px; }
.dbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dbtn { display: inline-flex; align-items: center; gap: 6px; background: #4e5058; color: #fff; padding: 6px 14px; border-radius: 4px; font-size: 13.5px; font-weight: 500; }
.dbtn svg { width: 13px; height: 13px; }

/* ---------- music */
.np { display: flex; gap: 22px; align-items: center; overflow: hidden; padding: 24px; }
.np::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 0% 0%, rgba(210,38,47,.28), transparent 65%), radial-gradient(500px 240px at 100% 100%, rgba(88,101,242,.1), transparent 60%); pointer-events: none; }
.np > * { position: relative; }
.np-art { width: 150px; height: 150px; border-radius: 18px; object-fit: cover; flex: none; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.art-blank { display: grid; place-items: center; background: linear-gradient(135deg, #3a1316, #16161b); color: var(--accent-2); }
.np-art.art-blank svg { width: 54px; height: 54px; }
.np-where { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.np-where svg { color: var(--good); }
.np-title { font-size: 26px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.np-title a { color: var(--text); }
.np-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.np-time { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 42px; }
.np-bar .np-time:last-child { text-align: right; }
.np-ctl { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.icon-btn { padding: 10px 12px; border-radius: 12px; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.icon-btn small { font-size: 11px; font-weight: 700; }
.icon-btn.play-main { width: 50px; height: 50px; border-radius: 50%; padding: 0; background: #fff; color: #111; border-color: transparent; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.icon-btn.play-main:hover { background: #fff; transform: scale(1.05); }
.icon-btn.play-main svg { width: 20px; height: 20px; fill: currentColor; }
.vol { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--text-2); font-size: 12.5px; font-weight: 650; }
.vol input { accent-color: var(--accent); width: 140px; }
.vol span { min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.np-idle { display: flex; align-items: center; gap: 16px; padding: 28px 22px; }
.np-idle > svg { width: 40px; height: 40px; color: var(--text-3); }
.q-n { width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.q-art { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex: none; }
.q-art.art-blank svg { width: 18px; height: 18px; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; border-radius: 6px; }
.np-bar .bar:hover { height: 8px; }

/* ---------- long jobs */
.job { margin-top: 16px; border: 1px solid var(--border-strong); border-radius: 14px; padding: 16px; background: var(--panel-2); display: flex; flex-direction: column; gap: 10px; }
.job .bar { height: 8px; }
.job.done, .job.failed { flex-direction: row; align-items: center; gap: 10px; }
.job.done { border-color: rgba(43,182,115,.5); background: var(--good-soft); } .job.done > svg { color: var(--good); }
.job.failed { border-color: rgba(240,71,71,.5); background: var(--crit-soft); } .job.failed > svg { color: var(--crit); }

/* ---------- sign in */
.signin-wrap { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.signin-glow { position: absolute; inset: 0; background: radial-gradient(700px 420px at 30% 20%, rgba(210,38,47,.25), transparent 60%), radial-gradient(600px 400px at 80% 80%, rgba(88,101,242,.14), transparent 60%); }
.signin { position: relative; width: min(920px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); background: rgba(19,19,22,.85); backdrop-filter: blur(20px); box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: rise .35s ease both; }
.signin-left { padding: 44px 40px; }
.signin-logo { width: 88px; height: 88px; margin-bottom: 18px; filter: drop-shadow(0 12px 28px var(--accent-glow)); }
.signin-logo img { width: 100%; height: 100%; display: block; }
.signin h1 { font-size: 38px; font-weight: 900; }
.signin .lead { color: var(--text-2); font-size: 16px; margin: 10px 0 26px; max-width: 360px; }
.signin .fine { font-size: 12px; color: var(--text-3); margin-top: 18px; max-width: 340px; }
.signin-right { padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: linear-gradient(160deg, rgba(210,38,47,.12), rgba(0,0,0,.2)); border-left: 1px solid var(--border); }
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); }
.feat-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); flex: none; }
.feat-ic svg { width: 19px; height: 19px; }
.feat b { display: block; font-size: 14.5px; } .feat span { color: var(--text-2); font-size: 13px; }

/* ---------- confirm box, toasts */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 90; animation: fadein .15s; }
.modal { position: fixed; z-index: 100; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(470px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--border-strong); border-radius: 20px; padding: 26px; box-shadow: 0 40px 100px rgba(0,0,0,.7); animation: fadein .15s; }
.modal .field { margin: 18px 0 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: #1d1d23; border: 1px solid var(--border-strong); padding: 11px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); animation: rise .2s ease both; }
.toast.ok { border-color: rgba(43,182,115,.55); } .toast.err { border-color: rgba(240,71,71,.6); }
.toast a { color: #7ee2ae; margin-left: 6px; }

/* ---------- smaller screens */
@media (max-width: 1100px) {
  .glayout { grid-template-columns: 1fr; }
  .gnav { position: static; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav-group { display: contents; }
  .gnav-label { display: none; }
  .gnav-item { width: auto; flex: none; white-space: nowrap; border: 1px solid var(--border); background: var(--panel); border-radius: 999px; padding: 8px 14px; }
  .gnav-item.on::before { display: none; }
  .gnav-item.on { background: var(--accent-soft); border-color: var(--accent); }
  .gnav-item.danger.on { border-color: var(--crit); }
  .two-col { grid-template-columns: 1fr; } .sticky { position: static; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; }
  .shell { grid-template-columns: 1fr; }
  .rail { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; flex-direction: row; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--border); background: rgba(7,7,8,.92); backdrop-filter: blur(14px); }
  .rail-scroll { flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 0 2px; }
  .rail-foot { flex-direction: row; }
  .rail-sep { width: 2px; height: 30px; margin: 0 2px; align-self: center; }
  .rail-item, .rail-item .rail-icon, .rail-glyph, .rail-plus, .rail-logo { width: 42px; height: 42px; }
  .rail-item::before, .rail-item[data-tip]:hover::after { display: none; }
  .rail-item.on .rail-icon { box-shadow: 0 0 0 2px var(--accent-2); }
  .topbar { padding: 0 14px; padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .hide-sm { display: none; }
  .me { padding: 3px; }
  main { padding: 18px 14px calc(100px + env(safe-area-inset-bottom)); }
  h1, .welcome h1 { font-size: 26px; }
  .card { padding: 18px; }
  .ghero-in { padding: 20px; gap: 14px; }
  .gicon.ghero-icon { width: 64px; height: 64px; border-radius: 20px; }
  .ghero h1 { font-size: 22px; }
  .guild-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gcard-banner { height: 64px; }
  .gcard-body { padding: 0 12px 14px; margin-top: -30px; }
  .gicon.gcard-icon { width: 56px; height: 56px; border-radius: 18px; }
  .gcard-go { display: none; }
  .np { flex-direction: column; align-items: stretch; }
  .np-art { width: 100%; height: 200px; }
  .np-title { font-size: 21px; }
  .vol { margin-left: 0; width: 100%; } .vol input { flex: 1; }
  .signin { grid-template-columns: 1fr; }
  .signin-left { padding: 32px 24px; } .signin-right { padding: 24px; border-left: 0; border-top: 1px solid var(--border); }
  .signin h1 { font-size: 32px; }
  #toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Real Discord server banners (Boost Level 2 servers): shown sharp, fading into the card. */
.gcard-banner[style*="--bannerimg"] { background: var(--bannerimg) center / cover; }
.gcard-banner[style*="--bannerimg"]::after { background: linear-gradient(180deg, transparent 45%, var(--panel)); }
.ghero-bg[style*="--bannerimg"] { background: var(--bannerimg) center / cover; }
.ghero:has(.ghero-bg[style*="--bannerimg"])::after { background: linear-gradient(90deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,.55) 55%, rgba(10,10,12,.25)); }
.ghero:has(.ghero-bg[style*="--bannerimg"]) .ghero-in { padding-top: 56px; }

/* ---------- Setup ▸ Custom bot */
.cb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; align-items: start; }
.cb-grid > div > .field:first-child { margin-top: 0; }
.cb-pic { display: flex; align-items: center; gap: 14px; }
.cb-img, .gicon.cb-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 8px 20px rgba(0,0,0,.4); font-size: 18px; }
.cb-preview .lbl, .lbl { display: block; font-size: 12.5px; font-weight: 650; color: var(--text-2); margin-bottom: 7px; }
label.btn { cursor: pointer; } .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Post */
.post-step { display: flex; align-items: center; gap: 10px; margin: 22px 0 -4px; font-size: 13px; letter-spacing: .02em; }
.post-step:first-of-type { margin-top: 16px; }
.step-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); font-size: 12px; font-weight: 800; }
.seg { display: flex; gap: 4px; padding: 4px; margin-top: 12px; background: #0f0f12; border: 1px solid var(--border-strong); border-radius: 12px; }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: var(--text-2); padding: 8px 10px; border-radius: 9px; cursor: pointer; font-weight: 650; font-size: 13px; white-space: nowrap; transition: background .12s, color .12s; }
.seg button:hover { color: var(--text); background: var(--hover); }
.seg button.on { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.seg button.on svg { color: var(--accent-2); }
.files { display: flex; flex-direction: column; gap: 8px; }
.file { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: #0f0f12; border: 1px solid var(--border-strong); }
.file.bad { border-color: rgba(240,71,71,.5); }
.file img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.file-ic { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-3); color: var(--text-2); flex: none; }
.drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 2px dashed var(--border-strong); border-radius: 12px; color: var(--text-2); cursor: pointer; transition: border-color .15s, background .15s; font-size: 13.5px; font-weight: 500; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.drop b { color: var(--text); }
.more-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; border: 0; background: transparent; color: var(--text-2); font-weight: 650; font-size: 13px; cursor: pointer; padding: 4px 0; }
.more-btn:hover { color: var(--text); }
.more-box { margin-top: 10px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.015); border: 1px solid var(--border); }
.dwhere { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 8px; }
.dwhere svg { width: 13px; height: 13px; }
.datt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.datt img { max-width: 220px; max-height: 160px; border-radius: 8px; object-fit: cover; }
.dfile { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: #2b2d31; border: 1px solid rgba(255,255,255,.06); font-size: 13px; color: #00a8fc; }
.chan-tag { display: inline-block; background: var(--panel-3); color: var(--text-2); border-radius: 6px; padding: 0 6px; margin-right: 6px; font-weight: 600; }

/* ---------- Birthdays: variable buttons */
.var-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.var-btn { display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(88,101,242,.35); background: rgba(88,101,242,.12); color: #c9cdfb; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.var-btn:hover { background: rgba(88,101,242,.25); }
.var-btn svg { width: 12px; height: 12px; }

/* ---------- safer confirm box */
.modal.danger { border-color: rgba(240,71,71,.4); }
.modal-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--crit-soft); color: var(--crit); margin-bottom: 14px; }
.modal-ic svg { width: 22px; height: 22px; }
.ack { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.ack input { accent-color: var(--crit); width: 17px; height: 17px; margin-top: 1px; flex: none; }

@media (max-width: 900px) { .cb-grid { grid-template-columns: 1fr; } .seg { flex-direction: column; } }

/* ---------- Admin */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), var(--panel); border: 1px solid var(--border); }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--text-2); font-size: 12.5px; }
.view-admin .card + .card { margin-top: 16px; }
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 14px; }
.cmd { padding: 16px; border-radius: 14px; background: #0f0f12; border: 1px solid var(--border-strong); }
.cmd.danger { border-color: rgba(240,71,71,.35); }
.cmd code { color: var(--accent-2); font-weight: 700; }
.cmd-label { display: block; margin-top: 8px; font-size: 15px; }
.cmd .field { margin-top: 12px; }
.cmd-res { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; white-space: pre-wrap; }
.cmd-res.ok { background: var(--good-soft); color: #7ee2ae; } .cmd-res.bad { background: var(--crit-soft); color: #ff9a9a; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .stat b { font-size: 20px; } }

/* ---------- Post ▸ In a thread */
.thread-pick { margin-top: 12px; }
.search-box { position: relative; }
.search-box > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search-box .input { padding-left: 36px; }
.thread-list { margin-top: 8px; max-height: 280px; overflow-y: auto; border: 1px solid var(--border-strong); border-radius: 12px; background: #0f0f12; padding: 4px; }
.thread-row { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 9px 10px; border-radius: 9px; cursor: pointer; text-align: left; color: var(--text); }
.thread-row > svg { color: var(--text-3); }
.thread-row:hover { background: var(--hover); }
.thread-row.on { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.thread-row.on > svg { color: var(--accent-2); }
.thread-row b { display: block; font-size: 13.5px; }
.thread-row small { color: var(--text-3); font-size: 12px; }

/* ---------- buttons editor: website or channel */
.btn-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.btn-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr) auto; gap: 8px; align-items: center; }
.btn-rows:empty { display: none; }
.seg.mini { margin-top: 0; padding: 3px; }
.seg.mini button { padding: 6px 9px; font-size: 12px; }
.dbtn small { opacity: .7; font-size: 11.5px; }
@media (max-width: 700px) { .btn-row { grid-template-columns: 1fr auto; } .btn-row .seg.mini { grid-column: 1 / -1; order: 3; } .btn-row > .input:nth-of-type(2), .btn-row > .select { grid-column: 1 / -1; order: 4; } .seg.mini span { display: inline; } }

/* Plain checkbox row (birthday board pin) */
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 6px 0; }
.check-row input { width: 18px; height: 18px; accent-color: var(--red, #d2262f); cursor: pointer; }

/* Music: search as you type */
.mu-search { position: relative; min-width: 220px; }
.mu-search .input { width: 100%; }
.mu-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 380px; overflow: auto; background: var(--surface-2, #1b1b1f); border: 1px solid var(--border-strong, #333); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); padding: 6px; }
.mu-sug-h { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3, #888); padding: 8px 10px 4px; }
.mu-sug-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 7px 10px; border-radius: 8px; background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
.mu-sug-row:hover, .mu-sug-row.on { background: rgba(210,38,47,.16); }
.mu-sug-row .clip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-sug-note { padding: 10px; }
