@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════════════
   SPECHSHOP PREMIUM × SECC 20X — BLACK & GOLD PROFESSIONAL UI
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
    /* SpechShop Core Palette */
    --bg: #050505;
    --bg2: #0c0c0c;
    --bg3: #111111;
    --card: #121212;
    --card-hover: #181818;
    --border: #222222;
    --border-soft: #1a1a1a;
    --text: #f5f5f5;
    --muted: #6b6b6b;
    --soft: #a3a3a3;
    --yellow: #f5c518;
    --yellow-bright: #ffd60a;
    --yellow-dim: rgba(245, 197, 24, 0.12);
    --yellow-border: rgba(245, 197, 24, 0.35);
    --green: #34d399;
    --red: #f87171;
    --orange: #fbbf24;
    --radius: 10px;
    --radius-lg: 16px;
    --font: 'Outfit', system-ui, -apple-system, sans-serif;
    --display: 'Sora', 'Outfit', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Legacy Aliases Mapped to SpechShop Black & Gold */
    --bg-deep: #050505;
    --bg-panel: #121212;
    --bg-hover: #181818;
    --text-main: #f5f5f5;
    --text-muted: #8a8a8a;
    --accent: #f5c518;
    --accent-glow: rgba(245, 197, 24, 0.35);
    --cyan: #f5c518;
    --danger: #f87171;
    --success: #34d399;
    --warning: #fbbf24;
    --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-code: 'IBM Plex Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 197, 24, 0.08), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 40%, #050505 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOPNAV (SPECHSHOP BAR)
   ═══════════════════════════════════════════════════════════════════════════ */
.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 1.25rem;
    min-height: 68px;
}

.topnav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow) 20%, var(--yellow-bright) 50%, var(--yellow) 80%, transparent);
    opacity: 0.85;
}

.topnav-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
    letter-spacing: -0.02em;
    z-index: 2;
    transition: transform 0.2s;
    cursor: pointer;
}

.brand:hover {
    transform: scale(1.02);
}

.brand .logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

.brand .logo-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.3)); }
    50%      { filter: drop-shadow(0 0 14px rgba(245, 197, 24, 0.6)); }
}

.brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.14rem;
    line-height: 1.05;
}

.brand-text {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.brand-text span {
    color: var(--yellow);
    font-weight: 800;
}

.brand-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #86efac;
    line-height: 1;
}

.brand-online strong {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #4ade80;
}

.brand-online em {
    font-style: normal;
    color: rgba(134, 239, 172, 0.78);
    font-weight: 600;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: onlinePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes onlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.nav-burger-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.85rem 0.48rem 0.68rem;
    border-radius: 12px;
    border: 1px solid rgba(245, 197, 24, 0.28);
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.12) 0%, rgba(20, 20, 20, 0.95) 100%);
    color: var(--yellow);
    cursor: pointer;
    transition: all 0.22s var(--ease);
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.nav-burger-modern:hover {
    border-color: var(--yellow);
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.22) 0%, rgba(30, 30, 30, 0.98) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.15);
}

.burger-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    height: 14px;
}

.burger-box span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: transform 0.24s ease, opacity 0.2s ease;
}

.burger-text {
    line-height: 1;
}

/* Quick Nav Pills in Topbar (Desktop) */
.topnav-center {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.topnav-center::-webkit-scrollbar { display: none; }

@media (max-width: 980px) {
    .topnav-center { display: none; }
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--soft);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s var(--ease);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: rgba(245, 197, 24, 0.08);
    color: var(--text);
    border-color: rgba(245, 197, 24, 0.18);
}

.nav-btn.active {
    background: var(--yellow-dim);
    color: var(--yellow);
    border-color: var(--yellow-border);
    box-shadow: inset 0 0 12px rgba(245, 197, 24, 0.05);
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    z-index: 2;
}

.balance-pill {
    background: var(--yellow-dim);
    color: var(--yellow);
    border: 1px solid var(--yellow-border);
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: 0.2s var(--ease);
}

.balance-pill:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--yellow);
    transform: translateY(-1px);
}

.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem 0.25rem 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #121212;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font);
    transition: 0.2s var(--ease);
}

.nav-user:hover {
    border-color: var(--yellow-border);
    background: #161616;
}

.nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), #c9a012);
    color: #0a0a0a;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.78rem;
    font-family: var(--display);
}

.nav-user-name {
    font-size: 0.8rem;
    font-weight: 700;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SLIDE-OUT DRAWER MENU (SPECHSHOP .nav-mobile)
   ═══════════════════════════════════════════════════════════════════════════ */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(380px, 92vw);
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #111111 0%, #080808 100%);
    border-right: 1px solid var(--yellow-border);
    display: flex;
    flex-direction: column;
    transform: translateX(-104%);
    transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
    box-shadow: 25px 0 70px rgba(0, 0, 0, 0.75);
    z-index: 12050;
    overflow: hidden;
}

.sidebar.open {
    transform: translateX(0);
}

.nav-mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.14) 0%, rgba(10, 10, 10, 0.6) 100%);
}

.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), #b8860b);
    color: #0a0a0a;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    font-family: var(--display);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.35);
    flex-shrink: 0;
}

.shop-kicker {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--yellow);
    letter-spacing: 0.1em;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-profile-name {
    display: block;
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.nav-profile-role {
    margin: 0.18rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.nav-mobile-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #181818;
    color: var(--soft);
    font-size: 1.05rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.nav-mobile-close:hover {
    background: #252525;
    color: var(--yellow);
    border-color: var(--yellow-border);
}

.nav-mobile-bal-card {
    margin: 0.9rem 1.1rem 0.45rem;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(245, 197, 24, 0.35);
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.15) 0%, rgba(15, 15, 15, 0.9) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.bal-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.bal-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.bal-card-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--display);
    letter-spacing: -0.02em;
}

.bal-card-tag {
    font-size: 0.68rem;
    color: #86efac;
    font-weight: 600;
}

.nav-mobile-links {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.nav-group-section {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.nav-group-kicker {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--yellow);
    text-transform: uppercase;
    padding-left: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-group-kicker::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.3), transparent);
}

.nav-group-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-mobile-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    text-align: left;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(18, 18, 18, 0.6);
    color: var(--text);
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative;
    text-decoration: none;
}

.nav-mobile-btn:hover {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.25);
    transform: translateX(3px);
}

.nav-mobile-btn.active {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.16) 0%, rgba(20, 20, 20, 0.85) 100%);
    border-color: var(--yellow-border);
    box-shadow: inset 0 0 16px rgba(245, 197, 24, 0.08);
}

.nav-mobile-btn .nav-emoji {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.12rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-mobile-btn:hover .nav-emoji,
.nav-mobile-btn.active .nav-emoji {
    background: var(--yellow-dim);
    border-color: var(--yellow-border);
    transform: scale(1.05);
}

.nav-btn-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.nav-btn-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1.25;
}

.nav-mobile-btn.active .nav-btn-title {
    color: var(--yellow);
}

.nav-btn-sub {
    font-size: 0.71rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

.nav-mobile-footer {
    padding: 0.85rem 1.15rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #090909;
}

.nav-mobile-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.08);
    color: #f87171;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-mobile-logout:hover {
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(248, 113, 113, 0.6);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN PAGE CONTAINER & HERO EPIC (SPECHSHOP HOME)
   ═══════════════════════════════════════════════════════════════════════════ */
.main-wrapper {
    width: 100%;
    min-height: calc(100vh - 68px);
}

.content-area,
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.85rem 1.4rem 4rem;
    animation: pageIn 0.35s var(--ease);
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.page-section {
    display: none;
    animation: pageIn 0.3s var(--ease);
}

.page-section.active {
    display: block;
}

/* Hero Epic with SpechShop Banner */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(245, 197, 24, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.75rem;
    overflow: hidden;
}

.hero--epic {
    padding: 0;
    position: relative;
    border: 1px solid rgba(245, 197, 24, 0.25);
    box-shadow:
        0 0 30px rgba(245, 197, 24, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    background: #0a0a0a;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(245,197,24,0.8), transparent),
        radial-gradient(1px 1px at 25% 60%, rgba(245,197,24,0.6), transparent),
        radial-gradient(1.5px 1.5px at 40% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 55% 75%, rgba(245,197,24,0.5), transparent),
        radial-gradient(1px 1px at 70% 35%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 85% 55%, rgba(245,197,24,0.7), transparent);
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(245,197,24,0.07) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-img-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0;
}

.hero-epic-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.hero-epic-content {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--yellow-dim);
    color: var(--yellow);
    border: 1px solid var(--yellow-border);
    padding: 0.35rem 0.9rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--mono);
}

.hero-btns {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem 0 0.85rem;
}

.section-head h3 {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* SpechShop Stat Cards Row */
.stats-row,
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.stat:hover {
    border-color: var(--yellow-border);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: var(--yellow-dim);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: var(--yellow);
    flex-shrink: 0;
}

.stat-val {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKER CLOUD & PANELS (SPECHSHOP .ck-panel & .panel)
   ═══════════════════════════════════════════════════════════════════════════ */
.panel,
.ck-panel {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(245, 197, 24, 0.06), transparent 55%),
        var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.35rem 1.45rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKER CLOUD COMMAND HERO (SPECH NEXT-GEN)
   ═══════════════════════════════════════════════════════════════════════════ */
.ck-float-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem 1.65rem;
    margin-bottom: 1.35rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(17, 17, 21, 0.96) 0%, rgba(10, 10, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 45px -15px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(245, 197, 24, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ck-float-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.6) 20%, rgba(255, 214, 10, 0.8) 50%, rgba(245, 197, 24, 0.6) 80%, transparent);
}

.ck-float-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.ck-float-ico {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.22) 0%, rgba(180, 83, 9, 0.35) 100%);
    border: 1px solid rgba(245, 197, 24, 0.45);
    color: var(--yellow);
    box-shadow: 0 10px 25px rgba(245, 197, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    position: relative;
}

.ico-symbol {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.8));
}

.ico-glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 21px;
    border: 1px dashed rgba(245, 197, 24, 0.3);
    animation: ringSpin 20s linear infinite;
    pointer-events: none;
}

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ck-float-kicker {
    font-family: var(--mono);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ck-float-info h3,
.ck-float-info h2 {
    margin: 0 0 0.25rem;
    font-family: var(--display);
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 40%, #f5c518 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ck-float-info p {
    margin: 0;
    font-size: 0.82rem;
    color: #a1a1aa;
    line-height: 1.45;
}

.ck-float-badges {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ck-badge-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.38rem 0.75rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: var(--yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ck-badge-tag.speed {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.ck-badge-tag.active-node {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.28);
    color: #34d399;
    transition: all 0.25s;
}

.ck-badge-tag.active-node.has-active {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.radar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-refresh-fleet:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(245, 197, 24, 0.08);
}

.ck-card-box {
    background: linear-gradient(135deg, rgba(17, 17, 21, 0.95) 0%, rgba(11, 11, 14, 0.98) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.ck-card-box:hover {
    border-color: rgba(245, 197, 24, 0.35);
}

.ck-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.ck-card-title {
    font-family: var(--display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ck-card-title span.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(245, 197, 24, 0.18);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--mono);
}

/* ═══════════════════════════════════════════════════════════════════════════
   INPUTS & BUTTONS (SPECHSHOP STYLE)
   ═══════════════════════════════════════════════════════════════════════════ */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.input-group label {
    font-size: 0.74rem;
    color: var(--soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.input-group input,
.input-group select,
textarea,
.form-input {
    padding: 0.72rem 0.95rem;
    background: #090909;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    outline: none;
    font-family: var(--mono);
    font-size: 0.84rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    width: 100%;
}

.input-group input:focus,
.input-group select:focus,
textarea:focus,
.form-input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px var(--yellow-dim);
}

.btn,
.btn-primary,
.btn-outline,
.btn-danger,
.btn-success {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow) 0%, #d97706 100%);
    color: #0a0a0a !important;
    border: none;
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow) 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(245, 197, 24, 0.35);
}

.btn-outline,
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover,
.btn-ghost:hover {
    background: var(--yellow-dim);
    border-color: var(--yellow-border);
    color: var(--yellow);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.btn-danger:hover {
    background: var(--red);
    color: #0a0a0a;
}

.btn-success {
    background: rgba(52, 211, 153, 0.12);
    color: var(--green);
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.btn-success:hover {
    background: var(--green);
    color: #0a0a0a;
}

.hero-btn--shine {
    position: relative;
    overflow: hidden;
}

.hero-btn--shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    animation: heroShine 3s ease-in-out infinite;
}

@keyframes heroShine {
    0%   { left: -75%; }
    30%  { left: 125%; }
    100% { left: 125%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSTANCES, LOGS, STATS & TABLES
   ═══════════════════════════════════════════════════════════════════════════ */
.page-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEXT-GEN CLOUD COMPUTE NODE CARDS (.inst-node-card)
   ═══════════════════════════════════════════════════════════════════════════ */
.instance-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instance-item.inst-node-card {
    position: relative;
    background: linear-gradient(145deg, #121216 0%, #0a0a0c 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 14px 35px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instance-item.inst-node-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 197, 24, 0.35);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 197, 24, 0.08);
}

/* Neon Blade on Left */
.inst-node-blade {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.instance-item.inst-node-card.running .inst-node-blade {
    background: linear-gradient(180deg, #f5c518 0%, #d97706 100%);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.7);
}

.instance-item.inst-node-card.finished .inst-node-blade {
    background: linear-gradient(180deg, #f5c518 0%, #d97706 100%);
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.35);
}

.instance-item.inst-node-card.stopped .inst-node-blade {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.inst-node-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Header Row */
.inst-node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.inst-node-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inst-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    padding: 5px 12px;
    border-radius: 9px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.28);
    color: #f5c518;
    font-size: 0.88rem;
}

.inst-id-prefix {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.inst-id-badge strong {
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

.node-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.node-status-pill.pill--running {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.node-status-pill.pill--finished {
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #f5c518;
}

.node-status-pill.pill--stopped {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fbbf24;
}

.node-radar-ping {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: radarPulse 1.6s infinite;
}

.node-timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
}

.node-timer-chip.live {
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    box-shadow: 0 0 14px rgba(245, 197, 24, 0.15);
}

.node-timer-chip.finished {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #a1a1aa;
}

.node-timer-chip.stopped {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

/* Progress Box */
.inst-node-progress-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 180px;
}

.inst-prog-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #a1a1aa;
    font-weight: 600;
}

.inst-prog-pct {
    color: #ffffff;
    font-weight: 800;
}

.inst-prog-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.inst-prog-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5c518 0%, #eab308 100%);

    box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
    transition: width 0.4s var(--ease);
}

.inst-prog-fill.prog-animated {
    background: linear-gradient(90deg, #f5c518 0%, #ffd000 50%, #f5c518 100%);
    background-size: 200% 100%;
    animation: gradientSlide 2s linear infinite;
}

@keyframes gradientSlide {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Specs Chips Row */
.inst-node-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inst-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--mono);
    font-size: 0.75rem;
    color: #d4d4d8;
}

.inst-spec-chip .chip-ico {
    font-style: normal;
    font-size: 0.85rem;
}

.inst-spec-chip.chip--checker {
    border-color: rgba(245, 197, 24, 0.22);
    background: rgba(245, 197, 24, 0.05);
    color: #f5c518;
    font-weight: 700;
}

.inst-spec-chip.chip--proxy {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #a1a1aa;
}

.inst-spec-chip.chip--threads {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #d4d4d8;
}

.inst-spec-chip.chip--time {
    color: #71717a;
}

.inst-spec-chip.chip--timer.live {
    border-color: rgba(245, 197, 24, 0.25);
    color: #f5c518;
}

.inst-spec-chip.chip--timer.finished {
    color: #34d399;
}

.inst-spec-chip.chip--timer.stopped {
    color: #fbbf24;
}

/* Footer Row */
.inst-node-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inst-metrics-hud {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.node-stat-box {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 10px;
    font-family: var(--mono);
    font-weight: 800;
    font-size: 0.86rem;
    transition: transform 0.2s;
}

.node-stat-box .stat-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.node-stat-box.stat-live {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.08);
}

.node-stat-box.stat-die {
    background: rgba(248, 113, 113, 0.07);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.node-stat-box.stat-warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fbbf24;
}

.inst-actions-dock {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-node-act {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    font-family: var(--font);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-node-act .act-icon {
    font-style: normal;
    font-size: 0.85rem;
}

.btn-node-act.act-stop {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.btn-node-act.act-stop:hover {
    background: rgba(245, 158, 11, 0.22);
    border-color: #fbbf24;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}

.btn-node-act.act-view {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.3);
    color: #f5c518;
}

.btn-node-act.act-view:hover {
    background: rgba(245, 197, 24, 0.22);
    border-color: #f5c518;
    box-shadow: 0 4px 18px rgba(245, 197, 24, 0.22);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-node-act.act-del {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #a1a1aa;
    padding: 8px 12px;
}

.btn-node-act.act-del:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #f87171;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

/* Empty State */
.inst-empty-state {
    text-align: center;
    padding: 50px 24px;
    background: #0e0e11;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.inst-empty-state .empty-icon {
    font-size: 2.8rem;
    filter: drop-shadow(0 0 12px rgba(245, 197, 24, 0.3));
    margin-bottom: 4px;
}

.inst-empty-state h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0;
}

.inst-empty-state p {
    color: #a1a1aa;
    font-size: 0.84rem;
    max-width: 440px;
    margin: 0 0 8px;
}

.detail-view { display: none; }
.detail-view.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   CYBER MISSION DETAIL VIEW & LIVE EXECUTION TERMINAL
   ═══════════════════════════════════════════════════════════════════════════ */
.detail-view {
    display: none;
}
.detail-view.active {
    display: block;
    animation: fadeInView 0.3s var(--ease);
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 1. Command Mission Header */
.detail-header-cyber {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 1.35rem 1.6rem;
    margin-bottom: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(17, 17, 21, 0.96) 0%, rgba(10, 10, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 45px -15px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(245, 197, 24, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: visible !important;
    z-index: 60;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.detail-header-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.6) 20%, rgba(255, 214, 10, 0.8) 50%, rgba(245, 197, 24, 0.6) 80%, transparent);
}

.dh-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
}

.btn-dh-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #a1a1aa;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.22s var(--ease);
    text-decoration: none;
    flex-shrink: 0;
}

.btn-dh-back:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: rgba(245, 197, 24, 0.35);
    color: var(--yellow);
    transform: translateX(-2px);
}

.dh-back-arrow {
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn-dh-back:hover .dh-back-arrow {
    transform: translateX(-3px);
}

.dh-info-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dh-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dh-node-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.3);
    padding: 5px 12px;
    border-radius: 9px;
    color: var(--yellow);
    font-family: var(--mono);
}

.dh-pill-txt {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.dh-node-pill strong {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dh-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dh-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d4d4d8;
}

.dh-tag.tag-checker {
    border-color: rgba(245, 197, 24, 0.25);
    background: rgba(245, 197, 24, 0.06);
    color: #f5c518;
    font-weight: 700;
}

.dh-tag.tag-proxy {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #d4d4d8;
}

.dh-tag.tag-threads {
    border-color: rgba(168, 85, 247, 0.2);
    color: #d4d4d8;
}

.dh-subtitle {
    font-size: 0.76rem;
    color: #a1a1aa;
    font-family: var(--mono);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.dh-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dh-telemetry-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dh-timer-badge {
    font-family: var(--mono);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-timer-badge.finished {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.1);
}

.dh-timer-badge.stopped {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.dh-status-beacon {
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 7px 16px;
    border-radius: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dh-status-beacon.status-processing {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
    animation: statusPulse 2s infinite;
}

.dh-status-beacon.status-finished {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}

.dh-status-beacon.status-stopped {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(16, 185, 129, 0.2); }
    50%      { box-shadow: 0 0 24px rgba(16, 185, 129, 0.4); }
}

/* 2. Tactical Mission KPI HUD */
.detail-hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dh-kpi-card {
    background: linear-gradient(145deg, #121216 0%, rgba(11, 11, 14, 0.98) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s;
    position: relative;
    overflow: hidden;
}

.dh-kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 197, 24, 0.3);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 197, 24, 0.06);
}

.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #a1a1aa;
    text-transform: uppercase;
}

.kpi-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.beacon-live { background: #10b981; box-shadow: 0 0 10px #10b981; }
.beacon-die  { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.beacon-warn { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }

.kpi-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.kpi-num {
    font-family: var(--mono);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.dh-kpi-card.kpi-live .kpi-num {
    color: #34d399;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.dh-kpi-card.kpi-die .kpi-num {
    color: #f87171;
    text-shadow: 0 0 20px rgba(248, 113, 113, 0.25);
}

.dh-kpi-card.kpi-progress .kpi-num {
    color: #ffffff;
}

.dh-kpi-card.kpi-warn .kpi-num {
    color: #fbbf24;
}

.dh-kpi-card.kpi-clock .kpi-num {
    color: #f5c518;
    text-shadow: 0 0 18px rgba(245, 197, 24, 0.3);
}

.kpi-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kpi-sub {
    font-size: 0.72rem;
    color: #71717a;
    font-family: var(--mono);
}

.kpi-pct-badge {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 800;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 7px;
    border-radius: 6px;
}

.kpi-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.kpi-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5c518 0%, #eab308 100%);

    box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
    transition: width 0.4s var(--ease);
}

/* 3. Action Command Dock */
.detail-command-dock {
    background: #0e0e11;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cmd-dock-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cmd-dock-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cmd-dock-row-actions .cmd-log-search {
    flex: 1;
    min-width: 240px;
}

.cmd-dock-row-actions .cmd-log-search input {
    width: 100%;
}

.cmd-actions-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmd-select-format {
    padding: 8px 12px;
    font-size: 0.78rem;
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.cmd-select-format:focus {
    border-color: rgba(245, 197, 24, 0.5);
}

.cmd-dock-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cmd-filter-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cmd-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #a1a1aa;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: var(--font);
}

.cmd-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.cmd-tab.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.18) 0%, rgba(245, 197, 24, 0.08) 100%);
    border-color: rgba(245, 197, 24, 0.45);
    color: #f5c518;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.12);
}

.cmd-tab-badge {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
    transition: all 0.2s ease;
}

.cmd-tab.tab-live .cmd-tab-badge {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.cmd-tab.tab-die .cmd-tab-badge {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.cmd-tab.tab-warn .cmd-tab-badge {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.cmd-tab.active .cmd-tab-badge {
    background: rgba(245, 197, 24, 0.25);
    color: #f5c518;
    border-color: rgba(245, 197, 24, 0.5);
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.25);
}

.cmd-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.cmd-tab-dot.dot-live { background: #10b981; }
.cmd-tab-dot.dot-die  { background: #ef4444; }
.cmd-tab-dot.dot-warn { background: #f59e0b; }

.cmd-accordion-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-dock-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a1a1aa;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-dock-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.cmd-dock-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmd-log-search {
    position: relative;
    display: flex;
    align-items: center;
}

.cmd-search-ico {
    position: absolute;
    left: 12px;
    font-size: 0.78rem;
    color: #71717a;
    pointer-events: none;
}

.cmd-log-search input {
    background: rgba(8, 9, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 8px 14px 8px 34px;
    color: #ffffff;
    font-size: 0.78rem;
    font-family: var(--font);
    outline: none;
    transition: all 0.2s;
    min-width: 190px;
}

.cmd-log-search input:focus {
    border-color: rgba(245, 197, 24, 0.5);
    box-shadow: 0 0 14px rgba(245, 197, 24, 0.15);
}

.btn-gold-shine {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #000000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(245, 197, 24, 0.35);
    transition: all 0.22s var(--ease);
    font-family: var(--font);
}

.btn-gold-shine:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.5);
}

.btn-dock-glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    font-family: var(--font);
}

.btn-dock-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-dock-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s var(--ease);
    font-family: var(--font);
}

.btn-dock-warning:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: #fbbf24;
    color: #fef08a;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.btn-error-retest-mini {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-error-retest-mini:hover {
    background: #f59e0b;
    border-color: #fbbf24;
    color: #000000;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* 4. Cyber Log Streams */
.cyber-log-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
}

.log-stream-card {
    background: linear-gradient(145deg, rgba(18, 20, 27, 0.92) 0%, rgba(9, 10, 14, 0.96) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.7);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.log-stream-card.live  { border-left: 4px solid #10b981; }
.log-stream-card.die   { border-left: 4px solid #ef4444; }
.log-stream-card.error { border-left: 4px solid #f59e0b; }

.log-stream-card:hover {
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8);
}

.log-header {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    user-select: none;
    transition: background 0.2s;
}

.log-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.lh-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lh-icon {
    font-size: 1rem;
}

.lh-title {
    font-weight: 800;
    font-size: 0.88rem;
    font-family: var(--display);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ─── CYBER LOG HEADER BADGES (RETORNOS COUNTER) ─── */
.log-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 32px;
    height: 24px;
    padding: 0 10px;
    border-radius: 9999px;
    font-family: var(--mono, 'JetBrains Mono', 'Fira Code', monospace);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    vertical-align: middle;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-sizing: border-box;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-live-glow {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.12) 100%);
    border: 1px solid rgba(52, 211, 153, 0.6);
    color: #6ee7b7;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.badge-live-glow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #10b981;
    flex-shrink: 0;
    animation: pulseBeaconLive 2s infinite ease-in-out;
}

@keyframes pulseBeaconLive {
    0%, 100% {
        opacity: 0.8;
        transform: scale(0.95);
        box-shadow: 0 0 6px #10b981;
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 12px #34d399, 0 0 4px #fff;
    }
}

.badge-live-glow.badge-has-count {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.36) 0%, rgba(5, 150, 105, 0.22) 100%);
    border-color: rgba(52, 211, 153, 0.85);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: liveBadgeGlow 2.5s infinite ease-in-out;
}

@keyframes liveBadgeGlow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.badge-die-glow {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22) 0%, rgba(185, 28, 28, 0.1) 100%);
    border: 1px solid rgba(248, 113, 113, 0.55);
    color: #fca5a5;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.badge-die-glow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f87171;
    box-shadow: 0 0 8px #ef4444;
    flex-shrink: 0;
}

.badge-die-glow.badge-has-count {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.badge-warn-glow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: #fde68a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.badge-warn-glow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px #f59e0b;
    flex-shrink: 0;
}

.badge-warn-glow.badge-has-count {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.log-header:hover .log-badge {
    transform: scale(1.06);
}

.lh-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-copy-stream-chip {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #6ee7b7;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-copy-stream-chip:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.32) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(52, 211, 153, 0.7);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}
    color: #ffffff;
}

.log-toggle-arrow {
    font-size: 0.78rem;
    color: #71717a;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.log-section.collapsed .log-toggle-arrow {
    transform: rotate(-90deg);
}

.log-section.collapsed .log-body {
    display: none;
}

.log-body {
    background: rgba(6, 7, 10, 0.95);
    padding: 12px 18px;
    font-family: var(--mono);
    font-size: 0.78rem;
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Individual Log Entry - Cyberpunk Fintech Redesign */
.log-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(18, 19, 25, 0.95), rgba(12, 13, 17, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
}

.log-entry:hover {
    background: linear-gradient(145deg, rgba(24, 25, 34, 0.98), rgba(16, 17, 23, 1));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.log-entry--live {
    border-left-color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
}
.log-entry--live:hover {
    border-left-color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.12);
}

.log-entry--die {
    border-left-color: #ef4444;
    border-color: rgba(239, 68, 68, 0.22);
}
.log-entry--die:hover {
    border-left-color: #f87171;
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.08);
}

.log-entry--warn, .log-entry--error {
    border-left-color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.25);
}
.log-entry--warn:hover, .log-entry--error:hover {
    border-left-color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.1);
}

/* Header Row */
.log-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.log-entry-id-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    flex: 1;
}

.log-entry-badge {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
}

.log-entry-badge.live {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34d399;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.log-entry-badge.die {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.15);
}

.log-entry-badge.warn, .log-entry-badge.error {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.15);
}

.log-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.18s ease;
    max-width: 100%;
}

.log-card-pill:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: rgba(245, 197, 24, 0.4);
}

.log-card-pill:active {
    transform: scale(0.98);
}

.log-card-icon {
    font-size: 0.78rem;
    flex-shrink: 0;
}

.log-card-number {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #f4f4f5;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-card-copy-hint {
    font-size: 0.7rem;
    color: #71717a;
    transition: color 0.15s;
    flex-shrink: 0;
}

.log-card-pill:hover .log-card-copy-hint {
    color: var(--yellow);
}

/* Action buttons */
.log-entry-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.btn-log-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #a1a1aa;
    padding: 3px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
    font-family: var(--font, sans-serif);
}

.btn-log-action:hover {
    background: rgba(245, 197, 24, 0.15);
    border-color: rgba(245, 197, 24, 0.35);
    color: #ffffff;
}

.btn-log-action:active {
    transform: scale(0.96);
}

/* BIN Badges Row (Consulta BIN Completa) */
.log-bin-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.log-badge-brand {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #fbbf24;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.log-badge-bank {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-badge-level {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.32);
    color: #67e8f9;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.log-badge-type {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.32);
    color: #d8b4fe;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.log-badge-country {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #6ee7b7;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.log-badge-bin {
    font-family: var(--mono, monospace);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e4e4e7;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.log-badge-bin:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--yellow);
    color: #ffffff;
}

