﻿:root {
    color-scheme: dark;
    --bg: #0f1014;
    --surface: #17181e;
    --surface-2: #1d1f27;
    --surface-3: #262935;
    --border: #2a2d38;
    --border-strong: #3a3e4d;
    --text: #f1f2f6;
    --muted: #a3a7b7;
    --subtle: #7d8193;
    --accent: #7aa4ff;
    --primary: #1a5cff;
    --primary-hover: #3a74ff;
    --join: #248046;
    --join-hover: #2d9254;
    --radius: 12px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1; outline: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #c8ccff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { max-width: 1180px; }
h1, h2, h3, h4 { color: var(--text); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.05rem; }
p { color: var(--muted); }
code { color: #bcd0ff; background: rgba(26, 92, 255, .14); padding: .1em .4em; border-radius: 5px; font-size: .88em; overflow-wrap: anywhere; }
strong { color: var(--text); font-weight: 600; }
.text-muted { color: var(--muted) !important; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; padding: 8px 14px; background: var(--primary); color: #fff; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.accent-text { color: #3b7bff; }

.card { background: var(--surface) !important; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text) !important; }
.card.bg-secondary { background: var(--surface) !important; }
.display-5 { font-weight: 700; letter-spacing: -.03em; }
.text-info { color: var(--accent) !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .875rem;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: none !important;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { padding: 6px 12px; font-size: .8rem; }
.btn-primary, .btn-primary:focus { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-secondary, .btn-secondary:focus, .btn-light { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover, .btn-secondary:active, .btn-light:hover { background: var(--surface-3); border-color: #505567; color: #fff; }
.btn-secondary.disabled { opacity: .45; }
.btn-join, .btn-join:focus { background: var(--join); border-color: var(--join); color: #fff; padding: 4px 12px; font-size: .78rem; }
.btn-join:hover, .btn-join:active { background: var(--join-hover); border-color: var(--join-hover); color: #fff; }
.button-group { display: flex; flex-wrap: wrap; gap: 10px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 16, 20, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px);
}
.site-header .navbar { min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark { display: block; flex: none; width: 32px; height: 32px; border-radius: 9px; }
.brand-accent { color: var(--accent); }
.site-header .navbar-nav { margin-left: 28px; }
.site-header .nav-link { color: var(--muted); font-size: .875rem; font-weight: 500; padding: 8px 12px !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link[aria-current="page"] { color: #fff; }
.navbar-toggler { color: var(--text); border: 1px solid var(--border-strong); border-radius: 8px; padding: 4px 10px; font-size: 1.3rem; box-shadow: none !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.account-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}
.account-button:hover, .account-button[aria-expanded="true"] { background: var(--surface-2); border-color: #505567; }
.account-button img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; font-weight: 600; }
.account-button .bi-chevron-down { font-size: .65rem; color: var(--muted); }
.account-dropdown {
    min-width: 230px;
    padding: 6px;
    margin-top: 8px !important;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.account-summary { display: grid; padding: 8px 12px; line-height: 1.4; }
.account-summary span { color: var(--muted); font-size: .72rem; }
.account-summary strong { font-size: .88rem; overflow-wrap: anywhere; }
.account-dropdown .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 7px; color: var(--text); font-size: .85rem; }
.account-dropdown .dropdown-item:hover, .account-dropdown .dropdown-item:focus { background: var(--surface-3); color: #fff; }
.account-dropdown .dropdown-item:active, .account-dropdown .dropdown-item.active { background: var(--primary); color: #fff; }
.account-dropdown .dropdown-item:disabled, .account-dropdown .dropdown-item.disabled { background: transparent; color: var(--muted); }
.account-dropdown .dropdown-divider { border-color: var(--border); }
.account-dropdown .account-signout { color: #ff929b; }

@media (max-width: 991.98px) {
    .site-header .navbar-nav { margin: 12px 0 0; }
    .nav-actions { flex-wrap: wrap; margin: 10px 0 8px; }
}

.site-footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 48px 0 28px; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { max-width: 300px; margin-top: 14px; font-size: .85rem; }
.footer-group { display: flex; flex-direction: column; gap: 8px; }
.footer-group h2 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 4px; }
.footer-group a { color: var(--muted); }
.footer-group a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--subtle); font-size: .78rem; }
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; padding: 84px 0 72px; }
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.03; margin-bottom: 22px; }
.hero-description { font-size: 1.05rem; max-width: 460px; margin-bottom: 28px; }
.hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    padding: 6px 6px 6px 16px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
}
.hero-search:focus-within { border-color: var(--primary); }
.hero-search > i { color: var(--subtle); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: .95rem; padding: 8px 0; }
.hero-search input::placeholder { color: var(--subtle); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-links a { padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .8rem; }
.quick-links a:hover { border-color: var(--border-strong); color: #fff; }
.quick-links strong { font-weight: 600; }

.tryon, .botdemo {
    background: var(--surface);
    border: 1px solid #363946;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}
.tryon-toolbar { display: flex; justify-content: space-between; align-items: center; color: #9499ad; font-size: .66rem; font-weight: 600; letter-spacing: .14em; margin-bottom: 16px; }
.subtle-badge { background: var(--surface-3); color: #b2b6c8; border-radius: 5px; padding: 3px 8px; font-size: .66rem; letter-spacing: 0; }
.discord-pane { background: #313338; border: 1px solid #404249; border-radius: 10px; overflow: hidden; }
.discord-channel { padding: 10px 16px; background: #2b2d31; border-bottom: 1px solid #1f2023; color: #e1e2e6; font-size: .8rem; font-weight: 600; }
.discord-channel span { color: #80848e; font-size: 1.05rem; margin-right: 4px; font-weight: 400; }
.discord-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 16px 6px; }
.discord-msg.is-reply { padding-top: 10px; padding-bottom: 16px; }
.discord-msg.is-single { padding-bottom: 18px; }
.discord-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.discord-avatar.is-initial { display: grid; place-items: center; background: #5865f2; color: #fff; font-weight: 700; font-size: .95rem; }
.discord-avatar.is-initial.alt { background: #4c786c; }
.discord-author { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; line-height: 1.3; }
.discord-author strong { color: #f2f3f5; font-weight: 600; font-size: .95rem; }
.discord-time { color: #949ba4; font-size: .7rem; margin-left: 2px; }
.discord-body p { margin: 2px 0 0; color: #dbdee1; font-size: .92rem; }
.discord-tag {
    --tag-color: #949ba4;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    color: #f2f3f5;
    font-size: .72rem;
    font-weight: 700;
    line-height: 16px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tag-color) 35%, transparent);
}
.discord-tag img { width: 14px; height: 14px; }
.discord-tag.is-swapping { animation: tag-pop .35s ease; }
@keyframes tag-pop { 0% { transform: scale(.7); opacity: .3; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.tryon-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tryon-picker .tag-chip { cursor: pointer; font-family: inherit; color: var(--text); font-size: .85rem; }
.tryon-picker .tag-chip[aria-checked="true"] { background: var(--surface-3); box-shadow: 0 0 0 2px var(--primary); }
.tryon-picker .tag-chip:hover { background: var(--surface-3); }
.tryon-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; font-size: .82rem; }
.tryon-caption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tryon-caption .btn { flex-shrink: 0; white-space: nowrap; }

.content-section { padding: 28px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; }
.section-heading > a { white-space: nowrap; font-size: .85rem; font-weight: 500; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature-card p { font-size: .88rem; margin: 10px 0 0; }
.feature-step { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 18px; border-radius: 8px; background: rgba(26, 92, 255, .18); color: var(--accent); font-weight: 700; font-size: .85rem; }
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.panel h2 { font-size: 1.3rem; margin-bottom: 8px; }
.panel p { font-size: .9rem; margin-bottom: 22px; }
.panel .btn { margin-top: auto; }
.panel-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 10px; background: var(--surface-3); color: var(--accent); font-size: 1.15rem; }
.bottom-callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 40px; padding: 30px 0 0; border-top: 1px solid var(--border); }
.bottom-callout h2 { font-size: 1.35rem; }
.bottom-callout p { font-size: .9rem; margin: 6px 0 0; }
.bottom-callout .btn { flex-shrink: 0; }

.page-shell { padding-top: 56px; }
.page-heading { max-width: 720px; margin-bottom: 32px; }
.page-heading h1 { margin-bottom: 14px; }
.page-heading p:last-child { font-size: 1rem; margin: 0; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.search-box {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0 16px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--subtle);
}
.search-box:focus-within { border-color: var(--primary); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 0; color: var(--text); font: inherit; font-size: .92rem; }
.search-box input::placeholder { color: var(--subtle); }
.select-field { position: relative; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 0 34px 0 14px; min-width: 150px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; }
.select-field:focus-within { border-color: var(--primary); outline: 2px solid var(--accent); outline-offset: 2px; }
.select-field::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.select-field > span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); line-height: 1; padding-top: 8px; }
.select-field select { appearance: none; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: .88rem; padding: 3px 0 8px; cursor: pointer; }
select { color-scheme: dark; }
select option, select optgroup { background-color: var(--surface); color: var(--text); }
select optgroup { font-weight: 700; }
select option { font-weight: 400; }
select option:checked { background-color: var(--primary); color: #fff; }
select option:disabled, select optgroup:disabled { background-color: var(--surface); color: var(--muted); }
.catalog-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .8rem; margin: 22px 0 14px; }
.featured-strip { margin-bottom: 8px; }
.results[aria-busy="true"] { opacity: .5; transition: opacity .15s; }
.limit-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(26, 92, 255, .16), rgba(26, 92, 255, .06));
    border: 1px solid rgba(26, 92, 255, .4);
    border-radius: var(--radius);
}
.limit-notice > i { color: var(--accent); font-size: 1.1rem; }
.limit-notice p { flex: 1; margin: 0; font-size: .88rem; color: #d4d7e6; }
.limit-notice .btn { flex-shrink: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.pager-status { color: var(--muted); font-size: .85rem; }
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state > i { font-size: 1.8rem; color: var(--subtle); }
.empty-state h2 { font-size: 1.2rem; margin: 12px 0 8px; }
.empty-state p { max-width: 440px; margin: 0 auto 20px; font-size: .9rem; }

.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 12px; }
.tag-card {
    --tag-color: #1a5cff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .15s, transform .15s, background-color .15s;
}
.tag-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--tag-color) 16%, transparent), transparent 60%);
    pointer-events: none;
}
.tag-card:hover { border-color: var(--border-strong); background: #1a1b22; transform: translateY(-2px); }
.tag-card.is-featured { border-color: rgba(255, 193, 7, .3); }
.tag-card-top, .tag-card-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 9px;
    background: var(--surface-2);
    border: 1px solid color-mix(in srgb, var(--tag-color) 45%, transparent);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
}
.tag-chip img { flex: none; width: 16px; height: 16px; }
.tag-chip-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-flag { color: #ffc107; font-size: .78rem; }
.tag-server { position: relative; margin: 0; font-size: .88rem; font-weight: 500; letter-spacing: 0; color: #d9dbe4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-members { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.tag-members i { margin-right: 3px; }

.add-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.invite-form { display: grid; gap: 10px; max-width: 520px; }
.invite-form .btn { justify-self: start; margin-top: 6px; }
.form-label-strong { font-size: .8rem; font-weight: 600; color: var(--text); }
.form-help { margin: 0; font-size: .8rem; color: var(--subtle); }
.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--muted); font-size: .88rem; }
.check-list i { color: #57bd91; }
.result-panel { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.result-panel.is-success { border-color: rgba(87, 189, 145, .45); }
.result-panel.is-info { border-color: rgba(122, 164, 255, .45); }
.result-panel.is-error { border-color: rgba(255, 146, 155, .45); }
.result-head { display: flex; gap: 14px; }
.result-head > i { font-size: 1.3rem; line-height: 1.4; }
.is-success .result-head > i { color: #57bd91; }
.is-info .result-head > i { color: var(--accent); }
.is-error .result-head > i { color: #ff929b; }
.result-head h2 { font-size: 1.15rem; margin-bottom: 4px; }
.result-head p { margin: 0; font-size: .88rem; }
.result-card { max-width: 280px; margin: 20px 0; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; color: var(--muted); font-size: .9rem; }
.steps li::marker { color: var(--accent); font-weight: 700; }

.hero-grid > *, .bot-showcase > *, .setup-grid > *, .tryon, .botdemo { min-width: 0; }
.botdemo .tryon-caption span { white-space: normal; color: var(--subtle); }
.hero-copy h1.is-compact { font-size: clamp(2.4rem, 4.8vw, 3.7rem); }
.btn-lg-ish { padding: 11px 20px; font-size: .92rem; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.segmented button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 6px; cursor: pointer; }
.segmented button:hover { color: #fff; }
.segmented button[aria-pressed="true"] { background: var(--surface-3); color: #fff; }
.app-badge { background: #5865f2; color: #fff; border-radius: 3px; padding: 0 4px; font-size: .62rem; font-weight: 700; line-height: 15px; }
.mention { background: rgba(88, 101, 242, .3); color: #dee0fc; border-radius: 3px; padding: 0 2px; font-weight: 500; }
.discord-embed {
    --embed-color: #f1c40f;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    max-width: 440px;
    margin: 8px 0 16px;
    padding: 10px 14px 14px 12px;
    background: #2b2d31;
    border-left: 4px solid var(--embed-color);
    border-radius: 4px;
    transition: border-color .2s;
}
.discord-embed.is-off { --embed-color: #607d8b; }
.embed-author { display: flex; align-items: center; gap: 8px; margin: 4px 0 6px; color: #f2f3f5; font-size: .8rem; font-weight: 600; }
.embed-author img, .embed-author-initial { width: 20px; height: 20px; border-radius: 50%; }
.embed-author-initial { display: grid; place-items: center; background: #5865f2; color: #fff; font-size: .62rem; font-weight: 700; }
.embed-title { display: block; color: #f2f3f5; font-size: .92rem; margin-bottom: 4px; }
.discord-body .embed-desc { margin: 0; color: #dbdee1; font-size: .86rem; line-height: 1.45; }
.embed-thumb { width: 64px; height: 64px; margin-top: 6px; object-fit: contain; }

.bot-showcase {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 56px;
    margin: 40px 0 28px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(26, 92, 255, .16), rgba(26, 92, 255, .03) 60%), var(--surface);
    border: 1px solid rgba(26, 92, 255, .28);
    border-radius: 20px;
}
.bot-showcase h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 14px; }
.bot-showcase-copy > p { font-size: .98rem; max-width: 460px; }
.bot-showcase .botdemo { box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.bot-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.bot-points li { display: flex; align-items: center; gap: 12px; color: #d4d7e6; font-size: .9rem; }
.bot-points i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(26, 92, 255, .2); color: var(--accent); }

.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 10px; background: rgba(26, 92, 255, .18); color: var(--accent); font-size: 1.1rem; }
.feature-card h3 { font-size: 1.02rem; margin: 0; }
.feature-card code, .command-row code, .faq-grid code, .steps code { color: #bcd0ff; background: rgba(26, 92, 255, .14); border-radius: 5px; padding: 1px 5px; font-size: .85em; }

.setup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.setup-grid h2 { margin-bottom: 22px; }
.setup-steps { margin-bottom: 26px; }
.setup-steps strong { color: var(--text); }
.command-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.command-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--border); }
.command-row:first-child { border-top: 0; }
.command-row code { justify-self: start; white-space: nowrap; }
.command-row span { color: var(--muted); font-size: .86rem; }
.command-row em { font-style: normal; color: var(--subtle); font-size: .72rem; font-weight: 600; white-space: nowrap; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.faq-grid h3 { font-size: .98rem; margin-bottom: 4px; }
.faq-grid p { font-size: .88rem; margin: 0; }

.notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); font-size: .88rem; color: #d4d7e6; }
.notice > i { line-height: 1.5; }
.notice.is-success { border-color: rgba(87, 189, 145, .45); background: rgba(87, 189, 145, .08); }
.notice.is-success > i { color: #57bd91; }
.notice.is-error { border-color: rgba(255, 146, 155, .45); background: rgba(255, 146, 155, .07); }
.notice.is-error > i { color: #ff929b; }
.notice.is-info { border-color: rgba(122, 164, 255, .4); background: rgba(26, 92, 255, .08); }
.notice.is-info > i { color: var(--accent); }

.list-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; }
.list-title span { color: var(--subtle); font-size: .8rem; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: 1px 9px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.server-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color .15s, background .15s; }
.server-card:hover { color: var(--text); border-color: var(--border-strong); background: #1a1b22; }
.server-card.is-muted .server-icon { opacity: .6; }
.server-card-name { flex: 1; min-width: 0; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-card-action { flex: none; color: var(--accent); font-size: .78rem; font-weight: 600; }
.server-card.is-muted .server-card-action { color: var(--muted); }
.server-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.server-icon.is-initials { display: grid; place-items: center; background: var(--surface-3); color: var(--text); font-weight: 700; font-size: .85rem; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.back-link:hover { color: #fff; }
.server-header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.server-header .server-icon { width: 64px; height: 64px; border-radius: 18px; font-size: 1.1rem; }
.server-header h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 2px; }
.server-header p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .88rem; }
.dot-sep { color: var(--subtle); }
.tag-chip.is-inline { font-size: .8rem; padding: 2px 7px; gap: 4px; vertical-align: middle; }
.tag-chip.is-inline img { width: 14px; height: 14px; }

.dash-tabs { position: sticky; top: 70px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; margin: 0 0 8px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.dash-tabs a { flex: none; padding: 6px 12px; border-radius: 8px; color: var(--muted); font-size: .85rem; font-weight: 500; }
.dash-tabs a:hover { color: #fff; background: var(--surface-2); }
.dash-section { padding: 32px 0 8px; scroll-margin-top: 130px; }
.dash-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.dash-section-head h2 { font-size: 1.3rem; margin-bottom: 4px; }
.dash-section-head p { margin: 0; font-size: .88rem; }
.dash-section > .btn { margin-top: 18px; }

.tagrole-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; }
.tagrole-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.tagrole-card.is-new { border-style: dashed; border-color: var(--border-strong); background: transparent; }
.tagrole-card h3 { font-size: 1rem; margin: 0 0 4px; }
.tagrole-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.role-pill { --role-color: #99aab5; display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 12px 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--role-color) 16%, transparent); border: 1px solid color-mix(in srgb, var(--role-color) 45%, transparent); color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-pill::before, .role-dot { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--role-color, #99aab5); }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-button:hover { background: rgba(255, 146, 155, .1); border-color: rgba(255, 146, 155, .3); color: #ff929b; }
.icon-button.is-small { width: 26px; height: 26px; font-size: .75rem; }
.tagrole-warning { display: flex; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 8px; background: rgba(255, 193, 7, .08); color: #f5d77a; font-size: .8rem; }
.tagrole-label { margin: 4px 0 0; color: var(--subtle); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.linked-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.linked-list li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 10px; background: var(--surface-2); border-radius: 8px; }
.linked-list form { margin: 0; }
.linked-name { flex: 1; min-width: 0; font-size: .85rem; color: #d9dbe4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-form { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; }
.link-form .picker { flex: 1; min-width: 0; }
.link-form .btn { flex: none; height: 40px; }
.tagrole-card .form-help { margin: 0; }

.picker { position: relative; }
.search-box.is-compact { flex: none; padding: 0 12px; gap: 8px; }
.search-box.is-compact input { padding: 9px 0; font-size: .85rem; }
.picker-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 4px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); max-height: 300px; overflow-y: auto; }
.picker-results li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: .85rem; }
.picker-results li[aria-selected="true"], .picker-results li[role="option"]:hover { background: var(--surface-3); }
.picker-results li span { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-results li em { font-style: normal; color: var(--subtle); font-size: .75rem; }
.picker-results .picker-empty { cursor: default; color: var(--subtle); }
.picker-selected { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--muted); font-size: .8rem; }
.picker-selected strong { color: var(--text); }

.new-tagrole-form { display: grid; gap: 14px; }
.new-tagrole-form .btn { justify-self: start; }
.select-field.is-block { width: 100%; min-width: 0; }
.choice-group { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin-bottom: 6px; }
.choice, .toggle, .role-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; color: #d4d7e6; }
.choice input, .toggle input, .role-check input { flex: none; width: 16px; height: 16px; accent-color: var(--primary); }
.choice-other { padding-left: 26px; }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-card { display: grid; gap: 14px; align-content: start; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.settings-card h3 { font-size: .98rem; margin: 0; }
.field { display: grid; gap: 6px; margin: 0; }
.field > span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.dashboard textarea { width: 100%; min-width: 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); font: inherit; font-size: .86rem; line-height: 1.5; resize: vertical; }
.dashboard textarea:focus { outline: none; border-color: var(--primary); }
.dashboard textarea::placeholder { color: var(--subtle); }
.dashboard textarea.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; }
.embed-details summary { cursor: pointer; color: var(--accent); font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.embed-details .form-help { margin-top: 6px; }
.dash-section .form-help code { color: #bcd0ff; background: rgba(26, 92, 255, .14); border-radius: 5px; padding: 1px 5px; margin-right: 2px; font-size: .78rem; }
.role-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; max-height: 360px; overflow-y: auto; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.role-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.role-filter .search-box { flex: 1 1 220px; min-width: 0; }
.role-filter-count { color: var(--muted); font-size: .8rem; }
.role-filter-label { flex-basis: 100%; font-weight: 600; font-size: .88rem; }
.ignored-selection { padding: 16px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ignored-selection h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .9rem; letter-spacing: 0; }
.ignored-selection h3 span { padding: 2px 7px; border-radius: 5px; background: var(--surface-3); color: var(--muted); font-size: .75rem; }
.ignored-selection .form-help { margin: 0; }
.ignored-role-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 240px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; }
.ignored-role-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 3px 4px 3px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2); }
.ignored-role-name { min-width: 0; color: var(--text); font-size: .85rem; overflow-wrap: anywhere; }
.ignored-role-remove { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.ignored-role-remove:hover { background: var(--surface-3); color: var(--text); }
@media (pointer: coarse) { .ignored-role-remove { width: 44px; height: 44px; } }
.role-check { padding: 5px 0; min-width: 0; }
.role-check span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ee-tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.ee-tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 7px; cursor: pointer; }
.ee-tabs button:hover { color: #fff; }
.ee-tabs button[aria-selected="true"] { background: var(--surface-3); color: #fff; }

.embed-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 28px; align-items: start; margin-bottom: 20px; }
.embed-editor[hidden] { display: none; }
.ee-form, .ee-builder { display: grid; gap: 16px; min-width: 0; }
.ee-builder[hidden] { display: none; }
.embed-editor input:not([type]), .embed-editor input[type="text"] {
    width: 100%; min-width: 0; padding: 9px 12px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); font: inherit; font-size: .86rem;
}
.embed-editor input:not([type]):focus, .embed-editor input[type="text"]:focus { outline: none; border-color: var(--primary); }
.embed-editor input::placeholder { color: var(--subtle); }
.field > span em, .ee-group legend em { font-style: normal; font-weight: 600; letter-spacing: 0; color: var(--subtle); margin-left: 6px; text-transform: none; }

.ee-placeholders { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ee-placeholders > span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin-right: 2px; }
.ee-chip { border: 1px solid var(--border-strong); background: var(--surface-2); color: #bcd0ff; font: inherit; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; cursor: pointer; }
.ee-chip:hover { background: rgba(26, 92, 255, .2); border-color: rgba(26, 92, 255, .55); color: #fff; }

.ee-group { display: grid; gap: 12px; margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.ee-group legend { float: left; width: 100%; margin: 0 0 2px; padding: 0; font-size: .78rem; font-weight: 700; color: var(--text); }
.ee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ee-group .form-help { margin: 0; }

.ee-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.ee-color-input { display: flex; align-items: center; gap: 8px; }
.ee-color-input input[type="color"] { flex: none; width: 40px; height: 38px; padding: 3px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer; }
.ee-color-input input[type="text"] { width: 110px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.ee-swatches { display: flex; gap: 6px; padding-bottom: 6px; }
.ee-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); background: var(--swatch); box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; }
.ee-swatch:hover { box-shadow: 0 0 0 2px #fff; }

.ee-fields { display: grid; gap: 8px; }
.ee-fields:empty { display: none; }
.ee-field { display: flex; gap: 10px; padding: 10px; background: var(--surface-2); border-radius: 10px; }
.ee-field-main { flex: 1; display: grid; gap: 6px; min-width: 0; }
.ee-field-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
.ee-field-side .toggle { font-size: .78rem; }
.ee-group > .btn { justify-self: start; }

.ee-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ee-total { margin-left: auto; color: var(--subtle); font-size: .78rem; }
.ee-total.is-over { color: #ff929b; font-weight: 600; }
.ee-json-drawer summary { cursor: pointer; color: var(--accent); font-size: .82rem; font-weight: 600; }
.ee-json-drawer[open] summary { margin-bottom: 10px; }
.ee-json .form-help { margin-top: 6px; color: #ff929b; }

.ee-preview-col { position: sticky; top: 140px; display: grid; gap: 10px; min-width: 0; }
.ee-preview-col[hidden] { display: none; }
.ee-preview-label { display: flex; justify-content: space-between; align-items: center; color: #9499ad; font-size: .66rem; font-weight: 600; letter-spacing: .14em; }
.ee-preview .discord-msg { padding: 16px; }
.ee-preview-col .form-help { margin: 0; }
.ee-out { min-width: 0; color: #dbdee1; font-size: .92rem; line-height: 1.375; }
.ee-content { margin: 2px 0 0; overflow-wrap: anywhere; }
.ee-embed { max-width: 432px; margin: 6px 0 2px; padding: 8px 16px 16px 12px; gap: 16px; }
.ee-embed .embed-main { display: grid; gap: 8px; min-width: 0; padding-top: 6px; }
.ee-embed .embed-author { margin: 0; font-size: .875rem; }
.ee-embed .embed-author a { color: #f2f3f5; }
.ee-author-icon { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ee-embed .embed-title { color: #f2f3f5; font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.ee-embed .embed-title a { color: #00a8fc; }
.ee-embed .embed-desc { color: #dbdee1; font-size: .875rem; overflow-wrap: anywhere; }
.ee-embed .embed-thumb { width: 80px; height: 80px; margin-top: 8px; border-radius: 4px; object-fit: contain; }
.ee-out-fields { display: grid; gap: 8px; }
.ee-out-row { display: grid; gap: 8px; }
.ee-out-fname { color: #f2f3f5; font-weight: 600; font-size: .875rem; margin-bottom: 2px; overflow-wrap: anywhere; }
.ee-out-fvalue { color: #dbdee1; font-size: .875rem; overflow-wrap: anywhere; }
.ee-image { max-width: 100%; max-height: 300px; border-radius: 4px; object-fit: contain; justify-self: start; }
.ee-footer { display: flex; align-items: center; gap: 8px; color: #b5bac1; font-size: .75rem; font-weight: 500; }
.ee-footer-icon { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

.ee-out a { color: #00a8fc; }
.ee-out .mention { cursor: default; }
.ee-out .mention.is-role { background: color-mix(in srgb, var(--role-color) 20%, transparent); color: color-mix(in srgb, var(--role-color) 70%, #fff); }
.md-p + .md-p, .md-p + .md-h1, .md-p + .md-h2, .md-p + .md-h3 { margin-top: 4px; }
.md-h1, .md-h2, .md-h3 { color: #f2f3f5; font-weight: 700; line-height: 1.25; margin: 8px 0 4px; }
.md-h1 { font-size: 1.5rem; }
.md-h2 { font-size: 1.25rem; }
.md-h3 { font-size: 1rem; }
.md-h1:first-child, .md-h2:first-child, .md-h3:first-child { margin-top: 0; }
.md-sub { color: #949ba4; font-size: .78rem; }
.ee-out blockquote { margin: 2px 0; padding: 0 0 0 12px; border-left: 4px solid #4e5058; }
.ee-out ul { margin: 2px 0; padding-left: 22px; }
.md-code { padding: 1px 4px; background: #2b2d31; border-radius: 4px; font-size: .85em; color: #dbdee1; }
.ee-embed .md-code { background: #1e1f22; }
.md-pre { margin: 4px 0; padding: 8px; background: #1e1f22; border: 1px solid #1a1b1e; border-radius: 4px; font-size: .8rem; color: #dbdee1; white-space: pre-wrap; }
.md-spoiler { background: #1e1f22; color: transparent; border-radius: 3px; cursor: pointer; }
.md-spoiler:hover { color: inherit; background: rgba(255, 255, 255, .08); }

.save-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 28px; padding: 12px 12px 12px 18px;
    background: #111214; border: 1px solid var(--border-strong); border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.save-bar.is-enhanced {
    position: fixed; z-index: 40; left: 50%; bottom: 20px; width: min(720px, calc(100% - 32px)); margin: 0;
    transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden;
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), opacity .2s, visibility 0s .25s;
}
.save-bar.is-enhanced.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), opacity .2s; }
.save-bar-text { display: flex; align-items: center; gap: 10px; color: #f2f3f5; font-size: .9rem; font-weight: 600; }
.save-bar-text i { color: #f5d77a; }
.save-bar-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.btn-link-muted { background: transparent; border-color: transparent; color: #dbdee1; }
.btn-link-muted:hover, .btn-link-muted:focus { background: transparent; border-color: transparent; color: #fff; text-decoration: underline; }
body.has-save-bar main { padding-bottom: 100px; }

.toast-note {
    position: fixed; z-index: 45; left: 50%; bottom: 24px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
    padding: 10px 10px 10px 16px; border-radius: 10px; background: #111214; border: 1px solid var(--border-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5); color: #f2f3f5; font-size: .88rem; font-weight: 500;
    animation: toast-in .25s ease;
}
.toast-note.is-success { border-color: rgba(87, 189, 145, .5); }
.toast-note.is-success > i { color: #57bd91; }
.toast-note.is-leaving { opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .25s; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 575.98px) {
    .save-bar { flex-direction: column; align-items: stretch; gap: 10px; }
    .save-bar-actions { justify-content: flex-end; }
}

@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
    .add-grid { grid-template-columns: 1fr; gap: 32px; }
    .bot-showcase, .setup-grid { grid-template-columns: 1fr; gap: 36px; }
    .embed-editor { grid-template-columns: 1fr; }
    .ee-preview-col { position: static; }
    .bot-showcase { padding: 32px; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .feature-grid, .split-panels, .faq-grid, .settings-grid, .tagrole-list { grid-template-columns: 1fr; }
    .dash-section-head { flex-direction: column; }
    .embed-editor { grid-template-columns: 1fr; }
    .ee-preview-col { position: static; order: -1; }
    .ee-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .command-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
    .command-row span { grid-column: 1 / -1; grid-row: 2; }
    .bottom-callout { flex-direction: column; align-items: flex-start; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .select-field { flex: 1 1 calc(50% - 5px); min-width: 0; }
    .limit-notice { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .page-shell { padding-top: 36px; }
    .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .tag-card { padding: 12px; }
    .tag-chip { font-size: .95rem; }
    .tryon, .botdemo { padding: 16px; }
    .bot-showcase { padding: 22px 16px; margin-left: -4px; margin-right: -4px; }
    .tryon-toolbar { flex-wrap: wrap; gap: 10px; }
    .discord-embed { grid-template-columns: minmax(0, 1fr); }
    .embed-thumb { display: none; }
    .pager { gap: 8px; }
    .pager .btn { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .tag-card:hover { transform: none; }
}

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--subtle); flex: none; }
.is-ok .status-dot { background: #3ba55d; animation: status-pulse 2.4s ease-out infinite; }
.is-degraded .status-dot { background: #f0b232; }
.is-down .status-dot { background: #ed4245; }
@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 165, 93, .55); }
    70% { box-shadow: 0 0 0 7px rgba(59, 165, 93, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0); }
}

.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin: 24px 0 26px; }
.reach-item strong { display: block; font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--text); }
.reach-item span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.reach-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 500; }
.reach-live:hover { color: var(--text); border-color: var(--border-strong); }
.bot-showcase .reach { margin: 20px 0 4px; }

.status-hero { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; padding: 64px 0 28px; }
.status-hero h1 { margin: 0; }
.status-banner { display: flex; align-items: center; gap: 14px; min-width: 280px; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.status-banner .status-dot { width: 12px; height: 12px; }
.status-banner strong { display: block; font-size: .95rem; line-height: 1.3; }
.status-banner [data-status-detail] { color: var(--muted); font-size: .8rem; }
.status-banner.is-ok { border-color: rgba(59, 165, 93, .45); background: rgba(59, 165, 93, .07); }
.status-banner.is-degraded { border-color: rgba(240, 178, 50, .45); background: rgba(240, 178, 50, .07); }
.status-banner.is-down { border-color: rgba(237, 66, 69, .45); background: rgba(237, 66, 69, .07); }

.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stat-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card { min-width: 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-card > span { color: var(--muted); font-size: .78rem; font-weight: 500; }
.stat-card strong { display: block; margin-top: 4px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card small { color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.stat-card p { margin: 6px 0 0; color: var(--subtle); font-size: .8rem; line-height: 1.5; }
.status-updated { color: var(--subtle); font-size: .8rem; white-space: nowrap; }

.shard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.shard-card { padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.shard-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.shard-card h3 { flex: 1; margin: 0; font-size: 1rem; }
.shard-state { padding: 2px 9px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: .72rem; font-weight: 600; }
.shard-card.is-ok .shard-state { background: rgba(59, 165, 93, .15); color: #6fd394; }
.shard-card.is-degraded .shard-state { background: rgba(240, 178, 50, .15); color: #f5c869; }
.shard-card.is-down .shard-state { background: rgba(237, 66, 69, .15); color: #ff8a8c; }
.shard-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.shard-card dt { color: var(--subtle); font-size: .72rem; font-weight: 500; }
.shard-card dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.shard-card dd.lat-good { color: #6fd394; }
.shard-card dd.lat-ok { color: #f5c869; }
.shard-card dd.lat-slow { color: #ff8a8c; }
.shard-share { height: 4px; margin-top: 16px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.shard-share span { display: block; height: 100%; border-radius: 4px; background: var(--primary); }
.empty-note { color: var(--muted); }

@media (max-width: 991.98px) {
    .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .status-hero { padding: 40px 0 20px; }
    .status-banner { min-width: 0; width: 100%; }
    .stat-grid.is-three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-card { padding: 14px 16px; }
    .stat-card strong { font-size: 1.35rem; }
    .stat-grid:not(.is-three) > .stat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .is-ok .status-dot { animation: none; }
}

.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 56px 0; }
.split-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 14px; }
.split-lead { font-size: .98rem; max-width: 470px; }
.split-section code { color: #bcd0ff; background: rgba(26, 92, 255, .14); border-radius: 5px; padding: 1px 5px; font-size: .85em; }
.split-section .bot-points { margin-bottom: 18px; }

.discord-used { position: relative; display: flex; align-items: center; gap: 6px; padding: 12px 16px 0 72px; color: #949ba4; font-size: .78rem; line-height: 1.3; }
.discord-used::before { content: ""; position: absolute; left: 35px; top: 19px; width: 30px; height: 13px; border: 2px solid #4e5058; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.discord-used img, .discord-used-initial { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.discord-used-initial { display: grid; place-items: center; background: #5865f2; color: #fff; font-size: .55rem; font-weight: 700; }
.discord-used strong { color: #dbdee1; font-weight: 500; }
.discord-used .mention i { font-size: .7rem; }
.app-badge i { font-size: .6rem; }

.cv2 { margin-top: 6px; max-width: 430px; padding: 14px 16px 12px; background: #2b2d31; border: 1px solid #3f4147; border-left: 4px solid #2c63ed; border-radius: 8px; }
.cv2-text { margin: 0; color: #dbdee1; font-size: .86rem; }
.cv2-text strong { color: #f2f3f5; }
.cv2-code { padding: 0 3px; border-radius: 4px; background: #1e1f22; font-size: .8em; }
.cv2 > .cv2-text:first-child { margin-bottom: 10px; }
.cv2-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.dbtn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: #3f4148; color: #fff; font: inherit; font-size: .8rem; font-weight: 600; }
.dbtn.is-icon { min-width: 64px; font-size: .9rem; }
.dbtn.is-danger { background: #a52f33; }
button.dbtn { cursor: pointer; }
button.dbtn:hover:not(:disabled) { background: #4e5058; }
button.dbtn:disabled { opacity: .45; cursor: not-allowed; }
.cv2-sep { margin: 12px 0; border: 0; border-top: 1px solid #3f4147; opacity: 1; }
.cv2-section { display: grid; grid-template-columns: minmax(0, 1fr) 72px; align-items: center; gap: 12px; }
.cv2-title { display: block; margin-bottom: 2px; color: #f2f3f5; font-size: 1.05rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.cv2-line { display: block; color: #dbdee1; font-size: .86rem; line-height: 1.4; }
.cv2-small { display: block; color: #949ba4; font-size: .72rem; line-height: 1.45; }
.cv2-link, .cv2-link:hover { color: #00a8fc; }
.cv2-link:hover { text-decoration: underline; }
.cv2-thumb { width: 72px; height: 72px; image-rendering: pixelated; object-fit: contain; }

@media (max-width: 991.98px) {
    .split-section { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 0; }
}
@media (max-width: 575.98px) {
    .discord-used { padding-left: 64px; }
    .discord-used::before { left: 30px; }
    .cv2 { padding: 12px; }
    .cv2-section { grid-template-columns: minmax(0, 1fr) 56px; }
    .cv2-thumb { width: 56px; height: 56px; }
    .dbtn { padding: 0 10px; }
    .dbtn.is-icon { min-width: 48px; }
}

.tag-bumped { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(26, 92, 255, .14); color: #bcd0ff; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.tag-bumped + .tag-flag { margin-left: 2px; }
.bump-empty { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.bump-empty > i { color: var(--accent); font-size: 1.4rem; }
.bump-empty p { margin: 0; color: var(--muted); font-size: .9rem; }
.bump-empty code { color: #bcd0ff; background: rgba(26, 92, 255, .14); border-radius: 5px; padding: 1px 5px; font-size: .85em; }
