:root{
    --bg:#070b17;
    --bg-2:#0d1324;
    --panel:rgba(18,24,45,.72);
    --text:#f4f7ff;
    --muted:#a7b0c7;
    --line:rgba(255,255,255,.08);
    --blue:#4ea4ff;
    --purple:#8d5cff;
    --cyan:#67e8f9;
    --red:#ff6b81;
    --shadow:0 20px 60px rgba(0,0,0,.35);
    --radius:24px;
}

*{box-sizing:border-box;min-width:0}
html,body{margin:0;padding:0}
body{
    min-height:100vh;
    color:var(--text);
    font-family:Inter,Arial,sans-serif;
    background:
        radial-gradient(circle at top left, rgba(78,164,255,.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(141,92,255,.16), transparent 34%),
        linear-gradient(180deg, #060914 0%, #0a1020 100%);
    overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}

.bg-orb{
    position:fixed;
    width:340px;
    height:340px;
    border-radius:50%;
    filter:blur(70px);
    opacity:.35;
    pointer-events:none;
    z-index:0;
}
.orb-1{top:-80px;left:-60px;background:linear-gradient(135deg,var(--cyan),var(--blue))}
.orb-2{right:-80px;top:140px;background:linear-gradient(135deg,var(--purple),var(--blue))}

.site-header,.container{position:relative;z-index:1}

.site-header{
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:16px;
    align-items:center;
    padding:22px 28px 10px;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:1.35rem;
    font-weight:800;
}
.brand-text{
    background:linear-gradient(90deg,#fff,#bfdcff 30%,#d7c7ff 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.brand-cursor{
    display:inline-flex;
    width:32px;
    height:32px;
    border-radius:12px;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, rgba(78,164,255,.22), rgba(141,92,255,.22));
    border:1px solid rgba(255,255,255,.08);
}

.searchbar input{
    width:100%;
    min-height:48px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:var(--text);
    padding:0 16px;
}

.nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.container{
    max-width:1180px;
    margin:0 auto;
    padding:22px;
}

.page-banner-wrap{
    padding-top:0;
    padding-bottom:0;
}

.page-banner{
    padding:14px 18px;
    border-radius:18px;
    border:1px solid rgba(78,164,255,.22);
    background:rgba(78,164,255,.12);
    color:#dcecff;
}

.hero{padding:20px 4px 24px}
.hero h1{
    margin:10px 0 0;
    font-size:clamp(2.2rem,4vw,4rem);
    line-height:1.02;
}

.section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin:6px 0 18px;
}

.section-head h2{
    margin:6px 0 0;
}

.section-head p{
    margin:8px 0 0;
    color:var(--muted);
    line-height:1.6;
}

.section-kicker{
    color:#9cc7ff;
    font-size:.88rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hero-badge,.pill{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
}

.grid{display:grid;gap:18px}
.bots-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}

.card,.comment-card{
    background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
}

.bot-card{
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.bot-card-top{
    display:flex;
    gap:14px;
    align-items:center;
}

.bot-avatar,.bot-page-avatar,.owner-avatar,.user-avatar{
    object-fit:cover;
    border:1px solid rgba(255,255,255,.08);
    background:#10192d;
}
.bot-avatar{width:62px;height:62px;border-radius:18px}
.bot-page-avatar{width:108px;height:108px;border-radius:28px}
.owner-avatar,.user-avatar{width:36px;height:36px;border-radius:999px}

.bot-card-meta h3{margin:0 0 4px;font-size:1.1rem;word-break:break-word}
.bot-card-meta p,.bot-desc,.lead,.stat-label{color:var(--muted)}
.bot-desc{
    margin:0;
    line-height:1.6;
    overflow-wrap:anywhere;
}

.bot-card-footer{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.pill.warn{
    background:rgba(255,107,129,.12);
    border-color:rgba(255,107,129,.28);
    color:#ffd5dc;
}

.pill.subtle{
    background:rgba(255,255,255,.03);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
    color:#fff;
    cursor:pointer;
}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn-primary{
    background:linear-gradient(135deg,var(--blue),var(--purple));
    box-shadow:0 16px 40px rgba(91,114,255,.34);
}

.form-card,.bot-page{padding:24px}
.form{display:grid;gap:16px}
.form label{display:grid;gap:8px}
.form span{font-weight:600}
input,select,textarea{
    width:100%;
    min-height:50px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:var(--text);
    padding:12px 16px;
}
textarea{min-height:120px;resize:vertical}

.hidden{display:none !important}

.empty-state{
    display:grid;
    gap:10px;
}

.empty-state h2{
    margin:0;
}

.empty-state p{
    margin:0;
    color:var(--muted);
}

.bot-page-header{
    display:flex;
    gap:20px;
    align-items:flex-start;
    margin-bottom:20px;
}
.bot-main{display:grid;gap:14px}
.inline-actions{display:flex;gap:12px;flex-wrap:wrap}

.warning-box{
    margin:16px 0 20px;
    padding:16px 18px;
    border-radius:18px;
    background:rgba(255,107,129,.12);
    border:1px solid rgba(255,107,129,.28);
    color:#ffdbe2;
}

.stats-grid,.detail-grid{
    display:grid;
    gap:16px;
}
.stats-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    margin-bottom:16px;
}
.detail-grid{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.stat-card,.detail-card{
    padding:18px;
    border-radius:20px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.06);
    overflow:hidden;
}
.detail-card p, .stat-card strong{
    overflow-wrap:anywhere;
}

.api-docs-page{
    display:grid;
    gap:24px;
}

.api-docs-summary{
    margin-bottom:0;
}

.api-docs-section{
    display:grid;
    gap:16px;
}

.api-docs-grid{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.api-endpoint-card{
    display:grid;
    gap:14px;
}

.api-endpoint-head{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.api-method-pill{
    font-weight:800;
    letter-spacing:.05em;
}

.api-route{
    display:block;
    width:100%;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    overflow:auto;
}

.api-endpoint-copy{
    margin:0;
    color:var(--muted);
    line-height:1.6;
}

.api-list{
    margin:.45rem 0 0;
    padding-left:1.15rem;
    color:var(--muted);
    display:grid;
    gap:6px;
}

.api-list strong{
    color:var(--text);
}

.owner-box,.profile-head,.comment-author,.comment-head{
    display:flex;
    align-items:center;
    gap:12px;
}
.comment-head{justify-content:space-between}
.comments-section{margin-top:24px;display:grid;gap:14px}
.comment-card{padding:16px 18px}
.comment-card p{margin:10px 0 0;overflow-wrap:anywhere}

.rating-section{margin-top:26px}
.rating-chart{display:grid;gap:10px}
.rating-row{
    display:grid;
    grid-template-columns:46px 1fr 48px;
    gap:12px;
    align-items:center;
}
.bar{
    height:12px;
    border-radius:999px;
    background:rgba(255,255,255,.06);
    overflow:hidden;
}
.fill{
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--blue),var(--purple));
}

@media (max-width: 860px){
    .site-header{
        grid-template-columns:1fr;
    }
    .bot-page-header{
        flex-direction:column;
    }
}















.narrow{
    max-width:860px;
    margin:0 auto;
}

.field-hint{
    color:var(--muted);
    font-size:.92rem;
}

.select-wrap{
    position:relative;
}

.select-wrap select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    padding-right:48px;
    background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.05));
}

