/* ==========================================================
   DROS BOT — INTERACTIVE COMMANDS EXPLORER & DISCORD SIMULATOR
   Matches Space Guardian Landing Theme + Authentic Discord Dark UI
   ========================================================== */

body.commands-page {
    opacity: 1 !important;
    background: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
}

/* Ambient Space Background */
.cmd-space-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse 65% 45% at 50% 0%, rgba(122, 108, 255, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 55% 45% at 92% 85%, rgba(182, 245, 66, 0.08) 0%, transparent 65%),
        linear-gradient(180deg, #0a0620 0%, #120a38 55%, #0c0726 100%);
}
.cmd-stars {
    position: absolute;
    inset: -5%;
    background-image:
        radial-gradient(1.5px 1.5px at 14% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 74% 12%, rgba(207,201,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 42% 62%, rgba(255,255,255,0.65), transparent),
        radial-gradient(1px 1px at 88% 72%, rgba(207,201,255,0.6), transparent),
        radial-gradient(1px 1px at 26% 84%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 60% 34%, rgba(182,245,66,0.55), transparent);
    background-size: 480px 480px;
    opacity: 0.45;
}
.cmd-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.24;
}
.cmd-glow-1 {
    width: 480px; height: 480px;
    background: #6a63f7;
    top: -120px; left: -100px;
}
.cmd-glow-2 {
    width: 420px; height: 420px;
    background: #8b5cf6;
    bottom: 8%; right: -90px;
}

/* Navbar override for scrollable commands page */
.cmd-navbar {
    background: rgba(10, 6, 32, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(190, 180, 255, 0.1);
}

/* Main Container */
.cmd-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 108px 32px 80px;
    flex: 1;
}

/* ---------- Hero ---------- */
.cmd-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 38px;
}
.cmd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 99px;
    background: rgba(122, 108, 255, 0.15);
    border: 1px solid rgba(163, 157, 255, 0.32);
    color: #cfc9ff;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 0 24px rgba(106, 99, 247, 0.22);
}
.cmd-hero-badge i { color: var(--lime); }

.cmd-hero-title {
    font-size: clamp(32px, 4.8vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    color: #fff;
}
.cmd-hero-title span {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #b6f542 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cmd-hero-sub {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 24px;
}

.cmd-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.cmd-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 99px;
    background: rgba(24, 15, 68, 0.72);
    border: 1px solid rgba(190, 180, 255, 0.16);
    font-size: 13px;
    color: #d9d6ff;
    font-weight: 600;
}
.cmd-stat-pill i { color: var(--primary-light); font-size: 13px; }
.cmd-stat-pill strong { color: #fff; font-weight: 800; }
.cmd-stat-pill.accent {
    background: rgba(182, 245, 66, 0.1);
    border-color: rgba(182, 245, 66, 0.34);
    color: #e4ffa8;
}
.cmd-stat-pill.accent i { color: var(--lime); }

/* ---------- Controls Card ---------- */
.cmd-controls-card {
    background: linear-gradient(165deg, rgba(28, 18, 82, 0.82) 0%, rgba(14, 9, 44, 0.9) 100%);
    border: 1px solid rgba(190, 180, 255, 0.16);
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 26px;
    box-shadow: 0 18px 46px rgba(4, 2, 20, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cmd-controls-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cmd-search-box {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 6, 32, 0.8);
    border: 1px solid rgba(190, 180, 255, 0.18);
    border-radius: 13px;
    padding: 0 14px;
    height: 46px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cmd-search-box:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(138, 147, 255, 0.2);
}
.cmd-search-box > i {
    color: var(--primary-light);
    font-size: 14px;
}
.cmd-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.cmd-search-box input::placeholder { color: #7e78b2; }
.cmd-search-clear {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #cfc9ff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.cmd-search-clear:hover { background: rgba(255, 107, 129, 0.25); color: #fff; }
.cmd-kbd-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    white-space: nowrap;
}

.cmd-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cmd-control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cmd-ctrl-lbl {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.cmd-ctrl-lbl i { color: var(--primary-light); font-size: 11px; }

.cmd-seg-group {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 6, 32, 0.78);
    border: 1px solid rgba(190, 180, 255, 0.14);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}
.cmd-seg-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.cmd-seg-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.cmd-seg-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 12px rgba(88, 101, 242, 0.45);
}

/* Category Pills */
.cmd-cat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cmd-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 11px;
    background: rgba(10, 6, 32, 0.62);
    border: 1px solid rgba(190, 180, 255, 0.14);
    color: #cbc6f3;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--ease-spring);
}
.cmd-cat-pill:hover {
    background: rgba(122, 108, 255, 0.16);
    border-color: rgba(163, 157, 255, 0.38);
    color: #fff;
    transform: translateY(-1px);
}
.cmd-cat-pill.active {
    background: linear-gradient(135deg, rgba(122, 108, 255, 0.34), rgba(88, 101, 242, 0.2));
    border-color: rgba(182, 245, 66, 0.55);
    color: #fff;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.28);
}
.cmd-cat-count {
    font-size: 11px;
    font-weight: 800;
    padding: 1.5px 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: #d9d6ff;
}
.cmd-cat-pill.active .cmd-cat-count {
    background: var(--lime);
    color: #0a0620;
}

/* ---------- Split-Screen Workspace ---------- */
.cmd-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.cmd-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 4px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}
.cmd-expand-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(190, 180, 255, 0.16);
    color: #dcd8ff;
    padding: 6px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.cmd-expand-toggle:hover {
    background: rgba(122, 108, 255, 0.22);
    border-color: var(--primary-light);
    color: #fff;
}

