﻿:root {
    color-scheme: dark;
    --bg: #07070b;
    --panel: rgba(18, 18, 24, 0.72);
    --panel-strong: rgba(24, 22, 31, 0.92);
    --line: rgba(145, 71, 255, 0.42);
    --line-soft: rgba(255, 255, 255, 0.1);
    --text: #fbf7ff;
    --muted: #b9adca;
    --twitch: #9147ff;
    --cyan: #67d8ff;
    --green: #49e38a;
    --red: #ff5b8f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(145, 71, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #050507, var(--bg) 58%, #100a18);
    color: var(--text);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

[hidden] {
    display: none !important;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

.app-topbar {
    position: fixed;
    z-index: 20;
    top: 14px;
    left: 50%;
    width: min(100% - 28px, 1120px);
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
}

.home-topbar {
    top: 0;
    width: 100%;
    height: 66px;
    border-bottom: 1px solid rgba(145, 71, 255, 0.24);
    background: rgba(7, 7, 11, 0.88);
    padding: 0 max(16px, calc((100vw - 1120px) / 2));
    backdrop-filter: blur(14px);
}

.topbar-brand,
.topbar-login,
.account-widget {
    pointer-events: auto;
}

.topbar-right {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.bot-news-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(145, 71, 255, 0.4);
    border-radius: 9px;
    background: rgba(145, 71, 255, 0.12);
    color: var(--text);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.bot-news-button:hover {
    background: rgba(145, 71, 255, 0.24);
}

.bot-news-panel {
    position: absolute;
    z-index: 25;
    top: 50px;
    right: 52px;
    width: min(340px, calc(100vw - 28px));
    border: 1px solid rgba(145, 71, 255, 0.42);
    border-radius: 10px;
    background: rgba(14, 10, 22, 0.97);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
    padding: 14px;
}

.bot-news-panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.bot-news-panel p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.bot-news-panel a {
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.topbar-brand,
.topbar-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(11, 11, 17, 0.72);
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.topbar-brand {
    gap: 9px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 900;
}

.app-topbar .topbar-brand.sidebar-brand {
    min-height: 50px;
    margin-bottom: 0;
    padding: 6px 12px 6px 8px;
}

.app-topbar .topbar-brand.sidebar-brand img {
    width: 34px;
    height: 34px;
}

.app-topbar .topbar-brand.sidebar-brand span {
    font-size: 19px;
}

.topbar-brand img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.topbar-login {
    min-height: 42px;
    padding: 0 14px;
    border-color: rgba(145, 71, 255, 0.58);
    background: rgba(145, 71, 255, 0.18);
    font-size: 12px;
    font-weight: 900;
}

.account-widget {
    position: relative;
}

.avatar-button {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(103, 216, 255, 0.5);
    border-radius: 50%;
    background: rgba(12, 18, 24, 0.76);
    padding: 3px;
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(12px);
}

.avatar-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.account-menu {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(103, 216, 255, 0.34);
    border-radius: 12px;
    background: var(--panel-strong);
    padding: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(16px);
}

.account-menu a {
    border-radius: 8px;
    color: var(--text);
    padding: 10px 11px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.account-menu a:hover {
    background: rgba(103, 216, 255, 0.12);
}

.app-shell {
    width: min(100% - 32px, 1120px);
    min-height: 100vh;
    display: grid;
    align-content: start;
    gap: 18px;
    margin: 0 auto;
    padding: 88px 0 42px;
}

.page-shell {
    min-height: auto;
}

.landing-hero,
.panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(28, 25, 36, 0.82), var(--panel));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 24px 80px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(10px);
}

.landing-hero {
    position: relative;
    min-height: min(62vh, 560px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    padding: 34px 24px 28px;
    overflow: hidden;
    text-align: center;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 91, 143, 0.12), transparent 22%),
        radial-gradient(circle at 50% 96%, rgba(145, 71, 255, 0.18), transparent 36%);
    pointer-events: none;
}

.landing-hero > * {
    position: relative;
    z-index: 1;
}

.brand-mark {
    width: 62px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(145, 71, 255, 0.16);
}

.brand-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.eyebrow {
    margin: 0;
    color: var(--twitch);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    width: min(100%, 760px);
    font-size: clamp(44px, 8vw, 86px);
    line-height: 0.92;
}

.landing-hero h1 {
    width: min(100%, 700px);
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.02;
    text-wrap: balance;
}

.page-heading h1 {
    font-size: clamp(38px, 7vw, 74px);
}

h2 {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.subtitle {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    text-wrap: balance;
}

.connect-btn,
.ghost-btn,
.logout-link,
.actions-panel button,
.custom-command-form button,
.settings-form button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(145, 71, 255, 0.58);
    border-radius: 9px;
    background: rgba(145, 71, 255, 0.18);
    color: var(--text);
    padding: 0 14px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.connect-btn:hover,
.ghost-btn:hover,
.logout-link:hover,
.actions-panel button:hover,
.custom-command-form button:hover,
.settings-form button:hover {
    background: rgba(145, 71, 255, 0.3);
}

.ghost-btn {
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.06);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.device-auth-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.72);
    padding: 18px;
}

.device-auth-modal[hidden] {
    display: none;
}

.device-auth-card {
    position: relative;
    width: min(100%, 430px);
    display: grid;
    gap: 14px;
    border: 1px solid rgba(145, 71, 255, 0.48);
    border-radius: 12px;
    background: #111018;
    padding: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.device-auth-card h2 {
    margin: 0;
    font-size: 20px;
    text-transform: none;
}

.device-auth-card p,
.device-auth-card small {
    color: var(--muted);
    line-height: 1.5;
}

.device-auth-code {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.32);
    padding: 14px;
    font-size: 28px;
    letter-spacing: 0;
}

.device-auth-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
}

.home-stats {
    position: relative;
    width: min(100%, 700px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.home-stat-card {
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(145, 71, 255, 0.34);
    border-radius: 10px;
    background: rgba(16, 12, 24, 0.72);
    color: var(--text);
    padding: 12px;
    text-align: left;
    text-decoration: none;
}

button.home-stat-card {
    cursor: pointer;
}

.home-stat-card:hover {
    border-color: rgba(145, 71, 255, 0.68);
    background: rgba(28, 18, 45, 0.78);
}

.home-stat-card span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-stat-card strong {
    font-size: 26px;
    line-height: 1;
}

.home-stat-card small {
    color: rgba(251, 247, 255, 0.62);
    font-size: 12px;
}

.channel-popover {
    position: absolute;
    z-index: 5;
    top: calc(100% + 10px);
    left: 0;
    width: min(100%, 360px);
    border: 1px solid rgba(145, 71, 255, 0.42);
    border-radius: 10px;
    background: rgba(14, 10, 22, 0.96);
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.channel-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.channel-popover__head strong {
    font-size: 13px;
}

.channel-popover__head button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.channel-list {
    max-height: 240px;
    display: grid;
    gap: 6px;
    overflow: auto;
}

.channel-list a,
.channel-list article {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.landing-content,
.features-section,
.dashboard,
.settings-layout {
    display: grid;
    gap: 18px;
}

.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(145, 71, 255, 0.38);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(24, 20, 32, 0.84), rgba(13, 13, 19, 0.76));
    padding: 20px;
}

.support-panel h2 {
    margin: 4px 0 8px;
    font-size: 24px;
    text-align: left;
    text-transform: none;
}

.support-panel p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.discord-support-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(103, 216, 255, 0.36);
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.16);
    color: var(--text);
    padding: 0 16px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.discord-support-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.features-section {
    gap: 16px;
}

.section-heading,
.page-heading {
    text-align: center;
}

.section-heading h2 {
    margin: 5px 0 0;
    font-size: 24px;
    text-transform: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.feature-card {
    min-height: 150px;
    display: grid;
    align-content: start;
    gap: 9px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(18, 18, 24, 0.64);
    padding: 15px;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.feature-card:hover {
    border-color: rgba(145, 71, 255, 0.45);
    background: rgba(24, 20, 32, 0.78);
    transform: translateY(-2px);
}

.feature-card span {
    width: 34px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 71, 255, 0.42);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.14);
    color: var(--twitch);
    font-size: 11px;
    font-weight: 900;
}

.feature-card strong {
    font-size: 15px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.dashboard {
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    align-items: stretch;
}

.panel {
    min-height: 100%;
    padding: 16px;
}

.log-panel {
    grid-column: span 3;
}

.profile-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 78px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    padding: 10px;
}

.profile-card img {
    width: 58px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.profile-card strong,
.profile-card span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-card strong {
    font-size: 18px;
}

.profile-card span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.profile-hero-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 13, 22, 0.9);
}

.profile-banner {
    min-height: 220px;
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.34), rgba(255, 91, 143, 0.18));
    background-position: center;
    background-size: cover;
}

.profile-hero-body {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 0 24px 24px;
    margin-top: -44px;
}

.profile-hero-body img {
    width: 116px;
    height: 116px;
    border: 5px solid rgba(10, 8, 14, 0.96);
    border-radius: 50%;
    object-fit: cover;
}

.profile-hero-body h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    font-size: clamp(34px, 6vw, 62px);
}

.profile-hero-body span {
    color: var(--muted);
    font-weight: 800;
}

.share-profile-button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.16);
    color: var(--text);
    padding: 0 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.profile-copy-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 80;
    border: 1px solid rgba(73, 227, 138, 0.35);
    border-radius: 10px;
    background: rgba(13, 18, 16, 0.96);
    color: #49e38a;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 900;
    opacity: 0;
    transform: translate(-50%, 14px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.profile-copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.profile-link-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 13, 22, 0.72);
    padding: 10px;
}

.profile-link-strip a {
    border: 1px solid rgba(145, 71, 255, 0.38);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.12);
    color: var(--text);
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.profile-link-strip a:hover {
    border-color: rgba(255, 91, 143, 0.52);
    background: rgba(255, 91, 143, 0.12);
}

.stream-pill {
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
}

.stream-pill.is-live {
    background: rgba(255, 50, 85, 0.16);
    color: #ff5b8f;
}

.stream-pill.is-offline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.profile-stat-grid,
.public-profile-layout {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.profile-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-stat-grid .panel span,
.mini-analytics span {
    color: var(--muted);
}

.profile-stat-grid .panel strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: 24px;
}

.public-profile-layout {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}

.profile-about-card {
    grid-column: auto;
}

.mini-analytics,
.integration-list {
    display: grid;
    gap: 8px;
}

.integration-card {
    min-height: 74px;
    display: grid;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    padding: 9px 10px;
    text-decoration: none;
}

.integration-card {
    grid-template-columns: 50px minmax(0, 1fr) auto;
}

.integration-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 71, 255, 0.36);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.12);
}

.integration-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.integration-card strong {
    margin: 0;
    color: var(--pink);
    font-size: 15px;
}

.integration-card p {
    margin: 2px 0 0;
    color: var(--muted);
}

.integration-card a {
    border: 1px solid rgba(145, 71, 255, 0.36);
    border-radius: 8px;
    color: var(--text);
    padding: 8px 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
}

.logout-link {
    width: 100%;
    margin-top: 10px;
}

.status-grid,
.action-grid,
.permission-list,
.activity-log,
.command-list,
.custom-command-list,
.settings-form,
.settings-layout {
    display: grid;
    gap: 9px;
}

.status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-grid div,
.permission-item,
.activity-log article,
.command-list article,
.custom-command-list article,
.settings-form label {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    padding: 10px;
}

.status-grid span,
.permission-item span,
.activity-log time,
.command-list span,
.custom-command-list span,
.settings-form label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-grid strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 4px;
    font-size: 14px;
}

.action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.actions-panel button {
    width: 100%;
}

.permission-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.permission-item strong {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.permission-item span {
    color: var(--green);
}

.permission-item.is-missing span {
    color: var(--red);
}

.activity-log {
    max-height: 260px;
    overflow: auto;
}

.activity-log article strong {
    display: block;
    margin-top: 3px;
    font-size: 13px;
}

.command-panel {
    display: grid;
    gap: 14px;
}

.page-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.page-tabs button {
    min-height: 40px;
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.page-tabs button.is-active {
    border-color: rgba(103, 216, 255, 0.55);
    background: rgba(103, 216, 255, 0.13);
    color: var(--text);
}

.page-tab {
    display: none;
}

.page-tab.is-active {
    display: grid;
    gap: 12px;
}

.command-list,
.custom-command-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.command-list article strong,
.custom-command-list article strong {
    display: block;
    margin-bottom: 5px;
    color: var(--cyan);
    font-size: 13px;
}

.command-list article span,
.custom-command-list article span {
    display: block;
    line-height: 1.4;
    text-transform: none;
}

.custom-command-form,
.settings-form {
    display: grid;
    gap: 10px;
}

.custom-command-form label,
.settings-form label {
    display: grid;
    gap: 7px;
}

.custom-command-form input,
.custom-command-form textarea,
.settings-form input,
.settings-form select {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(5, 5, 9, 0.7);
    color: var(--text);
    padding: 11px 12px;
    outline: none;
}

.custom-command-form textarea {
    min-height: 110px;
    resize: vertical;
}

.custom-command-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.custom-command-list button {
    border: 1px solid rgba(255, 91, 143, 0.42);
    border-radius: 8px;
    background: rgba(255, 91, 143, 0.12);
    color: var(--text);
    padding: 8px 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.empty-state {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.empty-state b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 71, 255, 0.32);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.12);
    color: var(--pink);
    font-size: 15px;
    font-style: normal;
}

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

.empty-state strong {
    color: var(--text);
}

.empty-state span {
    color: var(--muted);
}

.settings-layout {
    grid-template-columns: 1fr 1fr;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    max-width: min(92vw, 440px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-strong);
    color: var(--text);
    padding: 11px 14px;
    opacity: 0;
    transform: translate(-50%, 12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 860px) {
    .dashboard,
    .settings-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .command-list,
    .custom-command-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .log-panel {
        grid-column: auto;
    }

    .landing-hero {
        min-height: auto;
        padding: 30px 18px 24px;
    }

    .landing-hero h1 {
        font-size: clamp(30px, 8vw, 46px);
    }

    .subtitle {
        font-size: 14px;
    }

    .support-panel {
        grid-template-columns: 1fr;
    }

    .discord-support-link {
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .app-topbar {
        top: 9px;
        width: min(100% - 18px, 1120px);
    }

    .app-shell {
        width: min(100% - 18px, 1120px);
        padding: 76px 0 18px;
    }

    .topbar-brand span {
        display: none;
    }

    .account-menu {
        right: -1px;
    }

    .status-grid,
    .action-grid,
    .feature-grid,
    .home-stats,
    .home-service-status,
    .profile-stat-grid,
    .public-profile-layout,
    .setup-wizard,
    .command-list,
    .custom-command-list {
        grid-template-columns: 1fr;
    }

    .profile-hero-body {
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: center;
    }

    .profile-hero-body img {
        width: 84px;
        height: 84px;
    }

    .stream-pill {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .home-stat-card {
        min-height: 74px;
    }

    .landing-hero h1 {
        font-size: clamp(28px, 11vw, 38px);
    }

    .brand-mark {
        width: 54px;
    }
}

.dashboard-shell {
    width: min(100% - 28px, 1320px);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    margin: 0 auto;
    padding: 88px 0 42px;
}

.dashboard-sidebar {
    position: sticky;
    top: 88px;
    height: calc(100vh - 112px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 15, 22, 0.82);
    padding: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
}

.sidebar-category,
.sidebar-direct,
.sidebar-group button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.sidebar-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.055);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 900;
}

.sidebar-direct {
    background: transparent;
    color: var(--muted);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 900;
}

.sidebar-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.sidebar-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(145, 71, 255, 0.25);
    border-radius: 5px;
    background: rgba(145, 71, 255, 0.1);
}

.sidebar-icon::before {
    color: var(--pink);
    font-size: 10px;
    font-weight: 900;
}

.sidebar-icon[data-icon="connect"]::before {
    content: "C";
}

.sidebar-icon[data-icon="chat"]::before {
    content: "#";
}

.sidebar-icon[data-icon="shield"]::before {
    content: "M";
}

.sidebar-icon[data-icon="settings"]::before {
    content: "S";
}

.sidebar-arrow {
    color: var(--cyan);
    font-size: 16px;
}

.sidebar-group {
    display: grid;
    gap: 4px;
    margin: 6px 0 12px;
    padding-left: 8px;
}

.sidebar-group button {
    background: transparent;
    color: var(--muted);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.sidebar-group button:hover,
.sidebar-group button.is-active,
.sidebar-direct:hover,
.sidebar-direct.is-active {
    background: rgba(145, 71, 255, 0.16);
    color: var(--text);
}

.dashboard-workspace {
    min-width: 0;
}

.dashboard-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(145, 71, 255, 0.24);
    border-radius: 10px;
    background: rgba(16, 14, 22, 0.82);
    padding: 12px 14px;
}

.dashboard-status-main {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.dashboard-status-main img {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-status-main div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.dashboard-status-main strong,
.dashboard-status-main span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-status-main strong {
    color: var(--text);
}

.dashboard-status-main span {
    color: var(--muted);
    font-size: 12px;
}

.dashboard-status-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status-pill.is-ok {
    border-color: rgba(73, 227, 138, 0.28);
    background: rgba(73, 227, 138, 0.09);
    color: #49e38a;
}

.status-pill.is-bad {
    border-color: rgba(255, 91, 143, 0.3);
    background: rgba(255, 91, 143, 0.09);
    color: #ff5b8f;
}

.workspace-section {
    display: none;
}

.workspace-section.is-active {
    display: grid;
    gap: 16px;
}

.workspace-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}

.workspace-heading h1 {
    font-size: clamp(36px, 5vw, 68px);
}

.command-toolbar,
.banned-toolbar,
.timer-form,
.banned-form,
.user-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.timer-form {
    grid-template-columns: 1fr 1.5fr 140px 170px auto;
}

.user-form {
    grid-template-columns: minmax(0, 1fr) 180px auto;
}

.command-toolbar input,
.command-toolbar select,
.timer-form input,
.banned-form input,
.banned-toolbar select,
.wide-search,
.user-form input,
.user-form select {
    min-height: 40px;
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    background: rgba(5, 5, 9, 0.7);
    color: var(--text);
    padding: 0 12px;
    outline: none;
}

.wide-search {
    width: 100%;
}

.default-command-list,
.alert-grid,
.settings-grid,
.timer-list,
.banned-list,
.user-list,
.connection-check-grid,
.template-grid {
    display: grid;
    gap: 10px;
}

.default-command-item,
.alert-card,
.filter-card,
.timer-item,
.banned-list article,
.user-list article,
.recommendation-card,
.bot-status-card,
.connection-check-item,
.template-card {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    padding: 12px;
}

.connection-check-grid,
.template-grid,
.setup-wizard,
.command-status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connection-check-item,
.template-card,
.wizard-step,
.command-status-item {
    display: grid;
    gap: 8px;
}

.setup-wizard {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wizard-step,
.command-status-item {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    padding: 12px;
}

.wizard-step strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 91, 143, 0.16);
    color: #ff7aa8;
}

.wizard-step.is-ok strong {
    background: rgba(73, 227, 138, 0.16);
    color: #49e38a;
}

.command-status-list {
    display: grid;
    gap: 8px;
}

.command-status-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.import-command-form textarea {
    min-height: 130px;
}

.home-service-status {
    width: min(100%, 700px);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    border: 1px solid rgba(73, 227, 138, 0.28);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(73, 227, 138, 0.08), rgba(145, 71, 255, 0.08));
    padding: 0 14px;
    text-align: center;
}

.home-service-status span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-service-status strong {
    color: var(--green);
    font-size: 15px;
}

.home-service-status small {
    color: rgba(251, 247, 255, 0.68);
    font-size: 12px;
}

.connection-check-item strong {
    width: fit-content;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255, 91, 143, 0.14);
    color: #ff7aa8;
    font-size: 11px;
    text-transform: uppercase;
}

.connection-check-item.is-ok strong {
    background: rgba(73, 227, 138, 0.14);
    color: #49e38a;
}

.connection-check-item h2 {
    margin: 0;
    font-size: 16px;
}

.connection-check-item p,
.template-card span {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-actions a,
.template-card button,
.module-test-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    padding: 0 12px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.module-test-button {
    margin: 0 8px 8px;
    width: fit-content;
}

.default-command-item,
.timer-item,
.banned-list article,
.user-list article,
.card-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.default-command-item strong,
.timer-item strong,
.banned-list strong,
.user-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.default-command-item span,
.timer-item span,
.timer-item small,
.user-list span {
    color: var(--muted);
    font-size: 12px;
}

.toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle span {
    width: 42px;
    height: 24px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
}

.toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform 160ms ease, background 160ms ease;
}

.toggle input:checked + span {
    background: rgba(73, 227, 138, 0.16);
    border-color: rgba(73, 227, 138, 0.48);
}

.toggle input:checked + span::after {
    transform: translateX(18px);
    background: var(--green);
}

.alert-grid,
.settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alert-card,
.filter-card {
    display: grid;
    gap: 10px;
}

.module-card {
    overflow: hidden;
    padding: 0;
}

.module-preview {
    min-height: 190px;
    display: grid;
    align-content: center;
    gap: 14px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 18%, rgba(145, 71, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(5, 5, 8, 0.96), rgba(18, 15, 24, 0.96));
    padding: 22px;
}

.chat-preview-line {
    display: grid;
    grid-template-columns: 28px auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    color: #6da1ff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.chat-preview-line img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
}

.chat-preview-line strong {
    color: #49e38a;
}

.chat-preview-line.is-muted strong {
    color: #ff5b8f;
}

.chat-preview-line span {
    overflow-wrap: anywhere;
}

.module-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0 0;
}

.module-meta strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 15px;
}

.module-meta p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.alert-card textarea,
.filter-card input {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(5, 5, 9, 0.7);
    color: var(--text);
    padding: 10px 11px;
}

.alert-card textarea {
    min-height: 88px;
    resize: vertical;
}

.filter-card label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.timer-item,
.user-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.timer-item button,
.banned-list button,
.user-list button,
.banned-form button,
.timer-form button,
.user-form button,
.success-button,
.danger-button {
    min-height: 36px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    padding: 0 11px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.success-button {
    border-color: rgba(73, 227, 138, 0.5);
    background: rgba(73, 227, 138, 0.14);
}

.danger-button {
    border-color: rgba(255, 91, 143, 0.5);
    background: rgba(255, 91, 143, 0.14);
}

.feature-lock {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 91, 143, 0.36);
    border-radius: 8px;
    background: rgba(255, 91, 143, 0.08);
    color: var(--text);
    padding: 12px 14px;
}

.feature-lock strong {
    color: #ff7aa8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-lock span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.feature-lock.is-card-lock {
    margin: 0 0 10px;
}

.is-locked {
    position: relative;
}

.is-locked .toggle,
.is-locked button,
.is-locked input,
.is-locked select,
.is-locked textarea {
    cursor: not-allowed;
}

.is-locked button:disabled,
.is-locked input:disabled,
.is-locked select:disabled,
.is-locked textarea:disabled {
    opacity: 0.55;
}