.select-wrap::after{
    content:"";
    position:absolute;
    right:18px;
    top:50%;
    width:10px;
    height:10px;
    border-right:2px solid #c9d6ff;
    border-bottom:2px solid #c9d6ff;
    transform:translateY(-65%) rotate(45deg);
    pointer-events:none;
}

.tag-editor{
    display:grid;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
}

.tag-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tag-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:0 10px 0 12px;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(78,164,255,.16), rgba(141,92,255,.16));
    border:1px solid rgba(255,255,255,.08);
}

.tag-pill button{
    width:22px;
    height:22px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
}

.tag-input-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
}

.btn-danger{
    background:rgba(255,107,129,.14);
    border-color:rgba(255,107,129,.24);
    color:#ffdce3;
}

.markdown-body{
    color:var(--text);
    overflow-wrap:anywhere;
}

.markdown-body p{
    margin:.7rem 0;
    color:var(--muted);
    line-height:1.7;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3{
    margin:1rem 0 .5rem;
    line-height:1.2;
}

.markdown-body code{
    padding:.18rem .45rem;
    border-radius:8px;
    background:rgba(255,255,255,.08);
    font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size:.92em;
}

.markdown-body a{
    color:#9cc7ff;
    text-decoration:underline;
}

.invite-page{
    display:grid;
    gap:18px;
    justify-items:start;
}

.guild-picker{
    position:relative;
}

.guild-picker-trigger{
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:var(--text);
    padding:0 16px;
    cursor:pointer;
}

.guild-picker-menu{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    z-index:30;
    display:grid;
    gap:8px;
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    background:#10192d;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
    max-height:320px;
    overflow:auto;
}

.guild-option{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    padding:10px 12px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.06);
    background:rgba(255,255,255,.03);
    color:#fff;
    text-align:left;
    cursor:pointer;
}