/* Command Cards Stack */
.cmd-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cmd-card {
    background: linear-gradient(165deg, rgba(28, 18, 82, 0.78) 0%, rgba(14, 9, 44, 0.88) 100%);
    border: 1px solid rgba(190, 180, 255, 0.13);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.22s ease, transform 0.22s var(--ease-spring), box-shadow 0.22s ease;
}
.cmd-card:hover {
    border-color: rgba(163, 157, 255, 0.34);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(4, 2, 20, 0.45);
}
.cmd-card.is-selected {
    border-color: rgba(182, 245, 66, 0.65);
    box-shadow: 0 0 0 1px rgba(182, 245, 66, 0.28), 0 16px 38px rgba(88, 101, 242, 0.28);
}

.cmd-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
}
.cmd-card-left {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    flex: 1;
}
.cmd-card-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cmd-card-info { min-width: 0; flex: 1; }

.cmd-card-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}
.cmd-slash-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(88, 101, 242, 0.24);
    border: 1px solid rgba(138, 147, 255, 0.42);
    padding: 3px 10px;
    border-radius: 7px;
}
.cmd-prefix-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 600;
    color: #c7c2f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 7px;
}
.cmd-meta-tag {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cmd-meta-tag.perm-everyone { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.cmd-meta-tag.perm-mod      { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.32); }
.cmd-meta-tag.perm-admin    { background: rgba(244, 63, 94, 0.15);  color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.32); }
.cmd-meta-tag.cd-tag        { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); }
.cmd-meta-tag.playable-tag  { background: rgba(182, 245, 66, 0.14); color: var(--lime); border: 1px solid rgba(182, 245, 66, 0.35); }

.cmd-card-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #c8c3ee;
}

.cmd-card-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.cmd-try-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(182, 245, 66, 0.13);
    border: 1px solid rgba(182, 245, 66, 0.42);
    color: #e4ffa8;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s var(--ease-spring);
}
.cmd-try-btn:hover,
.cmd-card.is-selected .cmd-try-btn {
    background: var(--lime);
    color: #0a0620;
    border-color: var(--lime);
    box-shadow: 0 6px 18px rgba(182, 245, 66, 0.35);
}
.cmd-chev-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cmd-chev-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cmd-card.is-expanded .cmd-chev-btn i { transform: rotate(180deg); color: var(--lime); }

/* Expandable Drawer */
.cmd-card-body {
    display: none;
    padding: 16px 18px 18px;
    background: rgba(8, 5, 26, 0.72);
    border-top: 1px solid rgba(190, 180, 255, 0.1);
}
.cmd-card.is-expanded .cmd-card-body { display: block; }