/* Return Message Box & Lead Status Tag */
.log-message-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 7px 11px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.log-msg-lead {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 800;
    font-family: var(--mono);
    color: #a1a1aa;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.log-entry--live .log-msg-lead {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
}

.log-entry--die .log-msg-lead {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(248, 113, 113, 0.3);
    color: #fca5a5;
}

.log-entry--warn .log-msg-lead {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

.log-msg-content {
    font-family: var(--font, sans-serif);
    font-size: 0.78rem;
    line-height: 1.42;
    color: #e4e4e7;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex: 1;
    min-width: 0;
}

.log-entry--live .log-msg-content {
    color: #a7f3d0;
}

.log-entry--die .log-msg-content {
    color: #fca5a5;
}

.log-entry--warn .log-msg-content, .log-entry--error .log-msg-content {
    color: #fde68a;
}

/* Fallback & Legacy selectors */
.log-entry-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.log-code {
    color: #e2e8f0;
    font-size: 0.78rem;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.log-entry--live .log-code {
    color: #a7f3d0;
}

.btn-copy-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a1a1aa;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.18s;
    flex-shrink: 0;
}

.btn-copy-entry:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--yellow);
    color: #ffffff;
    opacity: 1;
}

.log-empty-msg {
    color: #71717a;
    font-size: 0.8rem;
    padding: 14px;
    text-align: center;
    font-style: italic;
}

/* 5. Footer Mission Dock */
.detail-footer-dock {
    background: #0e0e11;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.6);
}

.df-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.76rem;
    color: #71717a;
}

.df-beacon {
    color: #10b981;
    animation: statusPulse 2s infinite;
}

.df-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-df-pause {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-df-pause:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.24);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.btn-df-retry {
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-df-retry:hover {
    background: rgba(245, 197, 24, 0.2);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.25);
}

.btn-df-delete {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-df-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
}

/* Fallback for legacy class selectors */
.detail-header { display: flex; }
.detail-stats-grid { display: grid; }
.detail-stat-box { display: block; }

.options-box {
    display: flex;
    gap: 20px;
    margin: 14px 0 18px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--soft);
    cursor: pointer;
    accent-color: var(--yellow);
}

/* API Manager Cards */
.api-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0d0d0d;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.api-item:hover {
    border-color: var(--yellow-border);
    background: #121212;
}

.api-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.api-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.api-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.api-field label {
    font-size: 0.68rem;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.api-field input,
.api-field select {
    padding: 9px 12px;
    font-size: 0.78rem;
    background: #080808;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--mono);
}

/* Filter Bars & Tables */
.historico-stats-grid,
.user-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.historico-stat-box {
    background: #0e0e11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s;
}
.historico-stat-box:hover {
    border-color: rgba(245, 197, 24, 0.35);
}

.historico-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.historico-stat-val {
    font-size: 1.85rem;
    font-weight: 800;
    font-family: var(--mono);
}

.val-gold, .val-cyan { color: var(--yellow); }
.val-green { color: var(--green); }
.val-red { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKER CLOUD COMMAND FILTER DOCK (.historico-filter-bar)
   ═══════════════════════════════════════════════════════════════════════════ */
.historico-filter-bar {
    background: #0e0e11;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.inst-quick-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inst-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #a1a1aa;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    font-family: var(--font);
}

.inst-tab-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.inst-tab-pill.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.18) 0%, rgba(245, 197, 24, 0.08) 100%);
    border-color: rgba(245, 197, 24, 0.45);
    color: #f5c518;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.inst-pill-badge {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.inst-tab-pill.active .inst-pill-badge {
    background: rgba(245, 197, 24, 0.25);
    border-color: rgba(245, 197, 24, 0.45);
    color: #f5c518;
}

.badge-live-pulse {
    background: rgba(245, 197, 24, 0.28) !important;
    border-color: rgba(245, 197, 24, 0.75) !important;
    color: #fef08a !important;
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.5) !important;
    animation: goldPulse 1.8s infinite ease-in-out;
}

.inst-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.inst-pill-dot.dot-live {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.inst-pill-dot.dot-fin {
    background: #f5c518;
}

.inst-pill-dot.dot-stop {
    background: #f59e0b;
}

.historico-filter-bar .filter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.inst-search-wrap {
    position: relative;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
}

.inst-search-wrap .search-icon {
    position: absolute;
    left: 14px;
    color: #71717a;
    font-size: 0.82rem;
    pointer-events: none;
}

.inst-search-wrap input {
    width: 100%;
    background: rgba(8, 9, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 10px 38px 10px 38px;
    color: #ffffff;
    font-size: 0.82rem;
    font-family: var(--font);
    transition: all 0.2s var(--ease);
    outline: none;
}

.inst-search-wrap input:focus {
    border-color: rgba(245, 197, 24, 0.5);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.15);
    background: rgba(12, 13, 18, 0.98);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #a1a1aa;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.historico-filter-bar select {
    background: rgba(8, 9, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.82rem;
    font-family: var(--font);
    outline: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.historico-filter-bar select:focus {
    border-color: rgba(245, 197, 24, 0.5);
}

.inst-telemetry-readout {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #71717a;
    padding: 7px 14px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.telemetry-label {
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.7;
}

.telemetry-val {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
}

.telemetry-sep {
    color: #52525b;
}

.telemetry-total {
    color: var(--yellow);
    font-size: 0.86rem;
    font-weight: 800;
}

.telemetry-unit {
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    opacity: 0.6;
}

.user-filter-bar {
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.user-filter-bar input,
.user-filter-bar select {
    background: #070707;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 0.8rem;
    outline: none;
}

.user-filter-bar input:focus,
.user-filter-bar select:focus {
    border-color: var(--yellow);
}

.historico-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 14px;
}

.historico-card {
    background: #121316;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.22s var(--ease);
    border-left: 4px solid var(--yellow);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.historico-card:hover {
    border-color: rgba(245, 197, 24, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.7);
}

.historico-card.live { border-left-color: #10b981; }
.historico-card.die { border-left-color: #ef4444; }
.historico-card.error { border-left-color: #f59e0b; }

.btn-card-copiar {
    background: rgba(245, 197, 24, 0.12) !important;
    color: var(--yellow) !important;
    border: 1px solid rgba(245, 197, 24, 0.35) !important;
}
.btn-card-copiar:hover {
    background: rgba(245, 197, 24, 0.25) !important;
    border-color: var(--yellow) !important;
}

.historico-card-number {
    font-family: var(--mono);
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    word-break: break-all;
}

.historico-card-date {
    font-size: 0.7rem;
    color: var(--muted);
    font-family: var(--mono);
}

.historico-card-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--mono);
    text-transform: uppercase;
}
.tag-badge.live { background: rgba(52, 211, 153, 0.15); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.tag-badge.die { background: rgba(248, 113, 113, 0.15); color: var(--red); border: 1px solid rgba(248, 113, 113, 0.35); }
.tag-badge.error { background: rgba(251, 191, 36, 0.15); color: var(--orange); border: 1px solid rgba(251, 191, 36, 0.35); }

.tag-meta {
    font-size: 0.7rem;
    color: var(--soft);
    background: #090909;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.historico-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--muted);
    font-family: var(--mono);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

.historico-card-actions {
    display: flex;
    gap: 8px;
}

.historico-card-actions button {
    flex: 1;
    font-size: 0.76rem;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}

.btn-card-retorno {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-card-retorno:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-card-copiar {
    background: var(--yellow);
    color: #0a0a0a;
    border: none;
}
.btn-card-copiar:hover {
    background: var(--yellow-bright);
}

/* Cyber Table */
.cyber-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.cyber-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.cyber-table th {
    background: #0d0d0d;
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
}

.cyber-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.cyber-table tr:hover td {
    background: rgba(245, 197, 24, 0.03);
}

.role-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--mono);
}
.role-badge.admin {
    background: var(--yellow-dim);
    color: var(--yellow);
    border: 1px solid var(--yellow-border);
}
.role-badge.operador {
    background: rgba(255, 255, 255, 0.06);
    color: var(--soft);
    border: 1px solid var(--border);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
}
.status-pill.ativo { color: var(--green); }
.status-pill.bloqueado { color: var(--red); }
.status-pill.expirado { color: var(--orange); }

.retornos-panel {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.retornos-col {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card);
    border: 1px solid var(--yellow-border);
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
    animation: pageIn 0.25s var(--ease);
    margin: auto;
    position: relative;
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPECHSHOP LANDING PAGE + 3D CARD + VIP PLANS + AUTH MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.lp-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
}

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 2rem;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 197, 24, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.lp-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #f5c518 0%, #b45309 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}

.lp-logo span {
    font-family: var(--display);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lp-logo span b {
    color: var(--yellow);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Hero Section */
.lp-hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.25rem 2rem 2.25rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 960px) {
    .lp-hero {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem 1.5rem;
        text-align: center;
    }
    .lp-nav {
        padding: 0.75rem 1.15rem;
    }
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1.1rem;
}

.lp-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.lp-title {
    font-family: var(--display);
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 0 0 1rem;
    color: var(--text);
}

.lp-title em {
    font-style: normal;
    background: linear-gradient(135deg, #ffd60a 0%, #f5c518 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-desc {
    font-size: 0.98rem;
    color: var(--soft);
    line-height: 1.6;
    margin: 0 0 1.75rem;
    max-width: 34rem;
}

@media (max-width: 960px) {
    .lp-desc { margin-left: auto; margin-right: auto; }
}

.lp-btns {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .lp-btns { justify-content: center; }
}

.lp-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.7rem;
    border-radius: 13px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a !important;
    font-family: var(--display);
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(245, 197, 24, 0.3);
    transition: all 0.25s var(--ease);
}

.lp-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(245, 197, 24, 0.45);
}

.lp-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.5rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--display);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lp-btn-sec:hover {
    background: var(--yellow-dim);
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-2px);
}

/* 3D Levitating VIP Card */
.lp-stage-3d {
    position: relative;
    width: 100%;
    height: 360px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-card-3d-wrap {
    position: relative;
    width: 350px;
    height: 220px;
    transform-style: preserve-3d;
    animation: lpFloatCard3D 6s ease-in-out infinite alternate;
    transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@keyframes lpFloatCard3D {
    0%   { transform: rotateY(-14deg) rotateX(10deg) translateY(-6px); }
    50%  { transform: rotateY(8deg) rotateX(-6deg) translateY(10px); }
    100% { transform: rotateY(14deg) rotateX(8deg) translateY(-10px); }
}

.lp-card-shadow {
    position: absolute;
    bottom: 10px;
    left: 12%;
    width: 76%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.42), transparent 70%);
    border-radius: 50%;
    filter: blur(16px);
    pointer-events: none;
}

.lp-vip-card {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #1c1c22 0%, #0d0e12 60%, #08090b 100%);
    border: 1px solid rgba(245, 197, 24, 0.45);
    box-shadow:
        0 30px 70px -15px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(245, 197, 24, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    user-select: none;
}

.lp-vip-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16) 45%, rgba(245, 197, 24, 0.24) 50%, transparent 65%);
    transform: translateX(-150%);
    animation: lpShinePass 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lpShinePass {
    0% { transform: translateX(-150%); }
    35%, 100% { transform: translateX(150%); }
}

.lp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.lp-emv-chip {
    width: 42px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.lp-card-brand {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.lp-card-brand span { color: var(--yellow); }

.lp-card-num {
    font-family: var(--mono);
    font-size: 1.08rem;
    letter-spacing: 0.15em;
    color: #f3f4f6;
    margin: 0.6rem 0 0.3rem;
    position: relative;
    z-index: 2;
}

.lp-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.lp-card-holder span {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--mono);
}

.lp-card-holder strong {
    font-family: var(--display);
    font-size: 0.8rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.lp-card-tier {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--yellow);
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
}

.lp-orbit-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: rgba(14, 15, 20, 0.92);
    border: 1px solid rgba(245, 197, 24, 0.25);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    color: #f3f4f6;
    font-size: 0.74rem;
    font-weight: 700;
    z-index: 4;
    pointer-events: none;
    white-space: nowrap;
}
.lp-orbit-badge i { font-style: normal; }
.lp-orbit-1 { top: 10px; right: 0; }
.lp-orbit-2 { bottom: 18px; left: 0; }
.lp-orbit-3 { top: 62%; right: -10px; }

/* Telemetry Strip */
.lp-telemetry {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 800px) {
    .lp-telemetry { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
}

.lp-tel-card {
    background: #101012;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-align: center;
    transition: all 0.2s ease;
}
.lp-tel-card:hover {
    border-color: var(--yellow-border);
    transform: translateY(-2px);
}
.lp-tel-card strong {
    display: block;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 0.15rem;
}
.lp-tel-card span {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 600;
}

/* VIP Plans Grid on Landing Page (SpechShop .vp-card style) */
.lp-plans-section {
    max-width: 1200px;
    margin: 0 auto 3.5rem;
    padding: 0 2rem;
}
@media (max-width: 800px) {
    .lp-plans-section { padding: 0 1.25rem; }
}

.lp-sec-head {
    text-align: center;
    margin-bottom: 1.75rem;
}
.lp-sec-head h2 {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
}
.lp-sec-head p {
    color: var(--muted);
    font-size: 0.88rem;
}

.vp-grid-landing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}
@media (max-width: 1024px) {
    .vp-grid-landing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vp-grid-landing { grid-template-columns: 1fr; }
}

.vp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f13;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.vp-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.vp-card.is-featured {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.04) 0%, #101014 40%);
    border: 1px solid rgba(245, 197, 24, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

.vp-card.is-featured:hover {
    border-color: rgba(245, 197, 24, 0.55);
}

.vp-card::before {
    display: none !important;
}

.vp-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-family: var(--mono);
}

.vp-card.is-featured .vp-badge {
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
    border: 1px solid rgba(245, 197, 24, 0.28);
    box-shadow: none;
}

.vp-card-top {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.vp-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    flex-shrink: 0;
}

.vp-card.is-featured .vp-ico {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.22);
    color: #f5c518;
}

.vp-tier {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #71717a;
    font-family: var(--mono);
}

.vp-card.is-featured .vp-tier {
    color: #d97706;
}

.vp-card h4 {
    margin: 2px 0 0;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.vp-desc {
    margin: 0.75rem 0 0;
    color: #71717a;
    font-size: 0.78rem;
    line-height: 1.4;
}

.vp-perks {
    margin: 1.1rem 0 1.25rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.vp-perks li {
    font-size: 0.81rem;
    color: #a1a1aa;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.35;
}

.vp-perks li strong {
    color: #f4f4f5;
    font-weight: 600;
}

.vp-perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.82rem;
}

.vp-perks li.perk-no {
    color: #52525b;
}

.vp-perks li.perk-no strong {
    color: #71717a;
}

.vp-perks li.perk-no::before {
    content: "✕";
    color: #52525b;
}

.vp-card-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vp-price {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 3px;
    letter-spacing: -0.02em;
}

.vp-price small {
    font-size: 0.75rem;
    color: #71717a;
    font-weight: 500;
}

.vp-card .btn {
    border-radius: 9px;
    padding: 0.55rem 1rem !important;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.vp-card .btn-outline {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.vp-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.vp-card.is-featured .btn-primary {
    background: #f5c518 !important;
    color: #09090b !important;
    border: 1px solid #f5c518 !important;
    box-shadow: none !important;
}

.vp-card.is-featured .btn-primary:hover {
    background: #eab308 !important;
    border-color: #eab308 !important;
}

.lp-footer {
    border-top: 1px solid var(--border);
    padding: 1.85rem 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}
.lp-footer strong { color: var(--text); }




/* Auth Modal & Spech Form (ax-*) */
.lp-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.lp-auth-modal.open {
    display: flex;
}

.lp-auth-shell {
    width: min(450px, 100%);
    background: var(--card);
    border: 1px solid var(--yellow-border);
    border-radius: 22px;
    padding: 1.85rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: pageIn 0.25s var(--ease);
    max-height: 92vh;
    overflow-y: auto;
}

.lp-auth-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.lp-auth-close:hover {
    color: var(--yellow);
    border-color: var(--yellow-border);
    background: var(--yellow-dim);
}

.ax-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    padding: 0.3rem;
    background: #0b0b0b;
    border: 1px solid var(--border);
    border-radius: 13px;
    margin-bottom: 1.25rem;
    margin-right: 2rem;
}

.ax-tab {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.ax-tab.on {
    background: var(--yellow);
    color: #0a0a0a;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.25);
}

.ax-form-title {
    margin: 0;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.ax-form-sub {
    margin: 0.3rem 0 1.15rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.ax-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ax-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ax-field > span {
    font-size: 0.74rem;
    font-weight: 600;
    color: #aaa;
}

.ax-input {
    width: 100%;
    height: 46px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #090909;
    color: #fff;
    padding: 0 0.95rem;
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ax-input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px var(--yellow-dim);
}

.ax-submit {
    margin-top: 0.3rem;
    height: 48px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5c518, #d4a010);
    color: #0a0a0a;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 26px rgba(245, 197, 24, 0.25);
    transition: transform 0.15s, box-shadow 0.2s;
}

.ax-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(245, 197, 24, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOASTS & CONFIRMATION MODAL (SPECHSHOP × SECCX)
   ═══════════════════════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.seccx-toast {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 420px;
    background: rgba(14, 14, 16, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--yellow-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
    animation: seccxToastIn 0.3s var(--ease);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.seccx-toast.hiding {
    transform: translateX(110%);
    opacity: 0;
}

.seccx-toast-body { flex: 1; }
.seccx-toast-title {
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 2px;
}
.seccx-toast-msg {
    font-size: 0.78rem;
    color: var(--soft);
    line-height: 1.4;
}
.seccx-toast-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.85rem;
}
.seccx-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--yellow);
    animation: seccxProgress 4.5s linear forwards;
}

.seccx-toast-success { border-left: 3.5px solid var(--green); }
.seccx-toast-danger  { border-left: 3.5px solid var(--red); }
.seccx-toast-warning { border-left: 3.5px solid var(--orange); }
.seccx-toast-info    { border-left: 3.5px solid var(--yellow); }

.seccx-toast-success .seccx-toast-progress { background: var(--green); }
.seccx-toast-danger .seccx-toast-progress  { background: var(--red); }
.seccx-toast-warning .seccx-toast-progress { background: var(--orange); }
.seccx-toast-info .seccx-toast-progress    { background: var(--yellow); }

@keyframes seccxToastIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes seccxProgress {
    from { width: 100%; }
    to   { width: 0%; }
}

.cyber-confirm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.cyber-confirm-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.cyber-confirm-window {
    width: 92%;
    max-width: 430px;
    background: var(--card);
    border: 1px solid var(--yellow-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    padding: 22px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPECHSHOP ADMIN OPS CONSOLE & CHECKER APIS (BLACK & GOLD STYLE)
   ═══════════════════════════════════════════════════════════════════════════ */

.admin-page {
  animation: adminIn 0.28s var(--ease);
}
@keyframes adminIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #121212 0%, #0a0a0a 55%, rgba(245, 197, 24, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--yellow);
}

.admin-hero h1 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.admin-hero p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  max-width: 42rem;
  line-height: 1.5;
}

.admin-hero-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── ADMIN OPS CONSOLE (HUB) ─── */
.axc-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.axc-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: end;
  padding: 1.5rem 1.5rem 1.35rem 1.65rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 197, 24, 0.22);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(245, 197, 24, 0.14), transparent 50%),
    linear-gradient(145deg, #14120c 0%, #0a0a0a 48%, #0d0d0d 100%);
}

.axc-hero-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fff3a8, var(--yellow), #9a7408);
}

.axc-hero-main { position: relative; z-index: 1; min-width: 0; }
.axc-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.axc-hero p {
  margin: 0 0 0.95rem;
  color: var(--soft);
  font-size: 0.9rem;
  max-width: 38rem;
  line-height: 1.5;
}

.axc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.axc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.axc-meta i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow);
  display: inline-block;
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.55);
}

.axc-hero-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.axc-role {
  text-align: right;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  min-width: 140px;
}

.axc-role em {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 0.2rem;
}

.axc-role strong {
  color: var(--yellow);
  font-size: 0.88rem;
}

.axc-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.axc-kpi {
  position: relative;
  padding: 1rem 1.05rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #121212, #0c0c0c);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.axc-kpi[role="button"] { cursor: pointer; }
.axc-kpi[role="button"]:hover {
  border-color: var(--yellow-border);
  transform: translateY(-2px);
}

.axc-kpi.is-gold {
  border-color: rgba(245, 197, 24, 0.28);
  background:
    linear-gradient(135deg, rgba(245, 197, 24, 0.1), transparent 50%),
    linear-gradient(180deg, #14120c, #0c0c0c);
}

.axc-kpi.is-alert {
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.08);
}

.axc-kpi em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 0.45rem;
}

.axc-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--yellow);
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.axc-kpi span {
  font-size: 0.75rem;
  color: var(--soft);
}

/* Telemetria de Saúde do Cluster (SpechShop Black & Gold) */
.axc-cluster-telemetry {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #121212, #0c0c0c);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.axc-cluster-telemetry:hover {
  border-color: var(--yellow-border);
}

.axc-cluster-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.axc-cluster-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.axc-cluster-icon {
  font-size: 1.15rem;
  color: var(--yellow);
  line-height: 1;
}

.axc-cluster-heading {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.01em;
}

.axc-cluster-sub {
  color: var(--muted);
  font-size: 0.75rem;
  display: block;
}

.axc-cluster-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.axc-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.axc-cluster-item {
  background: #080808;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.axc-cluster-item:hover {
  border-color: var(--border);
  background: #0d0d0d;
}

.axc-cluster-item-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}