.switch-row {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.recommendation-card summary {
    cursor: pointer;
    font-weight: 900;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.recommendation-grid a {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    padding: 12px;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 980px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .timer-form,
    .user-form,
    .alert-grid,
    .settings-grid,
    .recommendation-grid,
    .support-panel {
        grid-template-columns: 1fr;
    }

    .discord-support-link {
        width: fit-content;
    }
}

@media (max-width: 620px) {
    .dashboard-shell {
        width: min(100% - 18px, 1320px);
        padding: 76px 0 18px;
    }

    .command-toolbar,
    .banned-toolbar,
    .banned-form,
    .timer-item,
    .user-list article {
        grid-template-columns: 1fr;
    }
}

body[data-page="dashboard"] {
    background:
        radial-gradient(circle at 48% 0%, rgba(145, 71, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #07070b, #0d0914 62%, #140a20);
    color: #fbf7ff;
}

.dashboard-corner {
    position: fixed;
    z-index: 30;
    top: 18px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-corner .account-widget {
    position: relative;
}

.dashboard-corner .topbar-login {
    min-height: 40px;
}

.dashboard-corner .avatar-button {
    width: 42px;
    height: 42px;
    border-color: rgba(145, 71, 255, 0.54);
    background: rgba(18, 13, 28, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.creator-corner-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    border: 1px solid rgba(145, 71, 255, 0.44);
    border-radius: 8px;
    background: rgba(18, 13, 28, 0.88);
    color: #fbf7ff;
    padding: 0 12px 0 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.creator-corner-link img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

.creator-corner-link:hover {
    border-color: rgba(145, 71, 255, 0.75);
    background: rgba(30, 18, 48, 0.94);
}

.se-dashboard {
    width: min(100% - 48px, 1380px);
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 28px;
    padding: 88px 0 64px;
}

.se-dashboard .dashboard-sidebar {
    top: 88px;
    height: calc(100vh - 112px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin-bottom: 18px;
    color: #fbf7ff;
    text-decoration: none;
}

.sidebar-brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    filter: drop-shadow(0 8px 22px rgba(255, 91, 143, 0.22));
}

.sidebar-brand span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.se-dashboard .sidebar-category {
    min-height: 38px;
    border-radius: 4px;
    background: transparent;
    color: #e7eaee;
    padding: 0 10px;
    font-size: 13px;
}

.se-dashboard .sidebar-icon {
    border-color: rgba(145, 71, 255, 0.22);
    border-radius: 4px;
    background: rgba(145, 71, 255, 0.1);
}

.se-dashboard .sidebar-category:hover,
.se-dashboard .sidebar-direct:hover,
.se-dashboard .sidebar-direct.is-active,
.se-dashboard .sidebar-group button:hover,
.se-dashboard .sidebar-group button.is-active {
    background: rgba(145, 71, 255, 0.18);
    color: #fff;
}

.se-dashboard .sidebar-group {
    gap: 2px;
    margin: 3px 0 14px;
    padding-left: 18px;
}

.se-dashboard .sidebar-group button {
    min-height: 34px;
    border-radius: 4px;
    color: #aeb4bd;
    font-size: 13px;
}

.se-dashboard .sidebar-arrow {
    color: #8b949e;
}

.se-dashboard .dashboard-workspace {
    max-width: none;
}

.se-dashboard .dashboard-status-header {
    border: 0;
    border-radius: 4px;
    background: rgba(24, 22, 31, 0.92);
    box-shadow: none;
}

.se-dashboard .workspace-section.is-active {
    gap: 16px;
}

.se-dashboard .workspace-heading {
    align-items: start;
    margin-bottom: 18px;
}

.se-dashboard .workspace-heading h1 {
    width: auto;
    margin: 0;
    font-size: 31px;
    line-height: 1.15;
    font-weight: 700;
}

.se-dashboard .workspace-heading p {
    margin: 14px 0 0;
    color: #aeb4bd;
    font-size: 14px;
}

.se-dashboard .settings-tabs,
.se-dashboard .page-tabs {
    width: fit-content;
    display: flex;
    gap: 0;
    border-bottom: 0;
    margin-bottom: 0;
}

.se-dashboard .settings-tabs button,
.se-dashboard .page-tabs button {
    min-width: 84px;
    min-height: 38px;
    border: 0;
    border-bottom: 4px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #aeb4bd;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
}

.se-dashboard .settings-tabs button.is-active,
.se-dashboard .page-tabs button.is-active {
    border-bottom-color: #9147ff;
    background: transparent;
    color: #fbf7ff;
}

.se-dashboard .settings-card,
.se-dashboard .bot-status-card,
.se-dashboard .default-command-item,
.se-dashboard .alert-card,
.se-dashboard .filter-card,
.se-dashboard .timer-item,
.se-dashboard .banned-list article,
.se-dashboard .user-list article,
.se-dashboard .recommendation-card,
.se-dashboard .connection-check-item,
.se-dashboard .template-card,
.se-dashboard .custom-command-list article {
    border: 0;
    border-radius: 4px;
    background: rgba(24, 22, 31, 0.92);
    box-shadow: none;
    padding: 24px;
}

.se-dashboard .settings-card h2,
.se-dashboard .bot-status-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    text-transform: none;
}

.se-dashboard .settings-card p,
.se-dashboard .bot-status-card p {
    margin: 0 0 24px;
    color: #aeb4bd;
    font-size: 14px;
}

.se-dashboard .bot-status-card {
    padding: 0;
    overflow: hidden;
}

.se-dashboard .bot-status-body {
    padding: 24px;
}

.se-dashboard .bot-status-body p {
    margin-bottom: 10px;
}

.se-dashboard .bot-status-actions {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 22px;
    border-top: 1px solid rgba(145, 71, 255, 0.24);
    padding: 0 24px;
}

.se-dashboard .bot-status-card button {
    min-width: 104px;
}

.se-dashboard select,
.se-dashboard input,
.se-dashboard textarea,
.se-dashboard .command-toolbar input,
.se-dashboard .command-toolbar select,
.se-dashboard .timer-form input,
.se-dashboard .banned-form input,
.se-dashboard .banned-toolbar select,
.se-dashboard .wide-search,
.se-dashboard .user-form input,
.se-dashboard .user-form select,
.se-dashboard .custom-command-form input,
.se-dashboard .custom-command-form textarea,
.se-dashboard .settings-form input,
.se-dashboard .settings-form select {
    min-height: 36px;
    border: 1px solid rgba(145, 71, 255, 0.28);
    border-radius: 7px;
    background: rgba(9, 8, 14, 0.74);
    color: #fff;
    padding: 0 12px;
}

.se-dashboard textarea,
.se-dashboard .custom-command-form textarea,
.se-dashboard .alert-card textarea {
    padding: 10px 12px;
}

.se-dashboard .settings-form {
    gap: 16px;
}

.se-dashboard .settings-form label {
    border: 0;
    background: transparent;
    padding: 0;
}

.se-dashboard .settings-form button {
    width: fit-content;
}

.se-dashboard .danger-button,
.se-dashboard .success-button,
.se-dashboard .settings-form button,
.se-dashboard .custom-command-form button,
.se-dashboard .timer-form button,
.se-dashboard .banned-form button,
.se-dashboard .user-form button {
    border: 0;
    background: transparent;
    color: #ff5b8f;
    padding: 0 28px;
    font-weight: 800;
}

.se-dashboard .success-button {
    color: #49e38a;
}

.se-dashboard .command-toolbar {
    grid-template-columns: minmax(220px, 1fr) 220px;
}

.se-dashboard .default-command-list,
.se-dashboard .alert-grid,
.se-dashboard .settings-grid,
.se-dashboard .timer-list,
.se-dashboard .banned-list,
.se-dashboard .user-list,
.se-dashboard .connection-check-grid,
.se-dashboard .template-grid,
.se-dashboard .custom-command-list {
    gap: 8px;
}

.se-dashboard .alert-grid,
.se-dashboard .settings-grid,
.se-dashboard .connection-check-grid,
.se-dashboard .template-grid,
.se-dashboard .custom-command-list {
    grid-template-columns: 1fr;
}

.se-dashboard .default-command-item strong,
.se-dashboard .timer-item strong,
.se-dashboard .banned-list strong,
.se-dashboard .user-list strong,
.se-dashboard .custom-command-list article strong {
    color: #fff;
    font-size: 14px;
}

.se-dashboard .default-command-item span,
.se-dashboard .timer-item span,
.se-dashboard .timer-item small,
.se-dashboard .user-list span,
.se-dashboard .custom-command-list article span {
    color: #aeb4bd;
}

.se-dashboard .default-command-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.se-dashboard .empty-state {
    min-height: 78px;
}

.se-dashboard .module-card {
    padding: 12px;
}

.se-dashboard .module-preview {
    border-radius: 4px;
}

.se-dashboard .module-meta {
    padding: 16px 8px 6px;
}

.se-dashboard .module-card textarea {
    margin: 0 8px 8px;
    width: calc(100% - 16px);
}

.se-dashboard .feature-lock {
    border-color: rgba(255, 91, 143, 0.3);
    border-radius: 4px;
    background: rgba(255, 91, 143, 0.09);
}

.se-dashboard .module-card .feature-lock {
    margin: 8px 8px 0;
}

@media (max-width: 980px) {
    .dashboard-corner {
        position: static;
        justify-content: flex-end;
        margin: 14px 12px 0 auto;
        width: fit-content;
    }

    .se-dashboard {
        width: min(100% - 24px, 1380px);
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .dashboard-status-header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-status-badges {
        justify-content: flex-start;
    }
}

/* StreamElements-inspired final skin */
:root {
    --bg: #111315;
    --panel: #202326;
    --panel-strong: #262a2d;
    --panel-soft: #181b1d;
    --line: #34393d;
    --line-soft: #303438;
    --text: #f1f3f5;
    --muted: #a5abb1;
    --twitch: #9147ff;
    --cyan: #4f8cff;
    --green: #45e68a;
    --red: #ff4f6d;
    --pink: #ff5b8f;
    --se-accent: #45e68a;
}

body {
    background: var(--bg);
    color: var(--text);
}

body::before,
body::after {
    content: none !important;
}

.home-topbar {
    height: 64px;
    border-bottom: 1px solid #24282b;
    background: #151719;
    backdrop-filter: none;
}

.topbar-brand,
.topbar-login,
.bot-news-button,
.creator-corner-link {
    border-color: #34393d;
    border-radius: 4px;
    background: #202326;
    box-shadow: none;
    backdrop-filter: none;
}

.topbar-login,
.connect-btn,
.discord-support-link,
.settings-form button,
.custom-command-form button,
.timer-form button,
.banned-form button,
.user-form button,
.quick-actions button,
.quick-actions a {
    border: 0;
    border-radius: 4px;
    background: var(--se-accent);
    color: #07100b;
    font-weight: 800;
    box-shadow: none;
}

.topbar-login:hover,
.connect-btn:hover,
.discord-support-link:hover,
.settings-form button:hover,
.custom-command-form button:hover,
.timer-form button:hover,
.banned-form button:hover,
.user-form button:hover,
.quick-actions button:hover,
.quick-actions a:hover {
    filter: brightness(1.06);
}

.bot-news-button {
    background: transparent;
    color: var(--text);
}

.bot-news-button:hover,
.ghost-btn:hover,
.profile-link-strip a:hover,
.account-menu a:hover {
    background: #2b3034;
}

.account-menu,
.bot-news-panel,
.channel-popover {
    border: 1px solid #34393d;
    border-radius: 4px;
    background: #202326;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: none;
}

.avatar-button {
    border-color: #3a4146;
    background: #202326;
    box-shadow: none;
}

.app-shell {
    width: min(100% - 40px, 1180px);
    padding-top: 94px;
}

.landing-hero,
.support-panel,
.features-section,
.panel,
.profile-hero-card,
.profile-link-strip,
.settings-panel,
.permissions-panel,
.home-stat-card,
.home-service-status,
.feature-card {
    border: 1px solid #303438;
    border-radius: 4px;
    background: #202326;
    box-shadow: none;
}

.landing-hero {
    min-height: auto;
    padding: 48px;
    text-align: left;
}

.landing-hero .brand-mark {
    width: 52px;
    height: 52px;
    margin: 0 0 18px;
    border-radius: 4px;
    background: #2a2f33;
}

.landing-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(44px, 7vw, 74px);
    line-height: 0.98;
    text-align: left;
}

.landing-hero .subtitle {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    text-align: left;
}

.hero-actions,
.home-stats {
    justify-content: flex-start;
}

.ghost-btn {
    border: 1px solid #34393d;
    border-radius: 4px;
    background: transparent;
    color: var(--text);
}

.home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.home-stat-card {
    padding: 20px;
}

.home-stat-card span,
.feature-card span,
.eyebrow {
    color: var(--se-accent);
}

.home-stat-card strong {
    font-size: 34px;
}

.home-service-status {
    max-width: 100%;
    justify-content: flex-start;
    border-color: rgba(69, 230, 138, 0.34);
    background: #17231d;
}

.support-panel,
.features-section {
    padding: 28px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.feature-card {
    min-height: 178px;
    padding: 20px;
}

.feature-card strong,
.section-heading h2,
.support-panel h2 {
    color: var(--text);
}

.feature-card p,
.support-panel p,
.section-heading p {
    color: var(--muted);
}

body[data-page="dashboard"] {
    background: #111315;
    color: var(--text);
}

.se-dashboard {
    width: min(100% - 34px, 1440px);
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 26px;
    padding-top: 88px;
}

.se-dashboard .dashboard-sidebar {
    top: 88px;
    height: calc(100vh - 106px);
    border-right: 1px solid #24282b;
    padding-right: 14px;
}

.se-dashboard .sidebar-category,
.se-dashboard .sidebar-group button {
    border-radius: 4px;
}

.se-dashboard .sidebar-category:hover,
.se-dashboard .sidebar-group button:hover,
.se-dashboard .sidebar-group button.is-active {
    background: #2d3337;
}

.se-dashboard .sidebar-group button.is-active {
    color: #fff;
    box-shadow: inset 3px 0 0 var(--se-accent);
}

.se-dashboard .workspace-heading h1 {
    font-size: 34px;
}

.se-dashboard .settings-card,
.se-dashboard .bot-status-card,
.se-dashboard .default-command-item,
.se-dashboard .alert-card,
.se-dashboard .filter-card,
.se-dashboard .timer-item,
.se-dashboard .banned-list article,
.se-dashboard .user-list article,
.se-dashboard .recommendation-card,
.se-dashboard .connection-check-item,
.se-dashboard .template-card,
.se-dashboard .custom-command-list article,
.se-dashboard .dashboard-status-header {
    border: 1px solid #303438;
    border-radius: 4px;
    background: #202326;
}

.se-dashboard .settings-tabs button.is-active,
.se-dashboard .page-tabs button.is-active {
    border-bottom-color: var(--se-accent);
}

.se-dashboard select,
.se-dashboard input,
.se-dashboard textarea,
.se-dashboard .command-toolbar input,
.se-dashboard .command-toolbar select,
.se-dashboard .timer-form input,
.se-dashboard .banned-form input,
.se-dashboard .banned-toolbar select,
.se-dashboard .wide-search,
.se-dashboard .user-form input,
.se-dashboard .user-form select,
.se-dashboard .custom-command-form input,
.se-dashboard .custom-command-form textarea,
.se-dashboard .settings-form input,
.se-dashboard .settings-form select,
.settings-form input,
.settings-form select,
.settings-form textarea {
    border-color: #3a4045;
    border-radius: 4px;
    background: #151719;
    color: var(--text);
}

.se-dashboard .danger-button {
    color: var(--red);
    background: transparent;
}

.se-dashboard .success-button {
    color: var(--se-accent);
    background: transparent;
}

.status-pill.is-ok,
.status-pill.is-live,
.stream-pill.is-live {
    border-color: rgba(69, 230, 138, 0.45);
    background: rgba(69, 230, 138, 0.14);
    color: var(--se-accent);
}

.status-pill.is-bad,
.stream-pill.is-offline {
    border-color: rgba(255, 79, 109, 0.4);
    background: rgba(255, 79, 109, 0.1);
    color: #ff7f94;
}

.profile-hero-card {
    overflow: hidden;
}

.profile-banner {
    border-radius: 0;
}

.profile-hero-body {
    background: #202326;
}

.profile-stat-grid .panel,
.integration-card,
.profile-link-strip a {
    border-color: #303438;
    border-radius: 4px;
    background: #202326;
}

.integration-icon {
    border-color: #3a4045;
    border-radius: 4px;
    background: #151719;
}

.integration-card strong {
    color: var(--text);
}

.integration-card a {
    border: 0;
    border-radius: 4px;
    background: var(--se-accent);
    color: #07100b;
}

.profile-copy-toast,
.toast {
    border: 1px solid #303438;
    border-radius: 4px;
    background: #202326;
    color: var(--text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

@media (max-width: 1100px) {
    .feature-grid,
    .home-stats,
    .profile-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .app-shell {
        width: min(100% - 20px, 1180px);
    }

    .landing-hero,
    .support-panel,
    .features-section {
        padding: 22px;
    }

    .feature-grid,
    .home-stats,
    .profile-stat-grid,
    .public-profile-layout {
        grid-template-columns: 1fr;
    }
}

/* Bot card header fill */
.ssb-bot-card {
    position: relative;
    overflow: hidden;
    padding-top: 92px;
}

.ssb-bot-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 76px;
    border-bottom: 1px solid rgba(44, 144, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(18, 139, 255, 0.2), rgba(18, 139, 255, 0.045) 55%, transparent),
        rgba(7, 15, 26, 0.78);
    pointer-events: none;
}

.ssb-bot-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 18px;
    border-top: 1px solid rgba(61, 177, 255, 0.22);
    border-right: 1px solid rgba(61, 177, 255, 0.22);
    pointer-events: none;
}

.ssb-bot-icon {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
}

.ssb-bot-card small {
    position: absolute;
    z-index: 1;
    top: 28px;
    left: 66px;
    margin: 0;
}

.ssb-bot-card strong,
.ssb-bot-card p,
.ssb-bot-card div {
    position: relative;
    z-index: 1;
}

/* Final home topbar zoom-safe fit */
body[data-page="home"] .ssb-main-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-brand,
body[data-page="home"] .topbar-right,
body[data-page="home"] .topbar-dashboard-link,
body[data-page="home"] .account-widget {
    flex: 0 0 auto;
}

body[data-page="home"] .ssb-main-nav {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: clamp(18px, 1.6vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
}

body[data-page="home"] .topbar-right {
    min-width: 0;
    justify-content: flex-end;
}

body[data-page="home"] .bot-news-button {
    display: none;
}

@media (max-width: 1420px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(7) {
        display: none;
    }
}

@media (max-width: 1280px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(5) {
        display: none;
    }
}

@media (max-width: 1180px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1060px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 940px) {
    body[data-page="home"] .ssb-main-nav {
        display: none;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .ssb-main-brand small {
        display: none;
    }

    body[data-page="home"] .topbar-dashboard-link {
        min-width: 92px;
        padding: 0 14px;
    }
}

@media (max-width: 460px) {
    body[data-page="home"] .topbar-dashboard-link {
        display: none;
    }
}

/* Final workflow bot split */
.ssb-workflow-section.ssb-workflow-split {
    width: min(100%, 980px);
}

.ssb-workflow-section.ssb-workflow-split .ssb-section-head {
    max-width: 720px;
}

.ssb-workflow-section.ssb-workflow-split .ssb-section-head h2 {
    max-width: 640px;
}

.ssb-workflow-section.ssb-workflow-split .ssb-section-head p:not(.ssb-kicker) {
    max-width: 620px;
}

.ssb-bot-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ssb-bot-flow-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.17);
    background:
        linear-gradient(180deg, rgba(21, 113, 213, 0.12), transparent 46%),
        rgba(4, 7, 12, 0.92);
    padding: 20px;
}

.ssb-bot-flow-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(66, 179, 255, 0.9), transparent);
    opacity: 0.75;
}

.ssb-bot-flow-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(66, 179, 255, 0.18);
    background: rgba(66, 179, 255, 0.05);
    transform: rotate(8deg);
    pointer-events: none;
}

.ssb-bot-flow-card.is-discord::before {
    background: linear-gradient(90deg, transparent, rgba(114, 137, 255, 0.9), transparent);
}

.ssb-bot-flow-card.is-telegram::before {
    background: linear-gradient(90deg, transparent, rgba(38, 198, 255, 0.9), transparent);
}

.ssb-bot-flow-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 92px;
}

.ssb-bot-flow-head > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(66, 179, 255, 0.24);
    background: rgba(66, 179, 255, 0.08);
    color: #61b8ff;
    font-size: 13px;
    font-weight: 950;
}

.ssb-bot-flow-head strong {
    display: block;
    color: #f6fbff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.12;
}

.ssb-bot-flow-head p {
    margin: 8px 0 0;
    color: #98a8ba;
    font-size: 12px;
    line-height: 1.55;
}

.ssb-bot-flow-card ol {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ssb-bot-flow-card li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
    padding: 10px;
}

.ssb-bot-flow-card li b {
    color: rgba(97, 184, 255, 0.7);
    font-size: 11px;
    font-weight: 950;
}

.ssb-bot-flow-card li span {
    color: #dbe8f6;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .ssb-bot-flow-grid {
        grid-template-columns: 1fr;
    }

    .ssb-bot-flow-card {
        min-height: 0;
    }
}

/* Final workflow bot split */
.ssb-workflow-section {
    width: min(100%, 980px);
}

.ssb-workflow-section .ssb-section-head {
    max-width: 720px;
}

.ssb-workflow-section .ssb-section-head h2 {
    max-width: 640px;
}

.ssb-workflow-section .ssb-section-head p:not(.ssb-kicker) {
    max-width: 620px;
}

.ssb-bot-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ssb-bot-flow-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.17);
    background:
        linear-gradient(180deg, rgba(21, 113, 213, 0.12), transparent 46%),
        rgba(4, 7, 12, 0.92);
    padding: 20px;
}

.ssb-bot-flow-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(66, 179, 255, 0.9), transparent);
    opacity: 0.75;
}

.ssb-bot-flow-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(66, 179, 255, 0.18);
    background: rgba(66, 179, 255, 0.05);
    transform: rotate(8deg);
    pointer-events: none;
}

.ssb-bot-flow-card.is-discord::before {
    background: linear-gradient(90deg, transparent, rgba(114, 137, 255, 0.9), transparent);
}

.ssb-bot-flow-card.is-telegram::before {
    background: linear-gradient(90deg, transparent, rgba(38, 198, 255, 0.9), transparent);
}

.ssb-bot-flow-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 92px;
}

.ssb-bot-flow-head > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(66, 179, 255, 0.24);
    background: rgba(66, 179, 255, 0.08);
    color: #61b8ff;
    font-size: 13px;
    font-weight: 950;
}

.ssb-bot-flow-head strong {
    display: block;
    color: #f6fbff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.12;
}

.ssb-bot-flow-head p {
    margin: 8px 0 0;
    color: #98a8ba;
    font-size: 12px;
    line-height: 1.55;
}

.ssb-bot-flow-card ol {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ssb-bot-flow-card li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
    padding: 10px;
}

.ssb-bot-flow-card li b {
    color: rgba(97, 184, 255, 0.7);
    font-size: 11px;
    font-weight: 950;
}

.ssb-bot-flow-card li span {
    color: #dbe8f6;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .ssb-bot-flow-grid {
        grid-template-columns: 1fr;
    }

    .ssb-bot-flow-card {
        min-height: 0;
    }
}

/* Home topbar zoom-safe fit */
body[data-page="home"] .ssb-main-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-brand,
body[data-page="home"] .topbar-right,
body[data-page="home"] .topbar-dashboard-link,
body[data-page="home"] .account-widget {
    flex: 0 0 auto;
}

body[data-page="home"] .ssb-main-nav {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: clamp(18px, 1.6vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
}

body[data-page="home"] .topbar-right {
    min-width: 0;
    justify-content: flex-end;
}

body[data-page="home"] .bot-news-button {
    display: none;
}

@media (max-width: 1420px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(7) {
        display: none;
    }
}

@media (max-width: 1280px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(5) {
        display: none;
    }
}

@media (max-width: 1180px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1060px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 940px) {
    body[data-page="home"] .ssb-main-nav {
        display: none;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .ssb-main-brand small {
        display: none;
    }

    body[data-page="home"] .topbar-dashboard-link {
        min-width: 92px;
        padding: 0 14px;
    }
}

@media (max-width: 460px) {
    body[data-page="home"] .topbar-dashboard-link {
        display: none;
    }
}

/* Main hero controls polish */
body[data-page="home"] .ssb-hero .ssb-kicker {
    position: relative;
    gap: 9px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-color: rgba(44, 164, 255, 0.44);
    background: linear-gradient(180deg, rgba(13, 73, 128, 0.22), rgba(4, 18, 34, 0.7));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 28px rgba(24, 145, 255, 0.12);
}

body[data-page="home"] .ssb-hero .ssb-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #64c7ff;
    box-shadow:
        0 0 0 3px rgba(70, 188, 255, 0.12),
        0 0 14px rgba(70, 188, 255, 0.82);
    animation: ssbLampPulse 1.9s ease-in-out infinite;
}

@keyframes ssbLampPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.92);
        box-shadow:
            0 0 0 3px rgba(70, 188, 255, 0.1),
            0 0 10px rgba(70, 188, 255, 0.5);
    }

    48% {
        opacity: 1;
        transform: scale(1.08);
        box-shadow:
            0 0 0 5px rgba(70, 188, 255, 0.18),
            0 0 22px rgba(70, 188, 255, 0.95);
    }
}

body[data-page="home"] .ssb-hero-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