.cmd-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cmd-usage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: rgba(20, 13, 62, 0.72);
    border: 1px solid rgba(190, 180, 255, 0.14);
    border-radius: 10px;
    padding: 10px 13px;
}
.cmd-usage-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: #e2e8f0;
    word-break: break-word;
}
.cmd-copy-mini {
    background: rgba(88, 101, 242, 0.22);
    border: 1px solid rgba(138, 147, 255, 0.35);
    color: #e0e7ff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.16s ease;
}
.cmd-copy-mini:hover { background: var(--primary); color: #fff; }

.cmd-detail-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #938dc9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cmd-opts-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cmd-opt-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
}
.cmd-opt-left { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cmd-opt-name {
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.cmd-opt-req {
    font-size: 10px;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 5px;
    text-transform: uppercase;
}
.cmd-opt-req.is-req { background: rgba(244, 63, 94, 0.18); color: #fda4af; }
.cmd-opt-req.is-opt { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.cmd-opt-desc { color: var(--text-muted); font-size: 12.5px; }

.cmd-aliases-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.cmd-alias-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d9d6ff;
}

/* Empty State */
.cmd-empty-state {
    text-align: center;
    padding: 54px 24px;
    border-radius: 18px;
    background: rgba(20, 12, 60, 0.72);
    border: 1px dashed rgba(190, 180, 255, 0.25);
}
.cmd-empty-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(122, 108, 255, 0.18);
    color: var(--primary-light);
    display: grid; place-items: center;
    font-size: 22px;
}
.cmd-empty-state h3 { font-size: 17px; margin-bottom: 6px; }
.cmd-empty-state p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; }
.cmd-reset-btn {
    background: var(--lime);
    color: #0a0620;
    border: none;
    padding: 9px 18px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* ==========================================================
   STICKY LIVE DISCORD SIMULATOR (RIGHT PANEL)
   ========================================================== */
.cmd-sim-col {
    position: sticky;
    top: 86px;
}
.cmd-sim-backdrop { display: none; }

.cmd-sim-shell {
    border-radius: 20px;
    overflow: hidden;
    background: #1e1f22;
    border: 1px solid rgba(190, 180, 255, 0.22);
    box-shadow: 0 26px 65px rgba(4, 2, 20, 0.72), 0 0 36px rgba(106, 99, 247, 0.18);
    display: flex;
    flex-direction: column;
}

/* Sim Header */
.cmd-sim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    background: linear-gradient(90deg, #1b153f 0%, #232428 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cmd-sim-channel {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 800;
    color: #f2f3f5;
}
.cmd-sim-channel i { color: #80848e; font-size: 14px; }
.cmd-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime-glow);
}
.cmd-sim-pill {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
    padding: 2.5px 7px;
    border-radius: 5px;
    background: rgba(182, 245, 66, 0.14);
    border: 1px solid rgba(182, 245, 66, 0.35);
    color: var(--lime);
}

.cmd-sim-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cmd-lang-switch {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}
.cmd-lang-btn {
    border: none;
    background: transparent;
    color: #949ba4;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.cmd-lang-btn:hover { color: #fff; }
.cmd-lang-btn.active {
    background: #5865F2;
    color: #fff;
}
.cmd-sim-close-mobile {
    display: none;
    width: 30px; height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

/* Discord Slash Picker Strip */
.cmd-slash-picker {
    background: #2b2d31;
    border-bottom: 1px solid #1e1f22;
    padding: 11px 16px;
}
.cmd-slash-picker.is-rtl { direction: rtl; text-align: right; }
.cmd-slash-picker-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.cmd-slash-picker-cmd {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cmd-slash-bot-ico {
    width: 20px; height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.cmd-slash-picker-cmd strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    color: #f2f3f5;
}
.cmd-slash-args {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
}
.cmd-slash-arg-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 1.5px 6px;
    border-radius: 4px;
    background: #1e1f22;
    color: #b5bac1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cmd-slash-bot-label {
    font-size: 11px;
    color: #949ba4;
    font-weight: 600;
}
.cmd-slash-picker-desc {
    font-size: 12.5px;
    color: #b5bac1;
    line-height: 1.45;
}

/* Authentic Discord Chat Stage */
.cmd-dc-stage {
    background: #313338;
    padding: 16px;
    min-height: 360px;
    max-height: 540px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}
.cmd-dc-stage.is-rtl .dc-embed,
.cmd-dc-stage.is-rtl .dc-plain-text {
    direction: rtl;
    text-align: right;
}
.cmd-dc-stage.is-rtl .dc-embed {
    border-left: none;
    border-right: 4px solid var(--embed-color, #5865F2);
}

.dc-cmd-ref {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #949ba4;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}
.dc-cmd-ref::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-left: 2px solid #4e5058;
    border-top: 2px solid #4e5058;
    border-top-left-radius: 5px;
}
.dc-cmd-ref img {
    width: 16px; height: 16px;
    border-radius: 50%;
    object-fit: cover;
}
.dc-cmd-ref-user { color: #f2f3f5; font-weight: 600; }
.dc-cmd-ref-slash {
    color: #c9cdfb;
    background: rgba(88, 101, 242, 0.28);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11.5px;
}

.dc-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: dcMsgIn 0.24s var(--ease-spring);
}
@keyframes dcMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dc-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.dc-body { flex: 1; min-width: 0; }
.dc-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.dc-username { color: #f2f3f5; font-size: 14.5px; font-weight: 700; }
.dc-app-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #5865F2;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1.5px 5px;
    border-radius: 4px;
    letter-spacing: 0.4px;
}
.dc-time { font-size: 11px; color: #949ba4; }

.dc-plain-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: #dbdee1;
    margin-bottom: 8px;
}
.dc-plain-text code,
.dc-embed code {
    font-family: 'JetBrains Mono', monospace;
    background: #1e1f22;
    color: #f2f3f5;
    padding: 1.5px 5px;
    border-radius: 4px;
    font-size: 12px;
}
.dc-mention {
    background: rgba(88, 101, 242, 0.3);
    color: #c9cdfb;
    padding: 0.5px 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* Discord Embed */
.dc-embed {
    background: #2b2d31;
    border-left: 4px solid var(--embed-color, #5865F2);
    border-radius: 5px;
    padding: 12px 14px;
    color: #dbdee1;
    max-width: 100%;
}
.dc-embed-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #f2f3f5;
    margin-bottom: 6px;
}
.dc-embed-author img {
    width: 20px; height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.dc-embed-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.35;
}
.dc-embed-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #dbdee1;
    white-space: pre-line;
}
.dc-embed-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 10px;
}
.dc-embed-field.full { grid-column: 1 / -1; }
.dc-embed-field-name {
    font-size: 12px;
    font-weight: 800;
    color: #f2f3f5;
    margin-bottom: 3px;
}
.dc-embed-field-val {
    font-size: 12.5px;
    line-height: 1.48;
    color: #dbdee1;
    white-space: pre-line;
}
.dc-embed-footer {
    margin-top: 10px;
    padding-top: 6px;
    font-size: 11px;
    color: #949ba4;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Discord Interactive Buttons */
.dc-btn-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 10px;
}
.dc-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 4px;
    border: none;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.12s ease;
}
.dc-btn:hover:not(:disabled) { filter: brightness(1.14); }
.dc-btn:active:not(:disabled) { transform: scale(0.96); }
.dc-btn:disabled { opacity: 0.48; cursor: not-allowed; }
.dc-btn.primary   { background: #5865F2; }
.dc-btn.success   { background: #248046; }
.dc-btn.danger    { background: #da373c; }
.dc-btn.secondary { background: #4e5058; }

/* XO 3x3 Board inside Simulator */
.dc-xo-grid {
    display: grid;
    grid-template-columns: repeat(3, 54px);
    gap: 6px;
    margin-top: 10px;
}
.dc-xo-cell {
    height: 44px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.15s ease, transform 0.12s ease;
}
.dc-xo-cell:hover:not(:disabled) { filter: brightness(1.18); transform: scale(1.03); }
.dc-xo-cell:disabled { cursor: default; }
.dc-xo-cell.empty { background: #4e5058; color: #949ba4; }
.dc-xo-cell.x     { background: #da373c; color: #fff; }
.dc-xo-cell.o     { background: #5865F2; color: #fff; }
.dc-xo-cell.win   { background: #248046; color: #fff; box-shadow: 0 0 12px rgba(36, 128, 70, 0.7); }

/* Ephemeral Notice inside Simulator */
.dc-ephemeral {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(88, 101, 242, 0.14);
    border-left: 3px solid #5865F2;
    font-size: 12px;
    color: #e2e8f0;
    animation: dcMsgIn 0.2s ease;
}
.dc-ephemeral-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    color: #949ba4;
    margin-top: 4px;
}

/* Authentic Discord Embed Extensions (Thumbnails, Images, 3-Col Fields, Timestamps, Role Pills) */
.dc-embed-grid-wrap {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.dc-embed-main {
    flex: 1;
    min-width: 0;
}
.dc-embed-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #1e1f22;
}
.dc-embed-thumb.round { border-radius: 50%; }
.dc-embed-image-wrap {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1e1f22;
}
.dc-embed-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.dc-embed-fields.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dc-ts-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #dbdee1;
    padding: 0.5px 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.dc-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1.5px 7px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f2f3f5;
    margin: 2px 3px 2px 0;
}
.dc-role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.dc-plain-msg {
    font-size: 13.5px;
    line-height: 1.55;
    color: #dbdee1;
    white-space: pre-line;
}
.dc-plain-msg code {
    font-family: 'JetBrains Mono', monospace;
    background: #1e1f22;
    color: #f2f3f5;
    padding: 1.5px 5px;
    border-radius: 4px;
    font-size: 12px;
}
.dc-embed-link {
    color: #00a8fc;
    text-decoration: none;
    font-weight: 600;
}
.dc-embed-link:hover { text-decoration: underline; }

/* ==========================================================
   REAL DROS BOT /profile CARD REPLICA (1:1 Match)
   ========================================================== */
.dros-prof-card {
    --pc-accent: #5865F2;
    --pc-accent-soft: rgba(88, 101, 242, 0.16);
    --pc-accent-border: rgba(88, 101, 242, 0.45);
    --pc-glow: rgba(88, 101, 242, 0.24);
    position: relative;
    width: 100%;
    max-width: 332px;
    border-radius: 18px;
    padding: 14px;
    background:
        radial-gradient(ellipse 85% 42% at 65% 0%, var(--pc-glow) 0%, transparent 70%),
        linear-gradient(180deg, #171b33 0%, #0e101d 42%, #0c0e18 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    direction: ltr;
    text-align: left;
}
.dros-prof-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(12, 15, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    color: #f3f4f6;
    text-transform: uppercase;
    margin-bottom: 42px;
}
.dros-prof-top-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pc-accent);
    box-shadow: 0 0 8px var(--pc-accent);
}
.dros-prof-frame {
    position: relative;
    border-radius: 14px;
    border: 1px solid var(--pc-accent-border);
    background: rgba(13, 16, 28, 0.62);
    padding: 50px 14px 14px;
}
.dros-prof-av-wrap {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    padding: 3px;
    background: var(--pc-accent);
    box-shadow: 0 0 0 4px #111426, 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 18px var(--pc-glow);
}
.dros-prof-av-wrap.shape-squircle { border-radius: 22px; }
.dros-prof-av-wrap img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
    background: #141728;
}
.dros-prof-name {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.dros-prof-title-wrap {
    text-align: center;
    margin: 7px 0 14px;
}
.dros-prof-title-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
}
.dros-prof-box {
    background: rgba(22, 26, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 9px;
}
.dros-prof-lbl {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #8b92a8;
    margin-bottom: 4px;
}
.dros-prof-bio {
    font-size: 12px;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1.4;
    min-height: 28px;
}
.dros-prof-coins {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--pc-accent-soft) 0%, rgba(18, 22, 42, 0.85) 100%);
    border: 1px solid var(--pc-accent-border);
    border-radius: 10px;
    padding: 10px 13px 10px 16px;
    margin-bottom: 9px;
    overflow: hidden;
}
.dros-prof-coins::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 99px;
    background: var(--pc-accent);
    box-shadow: 0 0 8px var(--pc-accent);
}
.dros-prof-coins-val {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.3px;
}
.dros-prof-gem-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pc-accent-soft);
    border: 1.5px solid var(--pc-accent);
    color: var(--pc-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 12px var(--pc-glow);
}
.dros-prof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 9px;
}
.dros-prof-grid .dros-prof-box { margin-bottom: 0; }
.dros-prof-stat-val {
    font-size: 14.5px;
    font-weight: 900;
    color: #ffffff;
}
.dros-prof-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 9px;
    background: rgba(11, 13, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #7e859c;
    text-transform: uppercase;
}
.dros-prof-foot-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ba3bc;
}
.dros-prof-foot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5c637a;
}
.dros-prof-foot-dot.active {
    background: var(--pc-accent);
    box-shadow: 0 0 8px var(--pc-accent);
}