.axc-cluster-item-val {
  font-size: 1.35rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.axc-cluster-item-unit {
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--font);
  font-weight: 400;
  margin-left: 0.25rem;
}

.axc-cluster-foot {
  margin-top: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: #080808;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.axc-cluster-foot-label {
  font-size: 0.72rem;
  color: var(--soft);
}

.axc-cluster-mem {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--mono);
}

.axc-dock {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0b0b0b;
  margin-top: 1rem;
}

.axc-dock-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.axc-dock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.axc-dock-btn {
  border: 1px solid var(--border);
  background: #111;
  color: var(--soft);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.axc-dock-btn:hover {
  border-color: var(--yellow-border);
  color: var(--yellow);
}

.axc-browser {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #0e0e0e, #090909);
  padding: 1.15rem 1.15rem 1.35rem;
  margin-top: 1rem;
}

.axc-browser-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.axc-browser-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.axc-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: min(340px, 100%);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.axc-search span {
  color: var(--yellow);
  font-size: 0.95rem;
}

.axc-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
}

.axc-section { margin-bottom: 1.25rem; }
.axc-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.axc-idx {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--yellow);
}

.axc-section-head h3 {
  margin: 0 0 0.1rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.axc-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.axc-count {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.axc-mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.55rem;
}

.axc-mod {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #101010;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, transform 0.22s var(--ease);
}

.axc-mod:hover {
  border-color: rgba(245, 197, 24, 0.4);
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.08), #121212 40%);
  transform: translateY(-1px);
}

.axc-mod-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.18);
  font-size: 1rem;
}

.axc-mod-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.axc-mod-body strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axc-mod-body span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axc-mod-go {
  color: var(--yellow);
  opacity: 0.55;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
}

.axc-mod:hover .axc-mod-go {
  opacity: 1;
  transform: translateX(2px);
}

.axc-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

/* ─── GERENCIAR APIS DO CHECKER (SPECH MODULE) ─── */
.admin-panel {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.admin-panel-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-panel-head .hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
  width: 100%;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th {
  background: #090909;
  padding: 0.85rem 1.15rem;
  text-align: left;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.table-wrap td {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--soft);
  vertical-align: middle;
}

.table-wrap tr:hover td {
  background: rgba(245, 197, 24, 0.03);
}

.api-row-click {
  cursor: pointer;
}

.tag-fmt {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-family: var(--mono);
}

.tag-fmt.off {
  background: #c9a227;
  color: #0a0a0a;
  border: none;
}

.file-link {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill.on {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.status-pill.off {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--soft);
  cursor: pointer;
  padding: 5px 9px;
  font-size: 0.82rem;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.icon-btn.danger:hover {
  border-color: #f87171;
  color: #f87171;
}

.api-actions-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
}

/* ─── MODAL ADD/EDIT CHECKER & SPECH UPLOAD ZONE ─── */
.ck-add-modal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ck-add-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ck-add-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.15);
  color: var(--yellow);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ck-add-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.ck-add-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.ck-upload-zone {
  display: block;
  border: 1px dashed rgba(245, 197, 24, 0.35);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  background: rgba(245, 197, 24, 0.04);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.ck-upload-zone:hover, .ck-upload-zone.drag {
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.09);
}

.ck-upload-ico {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  color: var(--yellow);
}

.ck-upload-zone strong {
  display: block;
  font-size: 0.92rem;
}

.ck-upload-zone small {
  color: var(--muted);
  font-size: 0.75rem;
}

.ck-upload-msg {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--yellow);
  font-weight: 700;
}

.ck-add-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.ck-add-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

/* ─── MODAL AÇÕES DA API (SPECHSHOP 4-ACTION MODAL) ─── */
.api-act-modal {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: min(440px, 92vw);
}

.api-act-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.api-act-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.api-act-badge.off {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.api-act-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-family: var(--display);
}

.api-act-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.api-act-desc {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.api-act-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.api-act-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #141414;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.api-act-btn:hover {
  border-color: var(--yellow-border);
  background: rgba(245, 197, 24, 0.06);
  transform: translateY(-1px);
}

.api-act-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 1px solid var(--border);
  font-size: 1rem;
  flex-shrink: 0;
}

.api-act-btn span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.api-act-btn strong { font-size: 0.95rem; }
.api-act-btn small { color: var(--muted); font-size: 0.78rem; }
.api-act-btn.ide:hover .api-act-ico { color: #a78bfa; border-color: rgba(167, 139, 250, 0.45); }
.api-act-btn.edit:hover .api-act-ico { color: var(--yellow); border-color: rgba(245, 197, 24, 0.4); }
.api-act-btn.toggle:hover .api-act-ico { color: var(--yellow); border-color: var(--yellow-border); }
.api-act-btn.danger:hover { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.06); }
.api-act-btn.danger:hover .api-act-ico { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }

.api-act-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

/* ─── SPECHIDE CODE EDITOR OVERLAY ─── */
.modal-ide-shell {
  max-width: min(1080px, 96vw) !important;
  width: 96% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid var(--yellow-border) !important;
  background: #0d0d0f !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9) !important;
}

.ide-root {
  display: flex;
  flex-direction: column;
  height: 80vh;
  min-height: 520px;
  width: 100%;
  color: #e8e8ea;
  font-size: 13px;
}

.ide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #16161a, #101014);
  flex-shrink: 0;
}

.ide-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ide-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f5c518;
  color: #111;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 0.75rem;
}

.ide-brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.ide-brand em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: #9a9aa3;
  font-family: var(--mono);
}

.ide-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ide-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ddd;
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ide-btn:hover {
  border-color: rgba(245, 197, 24, 0.4);
  color: #f5c518;
}

.ide-btn.primary {
  background: #f5c518;
  color: #111;
  border-color: #f5c518;
}

.ide-editor-container {
  flex: 1;
  display: flex;
  min-height: 0;
  background: #09090b;
  position: relative;
}

.ide-textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 18px;
  resize: none;
  outline: none;
  white-space: pre;
  overflow: auto;
  tab-size: 4;
}

.ide-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #111115;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-family: var(--mono);
  color: var(--soft);
}

.ide-status-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-section {
    display: none;
}
.view-section.active {
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-area, .page {
        padding: 1.15rem 0.9rem 3rem;
    }
    .instance-item {
        flex-direction: column;
        align-items: stretch;
    }
    .instance-stats {
        margin-right: 0;
        justify-content: space-between;
        padding: 8px 12px;
        background: #090909;
        border-radius: 8px;
    }
    .instance-actions {
        width: 100%;
        justify-content: stretch;
    }
    .instance-actions button {
        flex: 1;
    }
    .lp-stage-3d {
        height: 290px;
    }
    .lp-card-3d-wrap {
        width: 300px;
        height: 190px;
    }
    /* Inst Node Mobile Tweaks */
    .inst-node-card {
        padding: 16px 18px !important;
    }
    .inst-node-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .inst-node-progress-box {
        width: 100%;
    }
    .inst-node-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .inst-metrics-hud {
        width: 100%;
        justify-content: space-between;
    }
    .inst-actions-dock {
        width: 100%;
    }
    .inst-actions-dock .btn-node-act {
        flex: 1;
        justify-content: center;
    }
    .historico-filter-bar .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .inst-search-wrap {
        width: 100%;
        min-width: 0;
    }
    .inst-quick-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
    .inst-tab-pill {
        flex-shrink: 0;
    }
    /* Detail View Mobile */
    .detail-header-cyber {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px !important;
        gap: 14px;
    }
    .dh-left, .dh-right {
        width: 100%;
        justify-content: space-between;
    }
    .detail-hud-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .dh-kpi-card.kpi-clock {
        grid-column: span 2;
    }
    .detail-command-dock {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px !important;
        gap: 14px;
    }
    .cmd-dock-left, .cmd-dock-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .cmd-filter-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }
    .cmd-tab {
        flex-shrink: 0;
    }
    .cmd-accordion-controls {
        padding-left: 0;
        border-left: none;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .cmd-log-search input {
        width: 100%;
        min-width: 0;
    }
    .detail-footer-dock {
        flex-direction: column;
        align-items: stretch;
    }
    .df-actions {
        width: 100%;
        flex-direction: column;
    }
    .df-actions button {
        width: 100%;
    }


}


/* ==============================================================
   CENTRAL DE CONTAS & USER CONTROL (ESTILO OFICIAL SPECHSHOP)
   ============================================================== */
.uc-root {
  display: grid;
  gap: 1.15rem;
  animation: apIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.uc-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 24, 0.24);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(245, 197, 24, 0.14), transparent 50%),
    linear-gradient(145deg, #141414 0%, #0a0a0a 60%, #101010 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.uc-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.uc-hero-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.uc-hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 65ch;
}

.uc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.uc-stat {
  min-width: 95px;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.uc-stat:hover {
  border-color: rgba(245, 197, 24, 0.35);
  background: rgba(245, 197, 24, 0.05);
}

.uc-stat.on {
  border-color: rgba(245, 197, 24, 0.6);
  background: rgba(245, 197, 24, 0.12);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
}

.uc-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--yellow);
  line-height: 1.1;
  font-weight: 800;
}

.uc-stat span {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.uc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  background: #111111;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 14px;
}

.uc-toolbar .form-input,
.uc-toolbar select {
  height: 42px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}

.uc-toolbar input#uc-q {
  flex: 1;
  min-width: 240px;
}

.uc-filter-check {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.uc-filter-check input {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.uc-list-panel {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.uc-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.uc-list-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: #fff;
}

.uc-list-head .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.uc-list-head-actions {
  display: flex;
  gap: 0.5rem;
}

.uc-list {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.2rem;
}

.uc-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: all 0.2s ease;
}

.uc-row:hover {
  border-color: rgba(245, 197, 24, 0.32);
  background: rgba(245, 197, 24, 0.04);
  transform: translateY(-1px);
}

.uc-row.is-banned {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.03);
}

.uc-row.is-pending {
  border-color: rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.03);
}

.uc-avatar,
.uc-modal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #0a0a0a;
  background: linear-gradient(145deg, #f5c518, #c9960c);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.25);
}

.uc-main {
  min-width: 0;
}