.guild-option img{
    width:36px;
    height:36px;
    border-radius:999px;
    object-fit:cover;
    flex:0 0 36px;
}

.guild-option-meta{
    display:grid;
    gap:2px;
}

.guild-option-meta strong{
    font-size:.96rem;
}

.guild-option-meta small{
    color:var(--muted);
}

.guild-option-disabled{
    opacity:.72;
}

.support-guild-hint{
    margin-top:8px;
    color:var(--muted);
    font-size:.92rem;
}

.support-guild-hint-error{
    color:#ffb3c1;
}

.field-group{
    display:grid;
    gap:8px;
}

.field-label{
    font-weight:600;
}

.legal-editor-group{
    gap:14px;
    padding:18px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
}

.legal-editor-head{
    display:grid;
    gap:6px;
}

.legal-editor-card{
    display:grid;
    gap:14px;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(7,11,23,.45);
}

.legal-editor-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.legal-editor-title{
    display:grid;
    gap:4px;
}

.legal-editor-title strong{
    font-size:1rem;
}

.legal-editor-title small{
    color:var(--muted);
    line-height:1.5;
}

.legal-status-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:#eef4ff;
    white-space:nowrap;
    font-size:.88rem;
    font-weight:700;
}

.legal-status-live{
    background:rgba(68,208,129,.14);
    border-color:rgba(68,208,129,.28);
    color:#d8ffea;
}

.legal-status-pending{
    background:rgba(250,166,26,.14);
    border-color:rgba(250,166,26,.28);
    color:#ffe8b7;
}

.legal-status-idle{
    color:var(--muted);
}

.legal-link-list{
    display:grid;
    gap:10px;
}

.legal-link-row{
    display:grid;
    gap:6px;
}

.legal-link-row span{
    font-size:.88rem;
    color:var(--muted);
}

.legal-link-row input[readonly]{
    min-height:46px;
    background:rgba(255,255,255,.04);
    color:#dcecff;
}

.captcha-box{
    display:grid;
    gap:14px;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
}

.captcha-box-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.captcha-image{
    width:100%;
    max-width:360px;
    min-height:88px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:#fff;
}

.support-guild-cta{
    margin-top:10px;
    display:grid;
    gap:10px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,107,129,.10);
    border:1px solid rgba(255,107,129,.22);
}

.support-guild-cta span{
    color:#ffdce3;
}
.bot-hero{
    display:grid;
    gap:22px;
    margin-bottom:22px;
}

.bot-hero-left{
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.bot-page-avatar-lg{
    width:120px;
    height:120px;
    border-radius:28px;
}

.bot-heading{
    display:grid;
    gap:12px;
    flex:1;
}

.bot-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    overflow:hidden;
    background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    box-shadow:inset 0 -1px 0 rgba(255,255,255,.05);
}

.bot-tabs-header{
    margin:-24px -24px 24px;
    border:none;
    border-bottom:1px solid rgba(255,255,255,.08);
    border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    overflow:hidden;
}

.bot-tab{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:78px;
    padding:16px 18px 14px;
    background:rgba(255,255,255,.02);
    color:#cdd8f1;
    text-align:center;
    border-right:1px solid rgba(255,255,255,.08);
    transition:background .16s ease, color .16s ease;
}

.bot-tab:last-child{
    border-right:none;
}

.bot-tab::after{
    content:"";
    position:absolute;
    left:22px;
    right:22px;
    bottom:0;
    height:3px;
    border-radius:999px 999px 0 0;
    background:transparent;
    transition:background .16s ease, opacity .16s ease;
    opacity:.9;
}

.bot-tab:hover{
    background:rgba(255,255,255,.05);
    color:#eef4ff;
}

.bot-tab > span:first-child{
    font-size:1.02rem;
    font-weight:600;
    line-height:1.25;
}

.bot-tab.is-active{
    background:rgba(255,255,255,.08);
    color:#fff;
}

