.preferences{display:flex;align-items:center;gap:8px;flex-shrink:0}.theme-toggle{border:1px solid var(--line);border-radius:8px;width:36px;height:36px;background:transparent;color:var(--ink);display:grid;place-items:center;font-size:21px;line-height:1}.theme-sun{display:none}.language-control select{border:1px solid var(--line);border-radius:8px;padding:6px;background:transparent;color:var(--ink);font-size:12px;max-width:88px;height:36px}.language-control option{background:#fff;color:#183957}.nav{gap:18px}.nav nav{gap:20px}.nav-cta{margin-left:0}.theme-toggle:hover{background:var(--pale)}
html[data-theme=dark]{color-scheme:dark;--ink:#dceaf6;--muted:#b0c3d4;--line:#31465a;--blue:#8fc9f2;--pale:#20354a;--white:#15283b}
html[data-theme=dark] body{background:#0e1c2b}html[data-theme=dark] .theme-moon{display:none}html[data-theme=dark] .theme-sun{display:block}
html[data-theme=dark] :is(.header,.footer,.feature-card,.discord-card,.floating-tag,.floating-bottom,.command-tools,.filter,.search-box,.demo-toggle,.demo-scene-buttons button,.button-light,.menu-toggle,.language-control option){background:#142639;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.workflow-section,.feature-wide,.closing,.legal-contact,.notice,.update-preview,.mode-recommended,.command-card[open] summary,.sidebar,.discord-embed,.demo-standby,.demo-typing,thead th,.demo-command-list>div,.demo-member){background:#1b3045;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.feature-icon,.chips span,.release-pill,.version,.command-category,code,kbd,.discord-input,.command-demo .discord-input,.app-badge,.demo-dashboard-tabs span){background:#203a52;color:#c2e1f8;border-color:#3b5671}
html[data-theme=dark] :is(.nav a[aria-current=page],.highlight,.guide-content a:not(.button):not(.copy),.legal-content a:not(.button)){color:#97cbf1}
html[data-theme=dark] :is(.eyebrow,.small-label,.footer-bottom,.hero-notes,.discord-bar,.demo-label,.demo-counter,.demo-scene-caption,.message-hint,.command-demo .message-hint,.embed-footer,.command-demo .embed-footer,.demo-input-meta,.demo-response>p,.command-demo .demo-response>p,.demo-command-list span,.demo-security-grid,.demo-member small,.demo-next-step,table small,.legal-meta,.sidebar-note){color:#abc3d7}
html[data-theme=dark] .notice{color:#bfd4e5!important}html[data-theme=dark] .permission{color:#b8dbf4!important}html[data-theme=dark] :is(.demo-security-grid b,.embed-grid b,.command-demo [data-demo-command],.demo-command-list code){color:#cce7fa}
html[data-theme=dark] .hero-scene{background:radial-gradient(ellipse at 55% 40%,#203f5b 0,transparent 65%)}html[data-theme=dark] .moon-art{opacity:.7}html[data-theme=dark] .orbit{border-color:#2d4b65}html[data-theme=dark] :is(.filter.active,.demo-scene-buttons button[aria-pressed=true],.demo-dashboard-tabs .selected){background:#355b7b;color:#fff;border-color:#5e89ab}html[data-theme=dark] .button-dark{background:#a8d7f5;color:#102d44}html[data-theme=dark] .button-dark:hover{background:#c9e8fc;color:#102d44}html[data-theme=dark] .demo-member-state{background:#51452b;color:#f5da9d}html[data-theme=dark] .demo-member-avatar{background:#374468;color:#d9e1fb}html[data-theme=dark] .mini-icon{background:#284b45;color:#b8e2d2}html[data-theme=dark] .demo-sent{color:#9cd4bf}html[data-theme=dark] .command-demo[data-phase=typing] .discord-input{box-shadow:0 0 0 3px #294d6b}
html[lang=en] .hero h1{font-size:clamp(34px,3.7vw,53px)}html[lang=en] .hero-description{font-size:15px}html[lang=en] .demo-response strong{font-size:11px}html[lang=en] .demo-response>p{font-size:9px}html[lang=en] .demo-command-list span{font-size:7px}html[lang=en] .demo-response .embed-footer{font-size:7px}html[lang=en] .demo-member b{font-size:9px}html[lang=en] .demo-input-meta{font-size:7px}
@media(max-width:1120px){.nav-cta{display:none}}
@media(max-width:780px){.preferences{order:1;margin-left:auto;gap:6px}.menu-toggle{margin-left:0}.nav{gap:9px}.language-control select{max-width:78px;font-size:11px}.theme-toggle{width:32px;height:34px}.nav nav{gap:13px}html[lang=en] .hero h1{font-size:38px}html[lang=en] .demo-response .embed-footer{font-size:7px}}
@media(max-width:370px){.brand{font-size:18px;gap:6px}.brand img{width:29px;height:29px}.preferences{gap:4px}.language-control select{max-width:70px;padding-inline:3px}.menu-toggle{padding-inline:8px}.nav{gap:6px}html[lang=en] .hero h1{font-size:32px}html[lang=en] .command-demo .demo-response strong{font-size:9px}html[lang=en] .demo-input-meta{font-size:6px}}
html[lang=en] .highlight{margin-inline-start:.16em}