/* ==========================================================
   REAL DROS BOT /rank CARD REPLICA (1:1 Match)
   ========================================================== */
.dros-rank-card {
    --rk-accent: #5865F2;
    --rk-glow: rgba(88, 101, 242, 0.25);
    width: 100%;
    border-radius: 16px;
    padding: 12px;
    background:
        radial-gradient(circle at 88% 14%, var(--rk-glow) 0%, transparent 56%),
        linear-gradient(135deg, #13162b 0%, #0d1020 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
    font-family: 'Inter', sans-serif;
    direction: ltr;
    text-align: left;
}
.dros-rank-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(18, 21, 38, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.dros-rank-av-wrap {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    padding: 3px;
    background: var(--rk-accent);
    flex-shrink: 0;
    box-shadow: 0 0 16px var(--rk-glow);
}
.dros-rank-av-wrap.shape-squircle { border-radius: 18px; }
.dros-rank-av-wrap img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
    background: #141728;
}
.dros-rank-body {
    flex: 1;
    min-width: 0;
}
.dros-rank-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}
.dros-rank-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #e5e7eb;
}
.dros-rank-nums {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.dros-rank-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #9ca3af;
}
.dros-rank-metric strong {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}
.dros-rank-metric.is-lvl strong {
    color: var(--rk-accent);
}
.dros-rank-user {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dros-rank-sub {
    font-size: 11px;
    font-weight: 600;
    color: #9ba3bc;
    margin: 3px 0 9px;
}
.dros-rank-xp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
}
.dros-rank-pct { color: var(--rk-accent); }
.dros-rank-xp-val { color: #e5e7eb; }
.dros-rank-bar {
    height: 13px;
    border-radius: 99px;
    background: #23273d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.dros-rank-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--rk-accent), var(--rk-accent-2, var(--rk-accent)));
    box-shadow: 0 0 12px var(--rk-glow);
    transition: width 0.3s ease;
}

/* Simulator Footer */
.cmd-sim-footer {
    background: #232428;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmd-sim-footer-actions {
    display: flex;
    gap: 8px;
}
.cmd-sim-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s ease;
}
.cmd-sim-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cmd-sim-btn.primary {
    background: rgba(88, 101, 242, 0.25);
    border-color: rgba(138, 147, 255, 0.45);
    color: #fff;
}
.cmd-sim-btn.primary:hover { background: #5865F2; }

.cmd-sim-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.cmd-cta-invite,
.cmd-cta-dash {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s var(--ease-spring);
}
.cmd-cta-invite {
    background: var(--lime);
    color: #0a0620;
}
.cmd-cta-invite:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--lime-glow); }
.cmd-cta-dash {
    background: rgba(122, 108, 255, 0.18);
    border: 1px solid rgba(163, 157, 255, 0.35);
    color: #fff;
}
.cmd-cta-dash:hover { background: var(--primary); transform: translateY(-2px); }