.bot-tab.is-active::after{
    background:linear-gradient(90deg, #5ec5ff, var(--blue));
}

.bot-tab-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:auto;
    padding:0;
    border-radius:0;
    background:transparent;
    color:var(--muted);
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.bot-tab.is-active .bot-tab-badge{
    color:#a9dcff;
}

.bot-heading-top{
    display:flex;
    align-items:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.bot-heading-top h1{
    margin:0;
    line-height:1;
}

.bot-discriminator{
    color:var(--muted);
    font-size:1rem;
    transform:translateY(-1px);
}

.bot-short-desc{
    margin:0;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.6;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.shortlink-box{
    display:inline-flex;
    flex-direction:column;
    gap:8px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    width:fit-content;
    max-width:100%;
    transition:all .14s ease;
}

.shortlink-box.copied{
    border-color:rgba(103,232,249,.45);
    box-shadow:0 0 0 3px rgba(103,232,249,.08);
}

.shortlink-label{
    font-size:.85rem;
    color:var(--muted);
}

.shortlink-copy{
    display:flex;
    align-items:center;
    gap:14px;
    border:none;
    background:transparent;
    color:var(--text);
    cursor:pointer;
    font:inherit;
    padding:0;
}

.shortlink-copy-state{
    padding:4px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.07);
    font-size:.85rem;
}

.detail-card-wide{
    grid-column:1 / -1;
}

.legal-document-card{
    margin-top:16px;
    display:grid;
    gap:18px;
}

.legal-document-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.legal-document-head h2{
    margin:10px 0 0;
}

.legal-document-kicker{
    margin-bottom:4px;
}

.policy-state-card{
    display:grid;
    gap:12px;
    padding:18px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
}

.policy-state-card h3{
    margin:0;
}

.policy-state-card p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.policy-link-stack{
    display:grid;
    gap:6px;
    margin-top:4px;
    padding:14px;
    border-radius:16px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
}

.policy-link-stack span{
    color:var(--muted);
    font-size:.88rem;
}

.policy-link-stack strong{
    overflow-wrap:anywhere;
}

.star-rating{
    display:flex;
    flex-direction:row-reverse;
    justify-content:flex-end;
    gap:8px;
}

.star-rating input{
    display:none;
}

.star-rating label{
    font-size:2rem;
    line-height:1;
    cursor:pointer;
    color:rgba(255,255,255,.18);
    transition:transform .12s ease, color .12s ease;
    user-select:none;
}

.star-rating label:hover,
.star-rating label.active{
    color:#ffd76a;
    transform:scale(1.08);
}

.support-guild-cta{
    margin-top:10px;
    display:grid;
    gap:10px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,107,129,.10);
    border:1px solid rgba(255,107,129,.22);
}

.support-guild-cta span{
    color:#ffdce3;
}

.markdown-body pre{
    padding:14px;
    border-radius:16px;
    background:rgba(255,255,255,.06);
    overflow:auto;
}

.markdown-body blockquote{
    margin:1rem 0;
    padding:0 0 0 14px;
    border-left:3px solid rgba(255,255,255,.18);
    color:var(--muted);
}

.markdown-body ul{
    padding-left:1.2rem;
}

.markdown-body hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.1);
    margin:1rem 0;
}

@media (max-width: 780px){
    .bot-hero-left{
        flex-direction:column;
    }

    .section-head,
    .pagination{
        align-items:flex-start;
    }

    .legal-editor-card-head,
    .legal-document-head{
        flex-direction:column;
    }

    .bot-tabs{
        grid-template-columns:1fr;
    }

    .bot-tabs-header{
        margin:-24px -24px 20px;
    }

    .bot-tab{
        min-height:68px;
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .bot-tab:last-child{
        border-bottom:none;
    }
}
.markdown-body{
    color:var(--text);
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.7;
}

.markdown-body > *:first-child{
    margin-top:0;
}

.markdown-body > *:last-child{
    margin-bottom:0;
}

.markdown-body p{
    margin:.8rem 0;
    color:var(--muted);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3{
    margin:1.1rem 0 .55rem;
    line-height:1.2;
    color:var(--text);
    letter-spacing:-0.02em;
}

.markdown-body h1{
    font-size:1.55rem;
}

.markdown-body h2{
    font-size:1.3rem;
}

.markdown-body h3{
    font-size:1.1rem;
}

.markdown-body hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.12);
    margin:1rem 0;
}

.markdown-body ul,
.markdown-body ol{
    margin:.75rem 0;
    padding-left:1.35rem;
    color:var(--muted);
}

.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ul,
.markdown-body ol ol{
    margin:.35rem 0;
}

.markdown-body li{
    margin:.2rem 0;
}