.uc-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.uc-name strong {
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.uc-meta,
.uc-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.uc-kpis {
  margin-top: 0.45rem;
}

.uc-kpis em {
  font-style: normal;
  color: var(--soft, #e2e8f0);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.72rem;
}

.uc-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.uc-login {
  text-align: right;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.35;
}

.uc-login strong {
  color: #ffffff;
  font-weight: 600;
}

.uc-pill,
.uc-role {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uc-pill.ok    { color: #86efac; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.32); }
.uc-pill.wait  { color: var(--yellow); background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.32); }
.uc-pill.ban   { color: #fca5a5; background: rgba(248, 113, 113, 0.14); border: 1px solid rgba(248, 113, 113, 0.32); }
.uc-pill.off   { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }

.uc-role.admin  { color: #0a0a0a; background: var(--yellow); font-weight: 900; }
.uc-role.seller { color: #f5c518; background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.32); }
.uc-role.user   { color: #d4d4d8; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.uc-role.site   { color: #fde68a; background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.3); }
.uc-role.tg     { color: #d4d4d8; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }

.uc-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.uc-empty-ico { font-size: 2.2rem; margin-bottom: 0.5rem; }
.uc-empty h4 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--display);
}

/* MODAL DE CONTROLE DE USUÁRIO (RESPONSIVO E SCROLL INTELIGENTE) */
.modal-controle-dialog {
  max-width: 840px !important;
  width: 95% !important;
  max-height: calc(100vh - 2rem) !important;
  max-height: calc(100dvh - 2rem) !important;
  padding: 1.25rem 1.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}

.uc-modal {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.uc-modal-head {
  flex-shrink: 0 !important;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-modal-head h3 {
  margin: 0.1rem 0 0.15rem;
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
}

.uc-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.uc-modal-grid {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 0.5rem !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

/* Scrollbar fina para a grid do modal */
.uc-modal-grid::-webkit-scrollbar {
  width: 6px;
}
.uc-modal-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.uc-modal-grid::-webkit-scrollbar-thumb {
  background: rgba(245, 197, 24, 0.35);
  border-radius: 4px;
}
.uc-modal-grid::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

.uc-box {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.38);
}

.uc-box h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.uc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.uc-quick .form-input {
  flex: 1;
  min-width: 110px;
}

.uc-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  color: #e2e8f0;
  cursor: pointer;
  user-select: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

.uc-check:hover {
  background: rgba(255, 255, 255, 0.05);
}

.uc-check input {
  accent-color: var(--yellow);
  width: 17px;
  height: 17px;
}

.uc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.uc-facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.4rem;
}

.uc-facts span { color: var(--muted); }
.uc-facts strong { color: #ffffff; font-weight: 600; text-align: right; }

.uc-modal-actions {
  flex-shrink: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 768px) {
  .modal-controle-dialog {
    padding: 1rem 0.85rem !important;
    max-height: calc(100vh - 1rem) !important;
    max-height: calc(100dvh - 1rem) !important;
    width: 98% !important;
  }
  .uc-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding-right: 0.25rem !important;
  }
  .uc-modal-actions {
    justify-content: stretch !important;
    gap: 0.45rem !important;
  }
  .uc-modal-actions .btn {
    flex: 1 1 auto !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    text-align: center;
    justify-content: center;
  }
}

/* ==============================================================
   CENTRAL DE CONTAS & USER CONTROL (ESTILO OFICIAL SPECHSHOP)
   ============================================================== */
.uc-root {
  display: grid;
  gap: 1.15rem;
  animation: apIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.uc-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 24, 0.24);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(245, 197, 24, 0.14), transparent 50%),
    linear-gradient(145deg, #141414 0%, #0a0a0a 60%, #101010 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.uc-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.uc-hero-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.uc-hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 65ch;
}

.uc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.uc-stat {
  min-width: 95px;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.uc-stat:hover {
  border-color: rgba(245, 197, 24, 0.35);
  background: rgba(245, 197, 24, 0.05);
}

.uc-stat.on {
  border-color: rgba(245, 197, 24, 0.6);
  background: rgba(245, 197, 24, 0.12);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
}

.uc-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--yellow);
  line-height: 1.1;
  font-weight: 800;
}

.uc-stat span {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.uc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  background: #111111;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 14px;
}

.uc-toolbar .form-input,
.uc-toolbar select {
  height: 42px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}

.uc-toolbar input#uc-q {
  flex: 1;
  min-width: 240px;
}

.uc-filter-check {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.uc-filter-check input {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.uc-list-panel {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.uc-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.uc-list-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: #fff;
}

.uc-list-head .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.uc-list-head-actions {
  display: flex;
  gap: 0.5rem;
}

.uc-list {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.2rem;
}

.uc-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: all 0.2s ease;
}

.uc-row:hover {
  border-color: rgba(245, 197, 24, 0.32);
  background: rgba(245, 197, 24, 0.04);
  transform: translateY(-1px);
}

.uc-row.is-banned {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.03);
}

.uc-row.is-pending {
  border-color: rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.03);
}

.uc-avatar,
.uc-modal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #0a0a0a;
  background: linear-gradient(145deg, #f5c518, #c9960c);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.25);
}

.uc-main {
  min-width: 0;
}

.uc-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.uc-name strong {
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.uc-meta,
.uc-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.uc-kpis {
  margin-top: 0.45rem;
}

.uc-kpis em {
  font-style: normal;
  color: var(--soft, #e2e8f0);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.72rem;
}

.uc-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.uc-login {
  text-align: right;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.35;
}

.uc-login strong {
  color: #ffffff;
  font-weight: 600;
}

.uc-pill,
.uc-role {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uc-pill.ok    { color: #86efac; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.32); }
.uc-pill.wait  { color: var(--yellow); background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.32); }
.uc-pill.ban   { color: #fca5a5; background: rgba(248, 113, 113, 0.14); border: 1px solid rgba(248, 113, 113, 0.32); }
.uc-pill.off   { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }

.uc-role.admin  { color: #0a0a0a; background: var(--yellow); font-weight: 900; }
.uc-role.seller { color: #f5c518; background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.32); }
.uc-role.user   { color: #d4d4d8; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.uc-role.site   { color: #fde68a; background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.3); }
.uc-role.tg     { color: #d4d4d8; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }

.uc-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.uc-empty-ico { font-size: 2.2rem; margin-bottom: 0.5rem; }
.uc-empty h4 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--display);
}

/* MODAL DE CONTROLE DE USUÁRIO */
.uc-modal {
  padding: 0.5rem;
}

.uc-modal-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-modal-head h3 {
  margin: 0.1rem 0 0.15rem;
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
}

.uc-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.uc-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.uc-box {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  background: rgba(0, 0, 0, 0.35);
}

.uc-box h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 800;
}

.uc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.uc-quick .form-input {
  flex: 1;
  min-width: 120px;
}

.uc-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
  color: #e2e8f0;
  cursor: pointer;
  user-select: none;
}

.uc-check input {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
}

.uc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.uc-facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.4rem;
}

.uc-facts span { color: var(--muted); }
.uc-facts strong { color: #ffffff; font-weight: 600; text-align: right; }

.uc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==============================================================
   GIFT CARDS MODULE (ESTILO OFICIAL SPECHSHOP)
   ============================================================== */
.gc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.gc-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gc-stat span {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.gc-stat small {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.gc-stat.ok span { color: #4ade80; }
.gc-stat.muted span { color: var(--muted); }

.gc-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-bottom: 1.25rem;
}

.gc-type-card {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gc-type-card strong {
  display: block;
  color: #ffffff;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gc-type-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.gc-type-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  border: 1px solid var(--border);
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.gc-type-card:hover {
  border-color: rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.03);
}

.gc-type-card.active {
  border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.12), #0e0e0e 60%);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.2), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gc-type-card.active .gc-type-ico {
  background: rgba(245, 197, 24, 0.18);
  border-color: rgba(245, 197, 24, 0.45);
}

.gc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gc-badge.saldo {
  background: rgba(245, 197, 24, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.gc-badge.horas {
  background: rgba(96, 165, 250, 0.14);
  color: #ffffff;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.gc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.gc-code-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gc-code-row .form-input {
  flex: 1;
}

.gc-actions {
  margin-top: 0.5rem;
}

.gc-result {
  margin-top: 1.1rem;
}

.gc-success {
  border: 1px solid rgba(245, 197, 24, 0.45);
  background: rgba(245, 197, 24, 0.08);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.gc-success > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.gc-success p {
  margin: 0.3rem 0;
  color: #ffffff;
  font-size: 0.88rem;
}

.gc-success code {
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 197, 24, 0.3);
}

.gc-success-meta {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
}

.gc-code-cell {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: ui-monospace, monospace;
}

@media (max-width: 860px) {
  .uc-toolbar { flex-direction: column; align-items: stretch; }
  .uc-toolbar input#uc-q { min-width: 0; width: 100%; }
  .uc-row {
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "avatar main"
      "side side";
  }
  .uc-avatar { grid-area: avatar; width: 42px; height: 42px; }
  .uc-main { grid-area: main; }
  .uc-side {
    grid-area: side;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.6rem;
    margin-top: 0.3rem;
  }
  .uc-login { text-align: left; }
  .uc-modal-grid { grid-template-columns: 1fr; }
  .gc-stats, .gc-type-grid, .gc-form-grid { grid-template-columns: 1fr; }
  .gc-code-row { flex-wrap: wrap; }
}


/* ============================================================
   SPECH // TEMPOS & REEMBOLSOS (EXATO SPECHSHOP DESIGN)
   ============================================================ */

.mt-shell {
  max-width: 840px;
  margin: 0 auto;
  background: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mt-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.mt-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #f5c518;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.mt-shell h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.mt-lead {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.82rem;
  max-width: 32rem;
  line-height: 1.4;
}

.mt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.mt-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.mt-hero-live {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 24, 0.35);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(245, 197, 24, 0.18), transparent 55%),
    linear-gradient(160deg, #131316, #08080a);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.mt-hero-live::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.22), transparent 70%);
  pointer-events: none;
}

.mt-hero-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4d4d8;
  font-weight: 700;
}

.mt-hero-live strong {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #f5c518;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 0 25px rgba(245, 197, 24, 0.3);
}

.mt-hero-sub {
  font-size: 0.74rem;
  color: #a1a1aa;
  margin-top: 0.2rem;
}

.mt-hero-side {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.mt-hero-side div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mt-hero-side span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  font-weight: 700;
}

.mt-hero-side b {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  font-family: ui-monospace, monospace;
}

.mt-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.mt-kpi {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #090a0d;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.2s;
}

.mt-kpi:hover {
  border-color: rgba(245, 197, 24, 0.3);
}

.mt-kpi span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
  font-weight: 700;
}

.mt-kpi strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f5c518;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, monospace;
}

.mt-gift {
  border: 1px dashed rgba(245, 197, 24, 0.35);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.95rem;
  background: rgba(245, 197, 24, 0.04);
}

.mt-gift-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c518;
  font-weight: 700;
  display: block;
}

.mt-gift-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.mt-gift-row input {
  flex: 1;
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.55rem 0.85rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-family: ui-monospace, monospace;
  transition: border-color 0.2s;
}

.mt-gift-row input:focus {
  outline: none;
  border-color: #f5c518;
}

.mt-hist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d4d4d8;
}

.mt-filter {
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.32rem 0.6rem;
  font-size: 0.76rem;
  cursor: pointer;
}

.mt-filter:focus {
  outline: none;
  border-color: #f5c518;
}

.mt-list {
  max-height: 290px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: #08090b;
}

.mt-list::-webkit-scrollbar {
  width: 6px;
}
.mt-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.mt-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}

.mt-row:last-child {
  border-bottom: 0;
}

.mt-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.mt-row.pending {
  border-left: 3px solid #f5c518;
  background: rgba(245, 197, 24, 0.02);
}

.mt-row.redeemed {
  opacity: 0.82;
}

.mt-row-main {
  flex: 1;
  min-width: 0;
}

.mt-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.mt-origin {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.mt-pill {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.mt-pill.pending {
  color: #08080a;
  background: #f5c518;
  border-color: #f5c518;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.4);
}

.mt-pill.redeemed {
  color: #a1a1aa;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.mt-pill.auto {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

.mt-row-sub {
  font-size: 0.74rem;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.2rem;
}

.mt-row-meta {
  font-size: 0.7rem;
  color: #71717a;
  margin-top: 0.25rem;
  font-family: ui-monospace, monospace;
}

.mt-row-meta strong {
  color: #f5c518;
  font-weight: 700;
}

.mt-row-act {
  flex-shrink: 0;
}

.mt-empty {
  padding: 2.2rem;
  text-align: center;
  color: #71717a;
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 720px) {
  .mt-hero { grid-template-columns: 1fr; }
  .mt-kpis { grid-template-columns: repeat(2, 1fr); }
  .mt-actions { width: 100%; justify-content: stretch; }
  .mt-actions .btn { flex: 1; text-align: center; }
}

/* SPECH PRESET PILLS & NOTIF STYLES */
.gc-preset-pill {
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #0e0e11;
  border: 1px solid var(--border);
  color: var(--soft);
}
.gc-preset-pill:hover {
  border-color: rgba(245, 197, 24, 0.4);
  color: #fff;
}
.gc-preset-pill.active {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.2);
}

/* ============================================================
   ADMIN HYBRID SCOPE DOCK & OPERATOR CHIP
   ============================================================ */
.inst-admin-scope-dock {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.scope-dock-lbl {
  font-size: 0.68rem;
  font-family: var(--mono, monospace);
  color: #a1a1aa;
  font-weight: 700;
  padding: 0 4px;
  letter-spacing: 0.5px;
}
.inst-scope-btn {
  background: transparent;
  border: 1px solid transparent;
  outline: none;
  color: #a1a1aa;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font, sans-serif);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.inst-scope-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.inst-scope-btn.active {
  background: rgba(245, 197, 24, 0.18);
  color: #f5c518;
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow: 0 2px 10px rgba(245, 197, 24, 0.15);
}
.inst-spec-chip.chip--user {
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.22);
  color: #fef08a;
}
.inst-spec-chip.chip--user.chip--user-self {
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: #fef08a;
}
@media (max-width: 768px) {
  .inst-admin-scope-dock {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}


/* ============================================================
   RESPONSIVIDADE TOPBAR & NAVEGAÇÃO MOBILE (SPECHCHECKERS)
   ============================================================ */
@media (max-width: 900px) {
  .nav-right .nav-btn-label {
    display: none !important;
  }
  .nav-right .btn-ghost {
    padding: 0.42rem 0.6rem !important;
  }
  .nav-right .btn-ghost svg {
    margin-right: 0 !important;
  }
}

@media (max-width: 640px) {
  .nav-right {
    gap: 0.35rem !important;
  }
  .nav-right .nav-btn-hide-mobile {
    display: none !important;
  }
  .nav-right .balance-pill {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.6rem !important;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 0.5rem 0.65rem !important;
  }
  .brand-title {
    font-size: 0.95rem !important;
  }
  .brand-sub {
    display: none !important;
  }
  .nav-right #btn-sound-toggle {
    display: none !important;
  }
  .nav-right .balance-pill {
    max-width: 105px;
  }
}


/* ============================================================
   SPECHCHECKERS CYBER BLACK & GOLD FUTURISTIC REDESIGN
   Tom Cinza / Preto / Dourado Metálico · Zero Azul · Minimalista
   ============================================================ */

/* Global Surfaces & Base */
body {
    background: #070709 !important;
    background-image: 
        radial-gradient(circle at 50% -10%, rgba(245, 197, 24, 0.07) 0%, transparent 60%),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        linear-gradient(180deg, #09090c 0%, #060608 100%) !important;
    color: #f4f4f5 !important;
}

/* Streamlined Futuristic Hero Header */
.ck-float-hero {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 1.25rem 1.6rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #111115 0%, #0a0a0d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 197, 24, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

.ck-float-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.5) 25%, rgba(255, 214, 10, 0.8) 50%, rgba(245, 197, 24, 0.5) 75%, transparent) !important;
}

.ck-float-ico {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.18) 0%, rgba(217, 119, 6, 0.25) 100%) !important;
    border: 1px solid rgba(245, 197, 24, 0.4) !important;
    color: #f5c518 !important;
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.18) !important;
}

.ck-float-kicker {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: #f5c518 !important;
    margin-bottom: 2px !important;
}

.ck-float-info h2, .ck-float-info h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.ck-float-info p {
    font-size: 0.82rem !important;
    color: #71717a !important;
    margin-top: 4px !important;
}

.ck-badge-tag {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #a1a1aa !important;
    font-family: var(--mono) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
}

.ck-badge-tag.active-node {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.28) !important;
    color: #34d399 !important;
}

.ck-badge-tag.speed {
    background: rgba(245, 197, 24, 0.06) !important;
    border-color: rgba(245, 197, 24, 0.25) !important;
    color: #f5c518 !important;
}

/* Command Dock & Tabs */
.historico-filter-bar {
    background: linear-gradient(180deg, #101014 0%, #0a0a0d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 12px 18px !important;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.inst-quick-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 10px !important;
}

.inst-tab-pill {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #a1a1aa !important;
    border-radius: 9px !important;
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
    transition: all 0.2s var(--ease) !important;
}

.inst-tab-pill:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border-color: rgba(245, 197, 24, 0.25) !important;
}

.inst-tab-pill.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.16) 0%, rgba(245, 197, 24, 0.04) 100%) !important;
    border-color: rgba(245, 197, 24, 0.45) !important;
    color: #f5c518 !important;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.12) !important;
}

.inst-admin-scope-dock {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 9px !important;
    padding: 3px 6px !important;
}

.inst-scope-btn {
    color: #a1a1aa !important;
    border-radius: 7px !important;
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
}

.inst-scope-btn.active {
    background: rgba(245, 197, 24, 0.14) !important;
    color: #f5c518 !important;
    border-color: rgba(245, 197, 24, 0.35) !important;
    box-shadow: 0 2px 8px rgba(245, 197, 24, 0.15) !important;
}

/* Minimalist Futuristic Instance Card */
.instance-item.inst-node-card {
    position: relative !important;
    background: linear-gradient(145deg, #111115 0%, #0b0b0e 100%) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: all 0.22s var(--ease) !important;
    gap: 14px !important;
}

.instance-item.inst-node-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(245, 197, 24, 0.35) !important;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 22px rgba(245, 197, 24, 0.06) !important;
}

.inst-node-blade {
    width: 3px !important;
    border-radius: 3px 0 0 3px !important;
}

.instance-item.inst-node-card.running .inst-node-blade {
    background: linear-gradient(180deg, #f5c518 0%, #d97706 100%) !important;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.6) !important;
}

.instance-item.inst-node-card.stopped .inst-node-blade {
    background: linear-gradient(180deg, #eab308 0%, #71717a 100%) !important;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.3) !important;
}

.inst-id-badge {
    background: rgba(245, 197, 24, 0.08) !important;
    border: 1px solid rgba(245, 197, 24, 0.28) !important;
    color: #f5c518 !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    font-size: 0.84rem !important;
}

.node-status-pill {
    padding: 4px 10px !important;
    border-radius: 7px !important;
    font-size: 0.7rem !important;
}

.node-status-pill.pill--running {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.32) !important;
    color: #34d399 !important;
}

.node-status-pill.pill--stopped {
    background: rgba(245, 197, 24, 0.08) !important;
    border: 1px solid rgba(245, 197, 24, 0.25) !important;
    color: #f5c518 !important;
}

.node-status-pill.pill--finished {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
}

.node-timer-chip {
    padding: 4px 10px !important;
    border-radius: 7px !important;
    font-size: 0.75rem !important;
}

.node-timer-chip.live {
    background: rgba(245, 197, 24, 0.08) !important;
    border: 1px solid rgba(245, 197, 24, 0.25) !important;
    color: #f5c518 !important;
}

.inst-prog-track {
    height: 4px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 999px !important;
}

.inst-prog-fill {
    background: linear-gradient(90deg, #f5c518 0%, #eab308 100%) !important;
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.4) !important;
}

/* Micro-Chips row */
.inst-spec-chip {
    padding: 4px 10px !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.73rem !important;
    color: #d4d4d8 !important;
}

.inst-spec-chip.chip--checker {
    background: rgba(245, 197, 24, 0.06) !important;
    border-color: rgba(245, 197, 24, 0.22) !important;
    color: #f5c518 !important;
}

.inst-spec-chip.chip--proxy {
    color: #a1a1aa !important;
}

.inst-spec-chip.chip--threads {
    color: #d4d4d8 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.inst-spec-chip.chip--user {
    background: rgba(245, 197, 24, 0.06) !important;
    border-color: rgba(245, 197, 24, 0.2) !important;
    color: #fef08a !important;
}

.inst-spec-chip.chip--time {
    color: #71717a !important;
}

/* Stat readout boxes */
.node-stat-box {
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

.node-stat-box.stat-live {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #34d399 !important;
}

.node-stat-box.stat-die {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #71717a !important;
}

.node-stat-box.stat-warn {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    color: #fbbf24 !important;
}

/* Detail View Command HUD */
.detail-header-cyber {
    background: linear-gradient(135deg, #111115 0%, #0a0a0c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    padding: 1.25rem 1.6rem !important;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 197, 24, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 60 !important;
}

.detail-header-cyber::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.5) 25%, rgba(255, 214, 10, 0.8) 50%, rgba(245, 197, 24, 0.5) 75%, transparent) !important;
}

.dh-node-pill {
    background: rgba(245, 197, 24, 0.08) !important;
    border: 1px solid rgba(245, 197, 24, 0.28) !important;
    color: #f5c518 !important;
    border-radius: 9px !important;
}

.dh-tag {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #d4d4d8 !important;
    border-radius: 8px !important;
}

.dh-tag.tag-checker {
    background: rgba(245, 197, 24, 0.06) !important;
    border-color: rgba(245, 197, 24, 0.25) !important;
    color: #f5c518 !important;
}

/* Detail HUD 5 KPI Cards */
.dh-kpi-card {
    background: linear-gradient(145deg, #121216 0%, #0b0b0e 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s !important;
}

.dh-kpi-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(245, 197, 24, 0.3) !important;
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 197, 24, 0.06) !important;
}

.kpi-label {
    color: #a1a1aa !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.08em !important;
}

.kpi-num {
    font-family: var(--mono) !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #f4f4f5 !important;
}

.kpi-sub {
    font-size: 0.73rem !important;
    color: #71717a !important;
}

/* Nova Instância Cards */
.ck-card-box {
    background: linear-gradient(135deg, #111115 0%, #0b0b0e 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.4rem !important;
    margin-bottom: 1.15rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ck-card-box:hover {
    border-color: rgba(245, 197, 24, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 197, 24, 0.05) !important;
}

.ck-card-title span.num {
    width: 24px !important;
    height: 24px !important;
    border-radius: 7px !important;
    background: rgba(245, 197, 24, 0.12) !important;
    border: 1px solid rgba(245, 197, 24, 0.35) !important;
    color: #f5c518 !important;
    font-family: var(--mono) !important;
    font-weight: 800 !important;
}

#nova-inst-lista {
    background: #08080b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: #f4f4f5 !important;
    font-family: var(--mono) !important;
    font-size: 0.85rem !important;
    padding: 14px 16px !important;
    line-height: 1.5 !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

#nova-inst-lista:focus {
    border-color: #f5c518 !important;
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.22) !important;
    outline: none !important;
}

#nova-inst-checker {
    background: #08080b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: #f4f4f5 !important;
    padding: 12px 14px !important;
    font-weight: 600 !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

#nova-inst-checker:focus {
    border-color: #f5c518 !important;
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.22) !important;
    outline: none !important;
}

.options-box {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 12px !important;
}

.checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.82rem !important;
    color: #a1a1aa !important;
    cursor: pointer !important;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #f5c518 !important;
    width: 16px !important;
    height: 16px !important;
}

/* Luxury Gold CTA button */
.btn-primary.hero-btn--shine, #btnStartInstance {
    background: linear-gradient(135deg, #f5c518 0%, #eab308 50%, #d97706 100%) !important;
    color: #070709 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.3) !important;
    transition: all 0.22s var(--ease) !important;
}

.btn-primary.hero-btn--shine:hover, #btnStartInstance:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(245, 197, 24, 0.45) !important;
    filter: brightness(1.06) !important;
}


/* ─── API MODALS & DIALOG ENHANCEMENTS (RESPONSIVE DESKTOP & MOBILE) ─── */
.modal-api-dialog {
    max-width: 680px !important;
    width: 100% !important;
}

.modal-scroll-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.modal-scroll-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    margin-right: -4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 197, 24, 0.3) rgba(255, 255, 255, 0.04);
}

.modal-scroll-body::-webkit-scrollbar {
    width: 6px;
}
.modal-scroll-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}
.modal-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(245, 197, 24, 0.35);
    border-radius: 4px;
}
.modal-scroll-body::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

.ck-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(245, 197, 24, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: center;
    background: rgba(245, 197, 24, 0.03);
    cursor: pointer;
    margin-bottom: 0.95rem;
    transition: border-color .15s, background .15s;
}

.ck-upload-zone:hover, .ck-upload-zone.drag {
    border-color: var(--yellow);
    background: rgba(245, 197, 24, 0.08);
}

.ck-upload-ico {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--yellow);
}

.ck-upload-zone strong {
    display: block;
    font-size: 0.9rem;
}

.ck-upload-zone small {
    color: var(--muted);
    font-size: 0.74rem;
}

.ck-upload-msg {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--yellow);
    font-weight: 700;
}

.ck-add-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.ck-add-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* SpechIDE Overlay & Editor */
.modal-ide-shell {
    max-width: min(1120px, 96vw) !important;
    width: 96% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    border: 1px solid var(--yellow-border) !important;
    background: #0d0d0f !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9) !important;
}

.ide-root {
    display: flex;
    flex-direction: column;
    height: 82vh;
    height: 82dvh;
    min-height: 420px;
    max-height: calc(100dvh - 2rem);
    width: 100%;
    color: #e8e8ea;
    font-size: 13px;
}

.ide-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #16161a, #101014);
    flex-shrink: 0;
}

.ide-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ─── RESPONSIVIDADE COMPLETA PARA CELULAR / TABLET / TELAS PEQUENAS ─── */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.5rem 0.4rem !important;
        align-items: center !important;
    }
    .modal-content {
        padding: 1.15rem 1rem !important;
        border-radius: 14px !important;
        max-height: calc(100vh - 1rem) !important;
        max-height: calc(100dvh - 1rem) !important;
        width: 100% !important;
    }
    .modal-header {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    .ck-add-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .ck-add-grid > .input-group[style*="span 2"] {
        grid-column: auto !important;
    }
    .ck-add-foot {
        flex-direction: column-reverse !important;
        gap: 0.5rem !important;
        margin-top: 0.75rem !important;
        padding-top: 0.75rem !important;
    }
    .ck-add-foot button {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.88rem !important;
    }
    .ck-upload-zone {
        padding: 0.75rem 0.65rem !important;
        margin-bottom: 0.75rem !important;
    }
    .ck-upload-zone strong {
        font-size: 0.85rem !important;
    }
    .ck-upload-zone small {
        font-size: 0.72rem !important;
    }
    .api-act-modal {
        min-width: 0 !important;
        width: 100% !important;
    }
    .api-act-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    .modal-ide-shell {
        width: 98% !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }
    .ide-root {
        height: 92vh !important;
        height: 92dvh !important;
        min-height: 0 !important;
    }
    .ide-topbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        padding: 0.65rem 0.75rem !important;
    }
    .ide-brand {
        justify-content: space-between !important;
    }
    .ide-actions {
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        justify-content: flex-end !important;
    }
    .ide-btn {
        padding: 0.35rem 0.55rem !important;
        font-size: 0.72rem !important;
    }
    .ide-textarea {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}

/* Suporte para telas baixas (laptops 1366x768 ou paisagem mobile) */
@media (max-height: 720px) {
    .modal-overlay {
        padding: 0.5rem !important;
    }
    .modal-content {
        max-height: calc(100vh - 1rem) !important;
        max-height: calc(100dvh - 1rem) !important;
        padding: 1rem 1.15rem !important;
    }
    .ck-upload-zone {
        padding: 0.6rem 0.8rem !important;
        margin-bottom: 0.65rem !important;
    }
    .ck-upload-ico {
        font-size: 1rem !important;
        margin-bottom: 0.1rem !important;
    }
    .ck-add-grid {
        gap: 0.6rem !important;
    }
}