/* Mobile Floating Preview Button */
.cmd-mobile-sim-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    background: linear-gradient(135deg, #5865F2, #7a6cff);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 24px var(--primary-glow);
    cursor: pointer;
    align-items: center;
    gap: 9px;
}

/* Toast */
.cmd-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: rgba(18, 10, 53, 0.96);
    border: 1px solid rgba(182, 245, 66, 0.45);
    color: #fff;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: all 0.25s var(--ease-spring);
}
.cmd-toast.show { opacity: 1; transform: translateY(0); }

.cmd-footer { position: relative; z-index: 2; }
.cmd-footer .nav-link.active-foot {
    color: var(--lime);
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .cmd-workspace { grid-template-columns: 1fr; }
    .cmd-mobile-sim-fab { display: inline-flex; }
    .cmd-sim-close-mobile { display: inline-flex; align-items: center; justify-content: center; }

    .cmd-sim-col {
        position: fixed;
        inset: 0;
        top: 0;
        z-index: 999;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.22s ease;
    }
    .cmd-sim-col.mobile-open {
        pointer-events: auto;
        opacity: 1;
    }
    .cmd-sim-col.mobile-open .cmd-sim-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(6, 3, 20, 0.76);
        backdrop-filter: blur(6px);
    }
    .cmd-sim-shell {
        position: relative;
        z-index: 2;
        width: min(560px, 100%);
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(30px);
        transition: transform 0.28s var(--ease-spring);
    }
    .cmd-sim-col.mobile-open .cmd-sim-shell { transform: translateY(0); }
    .cmd-main { padding-bottom: 110px; }
}