body[data-page="home"] .ssb-primary,
body[data-page="home"] .ssb-secondary {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body[data-page="home"] .ssb-primary {
    border: 1px solid rgba(64, 181, 255, 0.72);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(135deg, #2dadff, #0878e6);
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 48px rgba(12, 130, 255, 0.28);
}

body[data-page="home"] .ssb-secondary {
    border: 1px solid rgba(64, 181, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(2, 14, 28, 0.72);
    color: #d9eaff;
}

body[data-page="home"] .ssb-primary:hover,
body[data-page="home"] .ssb-secondary:hover {
    transform: translateY(-1px);
}

body[data-page="home"] .ssb-secondary:hover {
    border-color: rgba(64, 181, 255, 0.52);
    background: rgba(12, 55, 96, 0.5);
}

body[data-page="home"] .ssb-live-stats {
    width: min(100%, 860px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

body[data-page="home"] .ssb-stat {
    min-height: 116px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 12px;
    border: 1px solid rgba(44, 144, 255, 0.24);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(13, 41, 73, 0.62), rgba(3, 10, 20, 0.64)),
        rgba(3, 12, 24, 0.72);
    padding: 16px;
    text-align: left;
}

body[data-page="home"] .ssb-stat::after {
    display: none;
}

body[data-page="home"] .ssb-stat-icon {
    grid-row: 1 / 4;
    align-self: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(18, 139, 255, 0.12);
}

body[data-page="home"] .ssb-stat span {
    align-self: end;
    color: #7f91a7;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body[data-page="home"] .ssb-stat strong {
    margin-top: 6px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

body[data-page="home"] .ssb-stat small {
    margin-top: 7px;
    color: #b8c7d8;
    font-size: 12px;
    line-height: 1.28;
}

@media (max-width: 900px) {
    body[data-page="home"] .ssb-live-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body[data-page="home"] .ssb-hero-actions,
    body[data-page="home"] .ssb-live-stats {
        grid-template-columns: 1fr;
    }
}

/* Main hero text scale pass */
body[data-page="home"] .ssb-hero .ssb-kicker {
    min-height: 30px;
    margin-bottom: 22px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.14em;
}

body[data-page="home"] .ssb-hero h1 {
    max-width: 760px;
    font-size: clamp(44px, 5.2vw, 72px);
    line-height: 0.96;
}

body[data-page="home"] .ssb-hero h1 span {
    margin-top: 6px;
}

body[data-page="home"] .ssb-lead {
    max-width: 560px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
}

body[data-page="home"] .ssb-hero-actions {
    margin-top: 28px;
}

body[data-page="home"] .ssb-live-stats {
    margin-top: 34px;
}

@media (max-width: 760px) {
    body[data-page="home"] .ssb-hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    body[data-page="home"] .ssb-lead {
        font-size: 14px;
    }
}

/* SSoleBot main visual refresh */
body[data-page="home"] {
    --ssb-blue: #1598ff;
    --ssb-blue-strong: #0a84ff;
    --ssb-blue-soft: rgba(21, 152, 255, 0.18);
    --ssb-line: rgba(21, 152, 255, 0.38);
    --ssb-text: #f4f7ff;
    --ssb-muted: #b8c2d3;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(18, 117, 255, 0.32), transparent 28%),
        radial-gradient(circle at 50% 26%, rgba(19, 124, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #061426 0%, #020811 42%, #01050b 100%);
    color: var(--ssb-text);
}

body[data-page="home"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 38%, rgba(17, 125, 255, 0.14), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.24));
}

body[data-page="home"] .ssb-main-topbar {
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    transform: none;
    border-bottom: 1px solid rgba(21, 152, 255, 0.28);
    background: rgba(4, 15, 31, 0.82);
    padding: 0 clamp(24px, 4vw, 72px);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body[data-page="home"] .ssb-main-brand {
    min-width: 230px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    justify-content: start;
    gap: 2px 14px;
    border: 0;
    background: transparent;
    padding: 0;
    text-transform: none;
}

body[data-page="home"] .ssb-main-brand::before {
    content: "";
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    align-self: center;
    border: 6px solid var(--ssb-blue);
    border-radius: 8px;
    background: rgba(21, 152, 255, 0.12);
    box-shadow: 0 0 26px rgba(21, 152, 255, 0.5);
}

body[data-page="home"] .ssb-main-brand span {
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
}

body[data-page="home"] .ssb-main-brand small {
    color: var(--ssb-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

body[data-page="home"] .ssb-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.2vw, 36px);
}

body[data-page="home"] .ssb-main-nav a {
    color: #d8deea;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

body[data-page="home"] .ssb-main-nav a:hover {
    color: #ffffff;
}

body[data-page="home"] .bot-news-button,
body[data-page="home"] .topbar-login {
    display: none;
}

body[data-page="home"] .topbar-dashboard-link {
    min-width: 124px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(21, 152, 255, 0.62);
    border-radius: 7px;
    background: rgba(6, 27, 54, 0.48);
    color: var(--ssb-blue);
    padding: 0 22px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

body[data-page="home"] .avatar-button {
    width: 46px;
    height: 46px;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
}

.ssb-main {
    width: min(100% - 40px, 1160px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 143px 0 34px;
}

.ssb-hero {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
    text-align: center;
}

.ssb-hero-copy {
    width: min(100%, 860px);
    display: grid;
    justify-items: center;
}

.ssb-hero .ssb-kicker {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px;
    border: 1px solid rgba(21, 152, 255, 0.45);
    border-radius: 7px;
    background: rgba(2, 20, 42, 0.62);
    color: var(--ssb-blue);
    padding: 0 18px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 4px;
}

.ssb-hero h1 {
    width: min(100%, 660px);
    margin: 0;
    color: #f5f7fb;
    font-size: clamp(52px, 5.35vw, 76px);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.38);
}

.ssb-hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--ssb-blue);
    font-size: 0.93em;
    line-height: 0.98;
}

.ssb-lead {
    width: min(100%, 530px);
    margin: 18px 0 0;
    color: #c0c8d6;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.65;
}

.ssb-hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
}

.ssb-primary,
.ssb-secondary {
    width: 242px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.ssb-primary {
    border: 1px solid var(--ssb-blue);
    background: linear-gradient(180deg, #1fa4ff, #0a87ff);
    color: #ffffff;
    box-shadow: 0 14px 42px rgba(21, 152, 255, 0.28);
}

.ssb-secondary {
    border: 1px solid rgba(21, 152, 255, 0.56);
    background: rgba(2, 16, 34, 0.62);
    color: #ffffff;
}

.ssb-live-stats {
    position: relative;
    width: min(100%, 860px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.ssb-stat {
    min-height: 148px;
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 16px;
    border: 1px solid rgba(21, 152, 255, 0.3);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(8, 20, 38, 0.8), rgba(2, 8, 17, 0.82)),
        rgba(2, 10, 20, 0.7);
    color: var(--ssb-text);
    padding: 20px;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ssb-stat::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -12px;
    width: 1px;
    height: 72px;
    background: linear-gradient(180deg, transparent, var(--ssb-blue), transparent);
}

.ssb-stat:last-of-type::after {
    display: none;
}

.ssb-stat-icon {
    grid-row: 1 / 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    align-self: start;
    border: 1px solid rgba(21, 152, 255, 0.28);
    border-radius: 8px;
    background: rgba(21, 152, 255, 0.1);
    color: var(--ssb-blue);
    font-size: 22px;
    font-style: normal;
    line-height: 1;
}

.ssb-stat span {
    color: var(--ssb-muted);
    font-size: 14px;
    font-weight: 700;
}

.ssb-stat strong {
    margin-top: 12px;
    color: #ffffff;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 900;
    line-height: 1;
}

.ssb-stat strong b {
    font: inherit;
}

.ssb-stat small {
    margin-top: 12px;
    color: #b6bdca;
    font-size: 14px;
    font-weight: 600;
}

.ssb-hero > .ssb-command-panel {
    display: none;
}

@media (max-width: 1040px) {
    body[data-page="home"] .ssb-main-topbar {
        height: auto;
        min-height: 80px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
    }

    body[data-page="home"] .ssb-main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .ssb-main {
        padding-top: 150px;
    }

    .ssb-hero h1 {
        font-size: clamp(46px, 8vw, 68px);
    }

    .ssb-live-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ssb-stat:nth-of-type(2)::after {
        display: none;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .ssb-main-topbar {
        padding-inline: 14px;
    }

    body[data-page="home"] .ssb-main-brand {
        min-width: 0;
        grid-template-columns: 40px minmax(0, 1fr);
    }

    body[data-page="home"] .topbar-dashboard-link {
        min-width: 96px;
        min-height: 42px;
        padding: 0 14px;
    }

    .ssb-main {
        width: min(100% - 24px, 1160px);
        padding-top: 158px;
    }

    .ssb-hero .ssb-kicker {
        max-width: 100%;
        font-size: 11px;
        letter-spacing: 2px;
        padding: 0 12px;
    }

    .ssb-hero h1 {
        font-size: 42px;
    }

    .ssb-lead {
        font-size: 15px;
    }

    .ssb-hero-actions,
    .ssb-live-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .ssb-hero-actions {
        display: grid;
    }

    .ssb-primary,
    .ssb-secondary {
        width: 100%;
    }

    .ssb-live-stats {
        gap: 12px;
    }

    .ssb-stat::after {
        display: none;
    }
}

/* Final product page override */
body[data-page="home"] {
    background:
        radial-gradient(ellipse at 50% 12%, rgba(18, 139, 255, 0.055), transparent 34rem),
        linear-gradient(180deg, #050608 0%, #050608 52%, #030405 100%);
}

body[data-page="home"] .ssb-main-topbar {
    padding-left: clamp(48px, 4vw, 86px);
    padding-right: clamp(48px, 4vw, 86px);
}

body[data-page="home"] .ssb-main-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 9px;
    row-gap: 1px;
    align-items: center;
    min-width: 210px;
}

body[data-page="home"] .ssb-main-brand::before {
    grid-row: span 2;
}

body[data-page="home"] .ssb-main-brand span {
    line-height: 1;
}

body[data-page="home"] .ssb-main-brand small {
    display: block;
    color: #7f8b99;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.topbar-dashboard-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(61, 160, 255, 0.18);
    color: #dceeff;
    padding: 0 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.topbar-dashboard-link:hover {
    border-color: rgba(61, 160, 255, 0.38);
    background: rgba(18, 139, 255, 0.06);
}

.ssb-main {
    width: min(100% - clamp(96px, 10vw, 180px), 1560px);
    max-width: 1560px;
}

.ssb-hero {
    width: 100%;
    min-height: calc(100vh - 74px);
    padding: 72px 0 64px;
}

.ssb-hero h1 {
    max-width: 1320px;
    font-size: clamp(72px, 7.4vw, 124px);
}

.ssb-hero h1 span {
    display: inline-block;
}

.ssb-lead {
    max-width: 780px;
}

.ssb-live-stats {
    width: min(100%, 760px);
}

.ssb-bots-section,
.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section,
.ssb-dashboard-preview,
.ssb-testimonials,
.ssb-faq-section {
    width: min(100%, 1120px);
    margin: 86px auto 0;
    border: 0;
    border-top: 1px solid rgba(44, 144, 255, 0.13);
    background: transparent;
    box-shadow: none;
    padding: 58px 0 0;
}

.ssb-bots-section .ssb-section-head,
.ssb-workflow-section .ssb-section-head,
.ssb-modules .ssb-section-head,
.ssb-routing-section .ssb-section-head,
.ssb-dashboard-preview .ssb-section-head,
.ssb-testimonials .ssb-section-head,
.ssb-faq-section .ssb-section-head {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-bottom: 28px;
    text-align: left;
}

.ssb-bots-section .ssb-section-head .ssb-kicker,
.ssb-workflow-section .ssb-section-head .ssb-kicker,
.ssb-modules .ssb-section-head .ssb-kicker,
.ssb-routing-section .ssb-section-head .ssb-kicker,
.ssb-dashboard-preview .ssb-section-head .ssb-kicker,
.ssb-testimonials .ssb-section-head .ssb-kicker,
.ssb-faq-section .ssb-section-head .ssb-kicker {
    margin: 0;
    color: #3db1ff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ssb-bots-section .ssb-section-head h2,
.ssb-workflow-section .ssb-section-head h2,
.ssb-modules .ssb-section-head h2,
.ssb-routing-section .ssb-section-head h2,
.ssb-dashboard-preview .ssb-section-head h2,
.ssb-testimonials .ssb-section-head h2,
.ssb-faq-section .ssb-section-head h2 {
    max-width: 720px;
    margin: 0;
    color: #f6fbff;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.16;
    text-align: left;
}

.ssb-workflow-section .ssb-section-head p:not(.ssb-kicker),
.ssb-routing-section .ssb-section-head p:not(.ssb-kicker),
.ssb-dashboard-preview .ssb-section-head p:not(.ssb-kicker) {
    max-width: 620px;
    margin: 0;
    color: #8f9aa7;
    font-size: 13px;
    line-height: 1.62;
}

.ssb-three-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssb-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssb-screen-grid,
.ssb-quote-grid,
.ssb-faq-grid {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.16);
    background: #05070a;
}

.ssb-screen-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssb-quote-grid,
.ssb-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssb-screen-grid article,
.ssb-quote-grid article,
.ssb-faq-grid article {
    min-height: 170px;
    border-right: 1px solid rgba(44, 144, 255, 0.1);
    border-bottom: 1px solid rgba(44, 144, 255, 0.1);
    padding: 22px;
}

.ssb-screen-grid article:last-child,
.ssb-quote-grid article:nth-child(2n),
.ssb-faq-grid article:nth-child(2n) {
    border-right: 0;
}

.ssb-quote-grid article,
.ssb-faq-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.ssb-screen-grid span {
    color: #3db1ff;
    font-size: 12px;
    font-weight: 950;
}

.ssb-screen-grid strong,
.ssb-faq-grid strong,
.ssb-quote-grid strong {
    display: block;
    margin-top: 18px;
    color: #f7fbff;
    font-size: 18px;
    line-height: 1.2;
}

.ssb-screen-grid p,
.ssb-faq-grid p,
.ssb-quote-grid p {
    margin: 14px 0 0;
    color: #a7b6c7;
    font-size: 12px;
    line-height: 1.6;
}

.ssb-screen-grid b {
    display: inline-flex;
    margin-top: 18px;
    color: #3db1ff;
    font-size: 12px;
}

.ssb-quote-grid p {
    color: #dce8f6;
    font-size: 15px;
}

.ssb-quote-grid strong {
    color: #3db1ff;
    font-size: 12px;
}

.ssb-bot-card::before {
    background:
        linear-gradient(135deg, rgba(18, 139, 255, 0.095), rgba(18, 139, 255, 0.025) 58%, transparent),
        rgba(6, 10, 16, 0.84);
}

.ssb-primary {
    box-shadow: 0 16px 36px rgba(18, 139, 255, 0.14);
}

@media (max-width: 1120px) {
    .ssb-main-nav {
        gap: 14px;
    }

    .ssb-main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .ssb-main {
        width: min(100% - 36px, 1120px);
    }

    body[data-page="home"] .ssb-main-topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topbar-dashboard-link {
        display: none;
    }

    .ssb-hero h1 {
        font-size: clamp(52px, 12vw, 86px);
    }

    .ssb-bots-section,
    .ssb-workflow-section,
    .ssb-modules,
    .ssb-routing-section,
    .ssb-dashboard-preview,
    .ssb-testimonials,
    .ssb-faq-section {
        width: min(100%, 760px);
    }

    .ssb-three-steps,
    .ssb-module-grid,
    .ssb-screen-grid,
    .ssb-quote-grid,
    .ssb-faq-grid {
        grid-template-columns: 1fr;
    }

    .ssb-module-grid article,
    .ssb-module-grid article:nth-child(3n),
    .ssb-module-grid article:nth-child(4n),
    .ssb-module-grid article:nth-last-child(-n + 3),
    .ssb-module-grid article:nth-last-child(-n + 4),
    .ssb-screen-grid article,
    .ssb-screen-grid article:last-child,
    .ssb-quote-grid article,
    .ssb-quote-grid article:nth-child(2n),
    .ssb-faq-grid article,
    .ssb-faq-grid article:nth-child(2n),
    .ssb-faq-grid article:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(44, 144, 255, 0.1);
    }

    .ssb-module-grid article:last-child,
    .ssb-screen-grid article:last-child,
    .ssb-quote-grid article:last-child,
    .ssb-faq-grid article:last-child {
        border-bottom: 0;
    }
}

/* Final label/title override */
.ssb-bot-card small,
.ssb-pipeline-grid span {
    color: rgba(39, 159, 255, 0.86);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.ssb-bot-card small {
    top: 22px;
    left: 72px;
    font-size: 22px;
}

.ssb-pipeline-grid span {
    font-size: 30px;
}

.ssb-bot-card strong,
.ssb-pipeline-grid strong {
    color: #f7fbff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.18;
}

.ssb-pipeline-grid strong {
    margin-top: 16px;
}

.ssb-bot-card p,
.ssb-pipeline-grid p {
    color: #a7b6c7;
    font-size: 12px;
    line-height: 1.6;
}

.ssb-bot-card .ssb-bot-icon {
    width: 44px;
    height: 44px;
    top: 16px;
}

.ssb-bot-card .ssb-bot-icon img {
    width: 24px;
    height: 24px;
}

.ssb-bot-card::before {
    height: 84px;
}

.ssb-bot-card {
    padding-top: 104px;
}

.ssb-pipeline-grid article {
    padding-top: 26px;
}

/* Product page pass */
body[data-page="home"] .ssb-main-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 9px;
    row-gap: 1px;
    align-items: center;
    min-width: 190px;
}

body[data-page="home"] .ssb-main-brand::before {
    grid-row: span 2;
}

body[data-page="home"] .ssb-main-brand span {
    line-height: 1;
}

body[data-page="home"] .ssb-main-brand small {
    display: block;
    color: #7f8b99;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.topbar-dashboard-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(61, 160, 255, 0.18);
    color: #dceeff;
    padding: 0 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.topbar-dashboard-link:hover {
    border-color: rgba(61, 160, 255, 0.38);
    background: rgba(18, 139, 255, 0.06);
}

.ssb-hero h1 {
    max-width: 1320px;
    font-size: clamp(72px, 7.4vw, 124px);
}

.ssb-hero h1 span {
    display: inline-block;
}

.ssb-three-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssb-three-steps article {
    min-height: 210px;
}

.ssb-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssb-module-grid article:nth-child(3n),
.ssb-module-grid article:nth-last-child(-n + 3) {
    border-right: 1px solid rgba(44, 144, 255, 0.09);
    border-bottom: 1px solid rgba(44, 144, 255, 0.09);
}

.ssb-module-grid article:nth-child(4n) {
    border-right: 0;
}

.ssb-module-grid article:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.ssb-dashboard-preview,
.ssb-testimonials,
.ssb-faq-section {
    width: min(100%, 1120px);
    margin: 86px auto 0;
    border-top: 1px solid rgba(44, 144, 255, 0.13);
    padding-top: 58px;
}

.ssb-dashboard-preview .ssb-section-head,
.ssb-testimonials .ssb-section-head,
.ssb-faq-section .ssb-section-head {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-bottom: 28px;
    text-align: left;
}

.ssb-dashboard-preview .ssb-section-head .ssb-kicker,
.ssb-testimonials .ssb-section-head .ssb-kicker,
.ssb-faq-section .ssb-section-head .ssb-kicker {
    margin: 0;
    color: #3db1ff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ssb-dashboard-preview .ssb-section-head h2,
.ssb-testimonials .ssb-section-head h2,
.ssb-faq-section .ssb-section-head h2 {
    max-width: 720px;
    margin: 0;
    color: #f6fbff;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.16;
    text-align: left;
}

.ssb-dashboard-preview .ssb-section-head p {
    max-width: 620px;
    margin: 0;
    color: #8f9aa7;
    font-size: 13px;
    line-height: 1.62;
}

.ssb-screen-grid,
.ssb-quote-grid,
.ssb-faq-grid {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.16);
    background: #05070a;
}

.ssb-screen-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssb-quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssb-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssb-screen-grid article,
.ssb-quote-grid article,
.ssb-faq-grid article {
    min-height: 170px;
    border-right: 1px solid rgba(44, 144, 255, 0.1);
    border-bottom: 1px solid rgba(44, 144, 255, 0.1);
    padding: 22px;
}

.ssb-screen-grid article:last-child,
.ssb-quote-grid article:nth-child(2n),
.ssb-faq-grid article:nth-child(2n) {
    border-right: 0;
}

.ssb-quote-grid article,
.ssb-faq-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.ssb-screen-grid span {
    color: #3db1ff;
    font-size: 12px;
    font-weight: 950;
}

.ssb-screen-grid strong,
.ssb-faq-grid strong,
.ssb-quote-grid strong {
    display: block;
    margin-top: 18px;
    color: #f7fbff;
    font-size: 18px;
    line-height: 1.2;
}

.ssb-screen-grid p,
.ssb-faq-grid p,
.ssb-quote-grid p {
    margin: 14px 0 0;
    color: #a7b6c7;
    font-size: 12px;
    line-height: 1.6;
}

.ssb-screen-grid b {
    display: inline-flex;
    margin-top: 18px;
    color: #3db1ff;
    font-size: 12px;
}

.ssb-quote-grid p {
    color: #dce8f6;
    font-size: 15px;
}

.ssb-quote-grid strong {
    color: #3db1ff;
    font-size: 12px;
}

@media (max-width: 1120px) {
    .ssb-main-nav {
        gap: 14px;
    }

    .ssb-main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .topbar-dashboard-link {
        display: none;
    }

    .ssb-three-steps,
    .ssb-module-grid,
    .ssb-screen-grid,
    .ssb-quote-grid,
    .ssb-faq-grid {
        grid-template-columns: 1fr;
    }

    .ssb-module-grid article,
    .ssb-module-grid article:nth-child(3n),
    .ssb-module-grid article:nth-child(4n),
    .ssb-module-grid article:nth-last-child(-n + 3),
    .ssb-module-grid article:nth-last-child(-n + 4),
    .ssb-screen-grid article,
    .ssb-screen-grid article:last-child,
    .ssb-quote-grid article,
    .ssb-quote-grid article:nth-child(2n),
    .ssb-faq-grid article,
    .ssb-faq-grid article:nth-child(2n),
    .ssb-faq-grid article:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(44, 144, 255, 0.1);
    }

    .ssb-module-grid article:last-child,
    .ssb-screen-grid article:last-child,
    .ssb-quote-grid article:last-child,
    .ssb-faq-grid article:last-child {
        border-bottom: 0;
    }
}

/* Wide Relay scale and subtle background */
body[data-page="home"] {
    background:
        radial-gradient(ellipse at 50% 12%, rgba(18, 139, 255, 0.055), transparent 34rem),
        linear-gradient(180deg, #050608 0%, #050608 52%, #030405 100%);
}

body[data-page="home"] .ssb-main-topbar {
    padding-left: clamp(48px, 4vw, 86px);
    padding-right: clamp(48px, 4vw, 86px);
}

.ssb-main {
    width: min(100% - clamp(96px, 10vw, 180px), 1560px);
    max-width: 1560px;
}

.ssb-hero {
    width: 100%;
    min-height: calc(100vh - 74px);
    padding: 72px 0 64px;
}

.ssb-hero h1 {
    max-width: 1220px;
    font-size: clamp(76px, 8vw, 136px);
}

.ssb-lead {
    max-width: 780px;
}

.ssb-live-stats {
    width: min(100%, 760px);
}

.ssb-bots-section,
.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section {
    width: min(100%, 1120px);
}

.ssb-bots-section .ssb-section-head h2,
.ssb-workflow-section .ssb-section-head h2,
.ssb-modules .ssb-section-head h2,
.ssb-routing-section .ssb-section-head h2 {
    max-width: 720px;
}

.ssb-workflow-section .ssb-section-head p:not(.ssb-kicker),
.ssb-routing-section .ssb-section-head p:not(.ssb-kicker) {
    max-width: 620px;
}

.ssb-pipeline-grid article,
.ssb-module-grid article,
.ssb-bot-card {
    min-height: 230px;
}

.ssb-bot-card::before {
    background:
        linear-gradient(135deg, rgba(18, 139, 255, 0.095), rgba(18, 139, 255, 0.025) 58%, transparent),
        rgba(6, 10, 16, 0.84);
}

.ssb-bot-card:hover {
    background: rgba(18, 139, 255, 0.02);
}

.ssb-primary {
    box-shadow: 0 16px 36px rgba(18, 139, 255, 0.14);
}

@media (max-width: 980px) {
    .ssb-main {
        width: min(100% - 36px, 1120px);
    }

    body[data-page="home"] .ssb-main-topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ssb-hero h1 {
        font-size: clamp(52px, 12vw, 86px);
    }

    .ssb-bots-section,
    .ssb-workflow-section,
    .ssb-modules,
    .ssb-routing-section {
        width: min(100%, 760px);
    }
}

/* Unified labels and titles */
.ssb-bot-card small,
.ssb-pipeline-grid span {
    color: rgba(39, 159, 255, 0.86);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.ssb-bot-card small {
    top: 22px;
    left: 72px;
    font-size: 22px;
}

.ssb-bot-card strong,
.ssb-pipeline-grid strong {
    color: #f7fbff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.18;
}

.ssb-bot-card > strong {
    margin-top: 0;
}

.ssb-pipeline-grid strong {
    margin-top: 16px;
}

.ssb-bot-card p,
.ssb-pipeline-grid p {
    color: #a7b6c7;
    font-size: 12px;
    line-height: 1.6;
}

.ssb-bot-icon {
    width: 44px;
    height: 44px;
    top: 16px;
}

.ssb-bot-icon img {
    width: 24px;
    height: 24px;
}

.ssb-bot-card::before {
    height: 84px;
}

.ssb-bot-card {
    padding-top: 104px;
}

.ssb-pipeline-grid article {
    padding-top: 26px;
}

/* Premium SaaS landing and studio dashboard */
body[data-page="home"] {
    background:
        radial-gradient(circle at 14% 12%, rgba(90, 125, 255, 0.2), transparent 34%),
        radial-gradient(circle at 86% 4%, rgba(69, 230, 138, 0.12), transparent 30%),
        linear-gradient(180deg, #070a0f 0%, #0c1016 48%, #07090d 100%);
}

.marketing-shell {
    width: min(100% - 40px, 1180px);
    display: grid;
    gap: 76px;
    margin: 0 auto;
    padding: 118px 0 70px;
}

.saas-hero {
    min-height: calc(100vh - 150px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 54px;
    position: relative;
}

.saas-hero::before {
    content: "";
    position: absolute;
    inset: -80px -60px auto auto;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(145, 71, 255, 0.34), transparent 62%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-copy h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-copy .subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: #b8c0cc;
    font-size: 19px;
    line-height: 1.65;
}

.reveal-card {
    animation: ssbReveal 0.65s ease both;
}

@keyframes ssbReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-mockup {
    position: relative;
}

.mockup-window,
.product-demo,
.why-section,
.changelog-section,
.social-section,
.logo-strip,
.marketing-section {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.mockup-window {
    overflow: hidden;
    transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}

.mockup-top {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 20, 0.78);
    padding: 0 16px;
}

.mockup-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5b8f;
}

.mockup-top span:nth-child(2) { background: #ffd166; }
.mockup-top span:nth-child(3) { background: #45e68a; }
.mockup-top strong { margin-left: auto; color: #c5ccd6; font-size: 12px; }

.mockup-body {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 430px;
    background: rgba(10, 13, 18, 0.88);
}

.mockup-body aside {
    display: grid;
    align-content: start;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.mockup-body aside b {
    margin-bottom: 12px;
}

.mockup-body aside span,
.mockup-list p,
.demo-card p {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    padding: 10px;
    color: #b8c0cc;
}

.mockup-body aside .is-active {
    border-color: rgba(69, 230, 138, 0.35);
    background: rgba(69, 230, 138, 0.12);
    color: #fff;
}

.mockup-body section {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mockup-stat-row article,
.demo-card,
.step-grid article,
.timeline-grid article,
.faq-list details,
.overview-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    padding: 18px;
}

.mockup-stat-row small {
    color: #8993a0;
}

.mockup-stat-row strong {
    display: block;
    margin-top: 6px;
    font-size: 24px;
}

.mockup-chart,
.activity-sparkline,
.demo-bars {
    min-height: 150px;
    display: flex;
    align-items: end;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(145, 71, 255, 0.08), rgba(69, 230, 138, 0.035));
    padding: 18px;
}

.mockup-chart i,
.activity-sparkline span,
.demo-bars span {
    flex: 1;
    min-height: 24px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, #45e68a, #4f8cff);
}

.mockup-chart i:nth-child(1) { height: 40%; }
.mockup-chart i:nth-child(2) { height: 68%; }
.mockup-chart i:nth-child(3) { height: 52%; }
.mockup-chart i:nth-child(4) { height: 84%; }
.mockup-chart i:nth-child(5) { height: 64%; }
.mockup-chart i:nth-child(6) { height: 76%; }

.mockup-list {
    display: grid;
    gap: 8px;
}

.mockup-list p {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.logo-strip {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    color: #8f9aa8;
    font-size: 13px;
}

.marketing-section,
.product-demo,
.why-section,
.changelog-section,
.social-section {
    padding: 38px;
}

.modern-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.demo-card,
.step-grid article,
.timeline-grid article,
.faq-list details {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature-card:hover,
.demo-card:hover,
.step-grid article:hover,
.timeline-grid article:hover,
.faq-list details:hover {
    border-color: rgba(69, 230, 138, 0.38);
    transform: translateY(-4px);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 14px;
}

.demo-card.large {
    grid-row: span 2;
}

.step-grid,
.timeline-grid,
.changelog-list,
.social-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step-grid span,
.feature-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(69, 230, 138, 0.12);
    color: #45e68a;
    font-weight: 900;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.benefit-grid span {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    padding: 14px;
}

.benefit-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    color: #aeb7c3;
}

.social-actions a,
.site-footer a {
    color: #dfe7f1;
    text-decoration: none;
}

.social-actions a {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 16px;
    font-weight: 800;
}

.site-footer {
    width: min(100% - 40px, 1180px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 24px 0 44px;
    color: #7f8996;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.studio-sidebar {
    display: grid;
    align-content: start;
    gap: 6px;
}

.bot-platform-picker {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
    gap: 22px;
    align-items: stretch;
    margin: 26px auto 18px;
    padding: 26px;
}

.platform-picker-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
}

.platform-picker-copy h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 0.94;
}

.platform-picker-copy p:not(.eyebrow) {
    max-width: 560px;
    color: #aeb7c3;
    font-size: 16px;
    line-height: 1.65;
}

.platform-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.platform-picker-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.22), transparent 28%),
        rgba(255, 255, 255, 0.055);
    color: #fff;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.platform-picker-card::before {
    content: "";
    position: absolute;
    inset: auto 18px 18px auto;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    opacity: 0.22;
    transform: rotate(10deg);
}

.platform-picker-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-4px);
}

.platform-picker-card span {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.24);
    font-weight: 900;
}

.platform-picker-card strong {
    position: relative;
    font-size: 24px;
}

.platform-picker-card small {
    position: relative;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
}

.platform-picker-card b {
    position: relative;
    margin-top: 8px;
    color: #fff;
    font-size: 13px;
}

.platform-picker-card.is-twitch {
    background:
        linear-gradient(145deg, rgba(145, 71, 255, 0.46), rgba(69, 230, 138, 0.08)),
        rgba(255, 255, 255, 0.055);
}

.platform-picker-card.is-twitch::before {
    background: #9147ff;
}

.platform-picker-card.is-discord {
    background:
        linear-gradient(145deg, rgba(88, 101, 242, 0.44), rgba(69, 230, 138, 0.08)),
        rgba(255, 255, 255, 0.055);
}

.platform-picker-card.is-discord::before {
    background: #5865f2;
}

.platform-picker-card.is-telegram {
    background:
        linear-gradient(145deg, rgba(38, 165, 228, 0.44), rgba(69, 230, 138, 0.08)),
        rgba(255, 255, 255, 0.055);
}

.platform-picker-card.is-telegram::before {
    background: #26a5e4;
}

.platform-dashboard-shell {
    width: min(100% - 28px, 1480px);
    min-height: calc(100vh - 126px);
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    margin: 92px auto 34px;
}

.platform-dashboard-side,
.platform-dashboard-main {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.platform-dashboard-side {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 18px;
}

.platform-dashboard-side .studio-brand {
    margin-bottom: 14px;
}

.platform-dashboard-side .studio-nav {
    color: #dfe7f1;
    text-decoration: none;
}

.platform-dashboard-main {
    padding: 28px;
}

.platform-dashboard-main .workspace-heading {
    align-items: center;
    margin-bottom: 22px;
}

.platform-dashboard-main .workspace-heading h1 {
    margin: 4px 0 8px;
    font-size: clamp(34px, 4vw, 58px);
}

.platform-dashboard-main .workspace-heading p:not(.eyebrow) {
    max-width: 740px;
    color: #aeb7c3;
}

.platform-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-status-card {
    background: linear-gradient(145deg, rgba(69, 230, 138, 0.12), rgba(255, 255, 255, 0.045));
}

.studio-nav {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aeb7c3;
    padding: 0 12px;
    cursor: pointer;
    text-align: left;
}

.studio-nav span {
    width: 24px;
    color: #7f8b99;
}

.studio-nav:hover,
.studio-nav.is-active {
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
}

.studio-nav.is-active {
    box-shadow: inset 3px 0 0 #45e68a;
}

.studio-sidebar-note {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    padding: 14px;
}

.studio-sidebar-note p {
    margin: 6px 0 0;
    color: #8f9aa8;
    font-size: 12px;
}

.studio-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.06);
}

.overview-card h2 {
    margin: 0 0 14px;
}

.overview-card:nth-child(4) {
    grid-column: span 2;
}

.activity-sparkline {
    min-height: 130px;
}

.activity-sparkline span:nth-child(1) { height: 35%; }
.activity-sparkline span:nth-child(2) { height: 62%; }
.activity-sparkline span:nth-child(3) { height: 48%; }
.activity-sparkline span:nth-child(4) { height: 78%; }
.activity-sparkline span:nth-child(5) { height: 58%; }
.activity-sparkline span:nth-child(6) { height: 90%; }
.activity-sparkline span:nth-child(7) { height: 70%; }

.overview-stats {
    display: grid;
    gap: 10px;
}

.overview-stats span {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    color: #aeb7c3;
}

.dashboard-profile-summary {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-profile-summary img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.overview-status-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1080px) {
    .saas-hero,
    .demo-grid,
    .studio-overview-grid,
    .bot-platform-picker,
    .platform-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .platform-picker-grid,
    .platform-module-grid {
        grid-template-columns: 1fr;
    }

    .mockup-window {
        transform: none;
    }

    .modern-feature-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .marketing-shell {
        width: min(100% - 22px, 1180px);
        gap: 42px;
        padding-top: 92px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .mockup-body,
    .modern-feature-grid,
    .platform-picker-grid,
    .step-grid,
    .timeline-grid,
    .changelog-list,
    .social-actions,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .marketing-section,
    .product-demo,
    .why-section,
    .changelog-section,
    .social-section,
    .bot-platform-picker,
    .platform-dashboard-main {
        padding: 22px;
    }

    .platform-dashboard-shell {
        width: min(100% - 22px, 1180px);
    }
}

/* Fixed SaaS app layout for authenticated pages */
body[data-page="dashboard"],
body[data-page="settings"],
body[data-page="profile"],
body[data-page="platform-dashboard"] {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(145, 71, 255, 0.14), transparent 26%),
        radial-gradient(circle at 86% 12%, rgba(69, 230, 138, 0.06), transparent 24%),
        #06070b;
}

/* 2026 main page redesign */
body[data-page="home"] {
    --ssb-blue: #0a8ff0;
    --ssb-blue-strong: #32a9ff;
    --ssb-ink: #f7fbff;
    --ssb-muted: #9fb1c7;
    --ssb-line: rgba(74, 174, 255, 0.18);
    --ssb-panel: rgba(13, 22, 35, 0.82);
    --ssb-panel-strong: rgba(16, 27, 43, 0.94);
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 8%, rgba(10, 143, 240, 0.24), transparent 34%),
        radial-gradient(circle at 86% 22%, rgba(51, 169, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #04070d 0%, #07111f 46%, #03050a 100%);
    color: var(--ssb-ink);
}

body[data-page="home"] .ssb-main-topbar {
    border: 1px solid rgba(74, 174, 255, 0.16);
    border-left: 0;
    border-right: 0;
    background: rgba(4, 7, 13, 0.82);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

body[data-page="home"] .ssb-main-brand {
    border-color: rgba(74, 174, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-transform: none;
}

body[data-page="home"] .ssb-main-brand span {
    color: #fff;
    letter-spacing: 0;
}

body[data-page="home"] .ssb-main-brand img,
.ssb-footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
}

.ssb-main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    pointer-events: auto;
}

.ssb-main-nav a,
body[data-page="home"] .bot-news-button,
body[data-page="home"] .topbar-login {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #d9ecff;
    text-decoration: none;
    padding: 0 14px;
    font-weight: 800;
}

.ssb-main-nav a:hover,
body[data-page="home"] .bot-news-button:hover {
    background: rgba(10, 143, 240, 0.14);
}

body[data-page="home"] .topbar-login {
    background: var(--ssb-blue);
    color: #fff;
    box-shadow: 0 14px 34px rgba(10, 143, 240, 0.28);
}

.ssb-main {
    width: min(100% - 48px, 1080px);
    margin: 0 auto;
    padding: 112px 0 72px;
}

.ssb-hero {
    min-height: calc(100vh - 132px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
    gap: 46px;
    align-items: center;
}

.ssb-kicker {
    margin: 0 0 14px;
    color: var(--ssb-blue);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ssb-hero h1,
.ssb-section-head h2,
.ssb-start h2 {
    margin: 0;
    color: var(--ssb-ink);
    letter-spacing: 0;
}

.ssb-hero h1 {
    max-width: 620px;
    font-size: clamp(36px, 4.6vw, 58px);
    line-height: 1.05;
}

.ssb-lead {
    max-width: 590px;
    margin: 24px 0 0;
    color: var(--ssb-muted);
    font-size: 16px;
    line-height: 1.6;
}

.ssb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ssb-primary,
.ssb-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    padding: 0 22px;
    font-weight: 950;
}

.ssb-primary {
    background: var(--ssb-blue);
    color: #fff;
    box-shadow: 0 18px 44px rgba(10, 143, 240, 0.28);
}

.ssb-secondary {
    border: 1px solid var(--ssb-line);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.ssb-live-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 580px;
    margin-top: 28px;
}

.ssb-stat {
    border: 1px solid var(--ssb-line);
    border-radius: 18px;
    background: var(--ssb-panel);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
    padding: 18px;
    text-align: left;
}

button.ssb-stat {
    cursor: pointer;
}

.ssb-stat span {
    display: block;
    color: var(--ssb-muted);
    font-size: 13px;
    font-weight: 800;
}

.ssb-stat strong {
    display: block;
    margin-top: 6px;
    color: var(--ssb-ink);
    font-size: 28px;
}

.ssb-hero-panel {
    position: relative;
    min-height: 535px;
    display: grid;
    place-items: center;
}

.ssb-logo-orbit {
    width: min(100%, 390px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 48px;
    background:
        linear-gradient(180deg, rgba(18, 32, 51, 0.92), rgba(9, 19, 32, 0.76)),
        linear-gradient(135deg, rgba(10, 143, 240, 0.28), rgba(10, 143, 240, 0.08));
    box-shadow: 0 34px 100px rgba(10, 143, 240, 0.22);
}

.ssb-logo-orbit img {
    width: 76%;
    height: 76%;
    border-radius: 40px;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(10, 143, 240, 0.28);
}

.ssb-preview-window {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: min(92%, 425px);
    overflow: hidden;
    border: 1px solid rgba(74, 174, 255, 0.2);
    border-radius: 22px;
    background: var(--ssb-panel-strong);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.ssb-window-head {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(74, 174, 255, 0.14);
    padding: 0 16px;
}

.ssb-window-head span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5b8f;
}

.ssb-window-head span:nth-child(2) {
    background: #ffd166;
}

.ssb-window-head span:nth-child(3) {
    background: var(--ssb-blue);
}

.ssb-window-head b {
    margin-left: auto;
    color: var(--ssb-muted);
    font-size: 12px;
}

.ssb-window-body {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 250px;
}

.ssb-window-body aside {
    display: grid;
    align-content: start;
    gap: 8px;
    border-right: 1px solid rgba(74, 174, 255, 0.14);
    background: rgba(4, 8, 14, 0.36);
    padding: 16px;
}

.ssb-window-body aside span,
.ssb-window-body section article {
    border: 1px solid rgba(74, 174, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    padding: 10px;
    font-size: 13px;
}

.ssb-window-body aside .active {
    border-color: rgba(10, 143, 240, 0.38);
    background: rgba(10, 143, 240, 0.1);
    color: var(--ssb-blue-strong);
    font-weight: 900;
}

.ssb-window-body section {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.ssb-window-body small {
    color: var(--ssb-muted);
}

.ssb-window-body b {
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

.ssb-platforms,
.ssb-modules,
.ssb-start {
    border: 1px solid var(--ssb-line);
    border-radius: 28px;
    background: rgba(9, 17, 29, 0.72);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
    margin-top: 22px;
    padding: 28px;
}

.ssb-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.ssb-section-head h2,
.ssb-start h2 {
    max-width: 690px;
    font-size: clamp(25px, 2.9vw, 35px);
    line-height: 1.1;
}

.ssb-platform-grid,
.ssb-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ssb-platform-card,
.ssb-module-grid article,
.ssb-start-steps article {
    border: 1px solid rgba(74, 174, 255, 0.14);
    border-radius: 22px;
    background: var(--ssb-panel);
    color: var(--ssb-ink);
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.ssb-platform-card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.ssb-platform-card:hover {
    border-color: rgba(10, 143, 240, 0.42);
    transform: translateY(-4px);
}

.ssb-platform-card span,
.ssb-module-grid span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(10, 143, 240, 0.1);
    color: var(--ssb-blue);
    font-weight: 950;
}

.ssb-platform-card strong,
.ssb-module-grid strong {
    display: block;
    margin-top: 18px;
    font-size: 17px;
}

.ssb-platform-card p,
.ssb-module-grid p,
.ssb-start-steps span {
    font-size: 13px;
}

.ssb-platform-card p,
.ssb-module-grid p {
    color: var(--ssb-muted);
    line-height: 1.5;
}

.ssb-platform-card b {
    margin-top: auto;
    color: var(--ssb-blue-strong);
    font-size: 12px;
}

.ssb-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssb-start {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(390px, 1.18fr);
    gap: 24px;
    align-items: center;
}

.ssb-start-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ssb-start-steps b {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ssb-blue);
    color: #fff;
}

.ssb-start-steps span {
    display: block;
    margin-top: 16px;
    font-weight: 900;
}

.ssb-main-footer {
    background: #02050a;
    color: #9da9b7;
    padding: 22px 0;
}

.ssb-footer-inner {
    width: min(100% - 40px, 1180px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
}

.ssb-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
}

.ssb-main-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.ssb-main-footer a {
    color: #c7d0db;
    text-decoration: none;
    font-weight: 750;
}

.ssb-main-footer a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .ssb-main-nav {
        display: none;
    }

    .ssb-hero,
    .ssb-start {
        grid-template-columns: 1fr;
    }

    .ssb-platform-grid,
    .ssb-module-grid,
    .ssb-start-steps {
        grid-template-columns: 1fr;
    }

    .ssb-hero-panel {
        min-height: 480px;
    }
}

@media (max-width: 620px) {
    .ssb-main {
        width: min(100% - 24px, 1180px);
        padding-top: 104px;
    }

    .ssb-hero h1 {
        font-size: 44px;
    }

    .ssb-live-stats {
        grid-template-columns: 1fr;
    }

    .ssb-platforms,
    .ssb-modules,
    .ssb-start {
        padding: 22px;
    }

    .ssb-preview-window {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: -70px;
    }

    .ssb-window-body {
        grid-template-columns: 1fr;
    }

    .ssb-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ssb-main-footer nav {
        justify-content: flex-start;
    }
}

body[data-page="dashboard"] .home-topbar,
body[data-page="settings"] .home-topbar,
body[data-page="profile"] .home-topbar {
    left: 260px;
    width: calc(100% - 260px);
    transform: none;
    padding: 0 28px;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(6, 7, 11, 0.76);
}

body[data-page="dashboard"] .home-topbar .topbar-brand,
body[data-page="settings"] .home-topbar .topbar-brand,
body[data-page="profile"] .home-topbar .topbar-brand {
    display: none;
}

.dashboard-shell.se-dashboard {
    width: 100%;
    min-height: 100vh;
    display: block;
    margin: 0;
    padding: 0;
}

.app-sidebar.studio-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(18, 20, 29, 0.96), rgba(8, 9, 14, 0.98)),
        rgba(8, 9, 14, 0.98);
    padding: 18px 14px;
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.studio-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin: 0 2px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: 0;
}

.studio-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 0 28px rgba(255, 91, 143, 0.28);
}

.app-sidebar .studio-nav {
    width: 100%;
    min-height: 44px;
    margin: 2px 0;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
}

.app-sidebar .studio-nav span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 71, 255, 0.22);
    border-radius: 8px;
    background: rgba(145, 71, 255, 0.08);
    color: #b990ff;
    font-size: 11px;
    font-weight: 950;
}

.app-sidebar .studio-nav:hover,
.app-sidebar .studio-nav.is-active {
    border-color: rgba(145, 71, 255, 0.28);
    background: rgba(145, 71, 255, 0.14);
    transform: translateX(2px);
}

.dashboard-workspace,
body[data-page="settings"] .page-shell,
body[data-page="profile"] .page-shell {
    width: auto;
    min-height: 100vh;
    margin-left: 260px;
    padding: 96px 32px 48px;
}

.dashboard-workspace {
    display: block;
}

body[data-page="settings"] .page-shell,
body[data-page="profile"] .page-shell {
    max-width: none;
    margin-right: 0;
}

.workspace-heading h1,
.page-heading h1 {
    font-size: clamp(34px, 4vw, 56px);
}

.dashboard-status-header,
.settings-layout,
.dashboard {
    max-width: 1180px;
}

.studio-overview-grid {
    max-width: 1180px;
}

@media (max-width: 900px) {
    body[data-page="dashboard"] .home-topbar,
    body[data-page="settings"] .home-topbar,
    body[data-page="profile"] .home-topbar {
        left: 0;
        width: 100%;
        transform: none;
        top: auto;
        bottom: 0;
        height: 62px;
        padding: 0 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 0;
    }

    .app-sidebar.studio-sidebar {
        inset: auto 0 62px 0;
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .studio-brand,
    .studio-sidebar-note {
        display: none;
    }

    .app-sidebar .studio-nav {
        flex: 0 0 auto;
        width: auto;
        min-width: 96px;
        justify-content: center;
        padding: 0 10px;
    }

    .app-sidebar .studio-nav span {
        display: none;
    }

    .dashboard-workspace,
    body[data-page="settings"] .page-shell,
    body[data-page="profile"] .page-shell {
        margin-left: 0;
        padding: 24px 14px 154px;
    }
}

/* Email-first login */
body[data-page="login"] {
    --app-blue: #0a8ff0;
    --app-blue-strong: #32a9ff;
    --app-bg: #04070d;
    --app-bg-2: #07111f;
    --app-panel: rgba(13, 22, 35, 0.86);
    --app-line: rgba(74, 174, 255, 0.18);
    --app-text: #f7fbff;
    --app-muted: #9fb1c7;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 8%, rgba(10, 143, 240, 0.2), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(50, 169, 255, 0.12), transparent 28%),
        linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 58%, #03050a 100%);
    color: var(--app-text);
}

.login-shell {
    width: min(100% - 36px, 1120px);
    min-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 150px 0 56px;
    display: grid;
    grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
    gap: 22px;
    align-items: start;
}

.login-card {
    border: 1px solid var(--app-line);
    border-radius: 22px;
    background: var(--app-panel);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
    padding: 30px;
}

.login-card h1,
.login-card h2 {
    margin: 8px 0 14px;
    color: #fff;
    line-height: 1.05;
}

.login-card h1 {
    font-size: clamp(32px, 4vw, 54px);
}

.login-card h2 {
    font-size: 28px;
}

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

.login-email-form {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.google-login-button {
    min-height: 56px;
    margin-top: 26px;
    border: 1px solid rgba(74, 174, 255, 0.24);
    border-radius: 16px;
    background: #fff;
    color: #101826;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 16px 46px rgba(10, 143, 240, 0.18);
}

.google-login-button span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #4285f4, #34a853 44%, #fbbc05 68%, #ea4335);
    color: #fff;
    font-weight: 950;
}

.login-divider {
    margin: 20px 0 -6px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    color: var(--app-muted);
    font-size: 13px;
    font-weight: 800;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    background: rgba(74, 174, 255, 0.18);
}

.login-email-form label {
    display: grid;
    gap: 8px;
    color: #d9ecff;
    font-weight: 800;
}

.login-email-form input {
    min-height: 54px;
    border: 1px solid rgba(74, 174, 255, 0.24);
    border-radius: 14px;
    background: rgba(3, 7, 13, 0.66);
    color: #fff;
    padding: 0 16px;
    font: inherit;
}

.login-email-form button,
.login-platform-card a,
.login-platform-card button {
    min-height: 48px;
    border: 1px solid rgba(74, 174, 255, 0.24);
    border-radius: 14px;
    background: var(--app-blue);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    cursor: pointer;
}

.login-step-state {
    margin-top: 16px;
    color: #b9d8f7;
    font-size: 14px;
}

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

.login-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.login-platform-card {
    min-height: 260px;
    border: 1px solid rgba(74, 174, 255, 0.16);
    border-radius: 18px;
    background: rgba(5, 12, 22, 0.7);
    padding: 18px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.login-platform-card > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(10, 143, 240, 0.16);
    color: var(--app-blue-strong);
    font-weight: 900;
}

.login-platform-card > span img,
.profile-integration-list span img,
.ssb-platform-card span img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 0 !important;
}

.login-platform-card h3 {
    margin: 6px 0 0;
    color: #fff;
}

.login-platform-card p {
    min-height: 72px;
    font-size: 14px;
}

.login-platform-card button {
    background: rgba(74, 174, 255, 0.12);
    color: #d9ecff;
}

/* Modern profile page */
.profile-workspace {
    display: block;
}

.profile-hero-card {
    border: 1px solid var(--app-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 143, 240, 0.2), transparent 32%),
        rgba(13, 22, 35, 0.86);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.profile-hero-main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.profile-hero-main img {
    width: 98px;
    height: 98px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid rgba(74, 174, 255, 0.28);
    box-shadow: 0 18px 48px rgba(10, 143, 240, 0.22);
}

.profile-hero-main h1 {
    margin: 6px 0 4px;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

.profile-hero-main span {
    color: var(--app-muted);
    font-weight: 800;
}

.profile-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
}

.profile-grid .actions-panel,
.profile-grid .log-panel {
    grid-column: 1 / -1;
}

.profile-integration-list {
    display: grid;
    gap: 10px;
}

.profile-integration-list a {
    border: 1px solid rgba(74, 174, 255, 0.16);
    border-radius: 16px;
    background: rgba(5, 12, 22, 0.62);
    color: #fff;
    text-decoration: none;
    padding: 14px;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
}

.profile-integration-list span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(10, 143, 240, 0.16);
    color: var(--app-blue-strong);
    font-weight: 950;
    grid-row: span 2;
}

.profile-integration-list strong {
    font-size: 16px;
}

.profile-integration-list em {
    color: var(--app-muted);
    font-style: normal;
    font-size: 13px;
}

@media (max-width: 900px) {
    .profile-hero-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* Public profile page */
body[data-page="public-profile"] {
    --app-blue: #0a8ff0;
    --app-blue-strong: #32a9ff;
    --app-bg: #04070d;
    --app-bg-2: #07111f;
    --app-panel: rgba(13, 22, 35, 0.86);
    --app-line: rgba(74, 174, 255, 0.18);
    --app-text: #f7fbff;
    --app-muted: #9fb1c7;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 8%, rgba(10, 143, 240, 0.18), transparent 34%),
        radial-gradient(circle at 82% 16%, rgba(50, 169, 255, 0.1), transparent 28%),
        linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 52%, #03050a 100%);
    color: var(--app-text);
}

body[data-page="public-profile"] .home-topbar {
    border-bottom: 1px solid var(--app-line);
    background: rgba(4, 7, 13, 0.82);
}

.public-profile-shell {
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
    padding: 142px 0 56px;
}

.public-profile-hero {
    position: relative;
    min-height: 330px;
    border: 1px solid var(--app-line);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(13, 22, 35, 0.74);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.public-profile-banner {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.34;
}

.public-profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 7, 13, 0.9), rgba(4, 7, 13, 0.52) 48%, rgba(4, 7, 13, 0.88)),
        radial-gradient(circle at 24% 24%, rgba(10, 143, 240, 0.24), transparent 36%);
}

.public-profile-user-card {
    position: relative;
    z-index: 1;
    min-height: 330px;
    padding: 42px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
}

.public-profile-user-card img {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    object-fit: cover;
    border: 1px solid rgba(74, 174, 255, 0.3);
    box-shadow: 0 20px 52px rgba(10, 143, 240, 0.22);
}

.public-profile-user-card h1 {
    margin: 6px 0 4px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
}

.public-profile-user-card span {
    color: #c5def7;
    font-weight: 900;
}

.public-profile-toolbar {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--app-line);
    border-radius: 18px;
    background: rgba(13, 22, 35, 0.66);
    padding: 14px;
}

.public-profile-toolbar nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.public-profile-toolbar a,
.share-profile-button {
    border: 1px solid rgba(74, 174, 255, 0.24);
    border-radius: 13px;
    background: rgba(10, 143, 240, 0.14);
    color: #fff;
    padding: 11px 14px;
    font-weight: 900;
    text-decoration: none;
}

.share-profile-button {
    cursor: pointer;
}

.public-profile-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.public-profile-stats .overview-card span {
    color: var(--app-muted);
}

.public-profile-stats .overview-card strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 28px;
}

body[data-page="public-profile"] .public-profile-layout {
    margin-top: 18px;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 18px;
}

body[data-page="public-profile"] .integration-card {
    border-color: rgba(74, 174, 255, 0.16);
    border-radius: 16px;
    background: rgba(5, 12, 22, 0.62);
}

body[data-page="public-profile"] .integration-icon {
    border-color: rgba(74, 174, 255, 0.22);
    border-radius: 13px;
    background: rgba(10, 143, 240, 0.14);
}

body[data-page="public-profile"] .integration-card strong {
    color: #fff;
}

body[data-page="public-profile"] .integration-card p,
body[data-page="public-profile"] .profile-about-card p {
    color: var(--app-muted);
}

body[data-page="public-profile"] .integration-card a {
    border-color: rgba(74, 174, 255, 0.24);
    border-radius: 12px;
    background: var(--app-blue);
    color: #fff;
}

img[src="/assets/ssolebot-logo.jpg"],
img[src$="/assets/ssolebot-logo.jpg"] {
    border-radius: 50% !important;
    object-fit: cover;
}

.topbar-brand img,
.sidebar-brand img,
.ssb-main-brand img,
.studio-brand img,
.creator-corner-link img {
    border-radius: 50% !important;
    object-fit: cover;
}

@media (max-width: 900px) {
    .public-profile-shell {
        padding-top: 108px;
    }

    .public-profile-user-card {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 28px;
    }

    .public-profile-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-profile-stats,
    body[data-page="public-profile"] .public-profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
        padding-top: 108px;
    }

    .login-platform-grid {
        grid-template-columns: 1fr;
    }
}

/* Unified dark blue app theme for dashboards, settings and profile */
body[data-page="dashboard"],
body[data-page="settings"],
body[data-page="profile"],
body[data-page="platform-dashboard"] {
    --app-blue: #0a8ff0;
    --app-blue-strong: #32a9ff;
    --app-bg: #04070d;
    --app-bg-2: #07111f;
    --app-panel: rgba(13, 22, 35, 0.82);
    --app-panel-strong: rgba(16, 27, 43, 0.94);
    --app-line: rgba(74, 174, 255, 0.16);
    --app-text: #f7fbff;
    --app-muted: #9fb1c7;
    background:
        radial-gradient(circle at 18% 4%, rgba(10, 143, 240, 0.18), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(50, 169, 255, 0.1), transparent 28%),
        linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 48%, #03050a 100%);
    color: var(--app-text);
}

body[data-page="dashboard"] .home-topbar,
body[data-page="settings"] .home-topbar,
body[data-page="profile"] .home-topbar {
    border-bottom: 1px solid var(--app-line);
    background: rgba(4, 7, 13, 0.82);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

body[data-page="platform-dashboard"] .home-topbar {
    border-bottom: 1px solid var(--app-line);
    background: rgba(4, 7, 13, 0.82);
}

.app-sidebar.studio-sidebar,
.platform-dashboard-side {
    border-color: var(--app-line);
    background:
        linear-gradient(180deg, rgba(12, 23, 38, 0.96), rgba(5, 10, 18, 0.98)),
        #050a12;
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0.34);
}

.studio-brand,
.platform-dashboard-side .studio-brand {
    color: #fff;
}

.app-sidebar .studio-brand,
.platform-dashboard-side .studio-brand {
    display: none;
}

.app-sidebar.studio-sidebar,
.platform-dashboard-side {
    padding-top: 22px;
}

.studio-brand img,
.platform-dashboard-side .studio-brand img,
.app-topbar .topbar-brand.sidebar-brand img {
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 34px rgba(10, 143, 240, 0.32);
}

.app-sidebar .studio-nav,
.platform-dashboard-side .studio-nav,
.studio-nav {
    color: #d9ecff;
}

.app-sidebar .studio-nav span,
.platform-dashboard-side .studio-nav span {
    border-color: rgba(74, 174, 255, 0.2);
    background: rgba(10, 143, 240, 0.12);
    color: var(--app-blue-strong);
}

.app-sidebar .studio-nav:hover,
.app-sidebar .studio-nav.is-active,
.platform-dashboard-side .studio-nav:hover,
.platform-dashboard-side .studio-nav.is-active,
.studio-nav:hover,
.studio-nav.is-active {
    border-color: rgba(74, 174, 255, 0.36);
    background: rgba(10, 143, 240, 0.16);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--app-blue);
}

.studio-sidebar-note,
.platform-dashboard-side,
.platform-dashboard-main,
.overview-card,
.settings-card,
.recommendation-card,
.panel,
.permission-item,
.command-status-item,
.default-command-list article,
.custom-command-list article,
.timer-list article,
.banned-list article,
.alert-card,
.template-card,
.connection-check-grid article,
.setup-wizard article {
    border-color: var(--app-line);
    background: var(--app-panel);
    color: var(--app-text);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.16);
}