/* ─── SPECH ENRIQUECIMENTO BIN BADGES ─── */
.log-badge-bank {
  font-family: var(--mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.log-badge-brand {
  font-family: var(--mono, monospace);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: #fbbf24;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}


/* ==========================================================================
   HISTÓRICO AVANÇADO (FILTROS DOCK & PAGINAÇÃO CYBERPUNK)
   ========================================================================== */

.historico-advanced-dock {
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hist-dock-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.hist-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hist-filter-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8b8b9e;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hist-dock-top select {
  background: rgba(18, 19, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4ed;
  font-size: 0.84rem;
  padding: 9px 12px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s var(--ease, ease);
  font-family: inherit;
}

.hist-dock-top select:hover {
  border-color: rgba(245, 197, 24, 0.35);
}

.hist-dock-top select:focus {
  border-color: rgba(245, 197, 24, 0.6);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
}

.hist-dock-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hist-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.hist-search-ico {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  opacity: 0.65;
  pointer-events: none;
}

.hist-search-box input {
  width: 100%;
  background: rgba(18, 19, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.86rem;
  padding: 10px 38px 10px 40px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.hist-search-box input:focus {
  border-color: rgba(245, 197, 24, 0.6);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.2);
}

.btn-hist-clear {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #a0a0b2;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-hist-clear:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.hist-count-summary {
  font-size: 0.82rem;
  color: #8b8b9e;
  white-space: nowrap;
}

.hist-count-summary .badge-accent {
  background: rgba(245, 197, 24, 0.15);
  color: #f5c518;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Barra de Paginação */
.historico-pagination-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 20px;
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hist-page-counter {
  font-size: 0.82rem;
  color: #a0a0b2;
  white-space: nowrap;
}

.hist-page-counter strong {
  color: #f5c518;
}

.hist-page-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hist-page {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d0d0dc;
  padding: 6px 12px;
  min-width: 34px;
  height: 34px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease, ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-hist-page:hover:not(:disabled) {
  border-color: rgba(245, 197, 24, 0.5);
  color: #f5c518;
  background: rgba(245, 197, 24, 0.1);
  transform: translateY(-1px);
}

.btn-hist-page.active {
  background: linear-gradient(135deg, #f5c518, #d4a017);
  color: #0b0c10;
  font-weight: 800;
  border-color: #f5c518;
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.4);
}

.btn-hist-page:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.hist-page-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #8b8b9e;
  white-space: nowrap;
}

.hist-page-jump input {
  width: 58px;
  background: rgba(18, 19, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
  outline: none;
  font-family: inherit;
}

.hist-page-jump input:focus {
  border-color: rgba(245, 197, 24, 0.6);
}

.btn-page-jump {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: #f5c518;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease, ease);
}

.btn-page-jump:hover {
  background: #f5c518;
  color: #0b0c10;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
}

@media (max-width: 768px) {
  .hist-dock-top {
    grid-template-columns: 1fr 1fr;
  }
  .historico-pagination-dock {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hist-page-counter, .hist-page-jump {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================ */
/* PORTÃO DE ACESSO / APROVAÇÃO DE USUÁRIOS (ESTILO SPECHSHOP) */
/* ============================================================ */
.ap-root {
  display: grid;
  gap: 1.15rem;
  animation: apIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes apIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ap-vault {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 24, 0.28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 197, 24, 0.14), transparent 55%),
    linear-gradient(145deg, #141414 0%, #0a0a0a 55%, #101010 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.ap-vault.is-open {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(145deg, #121212 0%, #0a0a0a 100%);
}

.ap-vault-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.2), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}
.ap-vault.is-open .ap-vault-glow { opacity: 0.25; }

.ap-vault-copy { position: relative; z-index: 1; flex: 1; min-width: 240px; max-width: 52ch; }
.ap-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow, #f5c518);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.ap-vault-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display, 'Cabinet Grotesk', sans-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.ap-vault-copy > p {
  margin: 0;
  color: var(--muted, #888);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ap-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}
.ap-stat {
  min-width: 88px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}
.ap-stat strong {
  display: block;
  font-family: var(--display, sans-serif);
  font-size: 1.15rem;
  color: var(--yellow, #f5c518);
  line-height: 1.1;
}
.ap-stat span {
  font-size: 0.68rem;
  color: var(--muted, #888);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ap-lock-btn {
  position: relative;
  z-index: 1;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.45);
  background: radial-gradient(circle at 40% 30%, #2a2410, #0d0d0d 70%);
  color: var(--yellow, #f5c518);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.06), 0 18px 40px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}
.ap-lock-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 8px rgba(245, 197, 24, 0.12), 0 20px 48px rgba(0, 0, 0, 0.55);
}
.ap-lock-btn.unlocked {
  color: #aaa;
  border-color: rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 40% 30%, #1c1c1c, #0a0a0a 70%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 14px 30px rgba(0, 0, 0, 0.4);
}
.ap-lock-btn.locked {
  animation: apPulse 2.4s ease-in-out infinite;
}
@keyframes apPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.06), 0 18px 40px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(245, 197, 24, 0.14), 0 18px 44px rgba(0, 0, 0, 0.5); }
}
.ap-lock-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 197, 24, 0.28);
  pointer-events: none;
}
.ap-lock-btn.unlocked .ap-lock-ring { border-color: rgba(255, 255, 255, 0.12); }
.ap-lock-svg { width: 38px; height: 38px; }
.ap-lock-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ap-list-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111111;
  overflow: hidden;
}
.ap-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
  flex-wrap: wrap;
}
.ap-list-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display, sans-serif);
  font-size: 1.05rem;
  color: #fff;
}
.ap-list {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.2rem;
}

.ap-card {
  display: grid;
  grid-template-columns: 46px 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  animation: apCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
  transition: border-color 0.2s ease, background 0.2s ease;
}
@keyframes apCard {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.ap-card:hover {
  border-color: rgba(245, 197, 24, 0.28);
  background: rgba(245, 197, 24, 0.03);
}
.ap-card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display, sans-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a0a0a;
  background: linear-gradient(145deg, #f5c518, #c9960c);
}
.ap-card-main { min-width: 0; }
.ap-card-main strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
  color: #fff;
}
.ap-card-main span,
.ap-card-main em {
  display: block;
  font-size: 0.74rem;
  color: var(--muted, #888);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ap-card-main em { font-style: normal; margin-top: 0.15rem; color: #aaa; }
.ap-geo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.45rem;
  align-items: center;
}
.ap-geo-ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--yellow, #f5c518);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 197, 24, 0.28);
  background: rgba(245, 197, 24, 0.08);
}
.ap-geo-place {
  font-size: 0.75rem;
  color: var(--muted, #888);
}
.ap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ap-pill.wait {
  color: var(--yellow, #f5c518);
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.28);
}
.ap-card-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ap-deny:hover { color: #f87171 !important; border-color: rgba(248, 113, 113, 0.4) !important; }

.ap-empty {
  text-align: center;
  padding: 2.4rem 1rem 2.2rem;
  color: var(--muted, #888);
}
.ap-empty-ico { font-size: 2rem; margin-bottom: 0.55rem; }
.ap-empty h4 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--display, sans-serif);
  font-size: 1.05rem;
}
.ap-empty p {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .ap-vault { padding: 1.25rem; }
  .ap-lock-btn { width: 112px; height: 112px; margin: 0 auto; }
  .ap-card {
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "avatar main"
      "status status"
      "actions actions";
  }
  .ap-card-avatar { grid-area: avatar; }
  .ap-card-main { grid-area: main; }
  .ap-card-status { grid-area: status; }
  .ap-card-actions { grid-area: actions; justify-content: stretch; }
  .ap-card-actions .btn { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VIP PLANS SHOWCASE & PIX CHECKOUT (SPECH CHECKERS)
   ═══════════════════════════════════════════════════════════════════════════ */
.planos-vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.vip-plan-card {
    position: relative;
    background: #0f0f13;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.vip-plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

/* DESTAQUE VIP: Refinado, moderno e sem neon */
.vip-plan-card.featured {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.04) 0%, #101014 40%);
    border: 1px solid rgba(245, 197, 24, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

.vip-plan-card.featured:hover {
    border-color: rgba(245, 197, 24, 0.55);
}

.vip-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-family: var(--mono);
}

.vip-plan-card.featured .vip-plan-badge {
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
    border: 1px solid rgba(245, 197, 24, 0.28);
    box-shadow: none;
}

.vip-plan-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.vip-plan-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e4e7;
    flex-shrink: 0;
}

.vip-plan-card.featured .vip-plan-icon {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.22);
    color: #f5c518;
}

.vip-plan-title {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--display);
    color: #ffffff !important;
    margin: 0;
    letter-spacing: -0.01em;
}

.vip-plan-time {
    display: inline-block;
    font-size: 0.75rem;
    color: #71717a !important;
    font-weight: 600;
    margin-top: 2px;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.vip-plan-card.featured .vip-plan-time {
    color: #d97706 !important;
}

.vip-plan-price-wrap {
    margin: 1.1rem 0;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.vip-plan-currency {
    font-size: 1rem;
    color: #71717a !important;
    font-weight: 600;
}

.vip-plan-amount {
    font-size: 2.35rem;
    font-weight: 800;
    color: #ffffff !important;
    font-family: var(--display);
    line-height: 1;
    letter-spacing: -0.03em;
}

.vip-plan-period {
    font-size: 0.78rem;
    color: #71717a;
    font-weight: 500;
    margin-left: 2px;
}

.vip-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vip-plan-features li {
    font-size: 0.82rem;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.35;
}

.vip-plan-features li strong {
    color: #f4f4f5;
    font-weight: 600;
}

.vip-plan-features li svg {
    color: #10b981;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.vip-plan-features li.disabled {
    color: #52525b;
    text-decoration: none;
}

.vip-plan-features li.disabled svg {
    color: #52525b;
}

.vip-buy-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.vip-buy-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.vip-plan-card.featured .vip-buy-btn {
    background: #f5c518 !important;
    color: #09090b !important;
    border: 1px solid #f5c518 !important;
    box-shadow: none !important;
}

.vip-plan-card.featured .vip-buy-btn:hover {
    background: #eab308 !important;
    border-color: #eab308 !important;
    transform: translateY(-1px);
}

/* Perks Strip */
.vip-perks-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.vip-perk-item {
    background: #0f0f13;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: border-color 0.2s ease;
}

.vip-perk-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.vip-perk-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5c518;
    flex-shrink: 0;
}

.vip-perk-info h4 {
    margin: 0;
    font-size: 0.85rem;
    color: #f4f4f5;
    font-weight: 700;
}

.vip-perk-info p {
    margin: 2px 0 0;
    font-size: 0.74rem;
    color: #71717a;
    line-height: 1.3;
}



/* Modal PIX Web */
.pix-checkout-dialog {
    max-width: 520px;
    background: linear-gradient(150deg, #111115 0%, #0a0a0d 100%) !important;
    border: 1px solid rgba(245, 197, 24, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 197, 24, 0.12) !important;
}

.pix-qr-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    margin: 12px auto;
}

.pix-qr-container img {
    display: block;
    width: 210px;
    height: 210px;
    image-rendering: pixelated;
}

.pix-copy-box {
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 6px;
    margin: 12px 0;
}

.pix-copy-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e4e4e7;
    font-family: var(--font-code);
    font-size: 0.78rem;
    padding: 6px 10px;
    outline: none;
}

.pix-radar-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(245, 197, 24, 0.08);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
}

.pix-radar-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
    animation: pixPulse 1.4s infinite ease-in-out;
}

@keyframes pixPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.pix-key-reveal {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    margin: 16px 0;
}

.pix-key-reveal code {
    display: block;
    font-family: var(--font-code);
    font-size: 1.35rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.1em;
    margin: 10px 0;
}



/* ==========================================================================
   SPECH INTELLIGENCE · MODAL DE CONSULTA DE BIN & MOBILE RESPONSIVE
   ========================================================================== */

.modal-bin-content {
    background: #0d0e14 !important;
    border: 1px solid rgba(245, 197, 24, 0.28) !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 197, 24, 0.12) !important;
    border-radius: 18px !important;
}

.bin-hero-card {
    background: linear-gradient(135deg, #181924 0%, #0d0e15 100%);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.bin-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.bin-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bin-hero-chip {
    font-size: 0.7rem;
    font-weight: 800;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.bin-hero-brand {
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 1px;
}

.bin-hero-number {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.bin-hero-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bin-meta-lbl {
    display: block;
    font-size: 0.62rem;
    color: #71717a;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bin-meta-val {
    font-size: 0.82rem;
    color: #f4f4f5;
    font-weight: 700;
}

.bin-data-cell {
    background: #090a0f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bin-cell-lbl {
    font-size: 0.62rem;
    color: #71717a;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.bin-cell-val {
    font-size: 0.82rem;
    color: #f4f4f5;
    font-weight: 700;
    word-break: break-word;
}

/* Regras Estritas de Responsividade Mobile para Logs de Instâncias */
@media (max-width: 768px) {
    .log-body {
        padding: 8px 10px !important;
        max-height: 480px !important;
    }
    .log-entry {
        padding: 9px 11px !important;
        gap: 7px !important;
    }
    .log-entry-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 7px !important;
    }
    .log-entry-id-group {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }
    .log-card-pill {
        flex: 1 !important;
        min-width: 0 !important;
        justify-content: space-between !important;
    }
    .log-card-number {
        font-size: 0.76rem !important;
    }
    .log-entry-actions {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        gap: 6px !important;
    }
    .btn-log-action {
        padding: 4px 9px !important;
        font-size: 0.68rem !important;
    }
    .log-bin-badges {
        gap: 4px !important;
    }
    .log-badge-brand,
    .log-badge-bank,
    .log-badge-level,
    .log-badge-type,
    .log-badge-country,
    .log-badge-bin {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
    }
    .log-badge-bank {
        max-width: 100% !important;
    }
    .log-message-box {
        padding: 6px 8px !important;
        gap: 6px !important;
    }
    .log-msg-lead {
        font-size: 0.7rem !important;
    }
    .log-msg-content {
        font-size: 0.74rem !important;
        line-height: 1.4 !important;
    }
    .log-header {
        padding: 10px 12px !important;
    }
    .lh-left {
        gap: 8px !important;
    }
    .lh-title {
        font-size: 0.82rem !important;
    }
    .log-badge {
        min-width: 28px !important;
        height: 22px !important;
        padding: 0 8px !important;
        font-size: 0.72rem !important;
        gap: 4px !important;
    }
    .btn-copy-stream-chip {
        padding: 3px 8px !important;
        font-size: 0.68rem !important;
    }
}

/* ==========================================================================
   SPECH CHECKERS · NEXT-GEN LUXURY BLACK & GOLD DESIGN SYSTEM (2026)
   Cores: Preto Obsidiana (#08080a, #0e0e12), Dourado Metálico (#d4af37, #c5a059),
          Cinza Titânio (#27272a, #71717a, #a1a1aa) e Branco Puro (#ffffff).
   ========================================================================== */

/* ── Topbar Actions ── */
.btn-topbar-nova-inst {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8010 100%);
    color: #08080a;
    font-size: 0.8rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-topbar-nova-inst:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.55);
    filter: brightness(1.08);
}

/* ── Botão Notificações Topbar (Ativa / Desativa) ── */
.btn-topbar-notif-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.btn-topbar-notif-toggle.notif-on {
    background: rgba(245, 197, 24, 0.08);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
}
.btn-topbar-notif-toggle.notif-on:hover {
    background: rgba(245, 197, 24, 0.16);
    border-color: rgba(245, 197, 24, 0.55);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.3);
    transform: translateY(-1px);
}
.btn-topbar-notif-toggle.notif-off {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #71717a;
    box-shadow: none;
}
.btn-topbar-notif-toggle.notif-off:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: #d4d4d8;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .btn-topbar-notif-toggle #topbar-notif-txt {
        display: none;
    }
    .btn-topbar-notif-toggle {
        padding: 7px 10px;
    }
}
.btn-topbar-hist {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-topbar-hist:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
}
.balance-pill--gold {
    background: rgba(14, 14, 18, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    color: #d4af37 !important;
    box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.08) !important;
}

/* ── Header Instance Quick Navigation ── */
.btn-dh-nova-inst {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #08080a;
    font-size: 0.75rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
    transition: all 0.2s ease;
}
.btn-dh-nova-inst:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.quick-inst-selector {
    position: relative;
    display: inline-block;
    z-index: 120;
}
.btn-quick-selector {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 8px;
    background: rgba(24, 24, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f4f4f5;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-quick-selector:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
    background: rgba(32, 32, 38, 0.95);
}
.quick-selector-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 390px;
    max-width: min(390px, calc(100vw - 32px));
    background: #0d0d10;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.08);
    z-index: 2000;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.qsd-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}