.markdown-body blockquote{
    margin:.9rem 0;
    padding:.1rem 0 .1rem .9rem;
    border-left:3px solid rgba(255,255,255,.18);
    color:#c7d0e8;
}

.markdown-body .md-table-wrap{
    margin:1rem 0;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.03);
}

.markdown-body table{
    width:100%;
    min-width:520px;
    border-collapse:collapse;
}

.markdown-body th,
.markdown-body td{
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    vertical-align:top;
}

.markdown-body th{
    color:var(--text);
    font-weight:700;
    background:rgba(255,255,255,.05);
}

.markdown-body td{
    color:var(--muted);
}

.markdown-body tbody tr:last-child td{
    border-bottom:none;
}

.markdown-body .md-table-align-left{
    text-align:left;
}

.markdown-body .md-table-align-center{
    text-align:center;
}

.markdown-body .md-table-align-right{
    text-align:right;
}

.markdown-body code{
    padding:.18rem .45rem;
    border-radius:8px;
    background:rgba(255,255,255,.08);
    font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size:.92em;
    color:#eef4ff;
}

.markdown-body pre{
    margin:1rem 0;
    padding:14px 16px;
    border-radius:16px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.06);
    overflow:auto;
}

.markdown-body pre code{
    padding:0;
    border-radius:0;
    background:transparent;
    display:block;
    white-space:pre-wrap;
    word-break:break-word;
}

.markdown-body a{
    color:#9cc7ff;
    text-decoration:underline;
    text-underline-offset:2px;
}

.markdown-body del{
    opacity:.9;
}

.markdown-body .md-underline{
    text-decoration:underline;
    text-decoration-thickness:1.5px;
    text-underline-offset:2px;
}

.markdown-body .md-subtext{
    margin:.45rem 0;
    font-size:.88rem;
    color:#8f9ab3;
}

.markdown-body .md-spoiler{
    background:rgba(255,255,255,.14);
    color:transparent;
    border-radius:6px;
    padding:0 .28em;
    transition:all .15s ease;
    cursor:pointer;
    user-select:none;
}

.markdown-body .md-spoiler:hover{
    color:inherit;
    background:rgba(255,255,255,.08);
}

.markdown-body .md-task-item{
    display:inline-flex;
    align-items:flex-start;
    gap:.55rem;
}

.markdown-body .md-checkbox{
    position:relative;
    width:1rem;
    height:1rem;
    margin-top:.2rem;
    flex:0 0 1rem;
    border-radius:4px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.04);
}

.markdown-body .md-checkbox-checked{
    border-color:rgba(78,164,255,.45);
    background:linear-gradient(135deg, rgba(78,164,255,.95), rgba(141,92,255,.92));
}

.markdown-body .md-checkbox-checked::after{
    content:"";
    position:absolute;
    left:5px;
    top:1px;
    width:4px;
    height:8px;
    border-right:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:rotate(45deg);
}

.bot-avatar-wrap{
    position:relative;
    display:inline-flex;
}

.presence-dot{
    position:absolute;
    right:3px;
    bottom:3px;
    width:32px;
    height:32px;
    border-radius:999px;
    border:3px solid #0a1020;
    box-shadow:0 0 0 1px rgba(255,255,255,.1);
}

.presence-online{
    background:#44d081;
}

.presence-idle{
    background:#faa61a;
}

.presence-dnd{
    background:#ed4245;
}

.presence-offline{
    background:#747f8d;
}

.presence-unknown{
    background:#747f8d;
}

.support-remove-form{
    margin-top:12px;
}

.support-clear-btn{
    margin-top:6px;
}

.site-footer{
    position:relative;
    z-index:0;
    display:flex;
    gap:16px;
    justify-content:center;
    flex-wrap:wrap;
    padding:0 22px 28px;
}

.site-footer a{
    color:var(--muted);
    text-decoration:underline;
    text-underline-offset:2px;
}

.pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-top:22px;
    padding:16px 18px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.035);
}

.pagination-info{
    display:grid;
    gap:4px;
}

.pagination-info span{
    color:var(--muted);
}

.pagination-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.legal-page,
.leave-page{
    display:grid;
    gap:14px;
}

.legal-page h1,
.leave-page h1{
    margin:0;
}

.legal-page h2{
    margin:14px 0 0;
}

.legal-links{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.legal-links a{
    color:var(--muted);
    text-decoration:underline;
    text-underline-offset:2px;
}

.leave-target{
    display:grid;
    gap:6px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
}

.leave-target span{
    color:var(--muted);
    font-size:.9rem;
}