.dashboard-workspace,
body[data-page="settings"] .page-shell,
body[data-page="profile"] .page-shell {
    background: transparent;
}

.workspace-heading h1,
.page-heading h1,
.platform-dashboard-main .workspace-heading h1 {
    color: #fff;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.05;
}

.workspace-heading p,
.page-heading p,
.platform-dashboard-main .workspace-heading p:not(.eyebrow),
.overview-card p,
.settings-card p,
.panel p,
.studio-sidebar-note p {
    color: var(--app-muted);
}

.eyebrow,
.ssb-kicker {
    color: var(--app-blue-strong);
}

.status-pill.is-ok,
.status-pill.is-live {
    border-color: rgba(10, 143, 240, 0.34);
    background: rgba(10, 143, 240, 0.13);
    color: #d9ecff;
}

.status-pill.is-ok i,
.status-pill.is-live i {
    background: var(--app-blue-strong);
}

.status-pill.is-bad {
    border-color: rgba(255, 91, 143, 0.3);
    background: rgba(255, 91, 143, 0.1);
}

.quick-actions button,
.quick-actions a,
.action-grid button,
.settings-form button,
.custom-command-form button,
.timer-form button,
.banned-form button,
.user-form button,
.connect-btn,
.topbar-login {
    border-color: rgba(74, 174, 255, 0.22);
    background: var(--app-blue);
    color: #fff;
    box-shadow: 0 14px 34px rgba(10, 143, 240, 0.2);
}

.quick-actions a,
.connect-btn {
    text-decoration: none;
}

.quick-actions button:hover,
.quick-actions a:hover,
.action-grid button:hover,
.settings-form button:hover,
.custom-command-form button:hover,
.timer-form button:hover,
.banned-form button:hover,
.user-form button:hover,
.connect-btn:hover {
    background: #129cff;
}

.danger-button,
.quick-actions .danger-button,
button.danger-button {
    background: rgba(255, 91, 143, 0.18);
    color: #ffdce7;
    border-color: rgba(255, 91, 143, 0.34);
    box-shadow: none;
}

input,
select,
textarea {
    border-color: rgba(74, 174, 255, 0.18);
    background: rgba(4, 8, 14, 0.54);
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: rgba(217, 236, 255, 0.44);
}

.activity-sparkline,
.demo-bars,
.mockup-chart {
    border-color: rgba(74, 174, 255, 0.14);
    background: linear-gradient(180deg, rgba(10, 143, 240, 0.1), rgba(10, 143, 240, 0.03));
}

.activity-sparkline span,
.demo-bars span,
.mockup-chart i {
    background: linear-gradient(180deg, #32a9ff, #0a8ff0);
}

.platform-dashboard-shell {
    width: min(100% - 32px, 1380px);
    min-height: calc(100vh - 126px);
    margin: 92px auto 34px;
}

.platform-dashboard-main {
    background: rgba(9, 17, 29, 0.72);
}

body[data-page="platform-dashboard"] .topbar-brand {
    color: #fff;
}

body[data-page="platform-dashboard"] .topbar-brand span {
    color: #fff;
    text-transform: none;
}

@media (max-width: 900px) {
    .app-sidebar.studio-sidebar {
        background: rgba(4, 7, 13, 0.94);
    }

    .platform-dashboard-shell {
        grid-template-columns: 1fr;
        margin: 86px auto 96px;
    }
}

/* Left-edge platform dashboard layout */
body[data-page="platform-dashboard"] .home-topbar {
    left: 260px;
    width: calc(100% - 260px);
    transform: none;
    padding: 0 28px;
}

body[data-page="platform-dashboard"] .home-topbar .topbar-brand {
    display: none;
}

body[data-page="platform-dashboard"] .platform-dashboard-shell {
    display: block;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body[data-page="platform-dashboard"] .platform-dashboard-side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--app-line);
    border-radius: 0;
    padding: 22px 14px;
}

body[data-page="platform-dashboard"] .platform-dashboard-side .studio-brand {
    display: flex;
    margin: 0 0 24px;
}