.qsd-head-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #f5c518;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--mono, monospace);
}
.qsd-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.qsd-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.75rem;
    font-family: inherit;
    width: 100%;
}
.qsd-search-bar input::placeholder {
    color: #64748b;
}
.qsd-list {
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.qsd-list::-webkit-scrollbar {
    width: 5px;
}
.qsd-list::-webkit-scrollbar-track {
    background: rgba(13, 13, 16, 0.95);
}
.qsd-list::-webkit-scrollbar-thumb {
    background: rgba(245, 197, 24, 0.3);
    border-radius: 4px;
}
.qsd-list::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 197, 24, 0.6);
}
.qsd-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.15s ease;
}
.qsd-item:hover {
    background: rgba(212, 175, 55, 0.08);
}
.qsd-item.qsd-current {
    background: rgba(212, 175, 55, 0.12);
    border-left: 3px solid #d4af37;
}
.qsd-item-left {
    flex: 1;
    min-width: 0;
}
.qsd-item-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--mono, monospace);
    display: block;
}
.qsd-item-sub {
    font-size: 0.72rem;
    color: #8e8e93;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}
.qsd-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.qsd-status-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.qsd-status-tag.st-proc { background: rgba(212, 175, 55, 0.18); color: #d4af37; border: 1px solid rgba(212, 175, 55, 0.35); }
.qsd-status-tag.st-fin  { background: rgba(255, 255, 255, 0.06); color: #a1a1aa; border: 1px solid rgba(255, 255, 255, 0.1); }
.qsd-status-tag.st-stop { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.qsd-lives-tag { font-size: 0.7rem; color: #d4af37; font-weight: 700; font-family: var(--mono, monospace); white-space: nowrap; }
.qsd-empty { padding: 20px; text-align: center; color: #71717a; font-size: 0.78rem; }

/* ── Modern KPI Cards (Clean Obsidian & Gold) ── */
.dh-kpi-card {
    background: linear-gradient(180deg, #101014 0%, #0a0a0d 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.8) !important;
    border-radius: 14px !important;
}
.dh-kpi-card:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.9), 0 0 16px rgba(212, 175, 55, 0.08) !important;
}
.dh-kpi-card .kpi-num {
    color: #ffffff !important;
    text-shadow: none !important;
    font-family: var(--font, sans-serif) !important;
    font-weight: 700 !important;
}
.dh-kpi-card.kpi-live .kpi-num {
    color: #d4af37 !important;
}
.dh-kpi-card.kpi-clock .kpi-num {
    color: #e4e4e7 !important;
}
.kpi-beacon {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}
.beacon-live { background: #d4af37 !important; box-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important; }
.beacon-die  { background: #52525b !important; }
.beacon-warn { background: #a1a1aa !important; }

/* ── Modern Accordion Log Streams (Eliminating Rainbow Neon) ── */
.log-stream-card {
    background: #0d0d11 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-left: 3px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    border-radius: 14px !important;
}
.log-stream-card.live  { border-left: 3px solid #d4af37 !important; }
.log-stream-card.die   { border-left: 3px solid #3f3f46 !important; }
.log-stream-card.error { border-left: 3px solid #71717a !important; }

.log-header {
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 12px 18px !important;
}
.lh-title {
    color: #f4f4f5 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.02em !important;
}
.log-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e4e4e7 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
.badge-live-glow {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #d4af37 !important;
}
.badge-live-glow::before {
    background: #d4af37 !important;
    box-shadow: 0 0 6px #d4af37 !important;
}
.badge-die-glow {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
}
.badge-die-glow::before {
    background: #71717a !important;
    box-shadow: none !important;
}
.badge-warn-glow {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
}
.badge-warn-glow::before {
    background: #71717a !important;
    box-shadow: none !important;
}

/* ── Modern Log Entry Row (Minimalist Elegance) ── */
.log-entry {
    background: #0a0a0d !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
}
.log-entry:hover {
    background: #111116 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-1px);
}
.log-entry--live {
    border-left: 3px solid #d4af37 !important;
}
.log-entry--die {
    border-left: 3px solid #27272a !important;
}
.log-entry--warn, .log-entry--error {
    border-left: 3px solid #52525b !important;
}

.log-entry-badge {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
}
.log-entry-badge--live, .log-entry-badge.live {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}
.log-entry-badge--die, .log-entry-badge.die {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #a1a1aa !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.log-entry-badge--warn, .log-entry-badge.warn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #71717a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.log-card-pill {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    cursor: pointer !important;
}
.log-card-number {
    font-family: var(--mono) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.03em !important;
}

.btn-log-action {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
    border-radius: 6px !important;
    padding: 3px 9px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
}
.btn-log-action:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.06) !important;
}

/* ── Modern Monochromatic Meta Strip (No Rainbow) ── */
.log-meta-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.73rem;
    color: #a1a1aa;
    margin: 4px 0 2px;
    font-family: var(--mono);
}
.meta-tag {
    color: #d4d4d8;
}
.meta-brand {
    color: #d4af37;
    font-weight: 700;
}
.meta-bin {
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.meta-bin:hover {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
}
.meta-dot {
    color: #52525b;
}

/* ── Modern Return Box ── */
.log-message-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    padding: 5px 10px !important;
    margin-top: 4px !important;
}
.log-msg-content {
    font-family: var(--mono) !important;
    font-size: 0.75rem !important;
    color: #e4e4e7 !important;
}

/* ── Luxury Floating Modal (Black & Gold) ── */
.modal-backdrop-luxury {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    animation: modalFadeIn 0.2s ease-out;
}
.modal-box-luxury {
    background: #0e0e13;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.1);
    overflow: hidden;
    animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header-luxury {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}
.mhl-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mhl-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #d4af37;
}
.mhl-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
}
.mhl-sub {
    margin: 2px 0 0;
    font-size: 0.74rem;
    color: #a1a1aa;
}
.btn-modal-close-luxury {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}
.btn-modal-close-luxury:hover {
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.05);
}
.modal-body-luxury {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group-luxury {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-label-luxury {
    font-size: 0.76rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.form-select-luxury {
    width: 100%;
    background: #14141a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 0.88rem !important;
    font-family: var(--font) !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}
.form-select-luxury:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25) !important;
}
.form-select-luxury option {
    background: #14141a !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
}
.quick-checker-info-badge {
    font-size: 0.72rem;
    color: #a1a1aa;
    font-family: var(--mono);
    margin-top: 4px;
    display: flex;
    gap: 8px;
}
.form-textarea-luxury {
    width: 100%;
    min-height: 140px;
    background: #14141a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: var(--mono);
    font-size: 0.8rem;
    line-height: 1.5;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.form-textarea-luxury:focus {
    border-color: #d4af37;
}
.btn-mini-luxury {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d4af37;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    font-weight: 600;
}
.btn-mini-luxury:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}
.quick-lista-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #71717a;
    font-family: var(--mono);
    margin-top: 4px;
}
.quick-options-row {
    display: flex;
    gap: 16px;
    padding-top: 4px;
}
.checkbox-luxury {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: #e4e4e7;
    cursor: pointer;
    user-select: none;
}
.checkbox-luxury input {
    accent-color: #d4af37;
}
.modal-footer-luxury {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
}
.btn-luxury-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-luxury-ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-luxury-gold {
    background: linear-gradient(135deg, #d4af37 0%, #aa8010 100%);
    color: #08080a;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
    transition: all 0.2s ease;
}
.btn-luxury-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.55);
    filter: brightness(1.08);
}
.btn-gold-action-btn {
    background: linear-gradient(135deg, #d4af37 0%, #aa8010 100%) !important;
    color: #08080a !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.btn-gold-action-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.5) !important;
}

/* ── Animations ── */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 16px rgba(212, 175, 55, 0.8); }
}

/* ==========================================================================
   SPECHCHECKERS · FORMATTER CONSOLE / SEPARADOR DE LISTAS
   Layout Oficial SpechCheckers: Dourado (#f5c518) / Preto (#0a0c10) / Branco / Cinza
   ========================================================================== */

.modal-formatter-shell {
    max-width: min(1180px, 96vw) !important;
    width: 96% !important;
    background: #060608 !important;
    border: 1px solid rgba(245, 197, 24, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.98), 0 0 35px rgba(245, 197, 24, 0.12) !important;
    padding: 24px 28px !important;
    color: #ffffff !important;
    position: relative;
    max-height: 94vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 197, 24, 0.4) transparent;
}

.modal-formatter-shell::-webkit-scrollbar {
    width: 6px;
}
.modal-formatter-shell::-webkit-scrollbar-thumb {
    background: rgba(245, 197, 24, 0.35);
    border-radius: 6px;
}

/* Header */
.fmt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    position: relative;
}

.fmt-header-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.fmt-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
    flex-shrink: 0;
}

.fmt-kicker {
    font-family: var(--font-code, 'IBM Plex Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    color: #f5c518;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fmt-title {
    font-family: var(--font-title, 'Sora', sans-serif);
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fmt-accent {
    background: linear-gradient(135deg, #f5c518 0%, #fef08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fmt-desc {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    max-width: 620px;
    line-height: 1.45;
}

.fmt-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Card Taxa de Validade */
.fmt-validity-card {
    background: rgba(245, 197, 24, 0.03);
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 14px;
    padding: 10px 20px;
    text-align: center;
    min-width: 180px;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 20px rgba(245, 197, 24, 0.03);
}

.fmt-val-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
}

.fmt-val-number {
    font-family: var(--font-title, 'Sora', sans-serif);
    font-size: 2.2rem;
    font-weight: 800;
    color: #f5c518;
    line-height: 1.1;
    margin: 4px 0 2px 0;
    transition: all 0.3s ease;
}

.fmt-val-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    display: block;
}

.fmt-btn-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.fmt-btn-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: rotate(90deg);
}

/* 5 Metrics Cards Grid */
.fmt-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .fmt-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .fmt-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fmt-metric-card {
    background: #0b0b0f;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.2s;
}

.fmt-metric-card:hover {
    border-color: rgba(245, 197, 24, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fmt-m-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.fmt-m-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
}

.dot-valid {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
.dot-invalid {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
.dot-expired {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}
.dot-duplicate {
    background: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.fmt-m-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.tag-valid { color: #10b981; }
.tag-invalid { color: #ef4444; }
.tag-expired { color: #f59e0b; }
.tag-duplicate { color: #d4af37; }

.fmt-m-val {
    font-family: var(--font-title, 'Sora', sans-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}

.val-valid { color: #10b981; }
.val-invalid { color: #ef4444; }
.val-expired { color: #f59e0b; }
.val-duplicate { color: #d4af37; }

.fmt-m-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Toolbar & Filters */
.fmt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #08080c;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.fmt-filters-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fmt-filter-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fmt-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    user-select: none;
    font-weight: 500;
}

.fmt-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
}

.fmt-checkbox-label input[type="checkbox"]:checked {
    background: #f5c518;
    border-color: #f5c518;
}

.fmt-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #0a0a0a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fmt-chk-bin {
    background: rgba(245, 197, 24, 0.08);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 8px;
    padding: 3px 8px;
    color: #f5c518;
}

.fmt-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fmt-btn-process {
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.3);
    transition: all 0.2s ease;
}

.fmt-btn-process:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.45);
}

.fmt-btn-apply {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fmt-btn-apply:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: rgba(245, 197, 24, 0.4);
    color: #f5c518;
    transform: translateY(-1px);
}

.fmt-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 8px 13px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fmt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.fmt-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fmt-btn-ghost:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

/* Split Panes Grid */
.fmt-workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 820px) {
    .fmt-workspace-grid {
        grid-template-columns: 1fr;
    }
}

.fmt-pane {
    background: #08080c;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.fmt-pane-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(245, 197, 24, 0.03);
    border-bottom: 1px solid rgba(245, 197, 24, 0.14);
}

.fmt-pane-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.fmt-dot-in {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5c518;
    box-shadow: 0 0 6px rgba(245, 197, 24, 0.6);
}

.fmt-dot-out {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.fmt-pane-badge {
    font-family: var(--font-code, monospace);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.badge-saida {
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
    border: 1px solid rgba(245, 197, 24, 0.3);
}

.fmt-textarea {
    width: 100%;
    min-height: 280px;
    max-height: 420px;
    background: transparent;
    border: none;
    padding: 14px;
    color: #e2e8f0;
    font-family: var(--font-code, 'IBM Plex Mono', monospace);
    font-size: 0.84rem;
    line-height: 1.55;
    resize: vertical;
    outline: none;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
    box-sizing: border-box;
}

.fmt-textarea::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.fmt-textarea:focus {
    background: rgba(245, 197, 24, 0.015);
}

/* Botão Topbar para abrir Separador (Padrão SpechCheckers Luxury) */
.btn-topbar-tool {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 7px 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-topbar-tool:hover {
    background: rgba(245, 197, 24, 0.09);
    border-color: rgba(245, 197, 24, 0.35);
    color: #f5c518;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.15);
}


/* ==========================================================================
   SPECHCHECKERS · GERADOR MULTI-BIN CC (MESMO LAYOUT DO SEPARADOR)
   Dourado (#f5c518) / Preto Obsidian (#0a0c12) / Branco / Cinza
   ========================================================================== */

.gen-config-pane {
    background: #08080c;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.gen-form-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gen-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gen-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: #f5c518;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gen-label-hint {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
    text-transform: none;
    letter-spacing: 0;
}

.gen-input,
.gen-select {
    width: 100%;
    background: #050507;
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
    color: #ffffff;
    font-family: var(--font-code, 'IBM Plex Mono', monospace);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.gen-input:focus,
.gen-select:focus {
    border-color: rgba(245, 197, 24, 0.65);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12);
}

.gen-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.gen-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .gen-row-2 {
        grid-template-columns: 1fr;
    }
}

.gen-actions-inline {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.gen-actions-inline .fmt-btn-process {
    flex: 1;
    justify-content: center;
    padding: 11px 18px;
}

/* ════════════════════════════════════════════════════════════════════════════
   DASHBOARD ENTERPRISE — GRID DE MÉTRICAS E CARDS DE STATUS
   ════════════════════════════════════════════════════════════════════════════ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.metric-card {
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: var(--yellow-border);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--yellow), #d97706);
}

.metric-card .stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
    display: block;
}

.metric-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--mono);
    line-height: 1;
}

.metric-card .stat-sub {
    font-size: 0.78rem;
    color: var(--soft);
    margin-top: 0.5rem;
    display: block;
}

.metric-card .stat-icon {
    position: absolute;
    top: 1.25rem; right: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.15;
}

.metric-card--live .stat-value { color: var(--green); }
.metric-card--die .stat-value { color: var(--red); }
.metric-card--gold .stat-value { color: var(--yellow); }

/* Área de ações organizadas por função */
.function-area {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.function-area h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.function-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-align: center;
}

.function-btn:hover {
    background: rgba(245, 197, 24, 0.08);
    border-color: var(--yellow-border);
    transform: translateY(-2px);
    color: var(--yellow);
}

.function-btn .func-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--yellow-dim);
    color: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    border: 1px solid var(--yellow-border);
}

.function-btn .func-label {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.function-btn .func-sub {
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* Botão Nova Instância Centralizado */
.nova-instancia-hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(245,197,24,0.08) 0%, transparent 100%);
    border-radius: 20px;
    border: 1px dashed var(--yellow-border);
    margin: 1.5rem 0;
}

.btn-nova-instancia-principal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.5rem;
    background: linear-gradient(135deg, var(--yellow), #d97706);
    color: #0a0a0a;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--display);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    box-shadow: 0 0 25px rgba(245,197,24,0.35);
}

.btn-nova-instancia-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(245,197,24,0.55);
    background: linear-gradient(135deg, #ffd60a, #b8860b);
}

/* Topnav simplificado */
.topnav-left { gap: 0.75rem; }
.topnav-center { display: none !important; }

/* Responsividade 100% Mobile */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .function-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-area {
        padding: 1rem 0.9rem 3rem;
    }

    .hero--epic {
        padding: 0;
        margin-bottom: 1rem;
    }

    .hero-epic-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-btns button {
        width: 100%;
        justify-content: center;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .nova-instancia-hero {
        padding: 1.5rem 0;
    }

    .btn-nova-instancia-principal {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .function-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        padding: 1rem 1.25rem;
    }

    .metric-card .stat-value {
        font-size: 1.75rem;
    }
}

/* Dashboard Enterprise — Elementos adicionais */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--display);
    letter-spacing: -0.02em;
}

.dashboard-header .dash-subtitle {
    font-size: 0.85rem;
    color: var(--soft);
    margin-top: 0.25rem;
    display: block;
}

.dash-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Cards de função refinados */
.function-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-align: center;
    text-decoration: none;
    color: var(--text);
}

.function-card:hover {
    background: linear-gradient(135deg, rgba(245,197,24,0.1) 0%, rgba(18,18,18,0.7) 100%);
    border-color: var(--yellow-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    color: var(--yellow);
}

.function-card .func-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.function-card h5 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--display);
}

.function-card p {
    font-size: 0.72rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Barra de status do dashboard */
.dash-status-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dash-status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--soft);
    font-family: var(--mono);
}

.dash-status-item .dash-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: dashPulse 2s infinite;
}

@keyframes dashPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Dashboard Enterprise — Cartões de função refinados */
.function-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-align: center;
    text-decoration: none;
    color: var(--text);
}

.function-card:hover {
    background: linear-gradient(135deg, rgba(245,197,24,0.1) 0%, rgba(18,18,18,0.7) 100%);
    border-color: var(--yellow-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    color: var(--yellow);
}

.function-card .func-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.function-card h5 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--display);
}

.function-card p {
    font-size: 0.72rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Barra de status do dashboard */
.dash-status-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dash-status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--soft);
    font-family: var(--mono);
}

.dash-status-item .dash-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: dashPulse 2s infinite;
}

@keyframes dashPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.dash-status-item--warn .dash-status-dot {
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow);
}

.dash-status-item--error .dash-status-dot {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE MINIMAL HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-minimal-header {
    height: 54px;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.elevate-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elevate-header-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.elevate-brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.elevate-brand-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    letter-spacing: -0.3px;
}

.elevate-brand-title span {
    color: var(--yellow);
}

.elevate-brand-sep {
    color: var(--muted);
    font-size: 0.85rem;
}

.elevate-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(52, 211, 153, 0.08);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--mono);
}

.elevate-status-pill .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

.elevate-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.elevate-clock-pill {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px 9px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.elevate-header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px 4px 5px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
}

.elevate-header-user-btn:hover {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c518, #92400e);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elevate-header-uname {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--display);
}

.elevate-admin-crown {
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE BLACK & GOLD DASHBOARD ARCHITECTURE
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-user-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(14, 14, 18, 0.95) 100%);
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.elevate-user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.elevate-user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c518, #92400e);
    color: #0a0a0a;
    font-size: 1.55rem;
    font-weight: 800;
    font-family: var(--display);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.elevate-user-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #0e0e12;
    box-shadow: 0 0 8px #34d399;
}

.elevate-user-meta {
    flex: 1;
}

.elevate-breadcrumb {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.elevate-user-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.elevate-user-sub {
    font-size: 0.84rem;
    color: var(--soft);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.elevate-user-sub a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.elevate-user-sub a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Grid Modular 2x2 */
.elevate-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.elevate-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.elevate-card:hover {
    border-color: rgba(245, 197, 24, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 197, 24, 0.08);
}

.elevate-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.elevate-card-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
}

.elevate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--mono);
    line-height: 1;
}

.elevate-badge--active {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.elevate-badge--active .elevate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

.elevate-badge--inactive {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.elevate-badge--inactive .elevate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f87171;
}

.elevate-badge--muted {
    background: rgba(255, 255, 255, 0.05);
    color: var(--soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card 1: Seu Plano Hero */
.elevate-card--plan {
    background: linear-gradient(145deg, rgba(245, 197, 24, 0.12) 0%, #0d0d11 60%);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-plan-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.elevate-plan-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.elevate-plan-sub {
    font-size: 0.85rem;
    color: var(--soft);
    margin: 0 0 20px 0;
}

.elevate-plan-access {
    margin-top: 14px;
}

.elevate-plan-access-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 2px;
}

.elevate-plan-access-val {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f5c518;
    font-family: var(--mono);
    line-height: 1.1;
}

.elevate-plan-access-sub {
    font-size: 0.78rem;
    color: var(--soft);
    margin-top: 2px;
}

.elevate-plan-shield {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.45));
}

.elevate-plan-shield svg {
    width: 100%;
    height: 100%;
}

.elevate-card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    margin-top: 18px;
    text-decoration: none;
}

.elevate-card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 197, 24, 0.5);
}

/* Card 2: Seus Recursos */
.elevate-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.elevate-metric-item {
    display: flex;
    flex-direction: column;
}

.elevate-metric-lbl {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.elevate-metric-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
    line-height: 1.1;
}

.elevate-metric-sub {
    font-size: 0.75rem;
    color: var(--soft);
    margin-top: 4px;
}

.elevate-tech-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--soft);
    font-family: var(--mono);
}

/* Card 3: Sua Progressão */
.elevate-prog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.elevate-prog-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 197, 24, 0.14);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.elevate-prog-rank-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
}

.elevate-prog-rank-sub {
    font-size: 0.76rem;
    color: var(--muted);
    margin: 2px 0 0 0;
}

.elevate-prog-bar-wrap {
    margin-top: 10px;
}

.elevate-prog-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    font-family: var(--mono);
    color: var(--soft);
    margin-bottom: 6px;
}

.elevate-prog-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.elevate-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5c518, #ffd60a);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
    transition: width 0.6s ease;
}

.elevate-prog-footer {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 8px;
}

/* Card 4: Histórico da Conta */
.elevate-hist-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px 0 16px 0;
}

.elevate-hist-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow);
    font-size: 0.80rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    width: fit-content;
}

.elevate-hist-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Responsividade do Grid Elevate */
@media (max-width: 900px) {
    .elevate-grid-2x2 {
        grid-template-columns: 1fr;
    }
    .elevate-user-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE CHECKER CLOUD STATION (3-COLUMN LAYOUT WITH CENTRAL SPECH LOGO)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-station-shell {
    background: #0b0b0e;
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 22px;
    padding: 24px 28px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 197, 24, 0.05);
    margin-bottom: 24px;
}

.elevate-station-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.elevate-station-brand {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--display);
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.elevate-station-brand span {
    color: var(--yellow);
}

.elevate-station-nav-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.elevate-tag-crumb {
    font-size: 0.72rem;
    font-family: var(--mono);
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.elevate-tag-crumb:hover {
    color: var(--yellow);
}

.elevate-tag-active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 197, 24, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.70rem;
    font-weight: 700;
    font-family: var(--mono);
}

.elevate-tag-active .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
}

.elevate-station-credits-box {
    text-align: right;
}

.elevate-station-credits-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
}

.elevate-station-credits-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
}

/* Grid Triplo */
.elevate-station-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 26px;
    align-items: stretch;
}

/* Coluna 1: Entrada */
.elevate-panel-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.elevate-section-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 2px;
}

.elevate-section-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
}

.elevate-section-sub {
    font-size: 0.76rem;
    color: var(--soft);
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.elevate-select-wrap {
    margin-bottom: 12px;
}

.elevate-select-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
}

.elevate-textarea-wrap {
    position: relative;
    margin-bottom: 10px;
}

.elevate-textarea {
    width: 100%;
    min-height: 190px;
    background: #070709;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--mono);
    font-size: 0.80rem;
    color: #e5e5e5;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.elevate-textarea:focus {
    border-color: rgba(245, 197, 24, 0.45);
    box-shadow: 0 0 14px rgba(245, 197, 24, 0.15);
}

.elevate-cost-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: var(--soft);
    margin-bottom: 12px;
}

.elevate-btn-process {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: var(--display);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.elevate-btn-process:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(245, 197, 24, 0.55);
}

/* Coluna 2: Centro com Logotipo Oficial SpechCheckers */
.elevate-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.elevate-logo-glow-card {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.elevate-logo-aura {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.28) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 70%);
    animation: elevateBreathe 3.5s ease-in-out infinite alternate;
}

@keyframes elevateBreathe {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; filter: blur(6px); }
}

.elevate-logo-svg {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 28px rgba(245, 197, 24, 0.5));
}

.elevate-center-status-lbl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--yellow);
    font-family: var(--mono);
    margin-bottom: 6px;
}

.elevate-center-status-lbl .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
}

.elevate-center-progress-bar {
    width: 100%;
    max-width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px auto;
}

.elevate-center-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f5c518, #ffd60a);
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.6);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.elevate-center-lines-info {
    font-size: 0.70rem;
    color: var(--muted);
    font-family: var(--mono);
}

/* Coluna 3: Saída e Resultados */
.elevate-results-col {
    display: flex;
    flex-direction: column;
}

.elevate-stat-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.elevate-stat-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--mono);
}

.elevate-stat-pill--live {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.elevate-stat-pill--die {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
}

.elevate-stat-pill--warn {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.elevate-output-search {
    width: 100%;
    background: #070709;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #ffffff;
    font-family: var(--mono);
    outline: none;
    margin-bottom: 10px;
}

.elevate-output-search:focus {
    border-color: rgba(245, 197, 24, 0.4);
}

.elevate-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
}

.elevate-empty-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--muted);
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.2));
}

.elevate-empty-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.elevate-empty-sub {
    font-size: 0.74rem;
    color: var(--muted);
    max-width: 220px;
    margin: 0;
}

/* Responsividade do Checker Station */
@media (max-width: 1024px) {
    .elevate-station-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING BOTTOM NAVIGATION DOCK (ELEVATEHUB BLACK & GOLD)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-bottom-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 14, 18, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 197, 24, 0.10);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--soft);
    transition: all 0.22s var(--ease);
    text-decoration: none;
    min-width: 68px;
    outline: none;
}

.dock-item .dock-icon {
    font-size: 1.15rem;
    margin-bottom: 2px;
    transition: transform 0.2s var(--ease);
}

.dock-item .dock-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-family: var(--mono);
    text-transform: uppercase;
}

.dock-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.dock-item:hover .dock-icon {
    transform: translateY(-2px);
}

.dock-item.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
    border: 1px solid rgba(245, 197, 24, 0.45);
    color: var(--yellow);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.22);
}

.dock-item.active .dock-icon {
    filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.6));
    transform: scale(1.08);
}

/* Espaço extra no final do body para a dock não cobrir conteúdo */
body {
    padding-bottom: 95px !important;
}