@media (max-width: 680px) {
    .cmd-main { padding: 92px 16px 100px; }
    .cmd-card-head { flex-direction: column; }
    .cmd-card-actions { width: 100%; justify-content: flex-end; }
    .cmd-kbd-hint { display: none; }
    .dc-embed-fields { grid-template-columns: 1fr; }
    .cmd-sim-cta { grid-template-columns: 1fr; }
}


/* ==========================================================
   PRO FULL-WIDTH COMMAND CENTER UPGRADE (v2)
   ========================================================== */
.cmd-main {
    max-width: 1760px;
    padding: 96px 40px 80px;
}

/* Full-Width Hero Banner Card */
.cmd-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 32px;
    align-items: center;
    padding: 36px 42px;
    margin-bottom: 24px;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 60% 120% at 92% 45%, rgba(182, 245, 66, 0.13) 0%, transparent 68%),
        radial-gradient(ellipse 65% 90% at 10% 0%, rgba(122, 108, 255, 0.24) 0%, transparent 65%),
        linear-gradient(155deg, rgba(28, 17, 82, 0.86) 0%, rgba(13, 8, 42, 0.94) 100%);
    border: 1px solid rgba(190, 180, 255, 0.17);
    box-shadow: 0 22px 55px rgba(4, 2, 20, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: cmdFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cmdFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cmd-hero-left { text-align: left; }
.cmd-hero-card .cmd-hero-title {
    font-size: clamp(30px, 3.6vw, 46px);
    margin-bottom: 12px;
}
.cmd-hero-card .cmd-hero-sub {
    margin: 0;
    max-width: 680px;
    font-size: 15.2px;
    color: #ccc7f2;
}

.cmd-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cmd-metric-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border-radius: 15px;
    background: rgba(9, 5, 29, 0.68);
    border: 1px solid rgba(190, 180, 255, 0.15);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.cmd-metric-tile:hover {
    border-color: rgba(163, 157, 255, 0.38);
    transform: translateY(-2px);
}
.cmd-metric-tile.accent {
    background: linear-gradient(145deg, rgba(182, 245, 66, 0.12), rgba(9, 5, 29, 0.72));
    border-color: rgba(182, 245, 66, 0.36);
}
.cmd-metric-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(122, 108, 255, 0.18);
    border: 1px solid rgba(163, 157, 255, 0.32);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.cmd-metric-tile.accent .cmd-metric-ico {
    background: rgba(182, 245, 66, 0.16);
    border-color: rgba(182, 245, 66, 0.42);
    color: var(--lime);
}
.cmd-metric-tile strong {
    display: block;
    font-size: 16.5px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.cmd-metric-tile > div span {
    display: block;
    font-size: 11.8px;
    font-weight: 600;
    color: #a9a4d6;
    margin-top: 2px;
}

/* Upgraded Control Deck */
.cmd-controls-card {
    padding: 20px 24px;
    border-radius: 20px;
    margin-bottom: 26px;
    animation: cmdFadeUp 0.55s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cmd-search-box {
    height: 50px;
    border-radius: 14px;
    padding: 0 16px;
}
.cmd-search-box input { font-size: 14.5px; }

/* Balanced Full-Width Split Workspace */
.cmd-workspace {
    grid-template-columns: minmax(0, 1.18fr) minmax(465px, 0.82fr);
    gap: 28px;
}
.cmd-list-col {
    animation: cmdFadeUp 0.58s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cmd-sim-col {
    animation: cmdFadeUp 0.6s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Elevated Command Cards */
.cmd-card {
    border-radius: 18px;
}
.cmd-card-head {
    padding: 18px 20px;
}
.cmd-card-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 18px;
}
.cmd-card-desc {
    font-size: 14px;
    line-height: 1.62;
    color: #d4cff7;
}
.cmd-card.is-expanded .cmd-card-body {
    animation: cmdFadeUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Wider, Crisper Discord Simulator */
.cmd-sim-shell {
    border-radius: 22px;
    border-color: rgba(190, 180, 255, 0.24);
}
.cmd-dc-stage {
    padding: 20px;
    min-height: 390px;
    max-height: 580px;
}
.cmd-sim-footer {
    padding: 14px 16px;
}

@media (max-width: 1280px) {
    .cmd-main { padding: 92px 24px 70px; }
    .cmd-workspace { grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr); gap: 22px; }
}
@media (max-width: 1080px) {
    .cmd-hero-card { grid-template-columns: 1fr; padding: 26px 24px; gap: 20px; }
    .cmd-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .cmd-main { padding: 86px 14px 100px; }
    .cmd-hero-metrics { grid-template-columns: 1fr; }
}