body[data-page="platform-dashboard"] .platform-dashboard-main {
    min-height: 100vh;
    margin-left: 260px;
    padding: 96px 32px 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[data-page="platform-dashboard"] .platform-dashboard-main > .workspace-heading,
body[data-page="platform-dashboard"] .platform-dashboard-main > .studio-overview-grid {
    max-width: 1180px;
}

body[data-page="platform-dashboard"] .platform-dashboard-main > .workspace-heading {
    margin-bottom: 28px;
}

body[data-page="platform-dashboard"] .platform-dashboard-side .studio-nav {
    scroll-margin-top: 96px;
}

@media (max-width: 900px) {
    body[data-page="platform-dashboard"] .home-topbar {
        left: 0;
        width: 100%;
        padding: 0 14px;
    }

    body[data-page="platform-dashboard"] .platform-dashboard-side {
        inset: auto 0 0 0;
        width: 100%;
        height: 76px;
        display: flex;
        gap: 8px;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-top: 1px solid var(--app-line);
        padding: 10px 12px;
    }

    body[data-page="platform-dashboard"] .platform-dashboard-side .studio-nav {
        flex: 0 0 auto;
        min-width: 138px;
        margin: 0;
    }

    body[data-page="platform-dashboard"] .platform-dashboard-main {
        margin-left: 0;
        padding: 86px 14px 112px;
    }
}
/* Modern SaaS settings page */
body.settings-saas-page {
    --settings-bg: #050b13;
    --settings-panel: rgba(10, 22, 36, 0.88);
    --settings-line: rgba(83, 166, 255, 0.18);
    --settings-line-strong: rgba(92, 178, 255, 0.34);
    --settings-text: #f5f9ff;
    --settings-muted: #9eb4cf;
    --settings-blue: #1498ff;
    --settings-blue-soft: rgba(20, 152, 255, 0.14);
    min-height: 100vh;
    color: var(--settings-text);
    background: radial-gradient(circle at 25% 0%, rgba(20, 152, 255, 0.12), transparent 34rem), linear-gradient(180deg, #07111f 0%, var(--settings-bg) 58%);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body.settings-saas-page .settings-saas-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 272px;
    padding: 24px 18px;
    background: rgba(5, 13, 24, 0.94);
    border-right: 1px solid var(--settings-line);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    scrollbar-width: none;
}

body.settings-saas-page .settings-saas-sidebar::-webkit-scrollbar,
body.settings-saas-page .settings-saas-shell::-webkit-scrollbar,
.settings-tabs::-webkit-scrollbar {
    display: none;
}

.settings-saas-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.settings-saas-brand img {
    width: 34px;
    height: 34px;
    border-radius: 12px !important;
    object-fit: cover;
}

.settings-saas-nav {
    display: grid;
    gap: 6px;
    margin-top: 24px;
}

.settings-saas-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    color: #c6d7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.settings-saas-nav a:hover,
.settings-saas-nav a.is-active {
    color: #fff;
    background: rgba(20, 152, 255, 0.12);
    box-shadow: inset 3px 0 0 var(--settings-blue);
}

.settings-saas-nav span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: var(--settings-blue);
    background: rgba(20, 152, 255, 0.12);
    font-size: 12px;
    font-weight: 900;
}

.settings-saas-nav img,
.platform-title img,
.profile-platform-badges img {
    width: 20px;
    height: 20px;
    border-radius: 0 !important;
    object-fit: contain;
}

.ecosystem-nav details {
    display: grid;
    gap: 4px;
}

.ecosystem-nav summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    color: #d6e7fb;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    list-style: none;
}

.ecosystem-nav summary::-webkit-details-marker {
    display: none;
}

.ecosystem-nav summary:hover {
    background: rgba(20, 152, 255, 0.1);
}

.ecosystem-nav details a {
    min-height: 34px;
    margin-left: 40px;
    padding: 0 10px;
    color: #96adc7;
    font-size: 13px;
    font-weight: 800;
}

.ecosystem-nav details a:hover {
    color: #fff;
}

.settings-saas-note,
.settings-card,
.settings-profile-card {
    border: 1px solid var(--settings-line);
    background: linear-gradient(180deg, rgba(13, 29, 47, 0.9), rgba(8, 18, 31, 0.9));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.settings-saas-note {
    margin-top: 28px;
    padding: 16px;
    border-radius: 18px;
}

.settings-saas-note strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.settings-saas-note p,
.settings-card p,
.settings-profile-card span,
.notification-grid span,
.automation-builder p {
    color: var(--settings-muted);
}

.settings-saas-topbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    margin-left: 272px;
    padding: 14px 34px;
    background: rgba(5, 12, 22, 0.82);
    border-bottom: 1px solid var(--settings-line);
    backdrop-filter: blur(18px);
}

.settings-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--settings-line);
    border-radius: 14px;
    background: rgba(10, 22, 36, 0.86);
}

.settings-search span {
    color: var(--settings-blue);
    font-weight: 900;
}

.settings-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font: inherit;
}

.settings-community,
.settings-icon-button,
.settings-quick-button,
.settings-card button,
.settings-card a,
.settings-save-strip button,
.settings-saas-form button {
    border: 1px solid var(--settings-line-strong);
    border-radius: 12px;
    color: #fff;
    background: rgba(14, 31, 49, 0.92);
    text-decoration: none;
    font-weight: 850;
    cursor: pointer;
}

.settings-community,
.settings-quick-button,
.settings-card button,
.settings-card a,
.settings-save-strip button,
.settings-saas-form button {
    padding: 11px 15px;
}

.settings-icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #66baff;
}

.settings-quick-button,
.settings-save-strip button,
.settings-saas-form button,
.platform-settings-card a:first-of-type {
    border-color: transparent;
    background: linear-gradient(135deg, #1399ff, #0d75d9);
}

.settings-saas-shell {
    margin-left: 272px;
    padding: 42px 34px 70px;
    overflow-x: hidden;
}

.settings-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    max-width: 1360px;
    margin: 0 auto 22px;
}

.settings-kicker {
    margin: 0 0 10px;
    color: #46acff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.settings-hero h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: .96;
}

.settings-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #b8cde5;
    font-size: 16px;
    line-height: 1.7;
}

.settings-save-strip {
    position: sticky;
    top: 96px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--settings-line);
    border-radius: 16px;
    background: rgba(10, 22, 36, 0.88);
}

.settings-save-strip span {
    color: var(--settings-muted);
    font-size: 13px;
}

.settings-tabs {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: flex;
    gap: 8px;
    max-width: 1360px;
    margin: 0 auto 24px;
    padding: 10px;
    border: 1px solid var(--settings-line);
    border-radius: 18px;
    background: rgba(5, 13, 24, 0.82);
    overflow-x: auto;
    scrollbar-width: none;
}

.settings-tabs a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 12px;
    color: #c7d9ee;
    background: rgba(12, 25, 41, 0.72);
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
}

.settings-tabs a:hover {
    color: #fff;
    background: var(--settings-blue-soft);
}

.settings-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    max-width: 1360px;
    margin: 0 auto;
    align-items: start;
}

.ecosystem-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1360px;
    margin: 0 auto 24px;
}

.ecosystem-stat-grid article {
    padding: 22px;
    border: 1px solid var(--settings-line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 29, 47, 0.9), rgba(8, 18, 31, 0.9));
}

.ecosystem-stat-grid span {
    display: block;
    margin-bottom: 12px;
    color: var(--settings-muted);
    font-size: 13px;
    font-weight: 850;
}

.ecosystem-stat-grid strong {
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.quick-action-grid a {
    min-height: 92px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    border: 1px solid var(--settings-line);
    border-radius: 18px;
    color: #fff;
    background: rgba(20, 152, 255, 0.1);
    text-decoration: none;
    font-weight: 900;
}

.team-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.team-role-grid article {
    padding: 16px;
    border: 1px solid var(--settings-line);
    border-radius: 18px;
    background: rgba(5, 12, 22, 0.58);
}

.team-role-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.team-role-grid span {
    color: var(--settings-muted);
    font-size: 13px;
}

.team-invite-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    gap: 10px;
    margin-bottom: 18px;
}

.team-invite-row input,
.team-invite-row select {
    min-height: 44px;
    border: 1px solid var(--settings-line);
    border-radius: 12px;
    padding: 0 12px;
    color: #fff;
    background: rgba(4, 10, 18, 0.72);
}

.permission-matrix {
    overflow-x: auto;
    border: 1px solid var(--settings-line);
    border-radius: 18px;
}

.matrix-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(86px, .45fr));
    align-items: center;
    min-width: 720px;
    border-bottom: 1px solid rgba(83, 166, 255, 0.12);
}

.matrix-row:last-child {
    border-bottom: 0;
}

.matrix-row > * {
    padding: 12px 14px;
}

.matrix-head {
    background: rgba(20, 152, 255, 0.12);
    color: #fff;
    font-weight: 900;
}

.matrix-section {
    grid-template-columns: 1fr;
    background: rgba(5, 12, 22, 0.8);
}

.matrix-section span {
    color: #58b7ff;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.matrix-row input {
    justify-self: center;
    width: 18px;
    height: 18px;
    accent-color: var(--settings-blue);
}

.builder-shell .settings-hero {
    margin-bottom: 26px;
}

.template-center-grid,
.automation-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1360px;
    margin: 0 auto;
}

.template-center-grid article,
.automation-library-grid article,
.builder-panel,
.embed-preview-card,
.message-preview-card,
.command-test-card {
    border: 1px solid var(--settings-line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 29, 47, 0.92), rgba(8, 18, 31, 0.92));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.template-center-grid article,
.automation-library-grid article {
    display: grid;
    gap: 14px;
    min-height: 290px;
    padding: 22px;
}

.template-center-grid b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #1498ff, #6dbfff);
}

.template-center-grid h2,
.automation-library-grid h2,
.builder-panel h2,
.embed-preview-card h2,
.command-test-card h2 {
    margin: 0;
    color: #fff;
}

.template-center-grid p,
.automation-library-grid p,
.template-center-grid li,
.template-center-grid span,
.command-test-card small,
.message-preview-card small {
    color: var(--settings-muted);
}

.template-center-grid ul {
    margin: 0;
    padding-left: 18px;
}

.template-center-grid button,
.automation-library-grid button,
.builder-actions button,
.builder-panel > button,
.message-preview-card button {
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    color: #fff;
    background: linear-gradient(135deg, #1399ff, #0d75d9);
    font-weight: 900;
    cursor: pointer;
}

.builder-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
    gap: 22px;
    max-width: 1360px;
    margin: 0 auto;
    align-items: start;
}

.builder-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.builder-panel label {
    display: grid;
    gap: 8px;
    color: #c7d9ee;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.builder-panel input,
.builder-panel textarea,
.builder-panel select,
#logFilter {
    min-height: 44px;
    border: 1px solid var(--settings-line);
    border-radius: 12px;
    padding: 0 12px;
    color: #fff;
    background: rgba(4, 10, 18, 0.72);
    outline: 0;
}

.builder-panel textarea {
    min-height: 110px;
    padding-top: 12px;
    resize: vertical;
}

.builder-actions,
.variable-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variable-pills span {
    padding: 8px 10px;
    border: 1px solid var(--settings-line);
    border-radius: 999px;
    color: #d7e8fb;
    background: rgba(20, 152, 255, 0.08);
    font-size: 12px;
    font-weight: 850;
}

.embed-preview-card,
.message-preview-card,
.command-test-card {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px;
    padding: 24px;
}

.embed-color-bar {
    width: 100%;
    height: 5px;
    border-radius: 999px;
}

.embed-preview-fields {
    display: grid;
    gap: 10px;
}

.embed-preview-fields article,
#commandTestResult {
    padding: 12px;
    border: 1px solid var(--settings-line);
    border-radius: 14px;
    background: rgba(5, 12, 22, 0.58);
}

.embed-preview-card footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--settings-muted);
    font-size: 12px;
}

.message-preview-card p {
    min-height: 100px;
    padding: 18px;
    border: 1px solid var(--settings-line);
    border-radius: 18px;
    color: #fff;
    background: rgba(5, 12, 22, 0.58);
    line-height: 1.7;
}

#messagePreviewButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.switch-line {
    grid-template-columns: 1fr auto !important;
    align-items: center;
}

.automation-library-grid article span {
    justify-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    color: #58b7ff;
    background: rgba(20, 152, 255, 0.12);
    font-size: 12px;
    font-weight: 950;
}

.audit-table {
    overflow-x: auto;
}

.audit-table article {
    display: grid;
    grid-template-columns: 1fr 1.2fr .9fr .9fr 1.6fr;
    min-width: 840px;
    border-bottom: 1px solid rgba(83, 166, 255, 0.12);
}

.audit-table article:first-child {
    color: #fff;
    background: rgba(20, 152, 255, 0.12);
    font-weight: 900;
}

.audit-table article > * {
    padding: 14px;
}

.audit-table span {
    color: #c8d9ec;
}

@media (max-width: 1180px) {
    .template-center-grid,
    .automation-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-action-grid,
    .ecosystem-stat-grid,
    .team-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .template-center-grid,
    .automation-library-grid,
    .builder-grid,
    .quick-action-grid,
    .ecosystem-stat-grid,
    .team-role-grid,
    .team-invite-row {
        grid-template-columns: 1fr;
    }

    .embed-preview-card,
    .message-preview-card,
    .command-test-card {
        position: static;
    }
}

/* Final Twitch dashboard polish. Keep this block at the end of the stylesheet. */
body[data-page="dashboard"]:not(.settings-saas-page) .dashboard-shell.se-dashboard {
    background:
        linear-gradient(90deg, rgba(12, 42, 68, 0.28) 0 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(12, 42, 68, 0.22) 0 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(circle at 22% 0%, rgba(20, 152, 255, 0.1), transparent 34rem);
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
    background: rgba(3, 9, 17, 0.88) !important;
}

.dashboard-shell.se-dashboard .dashboard-workspace {
    max-width: 1280px;
}

.dashboard-shell.se-dashboard .workspace-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-shell.se-dashboard .workspace-heading h1 {
    font-size: clamp(28px, 2.2vw, 40px);
    letter-spacing: -0.015em;
}

.dashboard-shell.se-dashboard .workspace-heading p {
    color: #acc5de;
    font-size: 14px;
}

.dashboard-shell.se-dashboard .dashboard-status-header,
.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .overview-card,
.dashboard-shell.se-dashboard .bot-status-card,
.dashboard-shell.se-dashboard .default-command-item,
.dashboard-shell.se-dashboard .alert-card,
.dashboard-shell.se-dashboard .filter-card,
.dashboard-shell.se-dashboard .timer-item,
.dashboard-shell.se-dashboard .banned-list article,
.dashboard-shell.se-dashboard .user-list article,
.dashboard-shell.se-dashboard .recommendation-card,
.dashboard-shell.se-dashboard .connection-check-item,
.dashboard-shell.se-dashboard .template-card,
.dashboard-shell.se-dashboard .custom-command-list article,
.dashboard-shell.se-dashboard .empty-state {
    border-color: rgba(66, 156, 241, 0.24);
    background:
        linear-gradient(180deg, rgba(13, 30, 50, 0.94), rgba(6, 15, 27, 0.95)),
        rgba(6, 15, 27, 0.95);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.dashboard-shell.se-dashboard .settings-card {
    overflow: hidden;
}

.dashboard-shell.se-dashboard .settings-card:first-of-type {
    border-color: rgba(55, 177, 255, 0.36);
    background:
        linear-gradient(135deg, rgba(20, 152, 255, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(13, 30, 50, 0.96), rgba(6, 15, 27, 0.96));
}

.dashboard-shell.se-dashboard .settings-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-items: start;
}

.dashboard-shell.se-dashboard .filter-card {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 184px;
    padding: 24px;
}

.dashboard-shell.se-dashboard .filter-card > strong,
.dashboard-shell.se-dashboard .filter-card h2,
.dashboard-shell.se-dashboard .settings-card h2,
.dashboard-shell.se-dashboard .overview-card h2,
.dashboard-shell.se-dashboard .bot-status-card h2 {
    font-size: 16px;
    letter-spacing: -0.01em;
}

.dashboard-shell.se-dashboard .filter-card label:not(.toggle),
.dashboard-shell.se-dashboard .settings-form label {
    color: #8faac4;
    font-size: 10px;
}

.dashboard-shell.se-dashboard input,
.dashboard-shell.se-dashboard select,
.dashboard-shell.se-dashboard textarea,
.dashboard-shell.se-dashboard .command-toolbar input,
.dashboard-shell.se-dashboard .command-toolbar select,
.dashboard-shell.se-dashboard .timer-form input,
.dashboard-shell.se-dashboard .banned-form input,
.dashboard-shell.se-dashboard .banned-toolbar select,
.dashboard-shell.se-dashboard .wide-search,
.dashboard-shell.se-dashboard .user-form input,
.dashboard-shell.se-dashboard .user-form select,
.dashboard-shell.se-dashboard .custom-command-form input,
.dashboard-shell.se-dashboard .custom-command-form textarea,
.dashboard-shell.se-dashboard .settings-form input,
.dashboard-shell.se-dashboard .settings-form select {
    border-color: rgba(70, 144, 214, 0.28);
    background: rgba(3, 10, 18, 0.8);
    font-size: 13px;
}

.dashboard-shell.se-dashboard .quick-actions button,
.dashboard-shell.se-dashboard .quick-actions a {
    border-color: rgba(68, 170, 255, 0.38);
    background: rgba(18, 43, 68, 0.86);
}

.dashboard-shell.se-dashboard .quick-actions button:first-child,
.dashboard-shell.se-dashboard .success-button,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    background: linear-gradient(135deg, #1aa2ff, #0876d8);
}

.dashboard-shell.se-dashboard .studio-nav.is-active {
    background: linear-gradient(135deg, rgba(20, 152, 255, 0.24), rgba(20, 152, 255, 0.08));
}

@media (max-width: 1180px) {
    .dashboard-shell.se-dashboard .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Last timer-table override. Must stay after generic .timer-item cards. */
.dashboard-shell.se-dashboard .timer-board-section {
    gap: 34px;
    padding-top: 34px;
}

.dashboard-shell.se-dashboard .timer-board-head,
.dashboard-shell.se-dashboard .timer-compose,
.dashboard-shell.se-dashboard .timer-table {
    width: min(100%, 1376px);
    margin-inline: auto;
}

.dashboard-shell.se-dashboard .timer-board-head {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
    gap: 28px;
}

.dashboard-shell.se-dashboard .timer-board-head h1 {
    margin: 0;
    color: #f6f7fb;
    font-size: 32px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.dashboard-shell.se-dashboard .timer-board-head p {
    margin: 14px 0 0;
    color: #9aa1aa;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-shell.se-dashboard .timer-board-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-shell.se-dashboard .timer-search {
    position: relative;
    display: block;
    width: 320px;
}

.dashboard-shell.se-dashboard .timer-search span::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 11px;
    height: 11px;
    border: 2px solid #8e96a1;
    border-radius: 50%;
    transform: translateY(-55%);
}

.dashboard-shell.se-dashboard .timer-search span::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 25px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #8e96a1;
    transform: rotate(45deg);
}

.dashboard-shell.se-dashboard .timer-search input {
    min-height: 40px;
    padding-left: 42px;
    border-color: #31353b;
    border-radius: 7px;
    color: #d7dce4;
    background: #151719;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-shell.se-dashboard .timer-add-button,
.dashboard-shell.se-dashboard .timer-compose button {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #587dff;
    box-shadow: none;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard .timer-add-button {
    min-width: 184px;
    min-height: 41px;
    font-size: 14px;
    font-weight: 850;
}

.dashboard-shell.se-dashboard .timer-compose {
    display: grid;
    grid-template-columns: 160px minmax(260px, 1fr) 170px 150px auto;
    gap: 10px;
    padding: 14px;
    border: 1px solid #2d3238;
    border-radius: 10px;
    background: #181b1e;
}

.dashboard-shell.se-dashboard .timer-compose[hidden] {
    display: none;
}

.dashboard-shell.se-dashboard .timer-compose input {
    border-color: #343940;
    border-radius: 7px;
    background: #101214;
}

.dashboard-shell.se-dashboard .timer-table {
    display: grid;
    gap: 0;
}

.dashboard-shell.se-dashboard .timer-table-header,
.dashboard-shell.se-dashboard .timer-table-row {
    display: grid;
    grid-template-columns: 88px 170px minmax(360px, 1fr) 160px 160px 130px 70px 60px;
    align-items: center;
    column-gap: 14px;
}

.dashboard-shell.se-dashboard .timer-table-header {
    padding: 0 16px 10px;
    color: #8f99a8;
    font-size: 12px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item {
    min-height: 57px;
    margin: 0 0 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    color: #c8d1df;
    background: #222527;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:nth-child(odd) {
    background: #17191c;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item strong {
    color: #b9c5d4;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-shell.se-dashboard .timer-table-row .timer-message {
    overflow: hidden;
    color: #d0d7e2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-shell.se-dashboard .timer-table-toggle {
    justify-self: start;
}

.dashboard-shell.se-dashboard .timer-table-toggle span {
    width: 36px;
    height: 20px;
    background: #545960;
}

.dashboard-shell.se-dashboard .timer-table-toggle span::after {
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
}

.dashboard-shell.se-dashboard .timer-table-toggle input:checked + span {
    background: #48d787;
}

.dashboard-shell.se-dashboard .timer-table-toggle input:checked + span::after {
    transform: translateX(16px);
}

.dashboard-shell.se-dashboard .timer-icon-button {
    min-width: 0;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    color: #a5adb8;
    background: transparent;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
}

.dashboard-shell.se-dashboard .timer-icon-button.is-delete {
    font-size: 18px;
}

.dashboard-shell.se-dashboard .timer-icon-button:hover {
    color: #fff;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1380px) {
    .dashboard-shell.se-dashboard .timer-table {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .dashboard-shell.se-dashboard .timer-table-header,
    .dashboard-shell.se-dashboard .timer-table-row {
        min-width: 1080px;
    }
}

@media (max-width: 900px) {
    .dashboard-shell.se-dashboard .timer-board-head {
        grid-template-columns: 1fr;
    }

    .dashboard-shell.se-dashboard .timer-board-actions,
    .dashboard-shell.se-dashboard .timer-compose {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-shell.se-dashboard .timer-search {
        width: 100%;
    }
}

/* Timers tab like a StreamElements table view. */
.dashboard-shell.se-dashboard .timer-board-section {
    gap: 34px;
    padding-top: 34px;
}

.dashboard-shell.se-dashboard .timer-board-head {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
    gap: 28px;
    margin: 0 auto;
    width: min(100%, 1376px);
}

.dashboard-shell.se-dashboard .timer-board-head h1 {
    margin: 0;
    color: #f6f7fb;
    font-size: 32px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.dashboard-shell.se-dashboard .timer-board-head p {
    margin: 14px 0 0;
    color: #9aa1aa;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-shell.se-dashboard .timer-board-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-shell.se-dashboard .timer-search {
    position: relative;
    display: block;
    width: 320px;
}

.dashboard-shell.se-dashboard .timer-search span::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 11px;
    height: 11px;
    border: 2px solid #8e96a1;
    border-radius: 50%;
    transform: translateY(-55%);
}

.dashboard-shell.se-dashboard .timer-search span::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 25px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #8e96a1;
    transform: rotate(45deg);
}

.dashboard-shell.se-dashboard .timer-search input {
    min-height: 40px;
    padding-left: 42px;
    border-color: #31353b;
    border-radius: 7px;
    color: #d7dce4;
    background: #151719;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-shell.se-dashboard .timer-add-button {
    min-width: 184px;
    min-height: 41px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #587dff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 850;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard .timer-compose {
    display: grid;
    grid-template-columns: 160px minmax(260px, 1fr) 170px 150px auto;
    gap: 10px;
    width: min(100%, 1376px);
    margin: 0 auto;
    padding: 14px;
    border: 1px solid #2d3238;
    border-radius: 10px;
    background: #181b1e;
}

.dashboard-shell.se-dashboard .timer-compose[hidden] {
    display: none;
}

.dashboard-shell.se-dashboard .timer-compose input {
    border-color: #343940;
    border-radius: 7px;
    background: #101214;
}

.dashboard-shell.se-dashboard .timer-compose button {
    border: 0;
    border-radius: 999px;
    background: #587dff;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard .timer-table {
    display: grid;
    gap: 0;
    width: min(100%, 1376px);
    margin: 0 auto;
}

.dashboard-shell.se-dashboard .timer-table-header,
.dashboard-shell.se-dashboard .timer-table-row {
    display: grid;
    grid-template-columns: 88px 170px minmax(360px, 1fr) 160px 160px 130px 70px 60px;
    align-items: center;
    column-gap: 14px;
}

.dashboard-shell.se-dashboard .timer-table-header {
    padding: 0 16px 10px;
    color: #8f99a8;
    font-size: 12px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .timer-table-row {
    min-height: 57px;
    margin-bottom: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    color: #c8d1df;
    background: #222527;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .timer-table-row:nth-child(odd) {
    background: #17191c;
}

.dashboard-shell.se-dashboard .timer-table-row strong {
    color: #b9c5d4;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-shell.se-dashboard .timer-table-row .timer-message {
    overflow: hidden;
    color: #d0d7e2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-shell.se-dashboard .timer-table-toggle {
    justify-self: start;
}

.dashboard-shell.se-dashboard .timer-table-toggle span {
    width: 36px;
    height: 20px;
    background: #545960;
}

.dashboard-shell.se-dashboard .timer-table-toggle span::after {
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
}

.dashboard-shell.se-dashboard .timer-table-toggle input:checked + span {
    background: #48d787;
}

.dashboard-shell.se-dashboard .timer-table-toggle input:checked + span::after {
    transform: translateX(16px);
}

.dashboard-shell.se-dashboard .timer-icon-button {
    min-width: 0;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    color: #a5adb8;
    background: transparent;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
}

.dashboard-shell.se-dashboard .timer-icon-button.is-delete {
    font-size: 18px;
}

.dashboard-shell.se-dashboard .timer-icon-button:hover {
    color: #fff;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-shell.se-dashboard .timer-table .empty-state {
    margin-top: 12px;
}

.dashboard-shell.se-dashboard .timer-empty-state {
    display: block;
    max-width: 420px;
    padding: 18px 20px;
}

.dashboard-shell.se-dashboard .timer-empty-state b {
    display: none;
}

@media (max-width: 1380px) {
    .dashboard-shell.se-dashboard .timer-table {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .dashboard-shell.se-dashboard .timer-table-header,
    .dashboard-shell.se-dashboard .timer-table-row {
        min-width: 1080px;
    }
}

@media (max-width: 900px) {
    .dashboard-shell.se-dashboard .timer-board-head {
        grid-template-columns: 1fr;
    }

    .dashboard-shell.se-dashboard .timer-board-actions,
    .dashboard-shell.se-dashboard .timer-compose {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-shell.se-dashboard .timer-search {
        width: 100%;
    }
}

/* Twitch dashboard production refresh */
body[data-page="dashboard"]:not(.settings-saas-page) {
    --tw-bg: #050c16;
    --tw-bg-soft: #071321;
    --tw-panel: rgba(8, 19, 33, 0.88);
    --tw-panel-strong: rgba(10, 25, 43, 0.96);
    --tw-line: rgba(73, 151, 224, 0.24);
    --tw-line-strong: rgba(52, 166, 255, 0.46);
    --tw-blue: #159cff;
    --tw-blue-soft: rgba(21, 156, 255, 0.14);
    --tw-text: #f6fbff;
    --tw-muted: #9fb8d0;
    min-height: 100vh;
    color: var(--tw-text);
    background:
        radial-gradient(circle at 22% 4%, rgba(21, 156, 255, 0.18), transparent 34%),
        linear-gradient(180deg, #061524 0%, #050b13 56%, #04080e 100%);
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: 66px;
    padding: 0 28px 0 286px;
    border-bottom: 1px solid rgba(84, 158, 229, 0.18);
    background: rgba(4, 11, 19, 0.78);
    backdrop-filter: blur(20px);
}

body[data-page="dashboard"]:not(.settings-saas-page) .topbar-brand {
    display: none;
}

.dashboard-shell.se-dashboard {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 92px 30px 56px 0;
    background: transparent;
}

.dashboard-shell.se-dashboard .dashboard-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    margin-top: -92px;
    padding: 84px 14px 24px;
    border-right: 1px solid rgba(84, 158, 229, 0.18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(8, 20, 35, 0.98), rgba(4, 10, 18, 0.98));
    box-shadow: 22px 0 70px rgba(0, 0, 0, 0.24);
    overflow-y: auto;
    scrollbar-width: none;
}

.dashboard-shell.se-dashboard .dashboard-sidebar::-webkit-scrollbar {
    display: none;
}

.dashboard-shell.se-dashboard .studio-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 8px 24px;
    padding: 10px;
    border: 1px solid var(--tw-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 950;
}

.dashboard-shell.se-dashboard .studio-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.dashboard-shell.se-dashboard .studio-nav {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin: 3px 0;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #cfdef0;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.dashboard-shell.se-dashboard .studio-nav span {
    display: none;
}

.dashboard-shell.se-dashboard .studio-nav:hover,
.dashboard-shell.se-dashboard .studio-nav.is-active {
    color: #fff;
    border-color: rgba(36, 166, 255, 0.54);
    background: linear-gradient(135deg, rgba(21, 156, 255, 0.22), rgba(21, 156, 255, 0.08));
    box-shadow: inset 3px 0 0 var(--tw-blue);
}

.dashboard-shell.se-dashboard .studio-sidebar-note {
    margin: 28px 0 0;
    padding: 16px;
    border: 1px solid var(--tw-line);
    border-radius: 17px;
    color: #d8eaff;
    background: rgba(8, 20, 35, 0.78);
}

.dashboard-shell.se-dashboard .studio-sidebar-note strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.dashboard-shell.se-dashboard .studio-sidebar-note p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 12px;
    line-height: 1.45;
}

.dashboard-shell.se-dashboard .dashboard-workspace {
    width: min(100%, 1340px);
    min-width: 0;
}

.dashboard-shell.se-dashboard .workspace-section {
    display: none;
}

.dashboard-shell.se-dashboard .workspace-section.is-active {
    display: grid;
    gap: 18px;
    animation: softPanelIn 160ms ease both;
}

@keyframes softPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-shell.se-dashboard .dashboard-status-header {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid var(--tw-line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12, 28, 48, 0.94), rgba(8, 18, 31, 0.9));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.dashboard-shell.se-dashboard .workspace-heading {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.dashboard-shell.se-dashboard .workspace-heading h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(30px, 2.6vw, 48px);
    line-height: 1.03;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.dashboard-shell.se-dashboard .workspace-heading p {
    max-width: 720px;
    margin: 0;
    color: #b4cbe3;
    font-size: 15px;
    line-height: 1.6;
}

.dashboard-shell.se-dashboard .studio-overview-grid,
.dashboard-shell.se-dashboard .alert-grid,
.dashboard-shell.se-dashboard .default-command-list,
.dashboard-shell.se-dashboard .timer-list,
.dashboard-shell.se-dashboard .banned-list,
.dashboard-shell.se-dashboard .user-list,
.dashboard-shell.se-dashboard .template-grid,
.dashboard-shell.se-dashboard .custom-command-list,
.dashboard-shell.se-dashboard .connection-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 16px;
}

.dashboard-shell.se-dashboard .settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 16px;
}

.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .overview-card,
.dashboard-shell.se-dashboard .bot-status-card,
.dashboard-shell.se-dashboard .default-command-item,
.dashboard-shell.se-dashboard .alert-card,
.dashboard-shell.se-dashboard .filter-card,
.dashboard-shell.se-dashboard .timer-item,
.dashboard-shell.se-dashboard .banned-list article,
.dashboard-shell.se-dashboard .user-list article,
.dashboard-shell.se-dashboard .recommendation-card,
.dashboard-shell.se-dashboard .connection-check-item,
.dashboard-shell.se-dashboard .template-card,
.dashboard-shell.se-dashboard .custom-command-list article,
.dashboard-shell.se-dashboard .empty-state {
    border: 1px solid var(--tw-line);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--tw-panel-strong), rgba(6, 14, 25, 0.96));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .filter-card {
    padding: 22px;
}

.dashboard-shell.se-dashboard .filter-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 170px;
}

.dashboard-shell.se-dashboard .filter-card::before,
.dashboard-shell.se-dashboard .settings-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(21, 156, 255, 0.1), transparent 46%);
}

.dashboard-shell.se-dashboard .filter-card > *,
.dashboard-shell.se-dashboard .settings-card > * {
    position: relative;
}

.dashboard-shell.se-dashboard .filter-card > strong,
.dashboard-shell.se-dashboard .filter-card h2,
.dashboard-shell.se-dashboard .settings-card h2,
.dashboard-shell.se-dashboard .overview-card h2,
.dashboard-shell.se-dashboard .bot-status-card h2 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: none;
}

.dashboard-shell.se-dashboard .filter-card label:not(.toggle),
.dashboard-shell.se-dashboard .settings-form label {
    display: grid;
    gap: 7px;
    color: #9fb8d0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard input,
.dashboard-shell.se-dashboard select,
.dashboard-shell.se-dashboard textarea,
.dashboard-shell.se-dashboard .command-toolbar input,
.dashboard-shell.se-dashboard .command-toolbar select,
.dashboard-shell.se-dashboard .timer-form input,
.dashboard-shell.se-dashboard .banned-form input,
.dashboard-shell.se-dashboard .banned-toolbar select,
.dashboard-shell.se-dashboard .wide-search,
.dashboard-shell.se-dashboard .user-form input,
.dashboard-shell.se-dashboard .user-form select,
.dashboard-shell.se-dashboard .custom-command-form input,
.dashboard-shell.se-dashboard .custom-command-form textarea,
.dashboard-shell.se-dashboard .settings-form input,
.dashboard-shell.se-dashboard .settings-form select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(91, 155, 218, 0.22);
    border-radius: 12px;
    color: #f7fbff;
    background: rgba(3, 10, 18, 0.72);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-shell.se-dashboard textarea {
    min-height: 112px;
    resize: vertical;
}

.dashboard-shell.se-dashboard input:focus,
.dashboard-shell.se-dashboard select:focus,
.dashboard-shell.se-dashboard textarea:focus {
    border-color: rgba(35, 165, 255, 0.78);
    box-shadow: 0 0 0 4px rgba(21, 156, 255, 0.12);
}

.dashboard-shell.se-dashboard .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-shell.se-dashboard button,
.dashboard-shell.se-dashboard .quick-actions a,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(55, 170, 255, 0.34);
    border-radius: 13px;
    color: #fff;
    background: rgba(17, 41, 65, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.dashboard-shell.se-dashboard button:hover,
.dashboard-shell.se-dashboard .quick-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(78, 184, 255, 0.78);
    background: rgba(21, 156, 255, 0.18);
}

.dashboard-shell.se-dashboard .quick-actions button:first-child,
.dashboard-shell.se-dashboard .success-button,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    background: linear-gradient(135deg, #159cff, #0b7ed6);
    box-shadow: 0 12px 32px rgba(21, 156, 255, 0.2);
}

.dashboard-shell.se-dashboard .settings-tabs,
.dashboard-shell.se-dashboard .page-tabs,
.dashboard-shell.se-dashboard .command-toolbar,
.dashboard-shell.se-dashboard .banned-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--tw-line);
    border-radius: 17px;
    background: rgba(5, 13, 23, 0.72);
}

.dashboard-shell.se-dashboard .settings-tabs button,
.dashboard-shell.se-dashboard .page-tabs button {
    background: transparent;
    box-shadow: none;
}

.dashboard-shell.se-dashboard .settings-tabs button.is-active,
.dashboard-shell.se-dashboard .page-tabs button.is-active {
    color: #fff;
    border-color: rgba(21, 156, 255, 0.6);
    background: var(--tw-blue-soft);
}

.dashboard-shell.se-dashboard .toggle,
.dashboard-shell.se-dashboard .switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-shell.se-dashboard .toggle span {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #1c2a39;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dashboard-shell.se-dashboard .toggle span::after {
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
    background: #a9bacb;
}

.dashboard-shell.se-dashboard .toggle input:checked + span {
    background: linear-gradient(135deg, #159cff, #18d690);
}

.dashboard-shell.se-dashboard .toggle input:checked + span::after {
    transform: translateX(18px);
    background: #fff;
}

.dashboard-shell.se-dashboard .activity-log,
.dashboard-shell.se-dashboard .command-status-list {
    display: grid;
    gap: 10px;
}

@media (max-width: 1180px) {
    body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
        padding-left: 110px;
    }

    .dashboard-shell.se-dashboard {
        grid-template-columns: 86px minmax(0, 1fr);
        padding-right: 18px;
    }

    .dashboard-shell.se-dashboard .dashboard-sidebar {
        padding-inline: 12px;
    }

    .dashboard-shell.se-dashboard .studio-brand span,
    .dashboard-shell.se-dashboard .studio-sidebar-note {
        display: none;
    }

    .dashboard-shell.se-dashboard .studio-nav {
        justify-content: center;
        padding-inline: 0;
        font-size: 0;
    }

    .dashboard-shell.se-dashboard .studio-nav span {
        margin-right: 0;
    }

    .dashboard-shell.se-dashboard .settings-grid,
    .dashboard-shell.se-dashboard .studio-overview-grid,
    .dashboard-shell.se-dashboard .alert-grid,
    .dashboard-shell.se-dashboard .default-command-list,
    .dashboard-shell.se-dashboard .timer-list,
    .dashboard-shell.se-dashboard .banned-list,
    .dashboard-shell.se-dashboard .user-list,
    .dashboard-shell.se-dashboard .template-grid,
    .dashboard-shell.se-dashboard .custom-command-list,
    .dashboard-shell.se-dashboard .connection-check-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
        position: sticky;
        padding: 0 14px;
    }

    .dashboard-shell.se-dashboard {
        display: block;
        padding: 18px 14px 42px;
    }

    .dashboard-shell.se-dashboard .dashboard-sidebar {
        position: static;
        display: flex;
        gap: 8px;
        width: auto;
        height: auto;
        margin: 0 0 18px;
        padding: 10px;
        border: 1px solid var(--tw-line);
        border-radius: 18px;
        overflow-x: auto;
    }

    .dashboard-shell.se-dashboard .studio-brand {
        display: none;
    }

    .dashboard-shell.se-dashboard .studio-nav {
        flex: 0 0 auto;
        width: auto;
        min-width: 46px;
    }
}