@media (max-width: 600px) {
    .elevate-bottom-dock {
        bottom: 12px;
        width: calc(100% - 24px);
        max-width: 480px;
        justify-content: space-around;
        padding: 4px 6px;
        gap: 2px;
    }
    .dock-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    .dock-item .dock-icon {
        font-size: 1.05rem;
    }
    .dock-item .dock-label {
        font-size: 0.55rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOVA ÁREA DE RANKING COM PÓDIO ANIMADO (BLACK & GOLD ELITE RESPONSIVO)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-ranking-shell {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.elevate-podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 32px 0 28px 0;
    padding: 0 4px;
    width: 100%;
    box-sizing: border-box;
}

.podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1 1 0;
    max-width: 280px;
    min-width: 0;
    box-sizing: border-box;
}

.podium-user-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.podium-avatar-wrap {
    position: relative;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.podium-avatar {
    width: clamp(52px, 8vw, 68px);
    height: clamp(52px, 8vw, 68px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 800;
    font-family: var(--display);
    color: #0a0a0a;
}

.podium-avatar--1st {
    width: clamp(66px, 10vw, 86px);
    height: clamp(66px, 10vw, 86px);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    background: linear-gradient(135deg, #ffd60a 0%, #f5c518 50%, #92400e 100%);
    box-shadow: 0 0 28px rgba(245, 197, 24, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: goldGlowPulse 2.8s ease-in-out infinite alternate;
}

@keyframes goldGlowPulse {
    0% { box-shadow: 0 0 20px rgba(245, 197, 24, 0.4); }
    100% { box-shadow: 0 0 40px rgba(245, 197, 24, 0.85), 0 0 15px #ffd60a; }
}

.podium-avatar--2nd {
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.podium-avatar--3rd {
    background: linear-gradient(135deg, #fcd34d 0%, #b45309 100%);
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.podium-crown {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.8));
    animation: crownFloat 2.2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-5px); }
}

.podium-user-name {
    font-size: clamp(0.78rem, 1.8vw, 0.95rem);
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.podium-user-stats {
    font-size: clamp(0.64rem, 1.4vw, 0.74rem);
    color: var(--soft);
    font-family: var(--mono);
    margin: 2px 0 0 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.podium-pillar {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: podiumRise 0.6s var(--ease) forwards;
}

@keyframes podiumRise {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.podium-pillar--1st {
    height: clamp(140px, 20vw, 190px);
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.18) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(245, 197, 24, 0.45);
}

.podium-pillar--2nd {
    height: clamp(105px, 15vw, 140px);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.14) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(148, 163, 184, 0.35);
}

.podium-pillar--3rd {
    height: clamp(80px, 12vw, 110px);
    background: linear-gradient(180deg, rgba(180, 83, 9, 0.14) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(180, 83, 9, 0.35);
}

.podium-rank-num {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    font-family: var(--mono);
    line-height: 1;
}

.podium-pillar--1st .podium-rank-num { color: #f5c518; text-shadow: 0 0 16px rgba(245, 197, 24, 0.6); }
.podium-pillar--2nd .podium-rank-num { color: #94a3b8; }
.podium-pillar--3rd .podium-rank-num { color: #d97706; }

.podium-rank-lbl {
    font-size: clamp(0.55rem, 1.2vw, 0.65rem);
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-top: 4px;
}

/* Tabela de Classificação 4º ao 10º & Linha do Usuário */
.elevate-rank-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.elevate-rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: transform 0.2s, border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.elevate-rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-rank-row.is-current-user {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.12) 0%, #0d0d11 100%);
    border-color: rgba(245, 197, 24, 0.45);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.12);
}

.rank-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.rank-row-pos {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--muted);
    width: 28px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.rank-row-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.rank-row-left > div:last-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.rank-row-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rank-row-tier {
    font-size: 0.70rem;
    color: var(--muted);
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rank-row-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    flex-shrink: 0;
    text-align: right;
}

.rank-row-lives {
    font-size: 0.92rem;
    font-weight: 800;
    color: #34d399;
    white-space: nowrap;
}

.rank-row-rate {
    font-size: 0.75rem;
    color: var(--soft);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOVA ÁREA EXCLUSIVA DE PERFIL (BLACK & GOLD MASTER)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-profile-shell {
    max-width: 900px;
    margin: 0 auto;
}

.elevate-profile-banner {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.12) 0%, rgba(14, 14, 18, 0.98) 100%);
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.profile-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-main-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd60a, #92400e);
    color: #000;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--display);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(245, 197, 24, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.profile-user-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
}

.profile-user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 197, 24, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--mono);
}

/* Box da Chave Exclusiva */
.profile-key-box {
    background: #0d0d11;
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.profile-key-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #060608;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 10px;
}

.profile-key-code {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 1px;
    user-select: all;
}

.btn-copy-key {
    background: rgba(245, 197, 24, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.4);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    font-family: var(--mono);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-key:hover {
    background: var(--yellow);
    color: #000;
}

/* Grid de Informações de Conta */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.profile-info-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 20px;
}

.profile-info-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.profile-info-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
}

.profile-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .elevate-profile-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   SPECHSHOP BOT & CHECKER STATION ENHANCEMENTS
   ============================================================ */
.elevate-center-mascot-img {
    width: 175px;
    height: 175px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.45));
    animation: floatMascot 4.5s ease-in-out infinite;
}

@keyframes floatMascot {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

.dock-item--admin {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.28);
    color: #fcd34d;
}

.dock-item--admin:hover {
    background: rgba(245, 197, 24, 0.18);
    border-color: rgba(245, 197, 24, 0.5);
    color: #ffd60a;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.3);
}

.dock-item--admin.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.35) 0%, rgba(180, 83, 9, 0.25) 100%) !important;
    border-color: var(--yellow) !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(245, 197, 24, 0.45) !important;
}

.elevate-station-subnav .inst-tab-pill {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
}

.elevate-station-subnav .inst-tab-pill.active {
    background: rgba(245, 197, 24, 0.16);
    border-color: var(--yellow);
    color: var(--yellow);
}

.station-subview {
    animation: fadeInStation 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInStation {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SPECHCHECKERS QUANTUM HUD & 2-COLUMN CLUSTER INJECTOR
   ============================================================ */
.elevate-station-grid-2col {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .elevate-station-grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.elevate-panel-col--futuristic {
    background: #09090d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-sm-cyber {
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.3);
    color: var(--yellow);
    font-weight: 700;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.btn-sm-cyber:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
}

.elevate-textarea--futuristic {
    background: #060608 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    font-family: var(--mono) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    padding: 14px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.elevate-textarea--futuristic:focus {
    border-color: var(--yellow) !important;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.2) !important;
}

.futuristic-stats-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: rgba(245, 197, 24, 0.03);
    border: 1px solid rgba(245, 197, 24, 0.15);
    border-radius: 10px;
    font-size: 11.5px;
    font-family: var(--mono);
    color: var(--muted);
}

/* QUANTUM HOLOGRAM SPECHCHECKERS */
.elevate-center-col--hologram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(245, 197, 24, 0.08) 0%, rgba(9, 9, 13, 0.95) 70%);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.spech-hologram-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hologram-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(245, 197, 24, 0.35);
    pointer-events: none;
}

.ring-outer {
    width: 210px;
    height: 210px;
    animation: cyberSpin 18s linear infinite;
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.1);
}

.ring-inner {
    width: 170px;
    height: 170px;
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-top-color: var(--yellow);
    border-bottom-color: var(--yellow);
    animation: cyberSpinRev 10s linear infinite;
}

.hologram-radar-sweep {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 197, 24, 0.18) 60deg, transparent 70deg);
    animation: radarSweep 4s linear infinite;
    pointer-events: none;
}

@keyframes cyberSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cyberSpinRev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spech-quantum-logo {
    width: 130px;
    height: 130px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.55));
    animation: hologramPulse 3.5s ease-in-out infinite alternate;
}

@keyframes hologramPulse {
    0% { transform: scale(0.96); filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.45)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(245, 197, 24, 0.75)); }
}

.hologram-caption {
    text-align: center;
    margin-bottom: 20px;
}

.hologram-brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--display);
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hologram-brand-name span {
    color: var(--yellow);
}

.hologram-engine-tag {
    font-size: 0.68rem;
    font-family: var(--mono);
    color: var(--yellow);
    letter-spacing: 1.4px;
    font-weight: 700;
    margin-top: 2px;
}

.cluster-telemetry-hud {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
}

.hud-stat-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--mono);
}

.hud-stat-chip .chip-lbl {
    color: var(--muted);
    font-weight: 600;
}

.hud-stat-chip .chip-val {
    color: #f1f5f9;
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.chip-dot.dot-live { background: #34d399; box-shadow: 0 0 8px #34d399; }
.chip-dot.dot-blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.chip-dot.dot-gold { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }

.btn-futuristic-fire {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(245, 197, 24, 0.35);
    transition: all 0.3s ease;
}

.btn-futuristic-fire:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 197, 24, 0.6);
}

/* ============================================================
   FUTURISTIC DETAIL VIEW (ONDE A NUVEM RODA E MOSTRA RESULTADOS)
   ============================================================ */
.detail-view {
    background: #08080b;
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 197, 24, 0.04);
}

.detail-header-cyber {
    background: linear-gradient(135deg, rgba(20, 20, 26, 0.9) 0%, rgba(10, 10, 14, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dh-node-pill {
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dh-node-pill .dh-pill-txt {
    font-size: 10px;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--mono);
    letter-spacing: 1px;
}

.dh-node-pill strong {
    font-size: 1.15rem;
    color: #ffffff;
    font-family: var(--mono);
}

.detail-hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.dh-kpi-card {
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.95) 0%, rgba(9, 9, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 18px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, border-color 0.2s;
}

.dh-kpi-card:hover {
    transform: translateY(-2px);
}

.dh-kpi-card.kpi-live {
    border-color: rgba(52, 211, 153, 0.3);
}

.dh-kpi-card.kpi-live .kpi-num {
    color: #34d399;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.dh-kpi-card.kpi-die {
    border-color: rgba(248, 113, 113, 0.3);
}

.dh-kpi-card.kpi-die .kpi-num {
    color: #f87171;
}

.dh-kpi-card.kpi-progress {
    border-color: rgba(245, 197, 24, 0.3);
}

.dh-kpi-card.kpi-progress .kpi-num {
    color: var(--yellow);
}

.dh-kpi-card.kpi-warn {
    border-color: rgba(245, 158, 11, 0.3);
}

.dh-kpi-card.kpi-warn .kpi-num {
    color: #fbbf24;
}

.dh-kpi-card.kpi-clock {
    border-color: rgba(56, 189, 248, 0.3);
}

.dh-kpi-card.kpi-clock .kpi-num {
    color: #38bdf8;
    font-family: var(--mono);
}

.detail-command-dock {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SISTEMA RESPONSIVO DO RANKING, PÓDIO E NOMES DOS OPERADORES
   ═══════════════════════════════════════════════════════════════════════════ */
#aba-ranking {
    scroll-margin-top: 75px;
}

.elevate-ranking-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Evita qualquer sobreposição no pódio */
.podium-user-name,
.podium-user-stats {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

/* Evita qualquer sobreposição nos cards de operadores */
.rank-row-name,
.rank-row-tier {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .ck-float-hero {
        padding: 1.15rem 1.3rem !important;
        gap: 14px !important;
    }
    .ck-float-left {
        flex: 1 1 100% !important;
    }
    .page-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .page-header-actions button {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
    .elevate-podium-container {
        gap: 10px;
        margin: 22px 0 20px 0;
    }
}

@media (max-width: 680px) {
    .podium-pillar--1st { height: 135px; }
    .podium-pillar--2nd { height: 105px; }
    .podium-pillar--3rd { height: 80px; }
    .podium-avatar--1st { width: 58px; height: 58px; font-size: 1.4rem; }
    .podium-avatar--2nd,
    .podium-avatar--3rd { width: 46px; height: 46px; font-size: 1.1rem; }
    .podium-crown { font-size: 1.2rem; top: -18px; }
    .podium-rank-num { font-size: 1.5rem; }
    .podium-rank-lbl { font-size: 0.55rem; }

    .elevate-rank-row {
        padding: 10px 14px;
        gap: 8px;
    }
    .rank-row-left {
        gap: 10px;
    }
    .rank-row-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }
    .rank-row-pos {
        width: 24px;
        min-width: 24px;
        font-size: 0.85rem;
    }
    .rank-row-right {
        gap: 10px;
    }
    .rank-row-lives {
        font-size: 0.85rem;
    }
    .rank-row-rate {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .elevate-podium-container {
        gap: 6px;
    }
    .podium-col {
        padding: 0 2px;
    }
    .podium-user-badge {
        padding: 0 2px;
        margin-bottom: 8px;
    }
    .rank-row-right span:first-child {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   NOVO MODAL SUPREMO DE CHECKERS & GATEWAYS (CLEAN & MODERNO v2.0)
   ═══════════════════════════════════════════════════════════════════ */
.ck-engine-switch-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.ck-engine-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--soft, #ccc);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.ck-engine-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.ck-engine-tab.active {
    background: rgba(245, 197, 24, 0.08);
    border-color: var(--yellow, #f5c518);
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.15);
}

.ck-engine-tab .tab-ico {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ck-engine-tab strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.ck-engine-tab small {
    display: block;
    font-size: 0.72rem;
    color: var(--muted, #888);
}

.ck-engine-tab.active small {
    color: rgba(255, 255, 255, 0.75);
}

.ck-card-section {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ck-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--yellow, #f5c518);
    font-weight: 700;
    margin-bottom: 12px;
}

.ck-port-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ck-port-input {
    flex: 1;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    font-family: monospace;
}

.ck-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ck-test-btn:hover {
    background: var(--yellow, #f5c518);
    color: #000;
    border-color: var(--yellow, #f5c518);
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.3);
}

.ck-port-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ck-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.74rem;
    color: var(--soft, #ccc);
    cursor: pointer;
    transition: all 0.15s ease;
}

.ck-chip:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: var(--yellow, #f5c518);
    color: #fff;
}

.ck-preview-box {
    margin-top: 10px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: monospace;
    font-size: 0.75rem;
    color: #a1a1aa;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ck-preview-box code {
    color: var(--yellow, #f5c518);
}

.ck-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.ck-status-tag.online {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.ck-status-tag.offline {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ck-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.ck-dot.pulse {
    animation: ckPulse 1.5s infinite;
}

@keyframes ckPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* ============================================================ */
/* GERENCIADOR DE CHECKERS V2 (SUPER MODERNIZAÇÃO & TELEMETRIA) */
/* ============================================================ */
.ck-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ck-kpi-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}
.ck-kpi-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.ck-kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    opacity: 0.25;
}
.ck-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ck-kpi-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}
.ck-kpi-ico {
    font-size: 1.15rem;
    opacity: 0.85;
}
.ck-kpi-val {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--display);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}
.ck-kpi-sub {
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Toolbar & Filtros Rápidos */
.ck-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #0f0f14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ck-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}
.ck-search-box input {
    width: 100%;
    padding: 0.55rem 0.85rem 0.55rem 2.2rem;
    background: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
    transition: all 0.2s;
}
.ck-search-box input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.15);
}
.ck-search-box .ck-search-ico {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.85rem;
    pointer-events: none;
}
.ck-filter-chips {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}
.ck-filter-btn {
    background: #09090c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--soft);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}
.ck-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.ck-filter-btn.active {
    background: rgba(245, 197, 24, 0.12);
    border-color: var(--yellow);
    color: var(--yellow);
    font-weight: 700;
}

/* Tabela V2 */
.cyber-table-v2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.cyber-table-v2 th {
    background: #0b0b0f;
    padding: 0.85rem 1rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-family: var(--mono);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}
.cyber-table-v2 td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    vertical-align: middle;
    background: transparent;
    transition: background 0.15s;
}
.cyber-table-v2 tr:hover td {
    background: rgba(245, 197, 24, 0.025);
}

/* Badges e Identificadores */
.ck-engine-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--mono);
}
.ck-engine-pill.uvicorn {
    background: rgba(245, 197, 24, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.3);
}
.ck-engine-pill.php {
    background: rgba(147, 112, 219, 0.12);
    color: #b197fc;
    border: 1px solid rgba(147, 112, 219, 0.3);
}

.ck-port-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #e5e5e5;
}
.ck-port-pill.online {
    border-color: rgba(34, 197, 94, 0.35);
}
.ck-port-pill.offline {
    border-color: rgba(239, 68, 68, 0.3);
}

.ck-fallback-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-family: var(--mono);
    font-weight: 600;
}
.ck-fallback-pill.ready {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.ck-fallback-pill.na {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Switch Toggle Direto */
.ck-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}
.ck-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ck-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #26262c;
    transition: .25s;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ck-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: .25s;
    border-radius: 50%;
}
.ck-switch input:checked + .ck-slider {
    background-color: #10b981;
    border-color: #10b981;
}
.ck-switch input:checked + .ck-slider:before {
    transform: translateX(16px);
}

/* Ações Rápidas */
.ck-action-btns {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ck-btn-act {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--soft);
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ck-btn-act:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(245, 197, 24, 0.08);
}
.ck-btn-act.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}



/* Elementos adicionais de layout enterprise */
.dash-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-section-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--yellow), #d97706);
    border-radius: 2px;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.card-stat {
    background: #0f0f0f;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s var(--ease);
}

.card-stat:hover {
    border-color: var(--yellow-border);
    background: #161616;
}

.card-stat .cs-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--yellow-dim);
    color: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    border: 1px solid var(--yellow-border);
}

.card-stat .cs-info .cs-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    display: block;
    margin-bottom: 0.25rem;
}

.card-stat .cs-info .cs-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--mono);
    line-height: 1;
}

@media (max-width: 640px) {
    .card-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Elementos adicionais de layout enterprise */
.dash-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-section-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--yellow), #d97706);
    border-radius: 2px;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.card-stat {
    background: #0f0f0f;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s var(--ease);
}

.card-stat:hover {
    border-color: var(--yellow-border);
    background: #161616;
}

.card-stat .cs-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--yellow-dim);
    color: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    border: 1px solid var(--yellow-border);
}

.card-stat .cs-info .cs-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    display: block;
    margin-bottom: 0.25rem;
}

.card-stat .cs-info .cs-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--mono);
    line-height: 1;
}

@media (max-width: 640px) {
    .card-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .card-stats {
        grid-template-columns: 1fr;
    }
}

/* Melhorias responsivas para sidebar mobile */
@media (max-width: 768px) {
    .sidebar {
        width: min(320px, 95vw);
    }

    .nav-mobile-links {
        padding: 0.75rem 0.65rem 1rem;
    }

    .nav-mobile-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.82rem;
    }

    .nav-mobile-btn .nav-emoji {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .nav-btn-title {
        font-size: 0.82rem;
    }

    .nav-btn-sub {
        font-size: 0.68rem;
    }
}

/* Melhorias responsivas para cards de métricas */
@media (max-width: 768px) {
    .metric-card {
        padding: 1rem 1.25rem;
    }

    .metric-card .stat-value {
        font-size: 1.75rem;
    }

    .function-btn {
        padding: 0.875rem 0.65rem;
    }

    .function-btn .func-icon {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }

    .function-btn .func-label {
        font-size: 0.75rem;
    }

    .function-btn .func-sub {
        font-size: 0.62rem;
    }
}

/* Melhorias para o botão Nova Instância Centralizado */
@media (max-width: 480px) {
    .nova-instancia-hero {
        padding: 1rem 0;
        margin: 1rem 0;
    }

    .btn-nova-instancia-principal {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsividade mobile para elementos adicionais */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .dash-actions {
        justify-content: center;
    }

    .dash-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dash-status-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .dash-status-item {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .function-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        padding: 1rem 1.25rem;
    }

    .metric-card .stat-value {
        font-size: 1.75rem;
    }

    .function-btn {
        padding: 0.875rem 0.65rem;
    }

    .function-btn .func-icon {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }

    .function-btn .func-label {
        font-size: 0.75rem;
    }

    .function-btn .func-sub {
        font-size: 0.62rem;
    }
}

.dash-status-item--warn .dash-status-dot {
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow);
}

.dash-status-item--error .dash-status-dot {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE MINIMAL HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-minimal-header {
    height: 54px;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.elevate-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elevate-header-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.elevate-brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.elevate-brand-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    letter-spacing: -0.3px;
}

.elevate-brand-title span {
    color: var(--yellow);
}

.elevate-brand-sep {
    color: var(--muted);
    font-size: 0.85rem;
}

.elevate-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(52, 211, 153, 0.08);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--mono);
}

.elevate-status-pill .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

.elevate-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.elevate-clock-pill {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px 9px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.elevate-header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px 4px 5px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
}

.elevate-header-user-btn:hover {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c518, #92400e);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elevate-header-uname {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--display);
}

.elevate-admin-crown {
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE BLACK & GOLD DASHBOARD ARCHITECTURE
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-user-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(14, 14, 18, 0.95) 100%);
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.elevate-user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.elevate-user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c518, #92400e);
    color: #0a0a0a;
    font-size: 1.55rem;
    font-weight: 800;
    font-family: var(--display);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.elevate-user-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #0e0e12;
    box-shadow: 0 0 8px #34d399;
}

.elevate-user-meta {
    flex: 1;
}

.elevate-breadcrumb {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.elevate-user-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.elevate-user-sub {
    font-size: 0.84rem;
    color: var(--soft);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.elevate-user-sub a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.elevate-user-sub a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Grid Modular 2x2 */
.elevate-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.elevate-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.elevate-card:hover {
    border-color: rgba(245, 197, 24, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 197, 24, 0.08);
}

.elevate-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.elevate-card-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
}

.elevate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--mono);
    line-height: 1;
}

.elevate-badge--active {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.elevate-badge--active .elevate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

.elevate-badge--inactive {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.elevate-badge--inactive .elevate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f87171;
}

.elevate-badge--muted {
    background: rgba(255, 255, 255, 0.05);
    color: var(--soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card 1: Seu Plano Hero */
.elevate-card--plan {
    background: linear-gradient(145deg, rgba(245, 197, 24, 0.12) 0%, #0d0d11 60%);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-plan-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.elevate-plan-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.elevate-plan-sub {
    font-size: 0.85rem;
    color: var(--soft);
    margin: 0 0 20px 0;
}

.elevate-plan-access {
    margin-top: 14px;
}

.elevate-plan-access-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 2px;
}

.elevate-plan-access-val {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f5c518;
    font-family: var(--mono);
    line-height: 1.1;
}

.elevate-plan-access-sub {
    font-size: 0.78rem;
    color: var(--soft);
    margin-top: 2px;
}

.elevate-plan-shield {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.45));
}

.elevate-plan-shield svg {
    width: 100%;
    height: 100%;
}

.elevate-card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
    margin-top: 18px;
    text-decoration: none;
}

.elevate-card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 197, 24, 0.5);
}

/* Card 2: Seus Recursos */
.elevate-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.elevate-metric-item {
    display: flex;
    flex-direction: column;
}

.elevate-metric-lbl {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.elevate-metric-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
    line-height: 1.1;
}

.elevate-metric-sub {
    font-size: 0.75rem;
    color: var(--soft);
    margin-top: 4px;
}

.elevate-tech-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--soft);
    font-family: var(--mono);
}

/* Card 3: Sua Progressão */
.elevate-prog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.elevate-prog-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 197, 24, 0.14);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.elevate-prog-rank-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
}

.elevate-prog-rank-sub {
    font-size: 0.76rem;
    color: var(--muted);
    margin: 2px 0 0 0;
}

.elevate-prog-bar-wrap {
    margin-top: 10px;
}

.elevate-prog-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    font-family: var(--mono);
    color: var(--soft);
    margin-bottom: 6px;
}

.elevate-prog-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.elevate-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5c518, #ffd60a);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
    transition: width 0.6s ease;
}

.elevate-prog-footer {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 8px;
}

/* Card 4: Histórico da Conta */
.elevate-hist-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px 0 16px 0;
}

.elevate-hist-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow);
    font-size: 0.80rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    width: fit-content;
}