/* Twitch dashboard premium redesign */
body[data-page="dashboard"]:not(.settings-saas-page) {
    --td-bg: #050b13;
    --td-panel: rgba(10, 22, 36, 0.88);
    --td-panel-2: rgba(13, 29, 47, 0.92);
    --td-border: rgba(83, 166, 255, 0.18);
    --td-border-strong: rgba(83, 166, 255, 0.34);
    --td-text: #f7fbff;
    --td-muted: #9fb7d2;
    --td-blue: #1498ff;
    min-height: 100vh;
    color: var(--td-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(20, 152, 255, 0.14), transparent 36rem),
        radial-gradient(circle at 82% 20%, rgba(56, 119, 255, 0.08), transparent 32rem),
        linear-gradient(180deg, #07111f 0%, var(--td-bg) 62%);
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 72px;
    padding: 12px 32px 12px 276px;
    background: rgba(5, 12, 22, 0.82) !important;
    border-bottom: 1px solid var(--td-border);
    backdrop-filter: blur(18px);
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar .topbar-brand {
    display: none;
}

body[data-page="dashboard"]:not(.settings-saas-page) .bot-news-button,
body[data-page="dashboard"]:not(.settings-saas-page) .creator-corner-link,
body[data-page="dashboard"]:not(.settings-saas-page) .topbar-login {
    border: 1px solid var(--td-border-strong);
    border-radius: 12px;
    color: #fff;
    background: rgba(14, 31, 49, 0.92);
    box-shadow: none;
}

body[data-page="dashboard"]:not(.settings-saas-page) .creator-corner-link {
    color: #cfe5ff;
}

.dashboard-shell.se-dashboard {
    width: 100%;
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 0;
    padding: 0;
    background: transparent;
}

.dashboard-shell.se-dashboard .dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 45;
    width: 264px;
    height: 100vh;
    padding: 22px 16px;
    border-right: 1px solid var(--td-border);
    border-radius: 0;
    background: rgba(5, 13, 24, 0.94);
    box-shadow: none;
    backdrop-filter: blur(18px);
    overflow-y: auto;
    scrollbar-width: none;
}

.dashboard-shell.se-dashboard .dashboard-sidebar::-webkit-scrollbar {
    display: none;
}

.dashboard-shell.se-dashboard .studio-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin: 0 0 22px;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 950;
}

.dashboard-shell.se-dashboard .studio-brand img {
    width: 34px;
    height: 34px;
    border-radius: 12px !important;
    filter: none;
}

.dashboard-shell.se-dashboard .studio-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    margin: 0 0 6px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    color: #c6d7eb;
    background: transparent;
    font-size: 14px;
    font-weight: 850;
    text-align: left;
}

.dashboard-shell.se-dashboard .studio-nav span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 9px;
    color: var(--td-blue);
    background: rgba(20, 152, 255, 0.12);
    font-size: 12px;
    font-weight: 950;
}

.dashboard-shell.se-dashboard .studio-nav:hover,
.dashboard-shell.se-dashboard .studio-nav.is-active {
    color: #fff;
    background: rgba(20, 152, 255, 0.12);
    box-shadow: inset 3px 0 0 var(--td-blue);
}

.dashboard-shell.se-dashboard .studio-sidebar-note {
    margin-top: 24px;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    background: rgba(10, 22, 36, 0.8);
}

.dashboard-shell.se-dashboard .studio-sidebar-note p {
    color: var(--td-muted);
}

.dashboard-shell.se-dashboard .dashboard-workspace {
    grid-column: 2;
    max-width: 1420px;
    width: 100%;
    padding: 44px 38px 80px;
}

.dashboard-shell.se-dashboard .workspace-section.is-active {
    display: grid;
    gap: 22px;
}

.dashboard-shell.se-dashboard .workspace-heading {
    margin: 0 0 4px;
    padding: 0;
}

.dashboard-shell.se-dashboard .workspace-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3vw, 50px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
}

.dashboard-shell.se-dashboard .workspace-heading p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #b8cde5;
    font-size: 15px;
    line-height: 1.65;
}

.dashboard-shell.se-dashboard .dashboard-status-header {
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 29, 47, 0.92), rgba(8, 18, 31, 0.92));
}

.dashboard-shell.se-dashboard .studio-overview-grid,
.dashboard-shell.se-dashboard .settings-grid,
.dashboard-shell.se-dashboard .alert-grid,
.dashboard-shell.se-dashboard .default-command-list,
.dashboard-shell.se-dashboard .timer-list,
.dashboard-shell.se-dashboard .banned-list,
.dashboard-shell.se-dashboard .user-list,
.dashboard-shell.se-dashboard .template-grid,
.dashboard-shell.se-dashboard .custom-command-list,
.dashboard-shell.se-dashboard .connection-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-shell.se-dashboard .settings-grid {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .overview-card,
.dashboard-shell.se-dashboard .bot-status-card,
.dashboard-shell.se-dashboard .default-command-item,
.dashboard-shell.se-dashboard .alert-card,
.dashboard-shell.se-dashboard .filter-card,
.dashboard-shell.se-dashboard .timer-item,
.dashboard-shell.se-dashboard .banned-list article,
.dashboard-shell.se-dashboard .user-list article,
.dashboard-shell.se-dashboard .recommendation-card,
.dashboard-shell.se-dashboard .connection-check-item,
.dashboard-shell.se-dashboard .template-card,
.dashboard-shell.se-dashboard .custom-command-list article,
.dashboard-shell.se-dashboard .empty-state {
    border: 1px solid var(--td-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 29, 47, 0.9), rgba(8, 18, 31, 0.88));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .filter-card {
    padding: 22px;
}

.dashboard-shell.se-dashboard .filter-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
    align-items: start;
}

.dashboard-shell.se-dashboard .filter-card > strong,
.dashboard-shell.se-dashboard .filter-card h2,
.dashboard-shell.se-dashboard .settings-card h2,
.dashboard-shell.se-dashboard .overview-card h2,
.dashboard-shell.se-dashboard .bot-status-card h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 950;
}

.dashboard-shell.se-dashboard .filter-card label:not(.toggle),
.dashboard-shell.se-dashboard .settings-form label {
    display: grid;
    gap: 8px;
    color: #c7d9ee;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard input,
.dashboard-shell.se-dashboard select,
.dashboard-shell.se-dashboard textarea,
.dashboard-shell.se-dashboard .command-toolbar input,
.dashboard-shell.se-dashboard .command-toolbar select,
.dashboard-shell.se-dashboard .timer-form input,
.dashboard-shell.se-dashboard .banned-form input,
.dashboard-shell.se-dashboard .banned-toolbar select,
.dashboard-shell.se-dashboard .wide-search,
.dashboard-shell.se-dashboard .user-form input,
.dashboard-shell.se-dashboard .user-form select,
.dashboard-shell.se-dashboard .custom-command-form input,
.dashboard-shell.se-dashboard .custom-command-form textarea,
.dashboard-shell.se-dashboard .settings-form input,
.dashboard-shell.se-dashboard .settings-form select {
    min-height: 44px;
    border: 1px solid var(--td-border);
    border-radius: 12px;
    padding: 0 13px;
    color: #fff;
    background: rgba(4, 10, 18, 0.72);
    outline: 0;
    font: 750 14px/1.4 Inter, "Segoe UI", Arial, sans-serif;
}

.dashboard-shell.se-dashboard textarea {
    min-height: 110px;
    padding-top: 12px;
}

.dashboard-shell.se-dashboard input:focus,
.dashboard-shell.se-dashboard select:focus,
.dashboard-shell.se-dashboard textarea:focus {
    border-color: rgba(80, 181, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(20, 152, 255, 0.12);
}

.dashboard-shell.se-dashboard .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-shell.se-dashboard button,
.dashboard-shell.se-dashboard .quick-actions a,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    border: 1px solid var(--td-border-strong);
    border-radius: 12px;
    padding: 11px 15px;
    color: #fff;
    background: rgba(14, 31, 49, 0.92);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-shell.se-dashboard .quick-actions button:first-child,
.dashboard-shell.se-dashboard .success-button,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    border-color: transparent;
    background: linear-gradient(135deg, #1399ff, #0d75d9);
}

.dashboard-shell.se-dashboard .settings-tabs,
.dashboard-shell.se-dashboard .page-tabs {
    width: 100%;
    max-width: none;
    padding: 8px;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    background: rgba(5, 13, 24, 0.82);
}

.dashboard-shell.se-dashboard .settings-tabs button,
.dashboard-shell.se-dashboard .page-tabs button {
    border: 0;
    border-radius: 12px;
    color: #c7d9ee;
    background: transparent;
}

.dashboard-shell.se-dashboard .settings-tabs button.is-active,
.dashboard-shell.se-dashboard .page-tabs button.is-active {
    color: #fff;
    background: rgba(20, 152, 255, 0.15);
}

.dashboard-shell.se-dashboard .toggle span,
.dashboard-shell.se-dashboard .toggle {
    justify-self: end;
}

.dashboard-shell.se-dashboard .activity-log,
.dashboard-shell.se-dashboard .command-status-list {
    gap: 10px;
}

@media (max-width: 1180px) {
    body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
        padding-left: 102px;
    }

    .dashboard-shell.se-dashboard {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .dashboard-shell.se-dashboard .dashboard-sidebar {
        width: 86px;
        padding-inline: 14px;
    }

    .dashboard-shell.se-dashboard .studio-brand span,
    .dashboard-shell.se-dashboard .studio-sidebar-note {
        display: none;
    }

    .dashboard-shell.se-dashboard .studio-nav {
        justify-content: center;
        padding-inline: 0;
        font-size: 0;
    }

    .dashboard-shell.se-dashboard .dashboard-workspace {
        padding-inline: 24px;
    }
}

@media (max-width: 760px) {
    body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
        padding-left: 18px;
    }

    .dashboard-shell.se-dashboard {
        display: block;
    }

    .dashboard-shell.se-dashboard .dashboard-sidebar {
        position: static;
        width: auto;
        height: auto;
    }

    .dashboard-shell.se-dashboard .studio-nav {
        justify-content: flex-start;
        padding-inline: 12px;
        font-size: 14px;
    }

    .dashboard-shell.se-dashboard .studio-brand span {
        display: inline;
    }

    .dashboard-shell.se-dashboard .dashboard-workspace {
        padding: 28px 16px 56px;
    }

    .dashboard-shell.se-dashboard .studio-overview-grid,
    .dashboard-shell.se-dashboard .settings-grid,
    .dashboard-shell.se-dashboard .alert-grid,
    .dashboard-shell.se-dashboard .default-command-list,
    .dashboard-shell.se-dashboard .timer-list,
    .dashboard-shell.se-dashboard .banned-list,
    .dashboard-shell.se-dashboard .user-list,
    .dashboard-shell.se-dashboard .template-grid,
    .dashboard-shell.se-dashboard .custom-command-list,
    .dashboard-shell.se-dashboard .connection-check-grid {
        grid-template-columns: 1fr;
    }
}

.settings-main-column,
.settings-side-column {
    display: grid;
    gap: 22px;
}

.settings-side-column {
    position: sticky;
    top: 148px;
}

.settings-card,
.settings-profile-card {
    border-radius: 24px;
}

.settings-card[id],
.settings-profile-card[id] {
    scroll-margin-top: 112px;
}

.settings-card {
    padding: 24px;
}

.settings-card.compact {
    padding: 22px;
}

.settings-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 22px;
}

.settings-card h2,
.settings-profile-card h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.settings-status-pill,
.platform-title span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #5cffac;
    background: rgba(43, 255, 151, 0.12);
    font-size: 12px;
    font-weight: 900;
}

.settings-saas-form {
    display: grid;
    gap: 16px;
}

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.settings-saas-form label {
    display: grid;
    gap: 8px;
    color: #c7d9ee;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.settings-saas-form input,
.settings-saas-form select,
.settings-saas-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--settings-line);
    border-radius: 12px;
    padding: 0 14px;
    color: #fff;
    background: rgba(4, 10, 18, 0.72);
    outline: 0;
    font: 700 14px/1.4 Inter, "Segoe UI", Arial, sans-serif;
}

.settings-saas-form textarea {
    min-height: 104px;
    padding-top: 12px;
    resize: vertical;
}

.platform-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.platform-settings-card {
    display: grid;
    gap: 18px;
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--settings-line);
    border-radius: 20px;
    background: rgba(5, 12, 22, 0.62);
}

.platform-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-title strong {
    flex: 1;
    color: #fff;
    font-size: 17px;
}

.platform-settings-card.is-disconnected .platform-title span,
.platform-settings-card:not(.is-connected) .platform-title span {
    color: #f4c36f;
    background: rgba(244, 195, 111, 0.12);
}

.platform-settings-card.is-disconnected {
    opacity: 0.82;
}

.platform-settings-card div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.notification-grid,
.automation-builder,
.security-list {
    display: grid;
    gap: 12px;
}

.notification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notification-grid article,
.automation-builder article,
.security-list article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--settings-line);
    border-radius: 16px;
    background: rgba(5, 12, 22, 0.6);
}

.notification-grid strong,
.automation-builder strong,
.security-list span {
    color: #fff;
    font-size: 14px;
}

.notification-grid span,
.automation-builder p {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
}

.switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 26px;
}

.switch input {
    position: absolute;
    opacity: 0;
}

.switch i {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #26364a;
}

.switch i::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dce9f8;
    transition: transform 160ms ease;
}

.switch input:checked + i {
    background: var(--settings-blue);
}

.switch input:checked + i::after {
    transform: translateX(18px);
}

.automation-builder article {
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.automation-builder article > span,
.automation-builder em {
    color: #58b7ff;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .08em;
}

.module-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-pill-grid span {
    padding: 10px 12px;
    border: 1px solid var(--settings-line);
    border-radius: 999px;
    color: #d7e8fb;
    background: rgba(20, 152, 255, 0.08);
    font-size: 13px;
    font-weight: 800;
}

.settings-profile-card {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.settings-profile-card > img {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    object-fit: cover;
}

.settings-profile-card p {
    margin: 0 0 6px;
    color: #58b7ff;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.settings-profile-card > strong {
    justify-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    color: #5cffac;
    background: rgba(43, 255, 151, 0.12);
}

.settings-profile-card > a {
    display: inline-flex;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 12px;
    color: #fff;
    background: var(--settings-blue);
    text-decoration: none;
    font-weight: 900;
}

.profile-platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-platform-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--settings-line);
    border-radius: 999px;
    color: #d7e8fb;
    background: rgba(5, 12, 22, 0.56);
    font-size: 12px;
    font-weight: 850;
}

.profile-platform-badges span.is-disabled {
    opacity: 0.48;
    filter: grayscale(1);
}

.security-list article {
    justify-content: space-between;
}

.security-list button {
    padding: 8px 10px;
}

.appearance-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.appearance-preview span {
    min-height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 152, 255, 0.32), rgba(255, 255, 255, 0.06));
}

.settings-activity {
    display: grid;
    gap: 10px;
}

.settings-activity article {
    padding: 12px;
    border: 1px solid var(--settings-line);
    border-radius: 14px;
    background: rgba(5, 12, 22, 0.58);
}

.settings-activity strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.settings-activity span {
    color: var(--settings-muted);
    font-size: 12px;
}

@media (max-width: 1180px) {
    body.settings-saas-page .settings-saas-sidebar {
        width: 86px;
        padding-inline: 14px;
    }

    .settings-saas-brand span,
    .settings-saas-note {
        display: none;
    }

    .settings-saas-nav a {
        justify-content: center;
        padding-inline: 0;
        font-size: 0;
    }

    .settings-saas-topbar,
    .settings-saas-shell {
        margin-left: 86px;
    }

    .settings-main-grid {
        grid-template-columns: 1fr;
    }

    .settings-side-column {
        position: static;
        grid-row: 1;
    }
}

@media (max-width: 820px) {
    body.settings-saas-page .settings-saas-sidebar {
        position: static;
        width: auto;
        height: auto;
    }

    .settings-saas-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-saas-brand span {
        display: inline;
    }

    .settings-saas-nav a {
        justify-content: flex-start;
        padding-inline: 12px;
        font-size: 14px;
    }

    .settings-saas-topbar,
    .settings-saas-shell {
        margin-left: 0;
    }

    .settings-search {
        flex: 1 0 100%;
        max-width: none;
    }

    .settings-saas-topbar,
    .settings-hero {
        flex-wrap: wrap;
    }

    .settings-form-grid,
    .platform-settings-grid,
    .notification-grid {
        grid-template-columns: 1fr;
    }
}

/* Last override for Twitch dashboard visual pass. */
body[data-page="dashboard"]:not(.settings-saas-page) .dashboard-shell.se-dashboard {
    background:
        linear-gradient(90deg, rgba(12, 42, 68, 0.28) 0 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(12, 42, 68, 0.22) 0 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(circle at 22% 0%, rgba(20, 152, 255, 0.1), transparent 34rem);
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
    background: rgba(3, 9, 17, 0.88) !important;
}

.dashboard-shell.se-dashboard .dashboard-workspace {
    max-width: 1280px;
}

.dashboard-shell.se-dashboard .workspace-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-shell.se-dashboard .workspace-heading h1 {
    font-size: clamp(28px, 2.2vw, 40px);
    letter-spacing: -0.015em;
}

.dashboard-shell.se-dashboard .workspace-heading p {
    color: #acc5de;
    font-size: 14px;
}

.dashboard-shell.se-dashboard .dashboard-status-header,
.dashboard-shell.se-dashboard .settings-card,
.dashboard-shell.se-dashboard .overview-card,
.dashboard-shell.se-dashboard .bot-status-card,
.dashboard-shell.se-dashboard .default-command-item,
.dashboard-shell.se-dashboard .alert-card,
.dashboard-shell.se-dashboard .filter-card,
.dashboard-shell.se-dashboard .timer-item,
.dashboard-shell.se-dashboard .banned-list article,
.dashboard-shell.se-dashboard .user-list article,
.dashboard-shell.se-dashboard .recommendation-card,
.dashboard-shell.se-dashboard .connection-check-item,
.dashboard-shell.se-dashboard .template-card,
.dashboard-shell.se-dashboard .custom-command-list article,
.dashboard-shell.se-dashboard .empty-state {
    border-color: rgba(66, 156, 241, 0.24);
    background:
        linear-gradient(180deg, rgba(13, 30, 50, 0.94), rgba(6, 15, 27, 0.95)),
        rgba(6, 15, 27, 0.95);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.dashboard-shell.se-dashboard .settings-card:first-of-type {
    border-color: rgba(55, 177, 255, 0.36);
    background:
        linear-gradient(135deg, rgba(20, 152, 255, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(13, 30, 50, 0.96), rgba(6, 15, 27, 0.96));
}

.dashboard-shell.se-dashboard .settings-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-items: start;
}

.dashboard-shell.se-dashboard .filter-card {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 184px;
    padding: 24px;
}

.dashboard-shell.se-dashboard .filter-card > strong,
.dashboard-shell.se-dashboard .filter-card h2,
.dashboard-shell.se-dashboard .settings-card h2,
.dashboard-shell.se-dashboard .overview-card h2,
.dashboard-shell.se-dashboard .bot-status-card h2 {
    font-size: 16px;
    letter-spacing: -0.01em;
}

.dashboard-shell.se-dashboard .filter-card label:not(.toggle),
.dashboard-shell.se-dashboard .settings-form label {
    color: #8faac4;
    font-size: 10px;
}

.dashboard-shell.se-dashboard input,
.dashboard-shell.se-dashboard select,
.dashboard-shell.se-dashboard textarea,
.dashboard-shell.se-dashboard .command-toolbar input,
.dashboard-shell.se-dashboard .command-toolbar select,
.dashboard-shell.se-dashboard .timer-form input,
.dashboard-shell.se-dashboard .banned-form input,
.dashboard-shell.se-dashboard .banned-toolbar select,
.dashboard-shell.se-dashboard .wide-search,
.dashboard-shell.se-dashboard .user-form input,
.dashboard-shell.se-dashboard .user-form select,
.dashboard-shell.se-dashboard .custom-command-form input,
.dashboard-shell.se-dashboard .custom-command-form textarea,
.dashboard-shell.se-dashboard .settings-form input,
.dashboard-shell.se-dashboard .settings-form select {
    border-color: rgba(70, 144, 214, 0.28);
    background: rgba(3, 10, 18, 0.8);
    font-size: 13px;
}

.dashboard-shell.se-dashboard .quick-actions button,
.dashboard-shell.se-dashboard .quick-actions a {
    border-color: rgba(68, 170, 255, 0.38);
    background: rgba(18, 43, 68, 0.86);
}

.dashboard-shell.se-dashboard .quick-actions button:first-child,
.dashboard-shell.se-dashboard .success-button,
.dashboard-shell.se-dashboard .settings-form button,
.dashboard-shell.se-dashboard .custom-command-form button,
.dashboard-shell.se-dashboard .timer-form button,
.dashboard-shell.se-dashboard .banned-form button,
.dashboard-shell.se-dashboard .user-form button {
    background: linear-gradient(135deg, #1aa2ff, #0876d8);
}

.dashboard-shell.se-dashboard .studio-nav.is-active {
    background: linear-gradient(135deg, rgba(20, 152, 255, 0.24), rgba(20, 152, 255, 0.08));
}

@media (max-width: 1180px) {
    .dashboard-shell.se-dashboard .settings-grid {
        grid-template-columns: 1fr;
    }
}
/* EOF timer-table override. */
.dashboard-shell.se-dashboard .timer-table-row.timer-item {
    border: 0 !important;
    border-radius: 0 !important;
    background: #222527 !important;
    box-shadow: none !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:nth-child(odd) {
    background: #17191c !important;
}

.dashboard-shell.se-dashboard .timer-table-header,
.dashboard-shell.se-dashboard .timer-table-row {
    display: grid !important;
    grid-template-columns: 88px 170px minmax(360px, 1fr) 160px 160px 130px 70px 60px !important;
}

.dashboard-shell.se-dashboard .timer-table-row .timer-message {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* EOF timer editor brand skin */
.dashboard-shell.se-dashboard .timer-editor-panel.timer-compose {
    border: 1px solid rgba(64, 157, 246, 0.26) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(30, 163, 255, 0.15), transparent 28rem),
        linear-gradient(180deg, rgba(9, 24, 42, 0.98), rgba(5, 14, 26, 0.98)) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34) !important;
}

.dashboard-shell.se-dashboard .timer-editor-preview.timer-table-row {
    border-bottom: 1px solid rgba(79, 165, 246, 0.2) !important;
    background:
        linear-gradient(90deg, rgba(19, 90, 151, 0.26), transparent 42%),
        rgba(7, 18, 32, 0.92) !important;
}

.dashboard-shell.se-dashboard .timer-editor-left,
.dashboard-shell.se-dashboard .timer-editor-right {
    padding: 24px !important;
    border: 1px solid rgba(64, 157, 246, 0.2) !important;
    border-radius: 18px !important;
    background: rgba(4, 13, 24, 0.62) !important;
}

.dashboard-shell.se-dashboard .timer-editor-panel input[type="text"],
.dashboard-shell.se-dashboard .timer-editor-panel input[type="number"],
.dashboard-shell.se-dashboard .timer-editor-panel textarea {
    border-color: rgba(82, 154, 220, 0.28) !important;
    border-radius: 12px !important;
    background: rgba(3, 10, 18, 0.74) !important;
}

.dashboard-shell.se-dashboard .timer-editor-footer {
    border-top: 1px solid rgba(79, 165, 246, 0.2) !important;
    background: rgba(4, 13, 24, 0.82) !important;
}

.dashboard-shell.se-dashboard .timer-add-message {
    border: 1px solid rgba(64, 157, 246, 0.34) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(20, 152, 255, 0.16) !important;
}

/* Sidebar without letter badges */
.dashboard-shell.se-dashboard .studio-nav {
    padding-left: 16px !important;
}

.dashboard-shell.se-dashboard .studio-nav span {
    display: none !important;
}

/* Created timers contrast */
.dashboard-shell.se-dashboard .timer-table {
    gap: 8px !important;
}

.dashboard-shell.se-dashboard .timer-table-header {
    padding: 0 16px 2px !important;
    color: #8aa8c5 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) {
    min-height: 62px !important;
    border: 1px solid rgba(65, 155, 240, 0.22) !important;
    border-radius: 16px !important;
    color: #e8f3ff !important;
    background:
        linear-gradient(90deg, rgba(18, 84, 138, 0.36), rgba(6, 17, 30, 0.94)) !important;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22) !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview):nth-child(odd) {
    background:
        linear-gradient(90deg, rgba(13, 63, 108, 0.42), rgba(5, 14, 26, 0.96)) !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview):hover {
    border-color: rgba(45, 169, 255, 0.5) !important;
    transform: translateY(-1px);
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) strong,
.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) span {
    color: #e8f3ff !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-message {
    color: #c9dcf1 !important;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-icon-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(84, 166, 245, 0.18);
    border-radius: 11px;
    color: #b9d4ef;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-icon-button span {
    display: block;
    color: inherit !important;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-icon-button.is-edit span {
    font-size: 15px;
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-icon-button:hover {
    color: #fff;
    border-color: rgba(42, 169, 255, 0.58);
    background: rgba(20, 152, 255, 0.2);
    transform: translateY(-1px);
}

.dashboard-shell.se-dashboard .timer-table-row.timer-item:not(.timer-editor-preview) .timer-icon-button.is-delete:hover {
    border-color: rgba(255, 91, 143, 0.48);
    color: #ffd7e2;
    background: rgba(255, 91, 143, 0.18);
}

/* Legal pages */
body.legal-page {
    min-height: 100vh;
    color: #f6fbff;
    background:
        radial-gradient(circle at 20% 0%, rgba(10, 143, 240, 0.22), transparent 34rem),
        linear-gradient(180deg, #061524 0%, #050b13 70%);
}

.legal-shell {
    width: min(100% - 32px, 980px);
    margin: 0 auto;
    padding: 132px 0 64px;
}

.legal-card {
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(78, 165, 247, 0.24);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(20, 152, 255, 0.12), transparent 36%),
        rgba(6, 17, 30, 0.9);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.legal-card h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.legal-updated {
    margin: 16px 0 38px;
    color: #86bce9;
    font-weight: 800;
}

.legal-card section {
    padding: 26px 0;
    border-top: 1px solid rgba(78, 165, 247, 0.18);
}

.legal-card h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.legal-card h3 {
    margin: 18px 0 10px;
    color: #eaf6ff;
    font-size: 17px;
    line-height: 1.3;
}

.legal-card p,
.legal-card li,
.legal-card a {
    color: #bdd1e5;
    font-size: 15px;
    line-height: 1.75;
}

.legal-card a {
    color: #58b7ff;
    font-weight: 850;
}

.legal-card p {
    margin: 0 0 10px;
}

.legal-card ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding-left: 22px;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: min(620px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid rgba(78, 165, 247, 0.28);
    border-radius: 20px;
    color: #f6fbff;
    background:
        linear-gradient(135deg, rgba(20, 152, 255, 0.14), transparent 40%),
        rgba(5, 14, 26, 0.94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    animation: cookieConsentIn 180ms ease both;
}

.cookie-consent.is-hiding {
    animation: cookieConsentOut 180ms ease both;
}

.cookie-consent-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #159cff, #0876d8);
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(21, 156, 255, 0.25);
}

.cookie-consent-copy {
    display: grid;
    gap: 4px;
}

.cookie-consent-copy strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

.cookie-consent-copy p {
    margin: 0;
    color: #b8cde5;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-consent-copy a {
    color: #58b7ff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.cookie-consent-copy a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
}

.cookie-consent-actions button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.cookie-consent-secondary {
    border: 1px solid rgba(174, 205, 235, 0.28);
    background: rgba(255, 255, 255, 0.045);
}

.cookie-consent-primary {
    border: 0;
    background: linear-gradient(135deg, #159cff, #0876d8);
}

@keyframes cookieConsentIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cookieConsentOut {
    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

@media (max-width: 720px) {
    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        grid-template-columns: 1fr;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-actions button {
        flex: 1;
    }
}

/* Bots page */
body[data-page="bots"] {
    min-height: 100vh;
    color: #f6fbff;
    background:
        radial-gradient(circle at 18% 0%, rgba(10, 143, 240, 0.22), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(55, 123, 255, 0.12), transparent 30rem),
        linear-gradient(180deg, #061524 0%, #050b13 70%);
}

.bots-shell {
    width: min(100% - 32px, 1220px);
    margin: 0 auto;
    padding: 142px 0 72px;
}

.bots-hero {
    display: grid;
    gap: 18px;
    max-width: 820px;
    margin-bottom: 34px;
}

.bots-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.bots-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: #bdd1e5;
    font-size: 17px;
    line-height: 1.65;
}

.bots-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bot-panel-card,
.bots-feature-board {
    border: 1px solid rgba(78, 165, 247, 0.24);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(20, 152, 255, 0.12), transparent 42%),
        rgba(6, 17, 30, 0.9);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.bot-panel-card {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 24px;
}

.bot-panel-top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #88cfff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bot-panel-top img {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.bot-panel-card h2,
.bots-feature-board h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 950;
}

.bot-panel-card p {
    margin: 0;
    color: #b8cde5;
    line-height: 1.55;
}

.bot-panel-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bot-panel-card li {
    color: #d8eaff;
    font-size: 14px;
}

.bot-panel-card li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: #159cff;
}

.bot-panel-card a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin-top: 6px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #159cff, #0876d8);
    text-decoration: none;
    font-weight: 950;
}

.bots-feature-board {
    display: grid;
    gap: 24px;
    margin-top: 20px;
    padding: 28px;
}

.bots-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bots-feature-grid article {
    padding: 18px;
    border: 1px solid rgba(78, 165, 247, 0.18);
    border-radius: 18px;
    background: rgba(3, 10, 18, 0.42);
}

.bots-feature-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.bots-feature-grid span {
    color: #b8cde5;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .bots-panel-grid,
    .bots-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Twitch dashboard spacing fix */
.dashboard-shell.se-dashboard .dashboard-workspace {
    padding-top: 72px !important;
}

.dashboard-shell.se-dashboard .dashboard-status-header {
    min-height: 78px !important;
    margin: 0 0 34px !important;
    padding: 16px 20px !important;
}

.dashboard-shell.se-dashboard .workspace-heading {
    margin-bottom: 30px !important;
}

.dashboard-shell.se-dashboard .workspace-heading h1 {
    margin-bottom: 10px !important;
}

.dashboard-shell.se-dashboard .studio-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
    gap: 18px !important;
    align-items: start !important;
}

.dashboard-shell.se-dashboard .overview-card,
.dashboard-shell.se-dashboard .bot-status-card {
    display: grid !important;
    align-content: start !important;
    gap: 14px !important;
    min-height: 124px !important;
    padding: 24px !important;
    overflow: hidden !important;
}

.dashboard-shell.se-dashboard .overview-card h2,
.dashboard-shell.se-dashboard .bot-status-card h2 {
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

.dashboard-shell.se-dashboard .overview-status-stack {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.dashboard-shell.se-dashboard .quick-actions {
    align-items: center !important;
}

.dashboard-shell.se-dashboard .activity-log article,
.dashboard-shell.se-dashboard .command-status-list article {
    min-height: 58px !important;
    padding: 14px 16px !important;
}

.dashboard-shell.se-dashboard .overview-card:nth-child(4) {
    grid-column: 1 / -1 !important;
}

.dashboard-shell.se-dashboard .activity-sparkline {
    min-height: 74px !important;
    align-items: end !important;
}

@media (max-width: 1180px) {
    .dashboard-shell.se-dashboard .studio-overview-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Timer editor panel */
.dashboard-shell.se-dashboard .timer-editor-panel.timer-compose {
    display: block;
    width: min(100%, 1376px);
    margin: 0 auto;
    padding: 0;
    border: 1px solid rgba(64, 157, 246, 0.26);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(30, 163, 255, 0.15), transparent 28rem),
        linear-gradient(180deg, rgba(9, 24, 42, 0.98), rgba(5, 14, 26, 0.98));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.dashboard-shell.se-dashboard .timer-editor-panel[hidden] {
    display: none;
}

.dashboard-shell.se-dashboard .timer-editor-preview.timer-table-row {
    margin: 0;
    border-bottom: 1px solid rgba(79, 165, 246, 0.2) !important;
    background:
        linear-gradient(90deg, rgba(19, 90, 151, 0.26), transparent 42%),
        rgba(7, 18, 32, 0.92) !important;
}

.dashboard-shell.se-dashboard .timer-editor-body {
    display: grid;
    grid-template-columns: minmax(420px, 1.35fr) minmax(360px, 0.9fr);
    gap: 28px;
    padding: 30px;
}

.dashboard-shell.se-dashboard .timer-editor-left,
.dashboard-shell.se-dashboard .timer-editor-right {
    padding: 24px;
    border: 1px solid rgba(64, 157, 246, 0.2);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.62);
}

.dashboard-shell.se-dashboard .timer-editor-left,
.dashboard-shell.se-dashboard .timer-editor-right {
    display: grid;
    align-content: start;
    gap: 26px;
}

.dashboard-shell.se-dashboard .timer-field {
    display: grid;
    gap: 10px;
    color: #f7fbff;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-shell.se-dashboard .timer-field.compact {
    max-width: 300px;
}

.dashboard-shell.se-dashboard .timer-field input,
.dashboard-shell.se-dashboard .timer-field textarea,
.dashboard-shell.se-dashboard .timer-editor-panel input[type="text"],
.dashboard-shell.se-dashboard .timer-editor-panel textarea {
    border: 1px solid rgba(82, 154, 220, 0.28);
    border-radius: 12px;
    color: #eef3f9;
    background: rgba(3, 10, 18, 0.74);
    font-size: 14px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .timer-field input:focus,
.dashboard-shell.se-dashboard .timer-field textarea:focus,
.dashboard-shell.se-dashboard .timer-editor-panel input[type="text"]:focus,
.dashboard-shell.se-dashboard .timer-editor-panel textarea:focus {
    border-color: rgba(38, 169, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(20, 152, 255, 0.12);
}

.dashboard-shell.se-dashboard .timer-field textarea {
    min-height: 64px;
    padding: 12px;
}

.dashboard-shell.se-dashboard .timer-field small {
    color: #a4acb8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.dashboard-shell.se-dashboard .timer-field.compact small,
.dashboard-shell.se-dashboard .timer-field textarea + small {
    justify-self: end;
}

.dashboard-shell.se-dashboard .timer-add-message {
    justify-self: start;
    border: 1px solid rgba(64, 157, 246, 0.34);
    color: #fff;
    background: rgba(20, 152, 255, 0.16);
    box-shadow: none;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard .timer-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
}

.dashboard-shell.se-dashboard .timer-check input {
    width: 16px;
    height: 16px;
    accent-color: #6387ff;
}

.dashboard-shell.se-dashboard .timer-range-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 72px;
    align-items: center;
    gap: 32px;
}

.dashboard-shell.se-dashboard .timer-range-row input[type="range"] {
    width: 100%;
    min-height: 4px;
    padding: 0;
    accent-color: #6387ff;
    background: transparent;
}

.dashboard-shell.se-dashboard .timer-range-row input[type="number"] {
    width: 72px;
    min-height: 36px;
    padding: 0 8px;
    border-color: rgba(82, 154, 220, 0.28);
    border-radius: 12px;
    color: #fff;
    background: rgba(3, 10, 18, 0.74);
    text-align: center;
    font-size: 16px;
}

.dashboard-shell.se-dashboard .range-label {
    margin-top: 8px;
}

.dashboard-shell.se-dashboard .timer-help {
    margin: -8px 0 0;
    color: #a4acb8;
    font-size: 12px;
    line-height: 1.45;
}

.dashboard-shell.se-dashboard .timer-editor-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 18px 30px;
    border-top: 1px solid rgba(79, 165, 246, 0.2);
    background: rgba(4, 13, 24, 0.82);
}

.dashboard-shell.se-dashboard .timer-cancel-button,
.dashboard-shell.se-dashboard .timer-activate-button {
    min-width: 118px;
    min-height: 40px;
    border-radius: 999px;
    text-transform: uppercase;
}

.dashboard-shell.se-dashboard .timer-cancel-button {
    border: 1px solid rgba(174, 205, 235, 0.38);
    background: transparent;
}

.dashboard-shell.se-dashboard .timer-activate-button {
    min-width: 180px;
    border: 0;
    background: linear-gradient(135deg, #19a2ff, #0876d8);
}

@media (max-width: 980px) {
    .dashboard-shell.se-dashboard .timer-editor-body {
        grid-template-columns: 1fr;
    }

    .dashboard-shell.se-dashboard .timer-range-row {
        grid-template-columns: 1fr 72px;
    }
}

/* Command board redesign */
.dashboard-shell.se-dashboard .command-board-section {
    padding-top: 22px;
}

.dashboard-shell.se-dashboard .command-board-head {
    width: min(100%, 1376px);
    margin: 0 auto 18px;
}

.dashboard-shell.se-dashboard .command-board-head h1 {
    font-size: clamp(30px, 2.4vw, 44px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.dashboard-shell.se-dashboard .command-tabs.settings-tabs {
    width: min(100%, 1376px);
    margin: 0 auto 24px;
    padding: 8px;
    border: 1px solid rgba(64, 157, 246, 0.24);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.86);
    box-shadow: none;
}

.dashboard-shell.se-dashboard .command-tabs button {
    min-height: 42px;
    border-radius: 12px;
    color: #a9bdd2;
    background: transparent;
    font-size: 13px;
    font-weight: 850;
}

.dashboard-shell.se-dashboard .command-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(20, 152, 255, 0.28), rgba(20, 152, 255, 0.12));
}

.dashboard-shell.se-dashboard .page-tab[data-page-panel="default"],
.dashboard-shell.se-dashboard .page-tab[data-page-panel="custom"] {
    width: min(100%, 1376px);
    margin: 0 auto;
}

.dashboard-shell.se-dashboard .page-tab[data-page-panel="default"]:not(.is-active),
.dashboard-shell.se-dashboard .page-tab[data-page-panel="custom"]:not(.is-active) {
    display: none;
}

.dashboard-shell.se-dashboard .command-toolbar {
    justify-content: flex-end;
    margin: 0 0 12px;
}

.dashboard-shell.se-dashboard .command-toolbar select {
    width: 220px;
    min-height: 38px;
}

.dashboard-shell.se-dashboard .default-command-list {
    display: grid !important;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(64, 157, 246, 0.24);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.88);
}

.dashboard-shell.se-dashboard .default-command-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 70px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(64, 157, 246, 0.15) !important;
    border-radius: 0 !important;
    background: rgba(7, 18, 32, 0.86) !important;
    box-shadow: none !important;
}

.dashboard-shell.se-dashboard .default-command-item:nth-child(even) {
    background: rgba(10, 28, 48, 0.78) !important;
}

.dashboard-shell.se-dashboard .default-command-item:last-child {
    border-bottom: 0 !important;
}

.dashboard-shell.se-dashboard .default-command-item strong {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: #f8fbff;
    font-size: 15px;
}

.dashboard-shell.se-dashboard .default-command-item span:not(.toggle span):not(.status-pill) {
    color: #a8bdd3;
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-shell.se-dashboard .command-compose-panel {
    display: block;
    margin: 0 0 22px;
    padding: 0;
    border: 1px solid rgba(64, 157, 246, 0.26);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(30, 163, 255, 0.12), transparent 28rem),
        linear-gradient(180deg, rgba(9, 24, 42, 0.98), rgba(5, 14, 26, 0.98));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.dashboard-shell.se-dashboard .command-compose-panel[hidden] {
    display: none;
}

.dashboard-shell.se-dashboard .command-editor-preview {
    display: grid;
    grid-template-columns: 78px 180px minmax(260px, 1fr) 56px;
    align-items: center;
    min-height: 56px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(79, 165, 246, 0.2);
    background:
        linear-gradient(90deg, rgba(19, 90, 151, 0.26), transparent 42%),
        rgba(7, 18, 32, 0.92);
}

.dashboard-shell.se-dashboard .command-editor-preview strong {
    color: #f7fbff;
    font-size: 14px;
}

.dashboard-shell.se-dashboard .command-editor-preview span {
    color: #a8bdd3;
    font-size: 13px;
}

.dashboard-shell.se-dashboard .command-editor-body {
    display: grid;
    grid-template-columns: minmax(420px, 1.35fr) minmax(320px, 0.85fr);
    gap: 28px;
    padding: 30px;
}

.dashboard-shell.se-dashboard .command-editor-card,
.dashboard-shell.se-dashboard .command-import-panel,
.dashboard-shell.se-dashboard .command-status-panel {
    border: 1px solid rgba(64, 157, 246, 0.2);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.64);
}

.dashboard-shell.se-dashboard .command-editor-card {
    display: grid;
    gap: 20px;
    padding: 24px;
}

.dashboard-shell.se-dashboard .command-compose-panel label,
.dashboard-shell.se-dashboard .command-import-panel h2,
.dashboard-shell.se-dashboard .command-status-panel h2 {
    color: #f7fbff;
    font-size: 14px;
    font-weight: 850;
}

.dashboard-shell.se-dashboard .command-compose-panel label {
    display: grid;
    gap: 10px;
}

.dashboard-shell.se-dashboard .command-compose-panel input,
.dashboard-shell.se-dashboard .command-compose-panel textarea,
.dashboard-shell.se-dashboard .command-compose-panel select,
.dashboard-shell.se-dashboard .command-import-panel textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(82, 154, 220, 0.28);
    border-radius: 12px;
    color: #eef3f9;
    background: rgba(3, 10, 18, 0.74);
    font-size: 14px;
    font-weight: 650;
}

.dashboard-shell.se-dashboard .command-compose-panel textarea,
.dashboard-shell.se-dashboard .command-import-panel textarea {
    min-height: 82px;
    padding: 12px;
    resize: vertical;
}

.dashboard-shell.se-dashboard .command-editor-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 18px 30px;
    border-top: 1px solid rgba(79, 165, 246, 0.2);
    background: rgba(4, 13, 24, 0.82);
}

.dashboard-shell.se-dashboard .command-import-panel,
.dashboard-shell.se-dashboard .command-status-panel {
    display: grid;
    gap: 14px;
    margin: 0 0 18px;
    padding: 22px;
}

.dashboard-shell.se-dashboard .command-import-panel p {
    margin: 0;
    color: #a8bdd3;
    font-size: 13px;
    line-height: 1.5;
}

.dashboard-shell.se-dashboard .command-import-panel button {
    justify-self: start;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1aa2ff, #0876d8);
    font-weight: 900;
}

.dashboard-shell.se-dashboard .custom-command-list {
    display: grid !important;
    gap: 0 !important;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid rgba(64, 157, 246, 0.24);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.9);
}

.dashboard-shell.se-dashboard .custom-command-list article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 66px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(64, 157, 246, 0.15) !important;
    border-radius: 0 !important;
    background: rgba(7, 18, 32, 0.9) !important;
    box-shadow: none !important;
}

.dashboard-shell.se-dashboard .custom-command-list article:nth-child(even) {
    background: rgba(10, 28, 48, 0.82) !important;
}

.dashboard-shell.se-dashboard .custom-command-list article:last-child {
    border-bottom: 0 !important;
}

.dashboard-shell.se-dashboard .custom-command-list article button {
    min-width: 96px;
    min-height: 36px;
    border: 1px solid rgba(255, 93, 124, 0.32);
    border-radius: 999px;
    color: #ff9aaa;
    background: rgba(255, 74, 110, 0.1);
    font-weight: 850;
}

@media (max-width: 980px) {
    .dashboard-shell.se-dashboard .command-board-head {
        align-items: start;
    }

    .dashboard-shell.se-dashboard .command-editor-body,
    .dashboard-shell.se-dashboard .command-editor-preview {
        grid-template-columns: 1fr;
    }
}

.module-pill-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(64, 157, 246, 0.24);
    border-radius: 999px;
    color: #cfe7ff;
    background: rgba(20, 152, 255, 0.1);
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
}

.module-pill-grid a:hover {
    color: #fff;
    border-color: rgba(64, 157, 246, 0.48);
    background: rgba(20, 152, 255, 0.18);
}