.elevate-hist-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Responsividade do Grid Elevate */
@media (max-width: 900px) {
    .elevate-grid-2x2 {
        grid-template-columns: 1fr;
    }
    .elevate-user-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATE-STYLE CHECKER CLOUD STATION (3-COLUMN LAYOUT WITH CENTRAL SPECH LOGO)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-station-shell {
    background: #0b0b0e;
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 22px;
    padding: 24px 28px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 197, 24, 0.05);
    margin-bottom: 24px;
}

.elevate-station-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.elevate-station-brand {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--display);
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.elevate-station-brand span {
    color: var(--yellow);
}

.elevate-station-nav-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.elevate-tag-crumb {
    font-size: 0.72rem;
    font-family: var(--mono);
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.elevate-tag-crumb:hover {
    color: var(--yellow);
}

.elevate-tag-active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 197, 24, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.70rem;
    font-weight: 700;
    font-family: var(--mono);
}

.elevate-tag-active .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
}

.elevate-station-credits-box {
    text-align: right;
}

.elevate-station-credits-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
}

.elevate-station-credits-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
}

/* Grid Triplo */
.elevate-station-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 26px;
    align-items: stretch;
}

/* Coluna 1: Entrada */
.elevate-panel-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.elevate-section-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 2px;
}

.elevate-section-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
}

.elevate-section-sub {
    font-size: 0.76rem;
    color: var(--soft);
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.elevate-select-wrap {
    margin-bottom: 12px;
}

.elevate-select-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
}

.elevate-textarea-wrap {
    position: relative;
    margin-bottom: 10px;
}

.elevate-textarea {
    width: 100%;
    min-height: 190px;
    background: #070709;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--mono);
    font-size: 0.80rem;
    color: #e5e5e5;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.elevate-textarea:focus {
    border-color: rgba(245, 197, 24, 0.45);
    box-shadow: 0 0 14px rgba(245, 197, 24, 0.15);
}

.elevate-cost-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: var(--soft);
    margin-bottom: 12px;
}

.elevate-btn-process {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5c518 0%, #d97706 100%);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: var(--display);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.elevate-btn-process:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(245, 197, 24, 0.55);
}

/* Coluna 2: Centro com Logotipo Oficial SpechCheckers */
.elevate-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.elevate-logo-glow-card {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.elevate-logo-aura {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.28) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 70%);
    animation: elevateBreathe 3.5s ease-in-out infinite alternate;
}

@keyframes elevateBreathe {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; filter: blur(6px); }
}

.elevate-logo-svg {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 28px rgba(245, 197, 24, 0.5));
}

.elevate-center-status-lbl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--yellow);
    font-family: var(--mono);
    margin-bottom: 6px;
}

.elevate-center-status-lbl .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
}

.elevate-center-progress-bar {
    width: 100%;
    max-width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px auto;
}

.elevate-center-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f5c518, #ffd60a);
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.6);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.elevate-center-lines-info {
    font-size: 0.70rem;
    color: var(--muted);
    font-family: var(--mono);
}

/* Coluna 3: Saída e Resultados */
.elevate-results-col {
    display: flex;
    flex-direction: column;
}

.elevate-stat-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.elevate-stat-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--mono);
}

.elevate-stat-pill--live {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.elevate-stat-pill--die {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
}

.elevate-stat-pill--warn {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.elevate-output-search {
    width: 100%;
    background: #070709;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #ffffff;
    font-family: var(--mono);
    outline: none;
    margin-bottom: 10px;
}

.elevate-output-search:focus {
    border-color: rgba(245, 197, 24, 0.4);
}

.elevate-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
}

.elevate-empty-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--muted);
    filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.2));
}

.elevate-empty-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.elevate-empty-sub {
    font-size: 0.74rem;
    color: var(--muted);
    max-width: 220px;
    margin: 0;
}

/* Responsividade do Checker Station */
@media (max-width: 1024px) {
    .elevate-station-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING BOTTOM NAVIGATION DOCK (ELEVATEHUB BLACK & GOLD)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-bottom-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 14, 18, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 197, 24, 0.10);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--soft);
    transition: all 0.22s var(--ease);
    text-decoration: none;
    min-width: 68px;
    outline: none;
}

.dock-item .dock-icon {
    font-size: 1.15rem;
    margin-bottom: 2px;
    transition: transform 0.2s var(--ease);
}

.dock-item .dock-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-family: var(--mono);
    text-transform: uppercase;
}

.dock-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.dock-item:hover .dock-icon {
    transform: translateY(-2px);
}

.dock-item.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
    border: 1px solid rgba(245, 197, 24, 0.45);
    color: var(--yellow);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.22);
}

.dock-item.active .dock-icon {
    filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.6));
    transform: scale(1.08);
}

/* Espaço extra no final do body para a dock não cobrir conteúdo */
body {
    padding-bottom: 95px !important;
}

@media (max-width: 600px) {
    .elevate-bottom-dock {
        bottom: 12px;
        width: calc(100% - 24px);
        max-width: 480px;
        justify-content: space-around;
        padding: 4px 6px;
        gap: 2px;
    }
    .dock-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    .dock-item .dock-icon {
        font-size: 1.05rem;
    }
    .dock-item .dock-label {
        font-size: 0.55rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOVA ÁREA DE RANKING COM PÓDIO ANIMADO (BLACK & GOLD ELITE RESPONSIVO)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-ranking-shell {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.elevate-podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 32px 0 28px 0;
    padding: 0 4px;
    width: 100%;
    box-sizing: border-box;
}

.podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1 1 0;
    max-width: 280px;
    min-width: 0;
    box-sizing: border-box;
}

.podium-user-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.podium-avatar-wrap {
    position: relative;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.podium-avatar {
    width: clamp(52px, 8vw, 68px);
    height: clamp(52px, 8vw, 68px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 800;
    font-family: var(--display);
    color: #0a0a0a;
}

.podium-avatar--1st {
    width: clamp(66px, 10vw, 86px);
    height: clamp(66px, 10vw, 86px);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    background: linear-gradient(135deg, #ffd60a 0%, #f5c518 50%, #92400e 100%);
    box-shadow: 0 0 28px rgba(245, 197, 24, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: goldGlowPulse 2.8s ease-in-out infinite alternate;
}

@keyframes goldGlowPulse {
    0% { box-shadow: 0 0 20px rgba(245, 197, 24, 0.4); }
    100% { box-shadow: 0 0 40px rgba(245, 197, 24, 0.85), 0 0 15px #ffd60a; }
}

.podium-avatar--2nd {
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.podium-avatar--3rd {
    background: linear-gradient(135deg, #fcd34d 0%, #b45309 100%);
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.podium-crown {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.8));
    animation: crownFloat 2.2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-5px); }
}

.podium-user-name {
    font-size: clamp(0.78rem, 1.8vw, 0.95rem);
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.podium-user-stats {
    font-size: clamp(0.64rem, 1.4vw, 0.74rem);
    color: var(--soft);
    font-family: var(--mono);
    margin: 2px 0 0 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.podium-pillar {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: podiumRise 0.6s var(--ease) forwards;
}

@keyframes podiumRise {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.podium-pillar--1st {
    height: clamp(140px, 20vw, 190px);
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.18) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(245, 197, 24, 0.45);
}

.podium-pillar--2nd {
    height: clamp(105px, 15vw, 140px);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.14) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(148, 163, 184, 0.35);
}

.podium-pillar--3rd {
    height: clamp(80px, 12vw, 110px);
    background: linear-gradient(180deg, rgba(180, 83, 9, 0.14) 0%, rgba(14, 14, 18, 0.95) 100%);
    border-color: rgba(180, 83, 9, 0.35);
}

.podium-rank-num {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    font-family: var(--mono);
    line-height: 1;
}

.podium-pillar--1st .podium-rank-num { color: #f5c518; text-shadow: 0 0 16px rgba(245, 197, 24, 0.6); }
.podium-pillar--2nd .podium-rank-num { color: #94a3b8; }
.podium-pillar--3rd .podium-rank-num { color: #d97706; }

.podium-rank-lbl {
    font-size: clamp(0.55rem, 1.2vw, 0.65rem);
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-top: 4px;
}

/* Tabela de Classificação 4º ao 10º & Linha do Usuário */
.elevate-rank-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.elevate-rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: transform 0.2s, border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.elevate-rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(245, 197, 24, 0.3);
}

.elevate-rank-row.is-current-user {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.12) 0%, #0d0d11 100%);
    border-color: rgba(245, 197, 24, 0.45);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.12);
}

.rank-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.rank-row-pos {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--muted);
    width: 28px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.rank-row-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.rank-row-left > div:last-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.rank-row-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--display);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rank-row-tier {
    font-size: 0.70rem;
    color: var(--muted);
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rank-row-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    flex-shrink: 0;
    text-align: right;
}

.rank-row-lives {
    font-size: 0.92rem;
    font-weight: 800;
    color: #34d399;
    white-space: nowrap;
}

.rank-row-rate {
    font-size: 0.75rem;
    color: var(--soft);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOVA ÁREA EXCLUSIVA DE PERFIL (BLACK & GOLD MASTER)
   ═══════════════════════════════════════════════════════════════════════════ */
.elevate-profile-shell {
    max-width: 900px;
    margin: 0 auto;
}

.elevate-profile-banner {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.12) 0%, rgba(14, 14, 18, 0.98) 100%);
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.profile-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-main-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd60a, #92400e);
    color: #000;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--display);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(245, 197, 24, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.profile-user-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--display);
    margin: 0 0 4px 0;
}

.profile-user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 197, 24, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--mono);
}

/* Box da Chave Exclusiva */
.profile-key-box {
    background: #0d0d11;
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.profile-key-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #060608;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 10px;
}

.profile-key-code {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 1px;
    user-select: all;
}

.btn-copy-key {
    background: rgba(245, 197, 24, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.4);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    font-family: var(--mono);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-key:hover {
    background: var(--yellow);
    color: #000;
}

/* Grid de Informações de Conta */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.profile-info-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 20px;
}

.profile-info-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    margin-bottom: 4px;
}

.profile-info-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--mono);
}

.profile-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .elevate-profile-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   SPECHSHOP BOT & CHECKER STATION ENHANCEMENTS
   ============================================================ */
.elevate-center-mascot-img {
    width: 175px;
    height: 175px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.45));
    animation: floatMascot 4.5s ease-in-out infinite;
}

@keyframes floatMascot {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

.dock-item--admin {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.28);
    color: #fcd34d;
}

.dock-item--admin:hover {
    background: rgba(245, 197, 24, 0.18);
    border-color: rgba(245, 197, 24, 0.5);
    color: #ffd60a;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.3);
}

.dock-item--admin.active {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.35) 0%, rgba(180, 83, 9, 0.25) 100%) !important;
    border-color: var(--yellow) !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(245, 197, 24, 0.45) !important;
}

.elevate-station-subnav .inst-tab-pill {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
}

.elevate-station-subnav .inst-tab-pill.active {
    background: rgba(245, 197, 24, 0.16);
    border-color: var(--yellow);
    color: var(--yellow);
}

.station-subview {
    animation: fadeInStation 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInStation {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SPECHCHECKERS QUANTUM HUD & 2-COLUMN CLUSTER INJECTOR
   ============================================================ */
.elevate-station-grid-2col {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .elevate-station-grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.elevate-panel-col--futuristic {
    background: #09090d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-sm-cyber {
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.3);
    color: var(--yellow);
    font-weight: 700;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.btn-sm-cyber:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
}

.elevate-textarea--futuristic {
    background: #060608 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    font-family: var(--mono) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    padding: 14px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.elevate-textarea--futuristic:focus {
    border-color: var(--yellow) !important;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.2) !important;
}

.futuristic-stats-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: rgba(245, 197, 24, 0.03);
    border: 1px solid rgba(245, 197, 24, 0.15);
    border-radius: 10px;
    font-size: 11.5px;
    font-family: var(--mono);
    color: var(--muted);
}

/* QUANTUM HOLOGRAM SPECHCHECKERS */
.elevate-center-col--hologram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(245, 197, 24, 0.08) 0%, rgba(9, 9, 13, 0.95) 70%);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.spech-hologram-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hologram-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(245, 197, 24, 0.35);
    pointer-events: none;
}

.ring-outer {
    width: 210px;
    height: 210px;
    animation: cyberSpin 18s linear infinite;
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.1);
}

.ring-inner {
    width: 170px;
    height: 170px;
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-top-color: var(--yellow);
    border-bottom-color: var(--yellow);
    animation: cyberSpinRev 10s linear infinite;
}

.hologram-radar-sweep {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 197, 24, 0.18) 60deg, transparent 70deg);
    animation: radarSweep 4s linear infinite;
    pointer-events: none;
}

@keyframes cyberSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cyberSpinRev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spech-quantum-logo {
    width: 130px;
    height: 130px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 25px rgba(245, 197, 24, 0.55));
    animation: hologramPulse 3.5s ease-in-out infinite alternate;
}

@keyframes hologramPulse {
    0% { transform: scale(0.96); filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.45)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(245, 197, 24, 0.75)); }
}

.hologram-caption {
    text-align: center;
    margin-bottom: 20px;
}

.hologram-brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--display);
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hologram-brand-name span {
    color: var(--yellow);
}

.hologram-engine-tag {
    font-size: 0.68rem;
    font-family: var(--mono);
    color: var(--yellow);
    letter-spacing: 1.4px;
    font-weight: 700;
    margin-top: 2px;
}

.cluster-telemetry-hud {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
}

.hud-stat-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--mono);
}

.hud-stat-chip .chip-lbl {
    color: var(--muted);
    font-weight: 600;
}

.hud-stat-chip .chip-val {
    color: #f1f5f9;
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.chip-dot.dot-live { background: #34d399; box-shadow: 0 0 8px #34d399; }
.chip-dot.dot-blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.chip-dot.dot-gold { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }

.btn-futuristic-fire {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(245, 197, 24, 0.35);
    transition: all 0.3s ease;
}

.btn-futuristic-fire:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 197, 24, 0.6);
}

/* ============================================================
   FUTURISTIC DETAIL VIEW (ONDE A NUVEM RODA E MOSTRA RESULTADOS)
   ============================================================ */
.detail-view {
    background: #08080b;
    border: 1px solid rgba(245, 197, 24, 0.22);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 197, 24, 0.04);
}

.detail-header-cyber {
    background: linear-gradient(135deg, rgba(20, 20, 26, 0.9) 0%, rgba(10, 10, 14, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dh-node-pill {
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dh-node-pill .dh-pill-txt {
    font-size: 10px;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--mono);
    letter-spacing: 1px;
}

.dh-node-pill strong {
    font-size: 1.15rem;
    color: #ffffff;
    font-family: var(--mono);
}

.detail-hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.dh-kpi-card {
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.95) 0%, rgba(9, 9, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 18px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, border-color 0.2s;
}

.dh-kpi-card:hover {
    transform: translateY(-2px);
}

.dh-kpi-card.kpi-live {
    border-color: rgba(52, 211, 153, 0.3);
}

.dh-kpi-card.kpi-live .kpi-num {
    color: #34d399;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.dh-kpi-card.kpi-die {
    border-color: rgba(248, 113, 113, 0.3);
}

.dh-kpi-card.kpi-die .kpi-num {
    color: #f87171;
}

.dh-kpi-card.kpi-progress {
    border-color: rgba(245, 197, 24, 0.3);
}

.dh-kpi-card.kpi-progress .kpi-num {
    color: var(--yellow);
}

.dh-kpi-card.kpi-warn {
    border-color: rgba(245, 158, 11, 0.3);
}

.dh-kpi-card.kpi-warn .kpi-num {
    color: #fbbf24;
}

.dh-kpi-card.kpi-clock {
    border-color: rgba(56, 189, 248, 0.3);
}

.dh-kpi-card.kpi-clock .kpi-num {
    color: #38bdf8;
    font-family: var(--mono);
}

.detail-command-dock {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SISTEMA RESPONSIVO DO RANKING, PÓDIO E NOMES DOS OPERADORES
   ═══════════════════════════════════════════════════════════════════════════ */
#aba-ranking {
    scroll-margin-top: 75px;
}

.elevate-ranking-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Evita qualquer sobreposição no pódio */
.podium-user-name,
.podium-user-stats {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

/* Evita qualquer sobreposição nos cards de operadores */
.rank-row-name,
.rank-row-tier {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .ck-float-hero {
        padding: 1.15rem 1.3rem !important;
        gap: 14px !important;
    }
    .ck-float-left {
        flex: 1 1 100% !important;
    }
    .page-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .page-header-actions button {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
    .elevate-podium-container {
        gap: 10px;
        margin: 22px 0 20px 0;
    }
}

@media (max-width: 680px) {
    .podium-pillar--1st { height: 135px; }
    .podium-pillar--2nd { height: 105px; }
    .podium-pillar--3rd { height: 80px; }
    .podium-avatar--1st { width: 58px; height: 58px; font-size: 1.4rem; }
    .podium-avatar--2nd,
    .podium-avatar--3rd { width: 46px; height: 46px; font-size: 1.1rem; }
    .podium-crown { font-size: 1.2rem; top: -18px; }
    .podium-rank-num { font-size: 1.5rem; }
    .podium-rank-lbl { font-size: 0.55rem; }

    .elevate-rank-row {
        padding: 10px 14px;
        gap: 8px;
    }
    .rank-row-left {
        gap: 10px;
    }
    .rank-row-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }
    .rank-row-pos {
        width: 24px;
        min-width: 24px;
        font-size: 0.85rem;
    }
    .rank-row-right {
        gap: 10px;
    }
    .rank-row-lives {
        font-size: 0.85rem;
    }
    .rank-row-rate {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .elevate-podium-container {
        gap: 6px;
    }
    .podium-col {
        padding: 0 2px;
    }
    .podium-user-badge {
        padding: 0 2px;
        margin-bottom: 8px;
    }
    .rank-row-right span:first-child {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   NOVO MODAL SUPREMO DE CHECKERS & GATEWAYS (CLEAN & MODERNO v2.0)
   ═══════════════════════════════════════════════════════════════════ */
.ck-engine-switch-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.ck-engine-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--soft, #ccc);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.ck-engine-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.ck-engine-tab.active {
    background: rgba(245, 197, 24, 0.08);
    border-color: var(--yellow, #f5c518);
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.15);
}

.ck-engine-tab .tab-ico {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ck-engine-tab strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.ck-engine-tab small {
    display: block;
    font-size: 0.72rem;
    color: var(--muted, #888);
}

.ck-engine-tab.active small {
    color: rgba(255, 255, 255, 0.75);
}

.ck-card-section {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ck-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--yellow, #f5c518);
    font-weight: 700;
    margin-bottom: 12px;
}

.ck-port-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ck-port-input {
    flex: 1;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    font-family: monospace;
}

.ck-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ck-test-btn:hover {
    background: var(--yellow, #f5c518);
    color: #000;
    border-color: var(--yellow, #f5c518);
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.3);
}

.ck-port-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ck-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.74rem;
    color: var(--soft, #ccc);
    cursor: pointer;
    transition: all 0.15s ease;
}

.ck-chip:hover {
    background: rgba(245, 197, 24, 0.12);
    border-color: var(--yellow, #f5c518);
    color: #fff;
}

.ck-preview-box {
    margin-top: 10px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: monospace;
    font-size: 0.75rem;
    color: #a1a1aa;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ck-preview-box code {
    color: var(--yellow, #f5c518);
}

.ck-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.ck-status-tag.online {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.ck-status-tag.offline {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ck-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.ck-dot.pulse {
    animation: ckPulse 1.5s infinite;
}

@keyframes ckPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* ============================================================ */
/* GERENCIADOR DE CHECKERS V2 (SUPER MODERNIZAÇÃO & TELEMETRIA) */
/* ============================================================ */
.ck-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ck-kpi-card {
    background: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}
.ck-kpi-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.ck-kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    opacity: 0.25;
}
.ck-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ck-kpi-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}
.ck-kpi-ico {
    font-size: 1.15rem;
    opacity: 0.85;
}
.ck-kpi-val {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--display);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}
.ck-kpi-sub {
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Toolbar & Filtros Rápidos */
.ck-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #0f0f14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ck-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}
.ck-search-box input {
    width: 100%;
    padding: 0.55rem 0.85rem 0.55rem 2.2rem;
    background: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
    transition: all 0.2s;
}
.ck-search-box input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.15);
}
.ck-search-box .ck-search-ico {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.85rem;
    pointer-events: none;
}
.ck-filter-chips {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}
.ck-filter-btn {
    background: #09090c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--soft);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}
.ck-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.ck-filter-btn.active {
    background: rgba(245, 197, 24, 0.12);
    border-color: var(--yellow);
    color: var(--yellow);
    font-weight: 700;
}

/* Tabela V2 */
.cyber-table-v2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.cyber-table-v2 th {
    background: #0b0b0f;
    padding: 0.85rem 1rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-family: var(--mono);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}
.cyber-table-v2 td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    vertical-align: middle;
    background: transparent;
    transition: background 0.15s;
}
.cyber-table-v2 tr:hover td {
    background: rgba(245, 197, 24, 0.025);
}

/* Badges e Identificadores */
.ck-engine-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--mono);
}
.ck-engine-pill.uvicorn {
    background: rgba(245, 197, 24, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(245, 197, 24, 0.3);
}
.ck-engine-pill.php {
    background: rgba(147, 112, 219, 0.12);
    color: #b197fc;
    border: 1px solid rgba(147, 112, 219, 0.3);
}

.ck-port-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #e5e5e5;
}
.ck-port-pill.online {
    border-color: rgba(34, 197, 94, 0.35);
}
.ck-port-pill.offline {
    border-color: rgba(239, 68, 68, 0.3);
}

.ck-fallback-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-family: var(--mono);
    font-weight: 600;
}
.ck-fallback-pill.ready {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.ck-fallback-pill.na {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Switch Toggle Direto */
.ck-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}
.ck-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ck-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #26262c;
    transition: .25s;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ck-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: .25s;
    border-radius: 50%;
}
.ck-switch input:checked + .ck-slider {
    background-color: #10b981;
    border-color: #10b981;
}
.ck-switch input:checked + .ck-slider:before {
    transform: translateX(16px);
}

/* Ações Rápidas */
.ck-action-btns {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ck-btn-act {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--soft);
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ck-btn-act:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(245, 197, 24, 0.08);
}
.ck-btn-act.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}