/* Twitch dashboard topbar cleanup */
body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar {
    width: 100%;
    padding-right: 24px !important;
    display: flex;
    justify-content: flex-end;
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar .topbar-right {
    width: 100%;
    justify-content: flex-end;
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar .account-widget {
    margin-left: 0;
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar .bot-news-button {
    min-height: 40px;
}

body[data-page="dashboard"]:not(.settings-saas-page) .home-topbar .creator-corner-link {
    display: none !important;
}

/* Relay-inspired home page */
body[data-page="home"] {
    --ssb-blue: #ffffff;
    --ssb-blue-strong: #ffffff;
    --ssb-ink: #f7f7f5;
    --ssb-muted: #a7a7a0;
    --ssb-line: rgba(255, 255, 255, 0.12);
    --ssb-panel: rgba(255, 255, 255, 0.045);
    --ssb-panel-strong: rgba(12, 12, 12, 0.94);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 32rem),
        linear-gradient(180deg, #050505 0%, #090909 52%, #030303 100%);
    color: var(--ssb-ink);
}

body[data-page="home"] .ssb-main-topbar {
    top: 16px;
    width: min(100% - 32px, 1160px);
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.78);
    padding: 0 10px 0 12px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

body[data-page="home"] .ssb-main-brand {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0 10px 0 4px;
    text-transform: lowercase;
}

body[data-page="home"] .ssb-main-brand::before {
    content: "S";
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: #f7f7f5;
    color: #050505;
    font-size: 18px;
    font-weight: 950;
}

body[data-page="home"] .ssb-main-brand img {
    display: none;
}

body[data-page="home"] .ssb-main-brand span {
    font-size: 18px;
    font-weight: 900;
}

.ssb-main-nav {
    gap: 4px;
    margin: 0 auto;
}

.ssb-main-nav a,
body[data-page="home"] .bot-news-button,
body[data-page="home"] .topbar-login {
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #c7c7c1;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 750;
    text-transform: none;
}

.ssb-main-nav a:hover,
body[data-page="home"] .bot-news-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

body[data-page="home"] .topbar-login {
    background: #f7f7f5;
    color: #050505;
    box-shadow: none;
}

body[data-page="home"] .avatar-button {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.ssb-main {
    width: min(100% - 44px, 1120px);
    padding: 108px 0 76px;
}

.ssb-hero {
    min-height: calc(100vh - 126px);
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.ssb-hero-copy {
    display: grid;
    justify-items: center;
}

.ssb-kicker {
    margin-bottom: 18px;
    color: #dcdcd6;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.ssb-hero h1 {
    max-width: 900px;
    font-size: clamp(54px, 9vw, 118px);
    font-weight: 950;
    line-height: 0.9;
}

.ssb-lead {
    max-width: 710px;
    margin-top: 24px;
    color: var(--ssb-muted);
    font-size: 17px;
    line-height: 1.62;
}

.ssb-hero-actions {
    justify-content: center;
    margin-top: 30px;
}

.ssb-primary,
.ssb-secondary {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 850;
}

.ssb-primary {
    background: #f7f7f5;
    color: #050505;
    box-shadow: none;
}

.ssb-secondary {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
    color: #f7f7f5;
}

.ssb-live-stats {
    width: min(100%, 720px);
    max-width: none;
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ssb-stat {
    min-height: 94px;
    display: grid;
    align-content: center;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 16px 22px;
    text-align: center;
}

.ssb-stat:last-child {
    border-right: 0;
}

.ssb-stat span {
    color: #8d8d88;
    font-size: 12px;
}

.ssb-stat strong {
    margin-top: 9px;
    color: #f7f7f5;
    font-size: 32px;
}

.ssb-hero-panel {
    width: min(100%, 780px);
    min-height: 260px;
    margin-top: 4px;
}

.ssb-logo-orbit {
    width: 116px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background: #f7f7f5;
    box-shadow: none;
}

.ssb-logo-orbit img {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    box-shadow: none;
}

.ssb-preview-window {
    right: auto;
    bottom: 0;
    width: min(100%, 610px);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.94);
    box-shadow: 0 28px 95px rgba(0, 0, 0, 0.42);
}

.ssb-window-head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ssb-window-head span {
    background: rgba(255, 255, 255, 0.24);
}

.ssb-window-head span:nth-child(2),
.ssb-window-head span:nth-child(3) {
    background: rgba(255, 255, 255, 0.16);
}

.ssb-window-body {
    grid-template-columns: 178px minmax(0, 1fr);
}

.ssb-window-body aside {
    border-right-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.025);
}

.ssb-window-body aside span,
.ssb-window-body section article {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.ssb-window-body aside .active {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ssb-platforms,
.ssb-modules,
.ssb-start {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-top: 58px;
    padding: 54px 0 0;
}

.ssb-section-head {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 26px;
    text-align: center;
}

.ssb-section-head h2,
.ssb-start h2 {
    max-width: 680px;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 950;
    line-height: 0.96;
}

.ssb-platform-grid,
.ssb-module-grid,
.ssb-start-steps {
    gap: 12px;
}

.ssb-platform-card,
.ssb-module-grid article,
.ssb-start-steps article {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    padding: 22px;
}

.ssb-platform-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-2px);
}

.ssb-platform-card span,
.ssb-module-grid span {
    width: auto;
    height: auto;
    display: inline;
    border-radius: 0;
    background: transparent;
    color: #8d8d88;
    font-size: 13px;
}

.ssb-platform-card strong,
.ssb-module-grid strong {
    margin-top: 22px;
    font-size: 18px;
}

.ssb-platform-card p,
.ssb-module-grid p,
.ssb-start-steps span {
    color: var(--ssb-muted);
    font-size: 14px;
    line-height: 1.55;
}

.ssb-platform-card b {
    color: #f7f7f5;
}

.ssb-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssb-start {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
}

.ssb-start-steps b {
    background: #f7f7f5;
    color: #050505;
}

.ssb-main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #030303;
}

.ssb-main-footer a,
.ssb-main-footer nav a {
    color: #b8b8b1;
}

.ssb-footer-brand {
    text-transform: lowercase;
}

@media (max-width: 980px) {
    .ssb-hero {
        min-height: auto;
        padding-top: 44px;
    }

    .ssb-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ssb-start {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .ssb-main-topbar {
        top: 10px;
        width: min(100% - 20px, 1160px);
    }

    body[data-page="home"] .bot-news-button {
        display: none;
    }

    .ssb-main {
        width: min(100% - 24px, 1120px);
        padding-top: 96px;
    }

    .ssb-hero h1 {
        font-size: 52px;
    }

    .ssb-live-stats {
        grid-template-columns: 1fr;
    }

    .ssb-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ssb-stat:last-child {
        border-bottom: 0;
    }

    .ssb-hero-panel {
        min-height: 430px;
    }

    .ssb-preview-window {
        margin-top: 0;
    }

    .ssb-window-body,
    .ssb-module-grid {
        grid-template-columns: 1fr;
    }
}

/* Relay panel pass for the 3-bot landing */
body[data-page="home"] {
    background:
        radial-gradient(circle at 42% -8%, rgba(255, 255, 255, 0.12), transparent 28rem),
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.055), transparent 24rem),
        linear-gradient(180deg, #050505 0%, #080808 48%, #030303 100%);
}

.ssb-main {
    width: min(100% - 44px, 1180px);
}

.ssb-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.72fr);
    gap: 54px;
    justify-items: stretch;
    text-align: left;
}

.ssb-hero-copy {
    justify-items: start;
}

.ssb-hero h1 {
    max-width: 760px;
    font-size: clamp(58px, 7.6vw, 108px);
}

.ssb-lead {
    max-width: 640px;
}

.ssb-hero-actions {
    justify-content: flex-start;
}

.ssb-live-stats {
    width: min(100%, 620px);
}

.ssb-command-panel {
    min-height: 0;
    align-self: center;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
        rgba(9, 9, 9, 0.88);
    padding: 14px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.ssb-panel-top {
    min-height: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 12px;
}

.ssb-panel-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f7f7f5;
    color: #050505;
    font-size: 20px;
    font-weight: 950;
}

.ssb-panel-top strong,
.ssb-command-row strong,
.ssb-panel-metrics strong {
    color: #f7f7f5;
}

.ssb-panel-top small,
.ssb-panel-top b,
.ssb-command-row em,
.ssb-panel-metrics span {
    color: #9f9f98;
    font-style: normal;
}

.ssb-panel-top b {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 12px;
}

.ssb-command-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.ssb-command-row span {
    grid-row: span 2;
    color: #7e7e78;
    font-size: 13px;
    font-weight: 900;
}

.ssb-command-row strong {
    font-size: 17px;
}

.ssb-command-row.is-active {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.ssb-panel-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ssb-panel-metrics article {
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
}

.ssb-bot-grid,
.ssb-pipeline-grid {
    display: grid;
    gap: 12px;
}

.ssb-bot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ssb-bot-card {
    min-height: 310px;
    display: grid;
    align-content: start;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 46%),
        rgba(255, 255, 255, 0.032);
    color: #f7f7f5;
    padding: 22px;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ssb-bot-card:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), transparent 46%),
        rgba(255, 255, 255, 0.052);
    transform: translateY(-2px);
}

.ssb-bot-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.ssb-bot-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ssb-bot-card small {
    color: #81817b;
    font-size: 13px;
    font-weight: 950;
}

.ssb-bot-card strong {
    font-size: 26px;
    line-height: 1;
}

.ssb-bot-card p {
    margin: 0;
    color: #a7a7a0;
    font-size: 14px;
    line-height: 1.58;
}

.ssb-bot-card div {
    display: grid;
    gap: 7px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.ssb-bot-card b {
    color: #f7f7f5;
}

.ssb-bot-card i {
    color: #9f9f98;
    font-size: 13px;
    font-style: normal;
}

.ssb-pipeline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ssb-pipeline-grid article {
    min-height: 210px;
    display: grid;
    align-content: start;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.032);
    padding: 22px;
}

.ssb-pipeline-grid span {
    color: #7e7e78;
    font-size: 13px;
    font-weight: 950;
}

.ssb-pipeline-grid strong {
    color: #f7f7f5;
    font-size: 19px;
}

.ssb-pipeline-grid p {
    margin: 0;
    color: #a7a7a0;
    font-size: 14px;
    line-height: 1.58;
}

.ssb-modules {
    position: relative;
}

.ssb-module-grid article {
    min-height: 190px;
}

.ssb-start {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.075), transparent 42%),
        rgba(255, 255, 255, 0.035);
    padding: 28px;
}

@media (max-width: 980px) {
    .ssb-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ssb-hero-copy {
        justify-items: center;
    }

    .ssb-hero-actions {
        justify-content: center;
    }

    .ssb-bot-grid,
    .ssb-pipeline-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ssb-hero h1 {
        font-size: 50px;
    }

    .ssb-command-panel {
        padding: 10px;
    }

    .ssb-panel-top,
    .ssb-command-row,
    .ssb-panel-metrics {
        grid-template-columns: 1fr;
    }

    .ssb-command-row span {
        grid-row: auto;
    }

    .ssb-bot-card {
        min-height: 260px;
    }

    .ssb-start {
        padding: 22px;
    }
}

/* Blue accent pass */
body[data-page="home"] {
    --ssb-accent: #168cff;
    --ssb-accent-soft: rgba(22, 140, 255, 0.18);
    --ssb-accent-line: rgba(61, 160, 255, 0.34);
    background:
        radial-gradient(circle at 18% 6%, rgba(22, 140, 255, 0.22), transparent 31rem),
        radial-gradient(circle at 88% 20%, rgba(62, 166, 255, 0.15), transparent 27rem),
        radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.08), transparent 26rem),
        linear-gradient(180deg, #05080d 0%, #07101a 48%, #030509 100%);
}

body[data-page="home"] .ssb-main-topbar,
.ssb-command-panel,
.ssb-bot-card,
.ssb-pipeline-grid article,
.ssb-module-grid article,
.ssb-start {
    border-color: rgba(55, 153, 255, 0.2);
}

body[data-page="home"] .ssb-main-brand::before,
.ssb-primary,
.ssb-panel-mark,
.ssb-start-steps b {
    background: linear-gradient(135deg, #4db2ff, #0978e5);
    color: #fff;
}

.ssb-primary {
    box-shadow: 0 18px 50px rgba(22, 140, 255, 0.28);
}

.ssb-secondary,
.ssb-main-nav a:hover,
body[data-page="home"] .bot-news-button:hover {
    border-color: var(--ssb-accent-line);
    background: rgba(22, 140, 255, 0.12);
}

body[data-page="home"] .topbar-login {
    background: linear-gradient(135deg, #4db2ff, #0978e5);
    color: #fff;
}

.ssb-kicker,
.ssb-platform-card b,
.ssb-bot-card i,
.ssb-pipeline-grid span,
.ssb-module-grid span {
    color: #61b8ff;
}

.ssb-live-stats {
    border-color: rgba(61, 160, 255, 0.24);
}

.ssb-stat {
    border-color: rgba(61, 160, 255, 0.2);
}

.ssb-stat strong {
    color: #d9efff;
}

.ssb-command-panel {
    background:
        radial-gradient(circle at 20% 0%, rgba(22, 140, 255, 0.18), transparent 18rem),
        linear-gradient(180deg, rgba(33, 132, 255, 0.08), transparent 38%),
        rgba(7, 12, 20, 0.9);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.36),
        0 0 70px rgba(22, 140, 255, 0.13);
}

.ssb-panel-top,
.ssb-command-row,
.ssb-panel-metrics article {
    border-color: rgba(61, 160, 255, 0.2);
    background: rgba(22, 140, 255, 0.045);
}

.ssb-panel-top b {
    border-color: rgba(61, 160, 255, 0.32);
    color: #84c8ff;
}

.ssb-command-row.is-active {
    border-color: rgba(76, 178, 255, 0.52);
    background:
        linear-gradient(90deg, rgba(22, 140, 255, 0.18), transparent 72%),
        rgba(22, 140, 255, 0.09);
}

.ssb-command-row.is-active span,
.ssb-command-row.is-active em {
    color: #84c8ff;
}

.ssb-bot-card {
    background:
        radial-gradient(circle at 14% 0%, rgba(22, 140, 255, 0.14), transparent 16rem),
        linear-gradient(180deg, rgba(52, 156, 255, 0.08), transparent 48%),
        rgba(7, 13, 22, 0.68);
}

.ssb-bot-card:hover {
    border-color: rgba(76, 178, 255, 0.48);
    background:
        radial-gradient(circle at 14% 0%, rgba(22, 140, 255, 0.22), transparent 16rem),
        linear-gradient(180deg, rgba(52, 156, 255, 0.12), transparent 48%),
        rgba(8, 18, 30, 0.82);
}

.ssb-bot-icon {
    border-color: rgba(76, 178, 255, 0.32);
    background: rgba(22, 140, 255, 0.13);
}

.ssb-bot-card div,
.ssb-start {
    border-color: rgba(61, 160, 255, 0.2);
}

.ssb-pipeline-grid article,
.ssb-module-grid article {
    background:
        linear-gradient(180deg, rgba(22, 140, 255, 0.075), transparent 46%),
        rgba(7, 13, 22, 0.58);
}

.ssb-pipeline-grid article:hover,
.ssb-module-grid article:hover {
    border-color: rgba(76, 178, 255, 0.42);
}

.ssb-start {
    background:
        radial-gradient(circle at 18% 0%, rgba(22, 140, 255, 0.18), transparent 18rem),
        linear-gradient(90deg, rgba(22, 140, 255, 0.11), transparent 46%),
        rgba(7, 13, 22, 0.68);
}

/* Relay screenshot composition pass */
body[data-page="home"] {
    --ssb-accent: #128bff;
    --ssb-accent-bright: #29a8ff;
    background:
        radial-gradient(ellipse at 50% 18%, rgba(18, 139, 255, 0.15), transparent 34rem),
        radial-gradient(ellipse at 50% 12%, rgba(18, 139, 255, 0.12), transparent 42rem),
        linear-gradient(180deg, #05080d 0%, #05070b 52%, #030406 100%);
}

body[data-page="home"] .ssb-main-topbar {
    top: 0;
    width: 100%;
    height: 74px;
    border: 0;
    border-bottom: 1px solid rgba(44, 144, 255, 0.16);
    border-radius: 0;
    background: rgba(5, 7, 10, 0.94);
    padding: 0 48px;
    box-shadow: none;
}

body[data-page="home"] .ssb-main-brand {
    gap: 10px;
    min-height: 44px;
    padding: 0;
    text-transform: lowercase;
}

body[data-page="home"] .ssb-main-brand::before {
    display: none;
}

body[data-page="home"] .ssb-main-brand img {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(18, 139, 255, 0.58));
}

body[data-page="home"] .ssb-main-brand span {
    color: #f7fbff;
    font-size: 18px;
    font-weight: 900;
    text-transform: none;
}

.ssb-main-nav {
    margin: 0 22px 0 auto;
    gap: 26px;
}

.ssb-main-nav a,
body[data-page="home"] .bot-news-button {
    min-height: 40px;
    padding: 0;
    color: #9098a3;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 650;
}

.ssb-main-nav a:hover,
body[data-page="home"] .bot-news-button:hover {
    color: #dceeff;
    background: transparent;
}

body[data-page="home"] .topbar-login {
    min-height: 38px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #23a4ff, #0877e8);
    color: #fff;
    padding: 0 18px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 850;
}

.ssb-main {
    width: min(100% - 64px, 1240px);
    padding: 74px 0 76px;
}

.ssb-hero {
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 0;
    padding: 54px 0 44px;
    text-align: center;
}

.ssb-hero-copy {
    justify-items: center;
}

.ssb-hero .ssb-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    margin: 0 0 36px;
    border: 1px solid rgba(18, 139, 255, 0.34);
    background: rgba(18, 139, 255, 0.08);
    color: #49b9ff;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ssb-hero h1 {
    max-width: 930px;
    color: #f8fbff;
    font-size: clamp(68px, 7.2vw, 108px);
    font-weight: 950;
    line-height: 0.92;
    text-align: center;
}

.ssb-hero h1 span {
    color: var(--ssb-accent-bright);
    text-shadow: 0 0 38px rgba(18, 139, 255, 0.22);
}

.ssb-lead {
    max-width: 650px;
    margin-top: 28px;
    color: #9aa5b2;
    font-size: 20px;
    line-height: 1.55;
    text-align: center;
}

.ssb-hero-actions {
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.ssb-primary,
.ssb-secondary {
    min-height: 52px;
    border-radius: 0;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 900;
}

.ssb-primary {
    border: 1px solid #168cff;
    background: linear-gradient(135deg, #28a9ff, #0879e9);
    color: #fff;
    box-shadow: 0 20px 54px rgba(18, 139, 255, 0.24);
}

.ssb-secondary {
    border: 1px solid rgba(61, 160, 255, 0.18);
    background: rgba(3, 8, 14, 0.72);
    color: #9fb4c9;
}

.ssb-secondary:hover {
    border-color: rgba(61, 160, 255, 0.38);
    color: #dceeff;
    background: rgba(18, 139, 255, 0.08);
}

.ssb-live-stats {
    width: min(100%, 620px);
    margin-top: 66px;
    border: 0;
}

.ssb-stat {
    min-height: 68px;
    border-right: 0;
    background: transparent;
    padding: 0 16px;
}

.ssb-stat span {
    color: #4d545d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ssb-stat strong {
    margin-top: 4px;
    color: #f5f9ff;
    font-size: 30px;
}

.ssb-hero > .ssb-command-panel {
    display: none;
}

.ssb-bots-section {
    margin-top: 0;
}

@media (max-width: 760px) {
    body[data-page="home"] .ssb-main-topbar {
        padding: 0 16px;
    }

    .ssb-main-nav {
        display: none;
    }

    body[data-page="home"] .bot-news-button {
        display: none;
    }

    .ssb-main {
        width: min(100% - 24px, 1240px);
    }

    .ssb-hero h1 {
        font-size: 52px;
    }

    .ssb-lead {
        font-size: 16px;
    }

    .ssb-live-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ssb-stat {
        border-bottom: 0;
        padding: 0 8px;
    }
}

/* Relay lower sections pass */
.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section {
    width: min(100%, 720px);
    margin: 92px auto 0;
    border: 0;
    border-top: 1px solid rgba(44, 144, 255, 0.12);
    background: transparent;
    box-shadow: none;
    padding: 72px 0 0;
}

.ssb-workflow-section .ssb-section-head,
.ssb-modules .ssb-section-head,
.ssb-routing-section .ssb-section-head {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.ssb-workflow-section .ssb-section-head .ssb-kicker,
.ssb-modules .ssb-section-head .ssb-kicker,
.ssb-routing-section .ssb-section-head .ssb-kicker {
    margin: 0;
    color: #3db1ff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ssb-workflow-section .ssb-section-head h2,
.ssb-modules .ssb-section-head h2,
.ssb-routing-section .ssb-section-head h2 {
    margin: 0;
    max-width: 520px;
    color: #f6fbff;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.18;
    text-align: left;
}

.ssb-workflow-section .ssb-section-head p:not(.ssb-kicker),
.ssb-routing-section .ssb-section-head p:not(.ssb-kicker) {
    max-width: 470px;
    margin: 0;
    color: #8f9aa7;
    font-size: 13px;
    line-height: 1.62;
}

.ssb-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.12);
    border-radius: 0;
    background: #05070a;
}

.ssb-pipeline-grid article {
    min-height: 146px;
    border: 0;
    border-right: 1px solid rgba(44, 144, 255, 0.09);
    border-radius: 0;
    background: transparent;
    padding: 22px 20px;
}

.ssb-pipeline-grid article:last-child {
    border-right: 0;
}

.ssb-pipeline-grid span {
    color: rgba(22, 140, 255, 0.46);
    font-size: 34px;
    line-height: 1;
}

.ssb-pipeline-grid strong {
    margin-top: 8px;
    color: #f6fbff;
    font-size: 13px;
}

.ssb-pipeline-grid p {
    color: #98a4b1;
    font-size: 11px;
    line-height: 1.55;
}

.ssb-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.12);
    border-radius: 0;
    background: #05070a;
}

.ssb-module-grid article {
    min-height: 154px;
    border: 0;
    border-right: 1px solid rgba(44, 144, 255, 0.09);
    border-bottom: 1px solid rgba(44, 144, 255, 0.09);
    border-radius: 0;
    background: transparent;
    padding: 22px 20px;
}

.ssb-module-grid article:nth-child(3n) {
    border-right: 0;
}

.ssb-module-grid article:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.ssb-module-grid span {
    color: #3db1ff;
    font-size: 11px;
    font-weight: 950;
}

.ssb-module-grid strong {
    margin-top: 20px;
    color: #f6fbff;
    font-size: 13px;
}

.ssb-module-grid p {
    color: #98a4b1;
    font-size: 11px;
    line-height: 1.55;
}

.ssb-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ssb-route-grid article {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(44, 144, 255, 0.13);
    background: #05070a;
    padding: 14px;
}

.ssb-route-grid span {
    color: #7f8b99;
    font-size: 11px;
}

.ssb-route-grid b {
    color: #3db1ff;
}

.ssb-route-grid strong {
    color: #f6fbff;
    font-size: 11px;
}

.ssb-start {
    width: min(100%, 720px);
    margin: 92px auto 0;
}

@media (max-width: 760px) {
.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section,
.ssb-start {
        width: min(100%, 560px);
        margin-top: 58px;
        padding-top: 44px;
    }

    .ssb-pipeline-grid,
    .ssb-module-grid,
    .ssb-route-grid {
        grid-template-columns: 1fr;
    }

    .ssb-pipeline-grid article,
    .ssb-module-grid article,
    .ssb-module-grid article:nth-child(3n),
    .ssb-module-grid article:nth-last-child(-n + 3) {
        border-right: 0;
        border-bottom: 1px solid rgba(44, 144, 255, 0.09);
    }

    .ssb-pipeline-grid article:last-child,
    .ssb-module-grid article:last-child {
        border-bottom: 0;
    }
}

/* Russian polished pass */
body[data-page="home"] .ssb-main-brand {
    gap: 0;
}

body[data-page="home"] .ssb-main-brand::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    margin-right: 9px;
    border-radius: 3px;
    background: linear-gradient(135deg, #23a4ff, #0877e8);
    box-shadow: 0 0 22px rgba(18, 139, 255, 0.42);
}

body[data-page="home"] .ssb-main-brand img {
    display: none !important;
}

body[data-page="home"] .ssb-main-brand span {
    font-size: 17px;
    letter-spacing: 0;
}

.ssb-hero h1 {
    max-width: 1060px;
    font-size: clamp(58px, 6.4vw, 96px);
}

.ssb-bots-section {
    width: min(100%, 1060px);
    margin: 0 auto;
    border: 0;
    border-top: 1px solid rgba(44, 144, 255, 0.12);
    background: transparent;
    box-shadow: none;
    padding: 64px 0 0;
}

.ssb-bots-section .ssb-section-head {
    justify-items: start;
    text-align: left;
    margin-bottom: 28px;
}

.ssb-bots-section .ssb-section-head .ssb-kicker {
    margin: 0;
    color: #3db1ff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ssb-bots-section .ssb-section-head h2 {
    max-width: 560px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    text-align: left;
}

.ssb-bot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ssb-bot-card {
    min-height: 250px;
    border: 1px solid rgba(44, 144, 255, 0.18);
    border-radius: 0;
    background: #05070a;
    box-shadow: none;
    padding: 20px;
}

.ssb-bot-card:hover {
    border-color: rgba(61, 177, 255, 0.38);
    background: #060b11;
}

.ssb-bot-icon {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: rgba(18, 139, 255, 0.1);
}

.ssb-bot-icon img {
    width: 24px;
    height: 24px;
}

.ssb-bot-card small,
.ssb-bot-card i {
    color: #3db1ff;
}

.ssb-bot-card strong {
    font-size: 24px;
    line-height: 1.1;
}

.ssb-bot-card p {
    color: #a2aebb;
    font-size: 12px;
}

.ssb-bot-card div {
    border-top-color: rgba(44, 144, 255, 0.14);
}

.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section {
    width: min(100%, 720px);
}

.ssb-pipeline-grid,
.ssb-module-grid,
.ssb-route-grid article {
    border-color: rgba(44, 144, 255, 0.16);
    background: #05070a;
}

.ssb-pipeline-grid article,
.ssb-module-grid article {
    background: transparent;
}

.ssb-pipeline-grid strong,
.ssb-module-grid strong,
.ssb-route-grid strong {
    font-weight: 850;
}

.ssb-start {
    display: none;
}

.ssb-main-footer {
    margin-top: 92px;
}

.ssb-footer-brand img {
    display: none;
}

@media (max-width: 980px) {
    .ssb-bots-section {
        width: min(100%, 720px);
    }

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

/* Unified lower panels */
.ssb-bots-section,
.ssb-workflow-section,
.ssb-modules,
.ssb-routing-section {
    width: min(100%, 720px);
    margin: 86px auto 0;
    border-top: 1px solid rgba(44, 144, 255, 0.13);
    padding-top: 58px;
}

.ssb-bots-section .ssb-section-head,
.ssb-workflow-section .ssb-section-head,
.ssb-modules .ssb-section-head,
.ssb-routing-section .ssb-section-head {
    margin-bottom: 28px;
}

.ssb-bots-section .ssb-section-head h2,
.ssb-workflow-section .ssb-section-head h2,
.ssb-modules .ssb-section-head h2,
.ssb-routing-section .ssb-section-head h2 {
    max-width: 520px;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.16;
}

.ssb-bot-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.16);
    background: #05070a;
}

.ssb-bot-card {
    min-height: 220px;
    border: 0;
    border-right: 1px solid rgba(44, 144, 255, 0.1);
    background: transparent;
    padding: 18px;
}

.ssb-bot-card:last-child {
    border-right: 0;
}

.ssb-bot-card:hover {
    background: rgba(18, 139, 255, 0.035);
}

.ssb-bot-icon {
    width: 36px;
    height: 36px;
}

.ssb-bot-icon img {
    width: 20px;
    height: 20px;
}

.ssb-bot-card strong {
    font-size: 19px;
}

.ssb-bot-card p {
    font-size: 11px;
    line-height: 1.55;
}

.ssb-bot-card div {
    padding-top: 12px;
}

.ssb-bot-card div b,
.ssb-bot-card div i {
    font-size: 11px;
}

.ssb-route-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 144, 255, 0.16);
    background: #05070a;
}

.ssb-route-grid article {
    min-height: 82px;
    border: 0;
    border-right: 1px solid rgba(44, 144, 255, 0.1);
    background: transparent;
}

.ssb-route-grid article:last-child {
    border-right: 0;
}

@media (max-width: 760px) {
    .ssb-bot-grid,
    .ssb-route-grid {
        grid-template-columns: 1fr;
    }

    .ssb-bot-card,
    .ssb-bot-card:last-child,
    .ssb-route-grid article,
    .ssb-route-grid article:last-child {
        border-right: 0;
        border-bottom: 1px solid rgba(44, 144, 255, 0.1);
    }

    .ssb-bot-card:last-child,
    .ssb-route-grid article:last-child {
        border-bottom: 0;
    }
}

/* Final bot header override */
.ssb-bot-card {
    position: relative;
    overflow: hidden;
    padding-top: 92px;
}

.ssb-bot-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 76px;
    border-bottom: 1px solid rgba(44, 144, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(18, 139, 255, 0.2), rgba(18, 139, 255, 0.045) 55%, transparent),
        rgba(7, 15, 26, 0.78);
    pointer-events: none;
}

.ssb-bot-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 18px;
    border-top: 1px solid rgba(61, 177, 255, 0.22);
    border-right: 1px solid rgba(61, 177, 255, 0.22);
    pointer-events: none;
}

.ssb-bot-card .ssb-bot-icon {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
}

.ssb-bot-card small {
    position: absolute;
    z-index: 1;
    top: 28px;
    left: 66px;
    margin: 0;
}

.ssb-bot-card strong,
.ssb-bot-card p,
.ssb-bot-card div {
    position: relative;
    z-index: 1;
}

/* Final home topbar zoom-safe fit */
body[data-page="home"] .ssb-main-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-brand,
body[data-page="home"] .topbar-right,
body[data-page="home"] .topbar-dashboard-link,
body[data-page="home"] .account-widget {
    flex: 0 0 auto;
}

body[data-page="home"] .ssb-main-nav {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: clamp(18px, 1.6vw, 34px);
    overflow: hidden;
}

body[data-page="home"] .ssb-main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
}

body[data-page="home"] .topbar-right {
    min-width: 0;
    justify-content: flex-end;
}

body[data-page="home"] .bot-news-button {
    display: none;
}

@media (max-width: 1420px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(7) {
        display: none;
    }
}

@media (max-width: 1280px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(5) {
        display: none;
    }
}

@media (max-width: 1180px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1060px) {
    body[data-page="home"] .ssb-main-nav a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 940px) {
    body[data-page="home"] .ssb-main-nav {
        display: none;
    }
}

@media (max-width: 620px) {
    body[data-page="home"] .ssb-main-brand small {
        display: none;
    }

    body[data-page="home"] .topbar-dashboard-link {
        min-width: 92px;
        padding: 0 14px;
    }
}

@media (max-width: 460px) {
    body[data-page="home"] .topbar-dashboard-link {
        display: none;
    }
}
