/* =================================================================
   NB MEDIA DASHBOARD — ПРЕМИУМ СТИЛЬ (золото, бирюза, фиолет, розовый)
   Перелив цветов на всём фоне
   v10.34 — единый hero как лента / чарт
================================================================= */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Золотой переливающийся бордер (как в ленте артистов — Топ треков) */
@keyframes nb-golden-border-shimmer {
    0%, 100% { border-color: rgba(255, 215, 0, 0.38); }
    50% { border-color: rgba(255, 215, 0, 0.6); }
}

:root {
    --nb-primary: #FFD700;
    --nb-primary-dim: rgba(255, 215, 0, 0.15);
    --nb-green: #FFD700;
    --sidebar-w-open: 260px;
    --sidebar-w-closed: 80px;
    --glass-sidebar: rgba(5, 0, 15, 0.75);
    --glass-card: rgba(12, 8, 24, 0.65);
    --glass-input: rgba(0, 0, 0, 0.5);
    --nb-blur: blur(48px);
    --nb-border: rgba(255, 255, 255, 0.1);
    --nb-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 215, 0, 0.08), 0 0 40px rgba(255, 215, 0, 0.04);
    --nb-shadow-card-hover: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 215, 0, 0.2), 0 0 60px rgba(255, 215, 0, 0.12);
    --nb-glow: 0 0 25px rgba(255, 215, 0, 0.3);
    --nb-text-main: #ffffff;
    --nb-text-muted: #a0a0b0;
    --nb-radius: 24px;
    --nb-font-head: 'Syne', 'Clash Display', sans-serif;
}

/* Стабильность: предотвращаем сдвиги и мерцание при загрузке */
html { scroll-behavior: smooth; }

html, body {
    margin: 0; padding: 0;
    background-color: #020005 !important;
    color: var(--nb-text-main);
    font-family: 'Manrope', 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}
/* Слабые устройства: отключаем анимации текста и карточек — убирает мигание */
@media (max-width: 1024px) {
    .nb-dash-welcome, .nb-tab-title, .nb-gradient-text, .nb-news-slideshow-title,
    .nb-card h2:first-child, .nb-card h3:first-child {
        animation: none !important;
    }
    .nb-card:hover, .nb-widget:hover, .nb-news-card:hover,
    .tsp-dashboard:hover, .alkb-root:hover, .bandlink-form:hover {
        animation: none !important;
    }
    .nb-top-header-lk { animation: none !important; }
}

/* Снижение мерцания: изоляция слоёв анимации */
.nb-dash-welcome, .nb-tab-title, .nb-gradient-text, .nb-news-slideshow-title {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Снижение мерцания на слабых GPU и мобильных */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none; z-index: -1; mix-blend-mode: overlay;
}

body {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 215, 0, 0.08), transparent 50%),
        radial-gradient(ellipse 70% 80% at 85% 75%, rgba(176, 38, 255, 0.07), transparent 45%),
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 180, 200, 0.04), transparent 55%),
        radial-gradient(ellipse 50% 50% at 75% 25%, rgba(255, 100, 150, 0.05), transparent 45%);
    background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
}

body.nb-has-global-header { padding-top: 56px !important; }
body.nb-has-global-header #nb-dashboard-wrapper .nb-sidebar { top: 56px !important; height: calc(100vh - 56px) !important; }
body.admin-bar.nb-has-global-header #nb-dashboard-wrapper .nb-sidebar { top: 88px !important; height: calc(100vh - 88px) !important; }
@media (max-width: 782px) {
    body.admin-bar.nb-has-global-header #nb-dashboard-wrapper .nb-sidebar { top: 102px !important; height: calc(100vh - 102px) !important; }
}

@keyframes nb-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    25% { transform: translate(5%, -6%) scale(1.08); opacity: 0.75; }
    50% { transform: translate(-4%, 5%) scale(0.95); opacity: 0.6; }
    75% { transform: translate(3%, 2%) scale(1.03); opacity: 0.7; }
}
@keyframes nb-ring-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; border-color: rgba(255, 215, 0, 0.3); }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.3; border-color: rgba(255, 215, 0, 0.5); }
}
@keyframes nb-crystal-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.08; }
    100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.12; }
}

/* Слой изолирован — меньше перерисовок и мерцания */
.nb-floating-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: -7; overflow: hidden;
    contain: paint; transform: translateZ(0);
}
.nb-float-orb {
    position: absolute; border-radius: 50%; filter: blur(60px);
    mix-blend-mode: screen; animation: nb-orb-float 14s ease-in-out infinite;
}
.nb-orb-1 { top: 8%; left: 15%; width: 300px; height: 300px; background: rgba(255, 215, 0, 0.14); animation-delay: 0s; animation-duration: 16s; }
.nb-orb-2 { top: 60%; right: 10%; width: 250px; height: 250px; background: rgba(176, 38, 255, 0.14); animation-delay: -7s; animation-duration: 18s; }
.nb-orb-3 { bottom: 15%; left: 25%; width: 200px; height: 200px; background: rgba(0, 180, 200, 0.12); animation-delay: -12s; animation-duration: 15s; }
.nb-orb-4 { top: 35%; right: 30%; width: 180px; height: 180px; background: rgba(255, 100, 150, 0.1); animation-delay: -5s; animation-duration: 20s; }

.nb-float-ring {
    position: absolute; width: 400px; height: 400px;
    border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: nb-ring-pulse 6s ease-in-out infinite;
}
.nb-ring-1 { animation-delay: 0s; }
.nb-ring-2 { width: 600px; height: 600px; animation-delay: -4s; animation-duration: 9s; border-color: rgba(176, 38, 255, 0.2); }

.nb-float-crystal {
    position: absolute; width: 2px; height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.4), transparent);
    top: 50%; left: 50%; transform-origin: center;
    animation: nb-crystal-rotate 20s linear infinite;
}
.nb-crystal-1 { left: 20%; top: 30%; }
.nb-crystal-2 { left: 80%; top: 70%; animation-direction: reverse; animation-duration: 18s; }

/* Слабые/мобильные: полностью отключаем плавающий слой — убирает мерцание и нагрузку на GPU */
@media (max-width: 1024px) {
    .nb-floating-bg { display: none !important; }
}

.artist-dashboard { display: none; }

.nb-app-layout { display: block; min-height: 100vh; width: 100%; position: relative; z-index: 1; }

.nb-sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; width: var(--sidebar-w-open);
    background: linear-gradient(180deg, rgba(8, 4, 20, 0.9) 0%, rgba(4, 2, 12, 0.95) 100%) !important;
    backdrop-filter: var(--nb-blur); -webkit-backdrop-filter: var(--nb-blur);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: auto;
    border-right: 1px solid rgba(255, 215, 0, 0.12);
    display: flex; flex-direction: column; padding: 30px 15px; z-index: 1000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 12px 0 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255, 215, 0, 0.05); overflow: visible;
}

.nb-sidebar-header-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 40px; padding: 0 5px; min-height: 40px; overflow: hidden;
}

.nb-logo {
    font-family: var(--nb-font-head) !important;
    font-size: 1.25rem; font-weight: 800; color: #fff;
    text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
    opacity: 1; transition: opacity 0.2s;
}
.nb-logo span { color: var(--nb-primary); text-shadow: var(--nb-glow); }

.nb-sidebar-toggle-btn {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 120, 0.35);
    color: #ffd700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}
.nb-sidebar-toggle-btn:hover {
    color: #ffe566;
    border-color: var(--nb-primary);
    background: rgba(255, 215, 0, 0.16);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
}

.nb-sidebar-scroll {
    flex-grow: 1; overflow-y: auto; overflow-x: hidden;
    margin-right: -5px; padding-right: 5px;
    display: flex; flex-direction: column; gap: 8px;
}
.nb-sidebar-scroll::-webkit-scrollbar { width: 4px; }
.nb-sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.nb-nav-link {
    display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 8px;
    color: rgba(255, 245, 220, 0.55); text-decoration: none !important; border-radius: 12px;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap; position: relative; overflow: visible;
}
.nb-nav-link:hover {
    background: rgba(255, 215, 0, 0.06); color: #fff8e8; transform: translateX(2px);
}
.nb-nav-link:active { transform: translateX(1px) scale(0.99); }
.nb-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 160, 0, 0.06) 100%);
    color: #fff6d0;
    border-color: rgba(255, 215, 120, 0.32);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 240, 180, 0.1);
    transform: none;
}

.nb-logout-link { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }

body.nb-menu-collapsed .nb-sidebar { width: var(--sidebar-w-closed) !important; padding: 10px 0; }
body.nb-menu-collapsed .nb-logo:not(.nb-logo--deco),
body.nb-menu-collapsed .nb-nav-label {
    opacity: 0; visibility: hidden; width: 0; position: absolute;
}
body.nb-menu-collapsed .nb-sidebar-header-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 6px 2px;
}
body.nb-menu-collapsed .nb-sidebar-toggle-btn {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: rotate(180deg) !important;
    margin: 4px auto 12px !important;
    align-self: center;
}
body.nb-menu-collapsed .nb-nav-link {
    justify-content: center;
    align-items: center;
    padding: 6px;
    gap: 0;
    min-height: 44px;
    transform: none !important;
}
body.nb-menu-collapsed .nb-nav-active-marker { display: none; }
body.nb-menu-collapsed .nb-nav-link:hover { transform: none; background: var(--nb-primary-dim); }
body.nb-menu-collapsed .nb-nav-icon-wrap {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nb-app-main {
    flex-grow: 1; margin-left: var(--sidebar-w-open);
    padding: 48px 60px 100px 60px;
    padding-top: var(--nb-dash-main-offset, 90px);
    width: calc(100% - var(--sidebar-w-open));
    transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    position: relative;
}

#nb-dashboard-wrapper .nb-dash-header,
#nb-dashboard-wrapper .nb-widgets-grid,
#nb-dashboard-wrapper .nb-content-body,
#nb-dashboard-wrapper .nb-promo-strip,
#nb-dashboard-wrapper .nb-overview-pass-banner-wrap,
#nb-dashboard-wrapper .nb-overview-app-banner {
    max-width: 1400px; margin-left: auto; margin-right: auto; width: 100%;
}

body.nb-menu-collapsed .nb-app-main {
    margin-left: var(--sidebar-w-closed) !important;
    width: calc(100% - var(--sidebar-w-closed)) !important;
}

.nb-app-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 215, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

#nb-dashboard-wrapper:has(.nb-promo-strip:not(.nb-overview-hidden)) .nb-dash-header {
    margin-bottom: 28px;
}

.nb-dash-header { margin-bottom: 40px; }

/* Заголовок страницы на каждой вкладке (кроме Обзора) — тот же стиль, что и приветствие */
.nb-tab-page-header { margin: 0 0 18px; }
.nb-tab-title {
    font-family: var(--nb-font-head) !important;
    font-size: 2.5rem; margin: 0; color: #fff;
    text-transform: uppercase; font-weight: 800; letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 40px rgba(255, 215, 0, 0.06);
}
@media (max-width: 768px) {
    .nb-tab-title { font-size: 1.75rem !important; }
}

.nb-top-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
    height: 56px; min-height: 56px;
    background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
}
.nb-top-header-inner {
    width: 100%; max-width: 1400px; padding: 0 24px;
    display: flex; justify-content: flex-end; align-items: center; gap: 20px;
}
.nb-top-header-menu { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nb-top-header-link {
    display: inline-flex; align-items: center; padding: 8px 16px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; color: #fff; text-decoration: none !important;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.3s ease; white-space: nowrap;
}
.nb-top-header-link:hover {
    background: rgba(255, 215, 0, 0.15); border-color: rgba(255, 215, 0, 0.4);
    color: var(--nb-primary); box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}
.nb-top-header-vk {
    width: 40px;
    height: 40px;
    padding: 6px;
    justify-content: center;
}
.nb-top-header-vk img {
    display: block;
    width: 24px;
    height: 24px;
}

/* Кнопка ЛК в шапке — золотая, выделенная, с пульсом (только для авторизованных) */
@keyframes nb-header-lk-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35); }
    50% { box-shadow: 0 6px 28px rgba(255, 215, 0, 0.55); }
}
.nb-top-header-lk {
    background: linear-gradient(135deg, #FFD700, #FFB000, #FFD700) !important;
    background-size: 200% auto !important;
    color: #000 !important;
    border: none !important;
    font-weight: 800 !important;
    padding: 10px 20px !important;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.4) !important;
    animation: nb-header-lk-pulse 2.2s ease-in-out infinite;
}
.nb-top-header-lk:hover {
    background-position: right center !important;
    color: #000 !important;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.55) !important;
    transform: translateY(-2px);
}

.nb-dash-welcome {
    font-family: var(--nb-font-head) !important;
    font-size: 2.75rem; margin: 0; color: #fff;
    text-transform: uppercase; font-weight: 800; letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 40px rgba(255, 215, 0, 0.08);
}

.nb-card, .nb-widget, .nb-news-card,
.tsp-dashboard, .alkb-root, .bandlink-form, .contract-list-wrapper, .ticket-list-wrapper,
.nb-gravity-form, .karaoke-editor-wrapper {
    background: linear-gradient(165deg, rgba(18, 12, 32, 0.85) 0%, rgba(8, 5, 18, 0.9) 100%) !important;
    backdrop-filter: var(--nb-blur) !important; -webkit-backdrop-filter: var(--nb-blur) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    border-radius: var(--nb-radius) !important;
    padding: 32px !important; margin-bottom: 30px !important;
    box-shadow: var(--nb-shadow) !important;
    transition: border-color 0.4s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative; overflow: hidden;
}
/* Support cards: padding owned by nb-support-tickets (header/sections), not double-padded here */
.nb-support-wrap .nb-form-container {
    background: linear-gradient(165deg, rgba(28, 20, 8, 0.92) 0%, rgba(10, 7, 3, 0.96) 100%) !important;
    backdrop-filter: var(--nb-blur) !important; -webkit-backdrop-filter: var(--nb-blur) !important;
    border: 1px solid rgba(255, 215, 120, 0.22) !important;
    border-radius: var(--nb-radius) !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: var(--nb-shadow) !important;
    position: relative;
    overflow: hidden;
}
.nb-card::after, .nb-widget::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5) 0%, transparent 40%, rgba(255, 180, 100, 0.2) 70%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}
.nb-card:hover, .nb-widget:hover, .nb-news-card:hover,
.tsp-dashboard:hover, .alkb-root:hover, .bandlink-form:hover {
    animation: nb-golden-border-shimmer 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .nb-card, .nb-widget, .nb-news-card,
    .tsp-dashboard, .alkb-root, .bandlink-form, .contract-list-wrapper, .ticket-list-wrapper,
    .nb-support-wrap .nb-form-container, .nb-gravity-form, .karaoke-editor-wrapper,
    .nb-card:hover, .nb-widget:hover, .nb-news-card:hover { animation: none !important; }
}

.nb-card:hover, .nb-widget:hover {
    border-color: rgba(255, 215, 0, 0.5) !important;
    box-shadow: var(--nb-shadow-card-hover) !important;
    transform: translateY(-6px) scale(1.002);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s !important;
}

/* Внутри карточки ЛК — без второго «стеклянного» слоя (перебивает #nb-dashboard-wrapper .tsp-dashboard) */
#nb-dashboard-wrapper .nb-card .tsp-dashboard,
.nb-card .tsp-dashboard,
.nb-card .bandlink-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    animation: none !important;
}

#nb-dashboard-wrapper .tsp-dashboard,
#nb-dashboard-wrapper .tsp-card,
#nb-dashboard-wrapper .tsp-metric-card,
#nb-dashboard-wrapper .tsp-chart-box,
#nb-dashboard-wrapper .tsp-filter-form {
    --tsp-accent: #FFD700 !important;
    --tsp-accent-glow: rgba(255, 215, 0, 0.3) !important;
}

#nb-dashboard-wrapper .tsp-chart-box h4:before,
#nb-dashboard-wrapper .tsp-table-title:before,
#nb-dashboard-wrapper .tsp-dashboard input:focus,
#nb-dashboard-wrapper .tsp-dashboard select:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
}
#nb-dashboard-wrapper .tsp-btn-reset {
    background: linear-gradient(135deg, #FFD700, #FFB000) !important;
    color: #000 !important; border: none !important;
}

#nb-dashboard-wrapper .tr-dashboard, #nb-dashboard-wrapper .tr-glass-block {
    --cin-accent: #FFD700 !important;
}

#nb-dashboard-wrapper .nb-form-container .nb-section h3::before { background: #FFD700 !important; }
#nb-dashboard-wrapper .nb-form-container .nb-btn.primary {
    background: linear-gradient(135deg, #FFD700, #FFB000) !important;
    color: #000 !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3) !important;
}
#nb-dashboard-wrapper .nb-form-container .nb-field input:focus,
#nb-dashboard-wrapper .nb-form-container .nb-field select:focus,
#nb-dashboard-wrapper .nb-form-container .nb-field textarea:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

#nb-dashboard-wrapper .nb-catalog-wrap {
    --nbc-gold: #FFD700 !important;
    --nbc-accent: #FFD700 !important;
    --nbc-border-gold: rgba(255, 215, 0, 0.4) !important;
}

.nb-card h2:first-child, .nb-card h3:first-child {
    font-family: var(--nb-font-head) !important;
    font-size: 1.35rem; font-weight: 700; color: #fff;
    margin-top: 0 !important; margin-bottom: 25px !important;
    text-transform: uppercase; letter-spacing: 0.8px;
    display: flex; align-items: center;
}
.nb-card h2:first-child:before, .nb-card h3:first-child:before {
    content: ''; display: block; width: 4px; height: 24px;
    background: var(--nb-primary); margin-right: 15px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="month"], input[type="file"], textarea, select {
    background: var(--glass-input) !important;
    border: 1px solid var(--nb-border) !important;
    color: #fff !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    width: 100% !important;
    outline: none !important;
    transition: 0.3s !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--nb-primary) !important;
    background: rgba(0,0,0,0.8) !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

.nb-form-label, .gfield_label {
    font-size: 0.8rem !important; font-weight: 700; color: #888 !important;
    text-transform: uppercase; margin-bottom: 8px; display: block;
}

@keyframes nb-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.nb-btn-primary, .gform_button, input[type="submit"],
.nb-big-btn, .nb-btn.primary { position: relative; overflow: hidden; }
.nb-btn-primary::after, .gform_button::after, input[type="submit"]::after,
.nb-big-btn::after, .nb-btn.primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(110deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%, transparent 100%);
    background-size: 200% 100%;
    background-position: -200% 0;
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.nb-btn-primary:hover::after, .gform_button:hover::after, input[type="submit"]:hover::after,
.nb-big-btn:hover::after, .nb-btn.primary:hover::after {
    opacity: 1; animation: nb-shimmer 1.2s ease-in-out;
}

.nb-card::before, .nb-widget::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.nb-card:hover::before, .nb-widget:hover::before { left: 100%; }

/* Единый стиль вторичных кнопок (outline) во всех плагинах */
#nb-dashboard-wrapper .nb-btn.outline,
#nb-dashboard-wrapper .tr-btn:not(.primary):not(.danger),
#nb-dashboard-wrapper .tsp-btn-reset {
    padding: 12px 24px !important;
    min-height: 44px;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #fff !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s !important;
}
#nb-dashboard-wrapper .nb-btn.outline:hover,
#nb-dashboard-wrapper .tsp-btn-reset:hover {
    border-color: var(--nb-primary) !important;
    color: var(--nb-primary) !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
}
#nb-dashboard-wrapper .nb-btn.outline:active,
#nb-dashboard-wrapper .tsp-btn-reset:active {
    transform: scale(0.98);
}

@keyframes nb-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nb-dash-welcome,
.nb-tab-title,
.nb-card h2:first-child, .nb-card h3:first-child,
.nb-gradient-text, .nb-news-title {
    background: linear-gradient(90deg, #fff 0%, var(--nb-primary) 25%, #fff 50%, var(--nb-primary) 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nb-gradient-shift 10s ease-in-out infinite;
    contain: layout style;
}
@media (prefers-reduced-motion: reduce) {
    .nb-dash-welcome, .nb-tab-title, .nb-card h2:first-child, .nb-card h3:first-child,
    .nb-gradient-text, .nb-news-title, .nb-news-slideshow-title { animation: none !important; }
}

.nb-card h2:first-child:before, .nb-card h3:first-child:before {
    background: var(--nb-primary) !important;
}

.nb-ripple { position: relative; overflow: hidden; }
.nb-ripple .nb-ripple-wave {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: nb-ripple-expand 0.6s ease-out;
    pointer-events: none;
}
@keyframes nb-ripple-expand { to { transform: scale(4); opacity: 0; } }

/* Единый стиль кнопок во всех плагинах дашборда */
.nb-btn-primary, .gform_button, input[type="submit"],
#nb-dashboard-wrapper .nb-btn.primary,
#nb-dashboard-wrapper .tr-btn.primary,
#nb-dashboard-wrapper .tsp-btn,
#nb-dashboard-wrapper button[type="submit"].nb-btn,
#nb-dashboard-wrapper .nb-void-btn {
    background: linear-gradient(135deg, var(--nb-primary), #FFB000) !important;
    color: #000 !important;
    border: none !important;
    padding: 14px 28px !important;
    min-height: 48px;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s !important;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.nb-btn-primary:hover, .gform_button:hover, input[type="submit"]:hover,
#nb-dashboard-wrapper .nb-btn.primary:hover,
#nb-dashboard-wrapper .tr-btn.primary:hover,
#nb-dashboard-wrapper .tsp-btn:hover,
#nb-dashboard-wrapper button[type="submit"].nb-btn:hover,
#nb-dashboard-wrapper .nb-void-btn:hover {
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.45) !important;
    transform: translateY(-2px);
}
.nb-btn-primary:active, .gform_button:active, input[type="submit"]:active,
#nb-dashboard-wrapper .nb-btn.primary:active,
#nb-dashboard-wrapper .tr-btn.primary:active,
#nb-dashboard-wrapper .tsp-btn:active,
#nb-dashboard-wrapper button[type="submit"].nb-btn:active,
#nb-dashboard-wrapper .nb-void-btn:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s !important;
}

.contract-list li, .ticket-list-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--nb-border); border-radius: 8px;
    padding: 15px; margin-bottom: 10px;
    display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s;
}
.contract-list li:hover, .ticket-list-item:hover {
    border-color: var(--nb-primary);
    background: rgba(255, 215, 0, 0.05);
}
.contract-list li a { color: #fff; text-decoration: none; font-weight: 600; }

.nb-contacts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.nb-contact-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    border: 1px solid var(--nb-border); border-radius: 12px; padding: 25px;
    background: rgba(255,255,255,0.02); transition: 0.3s;
}
.nb-contact-card:hover { border-color: var(--nb-primary); }
.nb-contact-avatar {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--nb-primary); margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

#nb-dashboard-wrapper .nb-widgets-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}
#nb-dashboard-wrapper .nb-widgets-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
}
#nb-dashboard-wrapper .nb-widgets-row .nb-widget { min-width: 0 !important; }
#nb-dashboard-wrapper .nb-widgets-grid.nb-overview-hidden { display: none !important; }

/* --- Зоны обзора --- */
#nb-dashboard-wrapper .nb-overview-zones {
    gap: 20px !important;
}

#nb-dashboard-wrapper .nb-overview-zone {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

#nb-dashboard-wrapper .nb-overview-zone--intro {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

#nb-dashboard-wrapper .nb-overview-hero {
    width: 100%;
    margin-bottom: 0 !important;
}

#nb-dashboard-wrapper .nb-overview-stories-slot {
    grid-area: stories;
    min-width: 0;
    position: sticky;
    top: calc(var(--nb-dash-utility-top, 56px) + 14px);
    align-self: start;
}

#nb-dashboard-wrapper .nb-overview-account-ready,
#nb-dashboard-wrapper .nb-overview-progress-card {
    grid-area: account;
}

#nb-dashboard-wrapper .nb-overview-pass-renew {
    grid-area: pass;
}

#nb-dashboard-wrapper .nb-artist-card {
    grid-area: artist;
}

#nb-dashboard-wrapper .nb-overview-intro-rest,
#nb-dashboard-wrapper .nb-overview-intro-top,
#nb-dashboard-wrapper .nb-overview-intro-col {
    display: contents;
}

#nb-dashboard-wrapper .nb-overview-intro-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.nb-news-glass {
    margin-bottom: 0;
    height: auto;
    display: flex;
    flex-direction: column;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-header {
    padding: 18px 18px 12px;
    gap: 12px;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-header-right {
    align-items: flex-start;
    width: 100%;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-playall {
    width: 100%;
    justify-content: center;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-rail-wrap {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 8px 14px 16px;
    flex: 1;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    overflow: visible;
    padding: 4px 2px 0;
    scroll-snap-type: none;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-story-ring {
    width: auto;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-story-ring-label {
    width: 100%;
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:not(.is-seen) {
    animation: nb-overview-story-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:nth-child(1) { animation-delay: 0.05s; }
#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:nth-child(2) { animation-delay: 0.12s; }
#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:nth-child(3) { animation-delay: 0.19s; }
#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:nth-child(4) { animation-delay: 0.26s; }
#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.is-live .nb-story-ring:nth-child(n+5) { animation-delay: 0.33s; }

/* Legacy side wrapper — больше не используется, оставлено для совместимости */
#nb-dashboard-wrapper .nb-overview-intro-side {
    min-width: 0;
    position: relative;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.nb-news-glass {
    margin-bottom: 0;
    height: 100%;
    position: sticky;
    top: calc(var(--nb-dash-utility-top, 56px) + 14px);
    display: flex;
    flex-direction: column;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-header {
    padding: 18px 18px 12px;
    gap: 12px;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-header-right {
    align-items: flex-start;
    width: 100%;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-playall {
    width: 100%;
    justify-content: center;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-rail-wrap {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 8px 14px 16px;
    flex: 1;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    overflow: visible;
    padding: 4px 2px 0;
    scroll-snap-type: none;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-story-ring {
    width: auto;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-story-ring-label {
    width: 100%;
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:not(.is-seen) {
    animation: nb-overview-story-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:nth-child(1) { animation-delay: 0.05s; }
#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:nth-child(2) { animation-delay: 0.12s; }
#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:nth-child(3) { animation-delay: 0.19s; }
#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:nth-child(4) { animation-delay: 0.26s; }
#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.is-live .nb-story-ring:nth-child(n+5) { animation-delay: 0.33s; }

@keyframes nb-overview-story-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Premium FX слой для карточек обзора (как NB PASS) --- */
#nb-dashboard-wrapper .nb-dash-card-fx {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#nb-dashboard-wrapper .nb-dash-card-fx__mesh,
#nb-dashboard-wrapper .nb-dash-card-fx__shine,
#nb-dashboard-wrapper .nb-dash-card-fx__sparkles {
    position: absolute;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-dash-card-fx__mesh {
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 8% 20%, rgba(255, 215, 0, 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 55% 65% at 92% 78%, rgba(176, 38, 255, 0.08) 0%, transparent 52%);
    opacity: 0.85;
}

#nb-dashboard-wrapper .nb-dash-card-fx__shine {
    inset: -40% -60%;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 240, 180, 0.14) 50%, transparent 58%);
    animation: nb-overview-pass-shine 7s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-dash-card-fx__sparkles {
    inset: 0;
}

#nb-dashboard-wrapper .nb-dash-card-fx__spark {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 230, 150, 0.95);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    animation: nb-overview-pass-sparkle 3.2s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-dash-card-fx__spark:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
#nb-dashboard-wrapper .nb-dash-card-fx__spark:nth-child(2) { top: 62%; left: 78%; animation-delay: 1.1s; }
#nb-dashboard-wrapper .nb-dash-card-fx__spark:nth-child(3) { top: 34%; left: 56%; animation-delay: 2s; }

#nb-dashboard-wrapper .nb-dash-card-fx.is-active .nb-dash-card-fx__mesh,
#nb-dashboard-wrapper .nb-dash-card-fx.nb-overview-item--done .nb-dash-card-fx__mesh {
    animation: nb-dash-gradient-shift 12s ease infinite;
    background-size: 200% 200%;
}

#nb-dashboard-wrapper .nb-widget.nb-dash-card-fx .nb-widget__inner,
#nb-dashboard-wrapper .nb-overview-progress-card__inner,
#nb-dashboard-wrapper .nb-activity-chart-card__inner {
    position: relative;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-overview-zone--kpi .nb-widget.nb-dash-card-fx.is-active,
#nb-dashboard-wrapper .nb-overview-zone--kpi .nb-widget.nb-dash-card-fx.nb-overview-item--done {
    border-color: rgba(255, 215, 120, 0.28) !important;
}

#nb-dashboard-wrapper .nb-overview-account-ready {
    display: block;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 120, 0.34);
    background: linear-gradient(135deg, rgba(22, 14, 4, 0.96) 0%, rgba(8, 6, 2, 0.98) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 230, 170, 0.1);
}

#nb-dashboard-wrapper .nb-overview-account-ready__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

#nb-dashboard-wrapper .nb-overview-account-ready__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.28);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.12);
}

#nb-dashboard-wrapper .nb-overview-account-ready__badge .material-symbols-outlined {
    font-size: 22px;
    color: #ffe082;
}

#nb-dashboard-wrapper .nb-overview-account-ready__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-overview-account-ready__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.62);
}

#nb-dashboard-wrapper .nb-overview-account-ready__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff4c2;
}

#nb-dashboard-wrapper .nb-overview-account-ready__mark {
    margin-left: auto;
    font-size: 18px;
    font-weight: 700;
    color: #ffd54f;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

#nb-dashboard-wrapper .nb-overview-account-ready.is-active,
#nb-dashboard-wrapper .nb-overview-account-ready.nb-overview-item--done {
    animation: nb-overview-pass-pulse 5s ease-in-out infinite;
}

/* --- PASS renew alert (≤7 дней) --- */
#nb-dashboard-wrapper .nb-overview-pass-renew {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 179, 0, 0.48);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(28, 16, 2, 0.98) 0%, rgba(10, 6, 1, 0.99) 100%);
    color: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 200, 80, 0.12);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 120% at 0% 50%, rgba(255, 179, 0, 0.14) 0%, transparent 62%);
    animation: nb-overview-pass-renew-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes nb-overview-pass-renew-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

#nb-dashboard-wrapper .nb-overview-pass-renew__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    flex-wrap: wrap;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 179, 0, 0.12);
    border: 1px solid rgba(255, 179, 0, 0.32);
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__icon .material-symbols-outlined {
    font-size: 22px;
    color: #ffb74d;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1 1 180px;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__title {
    font-size: 14px;
    font-weight: 700;
    color: #ffe082;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__desc {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 224, 170, 0.72);
}

#nb-dashboard-wrapper .nb-overview-pass-renew__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    color: #1a1203;
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__cta {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__price {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.82;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-overview-pass-renew__action .material-symbols-outlined {
    font-size: 18px;
}

#nb-dashboard-wrapper .nb-overview-pass-renew:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 200, 80, 0.72);
    box-shadow: 0 16px 34px rgba(255, 152, 0, 0.16), inset 0 1px 0 rgba(255, 220, 120, 0.16);
}

#nb-dashboard-wrapper .nb-overview-pass-renew:focus-visible {
    outline: 2px solid rgba(255, 179, 0, 0.85);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-overview-pass-renew__action {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
}

/* --- Artist Card (premium) --- */
#nb-dashboard-wrapper .nb-artist-card {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 215, 120, 0.38);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(22, 14, 4, 0.98) 0%, rgba(8, 5, 16, 0.99) 52%, rgba(16, 8, 28, 0.98) 100%);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 230, 170, 0.1);
}

#nb-dashboard-wrapper .nb-artist-card__shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
}

#nb-dashboard-wrapper .nb-artist-card__capture {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(160deg, rgba(10, 7, 2, 0.98) 0%, rgba(5, 4, 12, 0.99) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#nb-dashboard-wrapper .nb-artist-card__mesh,
#nb-dashboard-wrapper .nb-artist-card__grid,
#nb-dashboard-wrapper .nb-artist-card__watermark {
    position: absolute;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-artist-card__mesh {
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 215, 0, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(176, 38, 255, 0.1) 0%, transparent 52%);
}

#nb-dashboard-wrapper .nb-artist-card__grid {
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 25%, transparent 100%);
}

#nb-dashboard-wrapper .nb-artist-card__watermark {
    right: -2%;
    bottom: 6%;
    font-family: var(--nb-font-head, inherit);
    font-size: clamp(64px, 11vw, 104px);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(255, 215, 0, 0.04);
    user-select: none;
}

#nb-dashboard-wrapper .nb-artist-card__top,
#nb-dashboard-wrapper .nb-artist-card__hero,
#nb-dashboard-wrapper .nb-artist-card__metrics,
#nb-dashboard-wrapper .nb-artist-card__platforms,
#nb-dashboard-wrapper .nb-artist-card__spotlight,
#nb-dashboard-wrapper .nb-artist-card__footer {
    position: relative;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-artist-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#nb-dashboard-wrapper .nb-artist-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.72);
}

#nb-dashboard-wrapper .nb-artist-card__brand .material-symbols-outlined {
    font-size: 16px;
    color: #ffd54f;
}

#nb-dashboard-wrapper .nb-artist-card__brand-title {
    color: #ffe082;
}

#nb-dashboard-wrapper .nb-artist-card__brand-sep {
    opacity: 0.45;
}

#nb-dashboard-wrapper .nb-artist-card__brand-sub {
    opacity: 0.72;
}

#nb-dashboard-wrapper .nb-artist-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

#nb-dashboard-wrapper .nb-artist-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

#nb-dashboard-wrapper .nb-artist-card__badge .material-symbols-outlined {
    font-size: 13px;
}

#nb-dashboard-wrapper .nb-artist-card__badge--verified {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.32);
    color: #ffe082;
}

#nb-dashboard-wrapper .nb-artist-card__badge--pass {
    background: rgba(120, 255, 170, 0.08);
    border-color: rgba(120, 255, 170, 0.28);
    color: #9dffc4;
}

#nb-dashboard-wrapper .nb-artist-card__badge--contract {
    background: rgba(176, 38, 255, 0.08);
    border-color: rgba(176, 38, 255, 0.28);
    color: #ddb8ff;
}

#nb-dashboard-wrapper .nb-artist-card__hero {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#nb-dashboard-wrapper .nb-artist-card__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-artist-card__avatar-ring {
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    background: conic-gradient(from 210deg, #ffd54f, #b026ff, #ffd54f);
    opacity: 0.9;
    animation: nb-overview-pass-ring-spin 14s linear infinite;
}

#nb-dashboard-wrapper .nb-artist-card__avatar {
    position: relative;
    z-index: 1;
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(8, 5, 14, 0.96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

#nb-dashboard-wrapper .nb-artist-card__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.08);
    color: rgba(255, 224, 138, 0.55);
}

#nb-dashboard-wrapper .nb-artist-card__avatar--placeholder .material-symbols-outlined {
    font-size: 40px;
}

#nb-dashboard-wrapper .nb-artist-card__identity {
    min-width: 0;
    flex: 1;
}

#nb-dashboard-wrapper .nb-artist-card__name {
    margin: 0 0 3px;
    font-family: var(--nb-font-head, inherit);
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

#nb-dashboard-wrapper .nb-artist-card__artist {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 224, 138, 0.88);
}

#nb-dashboard-wrapper .nb-artist-card__meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

#nb-dashboard-wrapper .nb-artist-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.56);
}

#nb-dashboard-wrapper .nb-artist-card__meta-item .material-symbols-outlined {
    font-size: 14px;
    color: rgba(255, 215, 0, 0.55);
}

#nb-dashboard-wrapper .nb-artist-card__bio {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.64);
}

#nb-dashboard-wrapper .nb-artist-card__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

#nb-dashboard-wrapper .nb-artist-card__metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.12);
    min-height: 88px;
}

#nb-dashboard-wrapper .nb-artist-card__metric.is-highlight {
    background: linear-gradient(160deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.04) 100%);
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.08);
}

#nb-dashboard-wrapper .nb-artist-card__metric.is-trend-up strong {
    color: #9dffc4;
}

#nb-dashboard-wrapper .nb-artist-card__metric.is-trend-down strong {
    color: #ffb4a2;
}

#nb-dashboard-wrapper .nb-artist-card__metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.16);
}

#nb-dashboard-wrapper .nb-artist-card__metric-icon .material-symbols-outlined {
    font-size: 16px;
    color: #ffd54f;
}

#nb-dashboard-wrapper .nb-artist-card__metric strong {
    font-size: 18px;
    font-weight: 800;
    color: #ffe082;
    line-height: 1.1;
}

#nb-dashboard-wrapper .nb-artist-card__metric.is-compact-value strong {
    font-size: 13px;
    line-height: 1.25;
}

#nb-dashboard-wrapper .nb-artist-card__metric span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 224, 170, 0.58);
}

#nb-dashboard-wrapper .nb-artist-card__platforms {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#nb-dashboard-wrapper .nb-artist-card__platforms-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.55);
}

#nb-dashboard-wrapper .nb-artist-card__platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#nb-dashboard-wrapper .nb-artist-card__platform {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#nb-dashboard-wrapper .nb-artist-card__spotlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 215, 0, 0.16);
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-artist-card__spotlight-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 120% at 0% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 62%);
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-artist-card__cover {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

#nb-dashboard-wrapper .nb-artist-card__spotlight-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#nb-dashboard-wrapper .nb-artist-card__spotlight-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#nb-dashboard-wrapper .nb-artist-card__spotlight-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.58);
}

#nb-dashboard-wrapper .nb-artist-card__status {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-artist-card__status--approved {
    background: rgba(120, 255, 170, 0.1);
    border-color: rgba(120, 255, 170, 0.28);
    color: #9dffc4;
}

#nb-dashboard-wrapper .nb-artist-card__status--pending {
    background: rgba(255, 179, 0, 0.1);
    border-color: rgba(255, 179, 0, 0.28);
    color: #ffd180;
}

#nb-dashboard-wrapper .nb-artist-card__status--draft,
#nb-dashboard-wrapper .nb-artist-card__status--processing {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

#nb-dashboard-wrapper .nb-artist-card__release-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-artist-card__spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

#nb-dashboard-wrapper .nb-artist-card__release-date,
#nb-dashboard-wrapper .nb-artist-card__release-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.54);
}

#nb-dashboard-wrapper .nb-artist-card__release-date .material-symbols-outlined,
#nb-dashboard-wrapper .nb-artist-card__release-meta .material-symbols-outlined {
    font-size: 14px;
}

#nb-dashboard-wrapper .nb-artist-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

#nb-dashboard-wrapper .nb-artist-card__footer-brand {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.62);
}

#nb-dashboard-wrapper .nb-artist-card__footer-note {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.04em;
}

#nb-dashboard-wrapper .nb-artist-card__actions {
    display: flex;
    gap: 10px;
}

#nb-dashboard-wrapper .nb-artist-card__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: rgba(255, 215, 0, 0.08);
    color: #ffe082;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

#nb-dashboard-wrapper .nb-artist-card__btn .material-symbols-outlined {
    font-size: 18px;
}

#nb-dashboard-wrapper .nb-artist-card__btn--download {
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.24) 0%, rgba(255, 179, 0, 0.16) 100%);
}

#nb-dashboard-wrapper .nb-artist-card__btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 215, 0, 0.52);
    background: rgba(255, 215, 0, 0.14);
}

#nb-dashboard-wrapper .nb-artist-card__btn:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.75);
    outline-offset: 2px;
}

#nb-dashboard-wrapper .nb-artist-card__btn.is-busy {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 900px) {
    #nb-dashboard-wrapper .nb-artist-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-artist-card__hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #nb-dashboard-wrapper .nb-artist-card__meta-row {
        align-items: center;
    }

    #nb-dashboard-wrapper .nb-artist-card__meta-item {
        justify-content: center;
    }

    #nb-dashboard-wrapper .nb-artist-card__badges {
        justify-content: flex-start;
    }

    #nb-dashboard-wrapper .nb-artist-card__actions {
        flex-direction: column;
    }
}

#nb-dashboard-wrapper .nb-overview-progress-card.nb-dash-card-fx,
#nb-dashboard-wrapper .nb-activity-chart-card.nb-dash-card-fx {
    border-color: rgba(255, 215, 120, 0.24) !important;
}

#nb-dashboard-wrapper .nb-overview-progress-card__inner,
#nb-dashboard-wrapper .nb-activity-chart-card__inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    #nb-dashboard-wrapper .nb-overview-zone--intro {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    #nb-dashboard-wrapper .nb-overview-stories-slot {
        position: static;
    }

    #nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.nb-news-glass {
        position: static;
        height: auto;
    }

    #nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#nb-dashboard-wrapper .nb-overview-intro-main .nb-overview-hero {
    margin-bottom: 0 !important;
}

#nb-dashboard-wrapper .nb-overview-zone--kpi .nb-widgets-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

#nb-dashboard-wrapper .nb-overview-progress-card.nb-checklist-card .nb-checklist-list {
    margin-top: 8px;
}

#nb-dashboard-wrapper .nb-widget.nb-dash-card-fx {
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-widget.nb-dash-card-fx .nb-widget__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#nb-dashboard-wrapper .nb-widget.nb-dash-card-fx .nb-w-icon {
    z-index: 1;
}

#nb-dashboard-wrapper .nb-widget--plan {
    position: relative;
    overflow: hidden;
    background: rgba(255, 215, 0, 0.08) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
}

#nb-dashboard-wrapper .nb-widget--plan-inner {
    position: relative;
    z-index: 2;
}

#nb-dashboard-wrapper .nb-widget--plan .nb-w-label {
    color: var(--cin-accent);
}

#nb-dashboard-wrapper .nb-widget--plan-value {
    font-family: monospace;
    color: var(--cin-accent);
}

#nb-dashboard-wrapper .nb-widget--plan-days {
    font-size: 14px;
    color: var(--cin-accent);
    margin-top: 4px;
    font-weight: 600;
}

#nb-dashboard-wrapper .nb-widget--plan-note {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

#nb-dashboard-wrapper .nb-widget--plan-bg {
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 120px;
    color: var(--cin-accent);
    opacity: 0.05;
    pointer-events: none;
}

@media (max-width: 1100px) {
    #nb-dashboard-wrapper .nb-overview-zone--kpi .nb-widgets-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-overview-zone--kpi .nb-widgets-row {
        grid-template-columns: 1fr !important;
    }
}

/* --- Каскадное появление вкладки «Обзор» --- */
@keyframes nb-overview-enter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.99);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Скрываем только во время каскада — иначе «призрачные» блоки занимают место в сетке */
#nb-dashboard-wrapper.is-overview-cascading .nb-overview-item:not(.nb-overview-item--shown) {
    display: none !important;
}

#nb-dashboard-wrapper .nb-overview-item.nb-overview-item--shown {
    animation: nb-overview-enter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#nb-dashboard-wrapper .nb-overview-item.nb-overview-item--done,
#nb-dashboard-wrapper .nb-overview-item--done[data-nb-dash-visual],
#nb-dashboard-wrapper .nb-overview-item--done.nb-overview-hero,
#nb-dashboard-wrapper .nb-overview-item--done.nb-overview-progress-card,
#nb-dashboard-wrapper .nb-overview-item--done.nb-overview-quick-card,
#nb-dashboard-wrapper .nb-overview-item--done.nb-overview-account-ready,
#nb-dashboard-wrapper .nb-overview-item--done.nb-dash-hero--social {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--shown {
    display: block;
}

#nb-dashboard-wrapper .nb-promo-strip.nb-overview-item--shown {
    display: block;
}

#nb-dashboard-wrapper .nb-widgets-row .nb-widget.nb-overview-item--shown {
    display: block;
}

#nb-dashboard-wrapper.is-overview-cascading .nb-overview-progress-card .nb-overview-progress-bar,
#nb-dashboard-wrapper.is-overview-cascading .nb-checklist-card .nb-checklist-progress-bar {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

#nb-dashboard-wrapper .nb-overview-item--done.nb-overview-progress-card .nb-overview-progress-bar,
#nb-dashboard-wrapper .nb-overview-item--done.nb-checklist-card .nb-checklist-progress-bar {
    transform: scaleX(1);
}

#nb-dashboard-wrapper .nb-overview-item--done.nb-widget,
#nb-dashboard-wrapper .nb-overview-item--done.nb-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

#nb-dashboard-wrapper .nb-overview-item--done.nb-widget:hover,
#nb-dashboard-wrapper .nb-overview-item--done.nb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--done .nb-overview-pass-banner__chip {
    animation: nb-overview-chip-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--done .nb-overview-pass-banner__chip:nth-child(1) { animation-delay: 0.12s; }
#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--done .nb-overview-pass-banner__chip:nth-child(2) { animation-delay: 0.18s; }
#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--done .nb-overview-pass-banner__chip:nth-child(3) { animation-delay: 0.24s; }

@keyframes nb-overview-chip-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1025px) {
    #nb-dashboard-wrapper .nb-overview-item.nb-widget,
    #nb-dashboard-wrapper .nb-overview-item.nb-card {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-item.nb-overview-item--shown {
        animation: nb-overview-enter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper.is-overview-cascading .nb-overview-item:not(.nb-overview-item--shown) {
        display: block !important;
    }
    #nb-dashboard-wrapper .nb-overview-item,
    #nb-dashboard-wrapper .nb-overview-item.nb-overview-item--shown,
    #nb-dashboard-wrapper .nb-overview-item.nb-overview-item--done {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-progress-card .nb-overview-progress-bar,
    #nb-dashboard-wrapper .nb-checklist-card .nb-checklist-progress-bar {
        transform: scaleX(1) !important;
        transition: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--done .nb-overview-pass-banner__chip {
        animation: none !important;
    }
}

/* =================================================================
   НОВОСТИ ПЛАТФОРМЫ — STORIES
================================================================= */

.nb-news-stories.nb-news-glass,
.nb-news-slideshow-wrapper.nb-news-glass,
#nb-dashboard-wrapper .nb-promo-strip-card.nb-news-glass {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    padding: 0;
    border-radius: var(--nb-radius, 24px);
    background: linear-gradient(165deg, rgba(18, 12, 32, 0.55) 0%, rgba(8, 5, 18, 0.62) 100%) !important;
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(255, 215, 0, 0.28) !important;
    box-shadow: var(--nb-shadow, 0 20px 50px rgba(0, 0, 0, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.nb-news-slideshow-wrapper.nb-news-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.45) 0%, transparent 42%, rgba(255, 180, 100, 0.18) 72%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
}

.nb-news-glass-shine {
    position: absolute;
    inset: 0 0 auto 0;
    height: 140px;
    background: radial-gradient(ellipse 90% 120% at 50% -30%, rgba(255, 215, 0, 0.14), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.nb-news-stories-header,
.nb-news-slideshow-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 28px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nb-news-header-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.nb-news-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}

.nb-news-icon {
    font-size: 28px !important;
    color: var(--nb-primary);
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
    flex-shrink: 0;
    margin-top: 2px;
}

.nb-news-slideshow-title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, var(--nb-primary) 40%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nb-gradient-shift 6s ease infinite;
}

.nb-news-slideshow-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--nb-text-muted);
    letter-spacing: 0.2px;
}

.nb-news-stories-pill {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
    background: linear-gradient(90deg, var(--nb-primary), #ffb000);
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
}

.nb-news-stories-playall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.1);
    color: var(--nb-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nb-news-stories-playall .material-symbols-outlined {
    font-size: 18px !important;
}

.nb-news-stories-playall:hover {
    transform: translateY(-1px);
    background: rgba(255, 215, 0, 0.18);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
    color: #fff;
}

.nb-news-stories-rail-wrap {
    position: relative;
    z-index: 1;
    padding: 16px 20px 20px;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}

.nb-news-stories-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nb-news-stories-rail::-webkit-scrollbar {
    display: none;
}

.nb-story-ring {
    position: relative;
    flex: 0 0 auto;
    width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.nb-story-ring:hover {
    transform: translateY(-3px) scale(1.03);
}

.nb-story-ring:focus-visible {
    outline: 2px solid var(--nb-primary);
    outline-offset: 4px;
    border-radius: 12px;
}

.nb-story-ring-border {
    position: absolute;
    top: 0;
    left: 50%;
    width: 78px;
    height: 78px;
    margin-left: -39px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ffd700, #ff8c00, #ffd700, #fff6b0, #ffd700);
    animation: nb-story-ring-spin 4s linear infinite;
}

.nb-story-ring.is-seen .nb-story-ring-border {
    background: rgba(255, 255, 255, 0.22);
    animation: none;
    opacity: 1;
}

.nb-story-ring--important .nb-story-ring-border {
    background: conic-gradient(from 0deg, #ff5252, #ff8a80, #ff5252, #ffcdd2, #ff5252);
}

.nb-story-ring--tariff .nb-story-ring-border,
.nb-story-ring--promo .nb-story-ring-border {
    background: conic-gradient(from 0deg, #ffd700, #ffb300, #ffd700, #fff9c4, #ffd700);
}

.nb-story-ring--update .nb-story-ring-border {
    background: conic-gradient(from 0deg, #42a5f5, #90caf9, #42a5f5, #e3f2fd, #42a5f5);
}

@keyframes nb-story-ring-spin {
    to { transform: rotate(360deg); }
}

.nb-story-ring-thumb {
    position: relative;
    margin-top: 3px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(8, 5, 18, 0.95);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(20, 12, 40, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nb-story-ring-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nb-story-ring-thumb .material-symbols-outlined {
    font-size: 28px !important;
    color: rgba(255, 215, 0, 0.7);
}

.nb-story-ring-thumb--all {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(176, 38, 255, 0.2));
}

.nb-story-ring-thumb--all .material-symbols-outlined {
    font-size: 32px !important;
    color: #fff;
}

.nb-story-ring-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    line-height: 1.25;
    max-width: 88px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ——— Полноэкранный просмотр сторис ——— */
.nb-story-viewer {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.nb-story-viewer[hidden] {
    display: none !important;
}

.nb-story-viewer.is-open {
    display: flex;
}

body.nb-story-viewer-open {
    overflow: hidden;
}

.nb-story-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 10, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nb-story-viewer-shell {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    height: min(88vh, 780px);
    max-height: 88vh;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75), 0 0 60px rgba(255, 215, 0, 0.12);
    background: #0a0612;
    display: flex;
    flex-direction: column;
    animation: nb-story-viewer-in 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes nb-story-viewer-in {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.nb-story-viewer-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 14px 14px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.nb-story-progress {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.nb-story-progress-seg {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.nb-story-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nb-story-progress-seg.is-done .nb-story-progress-fill {
    width: 100%;
    animation: none;
}

.nb-story-viewer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nb-story-viewer-counter {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.nb-story-viewer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nb-story-viewer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.nb-story-viewer-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.nb-story-slide,
.nb-story-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.4s ease, visibility 0.35s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.nb-story-slide.is-active,
.nb-story-frame.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.nb-story-slide {
    --story-bg-local: var(--story-bg);
}

.nb-story-slide-bg {
    position: absolute;
    inset: 0;
    background-image: var(--story-bg-local);
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease-out;
}

.nb-story-slide.is-active .nb-story-slide-bg {
    transform: scale(1);
}

.nb-story-slide:not([style*="--story-bg"]) .nb-story-slide-bg {
    background-image: none;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(255, 215, 0, 0.2), rgba(12, 8, 24, 0.95) 55%, #06040c 100%);
}

.nb-story-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.nb-story-slide-body {
    position: relative;
    z-index: 2;
    padding: 100px 22px 28px;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
}

.nb-story-slide-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.nb-story-slide-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-height: 40vh;
    overflow-y: auto;
}

.nb-story-hit {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32%;
    z-index: 4;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nb-story-hit--prev { left: 0; }
.nb-story-hit--next { right: 0; }

.nb-story-viewer.is-paused .nb-story-progress-fill {
    animation-play-state: paused !important;
}

.nb-story-viewer-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 14px 14px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.4);
}

.nb-story-viewer-hint span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nb-story-viewer-hint .material-symbols-outlined {
    font-size: 14px !important;
}

@keyframes nb-story-progress-fill {
    from { width: 0%; }
    to { width: 100%; }
}

.nb-news-slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.nb-news-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.nb-news-badge--fresh,
.nb-news-badge--new {
    color: #7dffcb;
    background: rgba(0, 230, 118, 0.12);
    border-color: rgba(0, 230, 118, 0.35);
}

.nb-news-badge--tariff {
    color: var(--nb-primary);
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.35);
}

.nb-news-badge--important {
    color: #ff8a80;
    background: rgba(255, 82, 82, 0.12);
    border-color: rgba(255, 82, 82, 0.35);
}

.nb-news-badge--update {
    color: #90caf9;
    background: rgba(66, 165, 245, 0.12);
    border-color: rgba(66, 165, 245, 0.35);
}

.nb-news-badge--promo {
    color: #ffd180;
    background: rgba(255, 152, 0, 0.12);
    border-color: rgba(255, 152, 0, 0.35);
}

.nb-news-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
}

.nb-news-slide-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--nb-text-muted);
}

.nb-news-slide-text p {
    margin: 0 0 10px;
}

.nb-news-slide-text p:last-child {
    margin-bottom: 0;
}

.nb-news-slide-text a {
    color: var(--nb-primary);
    text-decoration: none;
    font-weight: 600;
    transition: text-shadow 0.3s;
}

.nb-news-slide-text a:hover {
    text-decoration: underline;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.nb-news-slide-actions {
    margin-top: 16px;
}

.nb-news-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 215, 0, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--nb-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nb-news-slide-cta .material-symbols-outlined {
    font-size: 18px !important;
}

.nb-news-slide-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), rgba(255, 215, 0, 0.12));
    color: #fff;
}

@media (max-width: 900px) {
    .nb-news-stories-header,
    .nb-news-slideshow-header {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px 12px;
    }
    .nb-news-header-right {
        align-items: flex-start;
        margin-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nb-story-viewer {
        padding: 0;
    }
    .nb-story-viewer-shell {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
    }
    .nb-story-viewer-hint {
        display: none;
    }
}

@media (max-width: 768px) {
    .nb-news-slideshow-title {
        font-size: 11px;
        letter-spacing: 2px;
    }
    .nb-story-ring {
        width: 76px;
    }
    .nb-story-ring-thumb {
        width: 64px;
        height: 64px;
    }
    .nb-story-ring-border {
        width: 70px;
        height: 70px;
        margin-left: -35px;
    }
}

/* ——— Stories v2 ——— */
.nb-story-ring.is-pinned .nb-story-ring-border {
    background: conic-gradient(from 0deg, #b026ff, #ffd700, #b026ff, #ffd700);
}

.nb-story-ring.is-dynamic .nb-story-ring-label::after {
    content: ' •';
    color: var(--nb-primary);
}

.nb-news-stories-bonus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #111;
    background: linear-gradient(90deg, #ffd700, #ffb000);
    padding: 4px 10px;
    border-radius: 999px;
    animation: nb-story-bonus-pulse 2s ease-in-out infinite;
}

@keyframes nb-story-bonus-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.45); }
}

.nb-story-hover-preview {
    position: fixed;
    z-index: 99980;
    min-width: 180px;
    max-width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(12, 8, 24, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    font-size: 12px;
    color: #fff;
}

.nb-story-hover-preview strong {
    display: block;
    margin-bottom: 4px;
    color: var(--nb-primary);
}

.nb-story-hover-preview span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.nb-story-frame-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.nb-story-poll {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.nb-story-poll.is-voted {
    opacity: 0.65;
    pointer-events: none;
}

.nb-story-poll-q {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.nb-story-poll-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nb-story-poll-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.15);
    color: var(--nb-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.nb-story-poll-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
}

.nb-story-viewer-bonus-toast {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    padding: 12px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 176, 0, 0.9));
    color: #111;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.35);
    white-space: nowrap;
}

@keyframes nb-story-frame-fill {
    from { width: var(--frame-start, 0%); }
    to { width: var(--frame-end, 100%); }
}

.nb-sidebar-footer {
    padding: 12px 16px; margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 10px; color: #666; line-height: 1.5;
}
.nb-footer-info, .nb-footer-copy { font-family: 'Manrope', monospace; }
.nb-footer-copy { margin-top: 4px; opacity: 0.8; }

/* Чек-лист «Первый шаг» */
.nb-checklist-card { padding: 24px 28px !important; }
.nb-checklist-title { margin: 0 0 8px 0 !important; font-size: 16px !important; color: var(--nb-primary) !important; display: flex; align-items: center; }
.nb-checklist-desc { margin: 0 0 16px 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-checklist-progress-wrap { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.nb-checklist-progress-bar { height: 100%; background: linear-gradient(90deg, var(--nb-primary), #FFB000); border-radius: 3px; transition: width 0.5s ease; }
.nb-checklist-list { list-style: none; margin: 0; padding: 0; }
.nb-checklist-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--nb-text-muted); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nb-checklist-list li:last-child { border-bottom: none; }
.nb-checklist-list li.done { color: var(--nb-primary); }
.nb-checklist-list li.done .nb-checklist-ico { color: var(--nb-primary); }
.nb-checklist-ico { font-size: 20px !important; flex-shrink: 0; }
.nb-checklist-list li:not(.done) .nb-checklist-ico { color: #555; }
.nb-checklist-link { margin-left: auto; font-size: 12px; color: var(--nb-primary); text-decoration: none; font-weight: 600; }
.nb-checklist-link:hover { text-decoration: underline; }

/* Мини-график активности */
.nb-activity-chart-card { padding: 24px 28px !important; }
.nb-activity-chart-title { margin: 0 0 16px 0 !important; font-size: 16px !important; color: var(--nb-primary) !important; display: flex; align-items: center; }
.nb-activity-chart { display: flex; align-items: flex-end; gap: 3px; height: 80px; margin-bottom: 8px; }
.nb-activity-bar { flex: 1; min-width: 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(255,215,0,0.5), rgba(255,215,0,0.2)); transition: height 0.4s ease; }
.nb-activity-bar:hover { background: linear-gradient(180deg, var(--nb-primary), rgba(255,215,0,0.4)); }
.nb-activity-chart-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--nb-text-muted); }

/* Напоминание о черновике */
.nb-draft-reminder { padding: 20px 24px !important; margin-bottom: 24px !important; border-left: 4px solid var(--nb-primary) !important; }
.nb-draft-reminder-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nb-draft-reminder-icon { font-size: 36px !important; color: var(--nb-primary); flex-shrink: 0; }
.nb-draft-reminder-text { flex: 1; min-width: 180px; }
.nb-draft-reminder-text strong { display: block; color: #fff; margin-bottom: 4px; font-size: 14px; }
.nb-draft-reminder-text p { margin: 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-draft-reminder-btn { flex-shrink: 0; padding: 10px 20px !important; font-size: 12px !important; }

/* На мобильных убираем blur стекла — полупрозрачный фон вместо размытия, убирает мерцание */
@media (max-width: 1024px) {
    :root { --nb-blur: none; }
    .nb-sidebar,
    .nb-card, .nb-widget, .nb-news-card,
    .tsp-dashboard, .alkb-root, .bandlink-form, .contract-list-wrapper, .ticket-list-wrapper,
    .nb-gravity-form, .karaoke-editor-wrapper {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 5, 30, 0.92) !important;
    }
    .nb-support-wrap .nb-form-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: linear-gradient(165deg, rgba(28, 20, 8, 0.96) 0%, rgba(10, 7, 3, 0.98) 100%) !important;
    }
    /* Верхнюю шторку на дашборде на мобилке скрываем — не перебивает гамбургер */
    body:has(#nb-dashboard-wrapper) .nb-global-header {
        display: none !important;
    }
    body:has(#nb-dashboard-wrapper) .nb-sidebar {
        top: 0 !important;
        height: 100vh !important;
    }
    body.admin-bar:has(#nb-dashboard-wrapper) .nb-sidebar {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }
    .nb-top-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(10, 5, 20, 0.95) !important;
    }
    .nb-sidebar {
        transform: translateX(-100%);
        width: 260px !important;
        padding: 16px 10px !important;
        background: rgba(12, 8, 22, 0.98) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 999999 !important;
    }
    .nb-sidebar.mobile-open { transform: translateX(0); }
    .nb-sidebar-toggle-btn { display: none !important; }
    .nb-app-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 24px 16px 40px 16px !important;
        padding-top: var(--nb-dash-main-offset, 84px) !important;
    }
    /* На дашборде без верхней шторки — компактный отступ под баланс */
    body:has(#nb-dashboard-wrapper) .nb-app-main {
        padding-top: var(--nb-dash-main-offset, 84px) !important;
    }
    .nb-mobile-toggle {
        display: flex !important;
        align-items: center; justify-content: center;
        position: fixed; top: 20px; right: 20px; z-index: 20000;
        background: rgba(0,0,0,0.8); border: 1px solid var(--nb-primary); color: var(--nb-primary);
        padding: 8px; border-radius: 10px; cursor: pointer;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    }
    .nb-mobile-backdrop {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.8); z-index: 999990 !important;
        display: none;
    }
    .nb-mobile-backdrop.active { display: block; }
    .nb-sidebar .nb-sidebar-header-row { padding: 0 12px; margin-bottom: 16px; }
    .nb-sidebar .nb-sidebar-scroll { gap: 8px; padding: 0 10px; }
    .nb-sidebar .nb-sidebar-nav { padding: 6px; border-radius: 14px; }
    .nb-sidebar .nb-nav-link { padding: 8px 10px; gap: 8px; font-size: 11px; }
    .nb-sidebar .nb-nav-icon-wrap { width: 32px; height: 32px; }
    .nb-sidebar .nb-nav-icon-wrap .material-symbols-outlined { font-size: 17px; }
    .nb-sidebar .nb-sidebar-footer { padding: 8px 0; font-size: 9px; }
}
@media (max-width: 768px) {
    #nb-dashboard-wrapper .nb-widgets-row { grid-template-columns: 1fr !important; }
    .nb-top-header { height: auto; min-height: 52px; padding: 10px 0; }
    .nb-top-header-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 12px; }
    .nb-top-header-menu { justify-content: center; gap: 6px; }
    .nb-top-header-link { flex: 1; min-width: 0; justify-content: center; padding: 8px 10px; font-size: 10px; }
    #nb-dashboard-wrapper .nb-dash-header-row { flex-direction: column; align-items: stretch; gap: 16px; }
    #nb-dashboard-wrapper .nb-dash-welcome { font-size: 28px !important; }
}

@media (min-width: 1025px) {
    .nb-mobile-toggle, .nb-mobile-backdrop { display: none !important; }
}

/* ——— Гид по кабинету (Shepherd) ——— */
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
    opacity: 0.55 !important;
    background: radial-gradient(ellipse at center, rgba(20, 14, 6, 0.45) 0%, rgba(0, 0, 0, 0.62) 70%) !important;
}
.shepherd-element.nb-tutorial,
.shepherd-element.shepherd-theme-nb {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 20px;
    max-width: min(420px, calc(100vw - 32px));
    z-index: 100050 !important;
    filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55));
}
.shepherd-element.nb-tutorial .shepherd-content,
.shepherd-element.shepherd-theme-nb .shepherd-content {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background:
        linear-gradient(155deg, rgba(255, 215, 0, 0.12) 0%, transparent 42%),
        linear-gradient(180deg, rgba(28, 22, 12, 0.96) 0%, rgba(10, 9, 8, 0.97) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.28) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 36px rgba(255, 215, 0, 0.1),
        0 16px 40px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.shepherd-element.nb-tutorial .shepherd-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffd700 20%, #ffb000 50%, #ffd700 80%, transparent);
    opacity: 0.9;
    pointer-events: none;
}
.nb-tutorial .shepherd-header {
    background: transparent !important;
    padding: 22px 22px 0 !important;
    border: none !important;
    align-items: flex-start;
}
.nb-tutorial .shepherd-title {
    color: #ffd700 !important;
    font-weight: 800 !important;
    font-size: 1.12rem !important;
    letter-spacing: 0.01em;
    line-height: 1.3 !important;
    margin: 0 !important;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}
.nb-tutorial .shepherd-cancel-icon {
    color: rgba(255, 255, 255, 0.45) !important;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}
.nb-tutorial .shepherd-cancel-icon:hover {
    color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.1);
}
.nb-tutorial .shepherd-text {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    padding: 12px 22px 6px !important;
}
.nb-tutorial .shepherd-text p {
    margin: 0 0 0.45em;
}
.nb-tutorial .shepherd-text p:last-child {
    margin-bottom: 0;
}
.nb-tutorial .nb-tour-lead {
    color: rgba(255, 255, 255, 0.92);
}
.nb-tutorial .shepherd-text strong {
    color: #ffd700 !important;
    font-weight: 700;
}
.nb-tutorial .nb-tour-step {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.72);
    text-shadow: none;
}
.nb-tutorial .nb-tour-list {
    margin: 10px 0 0;
    padding: 0 0 0 1.1em;
    list-style: disc;
}
.nb-tutorial .nb-tour-list li {
    margin: 0 0 0.45em;
    padding-left: 0.15em;
    color: rgba(255, 255, 255, 0.84);
}
.nb-tutorial .nb-tour-list li:last-child {
    margin-bottom: 0;
}
.nb-tutorial .nb-tour-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0 !important;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(255, 215, 0, 0.08);
    color: rgba(255, 244, 200, 0.92);
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}
.nb-tutorial .nb-tour-tip .material-symbols-outlined {
    font-size: 18px;
    color: #ffd700;
    flex-shrink: 0;
    margin-top: 1px;
}
.shepherd-element.nb-tutorial.nb-tour-has-video {
    max-width: min(520px, calc(100vw - 24px));
}
.nb-tutorial.nb-tour-has-video .shepherd-text {
    max-height: min(58vh, 440px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nb-tutorial .nb-tour-video {
    margin: 0 0 12px;
}
.nb-tutorial .nb-tour-video-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px !important;
    color: #ffe08a;
    font-size: 0.92rem;
    font-weight: 800;
}
.nb-tutorial .nb-tour-video-label .material-symbols-outlined {
    font-size: 20px;
    color: #ffd700;
    font-variation-settings: 'FILL' 1;
}
.nb-tutorial .nb-tour-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 215, 0, 0.22);
}
.nb-tutorial .nb-tour-video-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.nb-tutorial .nb-tour-video-hint {
    margin: 8px 0 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 235, 190, 0.62);
}
.nb-tutorial .shepherd-footer {
    padding: 14px 20px 20px !important;
    border: none !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}
.nb-tutorial .shepherd-button {
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
}
.nb-tutorial .shepherd-button:not(:disabled):hover {
    transform: translateY(-1px);
}
.nb-tutorial .shepherd-button-primary {
    background: linear-gradient(135deg, #ffd700, #ffb000) !important;
    color: #14110a !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(255, 190, 0, 0.32) !important;
}
.nb-tutorial .shepherd-button-primary:hover {
    box-shadow: 0 8px 22px rgba(255, 190, 0, 0.42) !important;
}
.nb-tutorial .shepherd-button-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 215, 0, 0.22) !important;
    box-shadow: none !important;
}
.nb-tutorial .shepherd-button-secondary:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    color: #fff !important;
}
.nb-tutorial .shepherd-arrow:before {
    background: rgba(22, 17, 10, 0.97) !important;
    border: 1px solid rgba(255, 215, 0, 0.28) !important;
}
#nb-dashboard-wrapper .nb-nav-link.nb-tour-nav-pulse {
    outline: 2px solid rgba(255, 215, 0, 0.85);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.18), 0 0 22px rgba(255, 215, 0, 0.35);
    z-index: 2;
    position: relative;
}
/* Как соседние пилюли шапки (База знаний / профиль): stretch + min-height 48px */
#nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 8px;
    min-height: 48px;
    height: auto;
    margin: 0;
    margin-left: 1px;
    padding: 8px 14px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    box-shadow: -1px 0 0 rgba(255, 215, 120, 0.14);
    color: #ffd700;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
#nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    display: block;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn__label {
    display: inline-block;
    line-height: 1.1;
    color: #fff4b8;
    font-weight: 700;
    font-size: 13px;
}
#nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: -1px 0 0 rgba(255, 215, 120, 0.14);
    transform: none;
}
@media (max-width: 1024px) {
    #nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-top-help-body {
        display: none;
    }
    #nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-top-help {
        min-width: 44px;
        min-height: 44px;
        padding: 6px 10px;
        justify-content: center;
    }
}
@media (max-width: 720px) {
    #nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn .nb-dash-tour-btn__label {
        display: none;
    }
    #nb-dashboard-wrapper .nb-dash-top-account-inner .nb-dash-tour-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 6px 8px;
    }
}

@keyframes nb-skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}
@keyframes nb-skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.nb-skeleton { position: relative; overflow: hidden; }
.nb-skeleton-line, .nb-skeleton-block, .nb-skeleton-circle {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 100%);
    background-size: 200% 100%;
    animation: nb-skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}
.nb-skeleton-line { height: 16px; margin-bottom: 12px; }
.nb-skeleton-line:last-child { margin-bottom: 0; }
.nb-skeleton-line.short { width: 60%; }
.nb-skeleton-line.medium { width: 80%; }
.nb-skeleton-block { height: 100px; margin-bottom: 16px; }
.nb-skeleton-circle {
    width: 60px; height: 60px; border-radius: 50%;
    margin-bottom: 16px;
}
.nb-skeleton-card {
    background: var(--glass-card);
    backdrop-filter: var(--nb-blur);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    padding: 24px;
}
.nb-skeleton-card .nb-skeleton-line { margin-bottom: 16px; }
.nb-skeleton-loading .nb-skeleton-content { display: none !important; }
.nb-skeleton-loading .nb-skeleton-placeholder { display: block !important; }
.nb-skeleton-placeholder { display: none; }
.nb-skeleton-loaded .nb-skeleton-placeholder { display: none !important; }
.nb-skeleton-loaded .nb-skeleton-content { display: block !important; }

/* Шапка профиля в панели настроек */
.nb-profile-cover-wrap { margin-top: 20px; }
.nb-profile-cover-label { display: block; font-size: 13px; font-weight: 600; color: var(--nb-text-muted); margin-bottom: 8px; }
.nb-profile-cover-preview {
    width: 100%; height: 140px; border-radius: 14px; background-size: cover; background-position: center;
    background-color: rgba(0,0,0,0.3); border: 1px solid var(--nb-border); margin-bottom: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--nb-text-muted);
}
.nb-profile-cover-preview .material-symbols-outlined { font-size: 36px; opacity: 0.6; }
.nb-profile-cover-placeholder-text { font-size: 12px; }

/* Моя страница (вкладка дашборда) */
.nb-my-page { border-radius: var(--nb-radius); overflow: hidden; }
.nb-my-page-cover {
    width: 100%; height: 200px; background-size: cover; background-position: center; background-color: rgba(20, 10, 40, 0.8);
}
.nb-my-page-cover-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: var(--nb-text-muted); border: 1px dashed rgba(255, 215, 0, 0.3);
}
.nb-my-page-cover-placeholder .material-symbols-outlined { font-size: 48px; opacity: 0.5; }
.nb-my-page-cover-placeholder p { margin: 0; font-weight: 600; }
.nb-my-page-cover-hint { font-size: 12px; opacity: 0.8; }
.nb-my-page-profile {
    padding: 24px; background: var(--glass-card); backdrop-filter: var(--nb-blur);
    border: 1px solid var(--nb-border); border-top: none; border-radius: 0 0 var(--nb-radius) var(--nb-radius);
}
.nb-my-page-avatar-wrap { position: relative; display: inline-block; margin-bottom: 12px; }
.nb-my-page-avatar {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--nb-primary);
}
.nb-my-page-avatar-placeholder {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 215, 0, 0.15);
    border: 3px solid rgba(255, 215, 0, 0.4); display: flex; align-items: center; justify-content: center;
}
.nb-my-page-avatar-placeholder .material-symbols-outlined { font-size: 40px; color: var(--nb-primary); }
.nb-my-page-verified { position: absolute; bottom: 0; right: 0; width: 24px; height: 24px; background: #1DA1F2; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--glass-card); }
.nb-my-page-verified .material-symbols-outlined { font-size: 14px; color: #fff; }
.nb-my-page-name { margin: 0 0 8px 0; font-size: 22px; font-weight: 700; color: var(--nb-text-main); }
.nb-my-page-bio { margin: 0 0 12px 0; font-size: 14px; color: var(--nb-text-muted); line-height: 1.5; max-width: 560px; }
.nb-my-page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.nb-my-page-link {
    font-size: 13px; color: var(--nb-primary); text-decoration: none; padding: 6px 12px;
    background: rgba(255, 215, 0, 0.1); border-radius: 8px; border: 1px solid rgba(255, 215, 0, 0.25);
    transition: background 0.2s, border-color 0.2s;
}
.nb-my-page-link:hover { background: rgba(255, 215, 0, 0.2); border-color: var(--nb-primary); color: #fff; }
.nb-my-page-tracks { padding: 24px; margin-top: 20px; background: var(--glass-card); backdrop-filter: var(--nb-blur); border: 1px solid var(--nb-border); border-radius: var(--nb-radius); }
.nb-my-page-tracks-title { margin: 0 0 16px 0; font-size: 16px; font-weight: 700; color: var(--nb-text-main); }
.nb-my-page-tracks-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nb-my-page-track-item {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25); border: 1px solid var(--nb-border); border-radius: 12px;
}
.nb-my-page-track-cover { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.nb-my-page-track-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nb-my-page-track-name { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-my-page-track-artist { font-size: 12px; color: var(--nb-text-muted); }
.nb-my-page-track-plays { font-size: 11px; color: var(--nb-text-muted); display: flex; align-items: center; gap: 4px; }
.nb-my-page-track-plays .material-symbols-outlined { font-size: 14px; }
.nb-my-page-track-goto {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 215, 0, 0.15); border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--nb-primary); display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.nb-my-page-track-goto:hover { background: rgba(255, 215, 0, 0.25); border-color: var(--nb-primary); }
.nb-my-page-feed-link-wrap { margin: 16px 0 0 0; }
.nb-my-page-feed-link { color: var(--nb-primary); font-weight: 600; text-decoration: none; }
.nb-my-page-feed-link:hover { text-decoration: underline; }
.nb-my-page-no-tracks { margin: 0 0 12px 0; color: var(--nb-text-muted); font-size: 14px; }

/* 2FA в профиле */
.nb-profile-2fa-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--nb-border); }
.nb-profile-2fa-status { margin: 0 0 12px 0; font-size: 14px; color: var(--nb-text-muted); }
.nb-profile-2fa-status.nb-profile-2fa-on { color: var(--nb-primary); display: flex; align-items: center; gap: 8px; }
.nb-profile-2fa-setup-wrap, .nb-profile-2fa-disable-wrap { margin-top: 16px; padding: 16px; background: rgba(0,0,0,0.2); border-radius: 12px; }
.nb-profile-2fa-setup-hint { margin: 0 0 12px 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-profile-2fa-qr-wrap { margin-bottom: 12px; }
.nb-profile-2fa-qr-wrap img { max-width: 200px; height: auto; border-radius: 8px; }
.nb-profile-2fa-secret-wrap { margin: 0 0 12px 0; font-size: 13px; }
.nb-profile-2fa-secret-wrap code { background: rgba(0,0,0,0.3); padding: 4px 8px; border-radius: 6px; word-break: break-all; }
.nb-profile-2fa-setup-wrap label, .nb-profile-2fa-disable-wrap label { display: block; margin-bottom: 6px; font-size: 13px; }
.nb-profile-field-input { width: 100%; max-width: 200px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--nb-border); background: rgba(0,0,0,0.3); color: #fff; margin-bottom: 10px; }
.nb-profile-2fa-setup-wrap .nb-btn, .nb-profile-2fa-disable-wrap .nb-btn { margin-top: 8px; }
.nb-profile-2fa-msg { margin: 10px 0 0 0; font-size: 13px; min-height: 20px; }
.nb-profile-2fa-msg.error { color: #ff6b6b; }
.nb-profile-2fa-msg.success { color: #51cf66; }
.nb-profile-2fa-disable-btn { margin-top: 8px; }

/* --- Профиль: golden glass (вкладка ЛК) --- */
#nb-dashboard-wrapper .nb-profile-identity {
    position: relative;
    margin: 0 -24px 22px;
    border-radius: 0;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

#nb-dashboard-wrapper .nb-profile-identity.is-active,
#nb-dashboard-wrapper .nb-profile-identity.is-entering {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#nb-dashboard-wrapper .nb-profile-identity.is-entering {
    animation: nb-dash-hero-enter 0.55s ease forwards;
}

#nb-dashboard-wrapper .nb-profile-identity__mesh {
    position: absolute;
    inset: -30%;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 15% 30%, rgba(255, 215, 0, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 90% 70%, rgba(200, 140, 30, 0.08) 0%, transparent 50%);
    animation: nb-dash-gradient-shift 14s ease infinite;
    background-size: 200% 200%;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-profile-identity__cover-zone {
    position: relative;
    height: 200px;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-profile-identity .nb-profile-cover-preview {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: rgba(8, 6, 4, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 235, 190, 0.55);
}

#nb-dashboard-wrapper .nb-profile-identity .nb-profile-cover-preview.has-cover,
#nb-dashboard-wrapper .nb-profile-identity .nb-profile-cover-preview[style*="background-image"] {
    display: block;
}

#nb-dashboard-wrapper .nb-profile-identity .nb-profile-cover-preview .material-symbols-outlined {
    font-size: 42px;
    opacity: 0.5;
    color: var(--nb-dash-gold, var(--cin-accent, #ffd700));
}

#nb-dashboard-wrapper .nb-profile-identity__cover-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 7, 4, 0.92) 100%);
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-profile-media-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 215, 0, 0.28);
    color: rgba(255, 240, 200, 0.92);
    font-family: var(--cin-font-head, sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

#nb-dashboard-wrapper .nb-profile-media-btn:hover {
    border-color: rgba(255, 215, 0, 0.55);
    background: rgba(255, 215, 0, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

#nb-dashboard-wrapper .nb-profile-media-btn input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

#nb-dashboard-wrapper .nb-profile-media-btn .material-symbols-outlined {
    font-size: 16px;
    color: var(--nb-dash-gold, var(--cin-accent, #ffd700));
}

#nb-dashboard-wrapper .nb-profile-media-btn--cover {
    position: absolute;
    right: 16px;
    top: 14px;
    bottom: auto;
    z-index: 6;
    pointer-events: auto;
}

#nb-dashboard-wrapper .nb-profile-identity__meta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 24px 22px;
    margin-top: -52px;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-profile-identity__avatar-col,
#nb-dashboard-wrapper .nb-profile-identity__meta .nb-profile-media-btn,
#nb-dashboard-wrapper .nb-profile-identity__meta input,
#nb-dashboard-wrapper .nb-profile-identity__meta label {
    pointer-events: auto;
}

#nb-dashboard-wrapper .nb-profile-identity__avatar-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#nb-dashboard-wrapper .nb-profile-identity .nb-profile-avatar-preview {
    width: 108px;
    height: 108px;
    margin: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 0, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(10, 7, 4, 0.85);
    background: rgba(20, 15, 10, 0.9);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nb-dashboard-wrapper .nb-profile-identity .nb-profile-avatar-preview .material-symbols-outlined {
    font-size: 48px;
    color: rgba(255, 215, 0, 0.45);
}

#nb-dashboard-wrapper .nb-profile-identity__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.92);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

#nb-dashboard-wrapper .nb-profile-identity__eyebrow .material-symbols-outlined {
    font-size: 15px;
}

#nb-dashboard-wrapper .nb-profile-identity .nb-dash-hero__chips {
    margin-top: 12px;
}

#nb-dashboard-wrapper .nb-profile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#nb-dashboard-wrapper .nb-profile-glass-card {
    position: relative;
    border-radius: var(--nb-dash-radius, 20px);
    border: 1px solid var(--nb-dash-border, rgba(255, 215, 120, 0.22));
    background: var(--nb-dash-card, linear-gradient(165deg, rgba(28, 20, 8, 0.92), rgba(10, 7, 3, 0.96)));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 230, 170, 0.08);
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-profile-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.32), transparent 42%, rgba(255, 180, 50, 0.14));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-profile-glass-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px 0;
}

#nb-dashboard-wrapper .nb-profile-glass-card__head > .material-symbols-outlined {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    color: var(--nb-dash-gold, var(--cin-accent, #ffd700));
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.22);
}

#nb-dashboard-wrapper .nb-profile-glass-card__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

#nb-dashboard-wrapper .nb-profile-glass-card__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 235, 190, 0.65);
}

#nb-dashboard-wrapper .nb-profile-glass-card__body {
    padding: 16px 20px 20px;
}

#nb-dashboard-wrapper .nb-profile-glass-card__body--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-field label {
    color: rgba(255, 235, 190, 0.62);
    font-size: 10px;
    letter-spacing: 0.08em;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-field input,
#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-form textarea {
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(255, 215, 0, 0.14) !important;
    border-radius: 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-field input:focus,
#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-form textarea:focus {
    border-color: rgba(255, 215, 0, 0.38) !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1) !important;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-glass-card .nb-profile-verify-status {
    border-radius: 12px;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-save {
    width: 100%;
    margin-top: 8px;
}

#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-2fa-section,
#nb-dashboard-wrapper .nb-profile-panel.nb-profile-tab-mode .nb-profile-password-section {
    margin: 0 24px 18px;
    padding-top: 0;
    border-top: none;
}

#nb-dashboard-wrapper .nb-profile-glass-card .nb-profile-2fa-setup-wrap,
#nb-dashboard-wrapper .nb-profile-glass-card .nb-profile-2fa-disable-wrap {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 14px;
}

@media (max-width: 780px) {
    #nb-dashboard-wrapper .nb-profile-identity {
        margin: 0 -16px 18px;
    }
    #nb-dashboard-wrapper .nb-profile-identity__cover-zone {
        height: 160px;
    }
    #nb-dashboard-wrapper .nb-profile-identity__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 16px 18px;
        margin-top: -44px;
    }
    #nb-dashboard-wrapper .nb-profile-identity__avatar-col {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    #nb-dashboard-wrapper .nb-profile-identity .nb-profile-avatar-preview {
        width: 88px;
        height: 88px;
    }
    #nb-dashboard-wrapper .nb-profile-glass-card__body--grid {
        grid-template-columns: 1fr;
    }
    #nb-dashboard-wrapper .nb-profile-media-btn--cover {
        right: 10px;
        top: 10px;
        bottom: auto;
        padding: 7px 11px;
        font-size: 10px;
    }
}

/* =================================================================
   NB DASHBOARD v11 - stable dark+gold override layer (как в референсе)
   ================================================================= */
#nb-dashboard-wrapper {
    --nb-core-bg: #070605;
    --nb-core-surface: rgba(17, 14, 11, 0.82);
    --nb-core-surface-strong: rgba(14, 11, 9, 0.92);
    --nb-core-border: rgba(255, 215, 130, 0.24);
    --nb-core-border-strong: rgba(255, 219, 144, 0.4);
    --nb-core-text: #f7f2e8;
    --nb-core-muted: #b8aa94;
    --nb-core-accent: #ffd76a;
    --nb-core-accent-deep: #cb9130;
    --nb-core-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
    --nb-dash-utility-top: 12px;
    --nb-dash-utility-height: 62px;
    --nb-dash-content-gap: 14px;
    --nb-dash-main-offset: calc(var(--nb-dash-utility-top) + var(--nb-dash-utility-height) + var(--nb-dash-content-gap));
}

/* Фон дашборда — как в референсе: сетка + градиенты + шум (body), без переопределения */

#nb-dashboard-wrapper .nb-sidebar {
    background: linear-gradient(180deg, rgba(13, 11, 9, 0.93), rgba(9, 8, 7, 0.97)) !important;
    border-right: 1px solid var(--nb-core-border) !important;
    box-shadow: 12px 0 42px rgba(0, 0, 0, 0.52);
}

#nb-dashboard-wrapper .nb-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(22, 16, 10, 0.55) 0%, rgba(8, 6, 4, 0.72) 100%);
    border: 1px solid rgba(255, 215, 120, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 232, 170, 0.06);
}

#nb-dashboard-wrapper .nb-nav-link {
    color: rgba(255, 245, 220, 0.55) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
}

#nb-dashboard-wrapper .nb-nav-icon-wrap {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 120, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 215, 0, 0.04) 100%);
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

#nb-dashboard-wrapper .nb-nav-icon-wrap .material-symbols-outlined {
    font-size: 18px;
    color: rgba(255, 235, 190, 0.55);
    font-variation-settings: 'FILL' 0, 'wght' 500;
}

#nb-dashboard-wrapper .nb-nav-active-marker {
    position: absolute;
    left: 2px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 1px;
    background: transparent;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

#nb-dashboard-wrapper .nb-nav-link:hover {
    color: #fff8e8 !important;
    border-color: rgba(255, 216, 124, 0.2) !important;
    background: rgba(255, 215, 0, 0.06) !important;
    transform: translateX(2px);
}

#nb-dashboard-wrapper .nb-nav-link:hover .nb-nav-icon-wrap {
    border-color: rgba(255, 215, 120, 0.32);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 160, 0, 0.04) 100%);
}

#nb-dashboard-wrapper .nb-nav-link:hover .nb-nav-icon-wrap .material-symbols-outlined {
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-nav-link.active {
    color: #fff6d0 !important;
    border-color: rgba(255, 216, 124, 0.32) !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 160, 0, 0.06) 100%) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 240, 180, 0.1);
}

#nb-dashboard-wrapper .nb-nav-link.active .nb-nav-active-marker {
    opacity: 1;
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.85);
}

#nb-dashboard-wrapper .nb-nav-link.active .nb-nav-icon-wrap {
    border-color: rgba(255, 215, 0, 0.45);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 140, 0, 0.08) 100%);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.15);
}

#nb-dashboard-wrapper .nb-nav-link.active .nb-nav-icon-wrap .material-symbols-outlined {
    color: #ffd700;
    font-variation-settings: 'FILL' 1, 'wght' 600;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.45));
}

#nb-dashboard-wrapper .nb-nav-link--logout {
    margin-top: 6px;
    color: rgba(255, 120, 120, 0.75) !important;
}

#nb-dashboard-wrapper .nb-nav-link--logout .nb-nav-icon-wrap {
    border-color: rgba(255, 100, 100, 0.25);
    background: linear-gradient(145deg, rgba(255, 80, 80, 0.08) 0%, rgba(80, 20, 20, 0.12) 100%);
}

#nb-dashboard-wrapper .nb-nav-link--logout .nb-nav-icon-wrap .material-symbols-outlined {
    color: #ff7a7a;
}

#nb-dashboard-wrapper .nb-panel,
#nb-dashboard-wrapper .nb-card,
#nb-dashboard-wrapper .nb-widget,
#nb-dashboard-wrapper .nb-news-card,
#nb-dashboard-wrapper .tsp-dashboard,
#nb-dashboard-wrapper .alkb-root,
#nb-dashboard-wrapper .bandlink-form,
#nb-dashboard-wrapper .contract-list-wrapper,
#nb-dashboard-wrapper .ticket-list-wrapper,
#nb-dashboard-wrapper .nb-support-wrap .nb-form-container,
#nb-dashboard-wrapper .nb-gravity-form,
#nb-dashboard-wrapper .karaoke-editor-wrapper {
    background: linear-gradient(165deg, rgba(21, 17, 13, 0.86), rgba(11, 9, 7, 0.94)) !important;
    border: 1px solid var(--nb-core-border) !important;
    box-shadow: var(--nb-core-shadow), inset 0 1px 0 rgba(255, 230, 170, 0.05) !important;
}

#nb-dashboard-wrapper .nb-card:hover,
#nb-dashboard-wrapper .nb-widget:hover,
#nb-dashboard-wrapper .nb-panel:hover {
    border-color: var(--nb-core-border-strong) !important;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.56), 0 0 42px rgba(255, 209, 106, 0.18) !important;
    transform: translateY(-4px);
}

#nb-dashboard-wrapper .nb-btn.primary,
#nb-dashboard-wrapper .nb-void-btn,
#nb-dashboard-wrapper .tsp-btn,
#nb-dashboard-wrapper .tr-btn.primary {
    background: linear-gradient(135deg, #ffd973, #c78a2e) !important;
    color: #1f1305 !important;
    box-shadow: 0 12px 28px rgba(201, 137, 42, 0.36) !important;
}

#nb-dashboard-wrapper .nb-btn.primary:hover,
#nb-dashboard-wrapper .nb-void-btn:hover,
#nb-dashboard-wrapper .tsp-btn:hover,
#nb-dashboard-wrapper .tr-btn.primary:hover {
    box-shadow: 0 18px 34px rgba(201, 137, 42, 0.45) !important;
    transform: translateY(-2px);
}

#nb-dashboard-wrapper input[type="text"],
#nb-dashboard-wrapper input[type="email"],
#nb-dashboard-wrapper input[type="password"],
#nb-dashboard-wrapper input[type="number"],
#nb-dashboard-wrapper input[type="date"],
#nb-dashboard-wrapper input[type="month"],
#nb-dashboard-wrapper textarea,
#nb-dashboard-wrapper select {
    background: rgba(6, 6, 6, 0.46) !important;
    border: 1px solid rgba(255, 216, 124, 0.2) !important;
    color: var(--nb-core-text) !important;
}

#nb-dashboard-wrapper input:focus,
#nb-dashboard-wrapper select:focus,
#nb-dashboard-wrapper textarea:focus {
    border-color: rgba(255, 220, 136, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 216, 124, 0.16) !important;
}

#nb-dashboard-wrapper .nb-tab-content-item.nb-tab-enter {
    animation: nb-dashboard-tab-enter 0.32s ease both;
}

@keyframes nb-dashboard-tab-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-tab-content-item.nb-tab-enter,
    #nb-dashboard-wrapper .nb-nav-link,
    #nb-dashboard-wrapper .nb-card,
    #nb-dashboard-wrapper .nb-widget {
        animation: none !important;
        transition: none !important;
    }
}

/* Hard fix: no dashboard backdrop behind streaming feed */
body.nb-dashboard-streaming-mode #nb-dashboard-wrapper {
    background: transparent !important;
    box-shadow: none !important;
}
body.nb-dashboard-streaming-mode #nb-dashboard-wrapper .nb-app-main,
body.nb-dashboard-streaming-mode #nb-dashboard-wrapper .nb-content-body,
body.nb-dashboard-streaming-mode #nb-dashboard-wrapper .nb-tab-content-item,
body.nb-dashboard-streaming-mode #nb-dashboard-wrapper #tab-content-feed {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.nb-dashboard-streaming-mode #nb-dashboard-wrapper .nb-app-main::before {
    display: none !important;
    content: none !important;
}

/* =================================================================
   Unified dashboard scrollbars (золотой акцент)
================================================================= */
#nb-dashboard-wrapper,
#nb-dashboard-wrapper * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 214, 123, 0.62) rgba(255, 255, 255, 0.08);
}

#nb-dashboard-wrapper::-webkit-scrollbar,
#nb-dashboard-wrapper *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#nb-dashboard-wrapper::-webkit-scrollbar-track,
#nb-dashboard-wrapper *::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

#nb-dashboard-wrapper::-webkit-scrollbar-thumb,
#nb-dashboard-wrapper *::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 1px solid rgba(255, 239, 196, 0.24);
    background: linear-gradient(180deg, rgba(255, 227, 150, 0.86), rgba(201, 141, 47, 0.9));
}

#nb-dashboard-wrapper::-webkit-scrollbar-thumb:hover,
#nb-dashboard-wrapper *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 236, 176, 0.96), rgba(214, 152, 52, 0.95));
}

html,
body.nb-dashboard-page,
body.nb-dashboard-streaming-mode {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 214, 123, 0.7) rgba(255, 255, 255, 0.08);
}

html::-webkit-scrollbar,
body.nb-dashboard-page::-webkit-scrollbar,
body.nb-dashboard-streaming-mode::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track,
body.nb-dashboard-page::-webkit-scrollbar-track,
body.nb-dashboard-streaming-mode::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.07);
}

html::-webkit-scrollbar-thumb,
body.nb-dashboard-page::-webkit-scrollbar-thumb,
body.nb-dashboard-streaming-mode::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 1px solid rgba(255, 239, 196, 0.24);
    background: linear-gradient(180deg, rgba(255, 227, 150, 0.9), rgba(201, 141, 47, 0.92));
}

html::-webkit-scrollbar-thumb:hover,
body.nb-dashboard-page::-webkit-scrollbar-thumb:hover,
body.nb-dashboard-streaming-mode::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 236, 176, 0.98), rgba(214, 152, 52, 0.96));
}

/* =================================================================
   Доп. премиум-эффекты (только десктоп, отключаются на слабых)
================================================================= */
@media (min-width: 1025px) {
    /* Лёгкое появление карточек при загрузке */
    .nb-card, .nb-widget {
        animation: nb-card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
    .nb-widgets-row .nb-widget:nth-child(1) { animation-delay: 0.05s; }
    .nb-widgets-row .nb-widget:nth-child(2) { animation-delay: 0.1s; }
    .nb-widgets-grid .nb-card:nth-child(1) { animation-delay: 0.08s; }
    .nb-widgets-grid .nb-card:nth-child(2) { animation-delay: 0.12s; }
    .nb-widgets-grid .nb-card:nth-child(3) { animation-delay: 0.16s; }
    @keyframes nb-card-enter {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    /* Внутреннее свечение при наведении на карточку */
    .nb-card:hover, .nb-widget:hover {
        box-shadow: var(--nb-shadow-card-hover), inset 0 0 60px rgba(255, 215, 0, 0.03) !important;
    }
}
@media (max-width: 1024px) {
    .nb-card, .nb-widget { animation: none !important; }
}

/* v12 — без сдвига/«подпрыгивания» и без усиленной подсветки при hover (ЛК + встроенная статистика) */
#nb-dashboard-wrapper .nb-nav-link:hover,
body.nb-dashboard-page .nb-nav-link:hover,
body.nb-dashboard-streaming-mode .nb-nav-link:hover {
    transform: none !important;
}

#nb-dashboard-wrapper .nb-top-header-lk:hover {
    transform: none !important;
}

.nb-card:hover, .nb-widget:hover, .nb-news-card:hover,
.tsp-dashboard:hover, .alkb-root:hover, .bandlink-form:hover {
    animation: none !important;
    transform: none !important;
}

.nb-card:hover, .nb-widget:hover {
    border-color: rgba(255, 215, 0, 0.35) !important;
    box-shadow: var(--nb-shadow) !important;
}

.nb-card:hover::before, .nb-widget:hover::before {
    opacity: 0 !important;
    left: -100% !important;
}

#nb-dashboard-wrapper .nb-card:hover,
#nb-dashboard-wrapper .nb-widget:hover,
#nb-dashboard-wrapper .nb-panel:hover {
    transform: none !important;
    border-color: var(--nb-core-border) !important;
    box-shadow: var(--nb-core-shadow), inset 0 1px 0 rgba(255, 230, 170, 0.05) !important;
}

.nb-btn-primary:hover, .gform_button:hover, input[type="submit"]:hover,
.nb-big-btn:hover,
#nb-dashboard-wrapper .nb-btn.primary:hover,
#nb-dashboard-wrapper .tr-btn.primary:hover,
#nb-dashboard-wrapper .tsp-btn:hover,
#nb-dashboard-wrapper button[type="submit"].nb-btn:hover,
#nb-dashboard-wrapper .nb-void-btn:hover {
    transform: none !important;
}

.contract-list li:hover, .ticket-list-item:hover {
    transform: none !important;
}

.nb-contact-card:hover {
    transform: none !important;
}

@media (min-width: 1025px) {
    .nb-card:hover, .nb-widget:hover {
        box-shadow: var(--nb-shadow) !important;
    }
}

/* v13 — Chrome/Edge Win: мигание виджетов при скролле/hover (fixed фон + backdrop-filter) */
body.nb-dashboard-page,
body.nb-dashboard-streaming-mode {
    background-attachment: scroll !important;
}
#nb-dashboard-wrapper .nb-card,
#nb-dashboard-wrapper .nb-widget,
#nb-dashboard-wrapper .nb-news-card,
#nb-dashboard-wrapper .nb-form-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* =================================================================
   NB DASH — INFO VISUALS (единый стиль с формой загрузки)
================================================================= */
#nb-dashboard-wrapper .nb-dash-info-visual,
#nb-dashboard-wrapper .nb-dash-balance-visual {
    margin: 0 0 18px;
}
#nb-dashboard-wrapper .nb-dash-visual-caption {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 236, 180, 0.85);
    text-align: center;
}
#nb-dashboard-wrapper #nb-overview-widgets .nb-info-visual.nb-dash-info-visual {
    margin: 14px 0 12px;
    padding: 16px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 215, 0, 0.22);
    opacity: 1;
    transform: none;
    transition: border-color 0.35s, box-shadow 0.35s;
}
#nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active,
#nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-entering {
    opacity: 1;
    transform: translateY(0);
}
#nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active {
    border-color: rgba(255, 215, 0, 0.42);
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active .nb-info-step--highlight {
    animation: nb-dash-step-glow 2.2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active .nb-info-arrow {
    animation: nb-dash-arrow-flow 1.7s ease-in-out infinite;
}
@keyframes nb-dash-step-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.12); border-color: rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 22px rgba(255, 215, 0, 0.28); border-color: rgba(255, 236, 160, 0.65); }
}
@keyframes nb-dash-arrow-flow {
    0%, 100% { opacity: 0.55; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.12); }
}
#nb-dashboard-wrapper .nb-info-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 6px;
}
#nb-dashboard-wrapper .nb-info-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 72px;
    max-width: 100px;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
#nb-dashboard-wrapper .nb-info-step--highlight {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}
#nb-dashboard-wrapper .nb-info-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.22);
    position: relative;
}
#nb-dashboard-wrapper .nb-info-step-label {
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
}
#nb-dashboard-wrapper .nb-info-step-sub {
    font-size: 9px;
    color: var(--nb-text-muted);
    margin-top: 2px;
}
#nb-dashboard-wrapper .nb-info-arrow {
    width: 22px;
    height: 2px;
    background: rgba(255, 215, 0, 0.35);
    position: relative;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-info-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left: 7px solid rgba(255, 215, 0, 0.5);
}

/* Balance card (dashboard) */
#nb-dashboard-wrapper .nb-dash-balance-visual {
    position: relative;
    max-width: 960px;
    margin: 0 auto 22px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.38);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(40, 28, 10, 0.9) 42%, rgba(12, 10, 8, 0.96) 100%);
    box-shadow: 0 0 0 1px rgba(255, 236, 160, 0.12) inset, 0 0 28px rgba(255, 215, 0, 0.22), 0 14px 36px rgba(0, 0, 0, 0.42);
    opacity: 1;
    transform: none;
}
#nb-dashboard-wrapper .nb-dash-balance-visual.is-active {
    animation: nb-dash-balance-pulse 3.2s ease-in-out infinite;
}
@keyframes nb-dash-balance-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255, 236, 160, 0.12) inset, 0 0 24px rgba(255, 215, 0, 0.2), 0 12px 32px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 0 0 1px rgba(255, 255, 210, 0.28) inset, 0 0 38px rgba(255, 215, 0, 0.38), 0 16px 40px rgba(0, 0, 0, 0.48); }
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.28) 0%, transparent 68%);
    pointer-events: none;
    animation: nb-dash-balance-glow 4.5s ease-in-out infinite;
}
@keyframes nb-dash-balance-glow {
    0%, 100% { transform: translateX(-6%) scale(1); opacity: 0.75; }
    50% { transform: translateX(8%) scale(1.08); opacity: 1; }
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-body { position: relative; z-index: 1; }
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-wallet-icon {
    position: absolute;
    inset: 10px 8px 8px;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.55);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.22) 0%, rgba(255, 215, 0, 0.06) 100%);
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-wallet-icon::after {
    content: '₽';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nb-primary);
    color: #1a1408;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    animation: nb-dash-ruble-pulse 2s ease-in-out infinite;
}
@keyframes nb-dash-ruble-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
#nb-dashboard-wrapper .nb-balance-coin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.75);
    background: radial-gradient(circle at 30% 30%, #fff6b0 0%, #ffd700 45%, #c9a000 100%);
    animation: nb-dash-coin-float 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-balance-coin--1 { top: -2px; right: 2px; }
#nb-dashboard-wrapper .nb-balance-coin--2 { top: 8px; left: -4px; width: 14px; height: 14px; animation-delay: 0.6s; }
#nb-dashboard-wrapper .nb-balance-coin--3 { bottom: 0; right: -2px; width: 12px; height: 12px; animation-delay: 1.1s; }
@keyframes nb-dash-coin-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-amount {
    margin: 0 0 6px;
    font-family: var(--nb-font-head);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 700;
    color: #fff6b0;
    text-shadow: 0 0 22px rgba(255, 215, 0, 0.35);
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-info-visual.nb-dash-info-visual {
    margin: 0 0 14px;
    background: rgba(0, 0, 0, 0.25);
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-topup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-topup-form input[type="number"] {
    max-width: 220px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 215, 120, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13px;
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-topup-btn {
    padding: 12px 18px;
    background: linear-gradient(180deg, #ffe082 0%, #ffcf4b 100%);
    color: #1a1203;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
#nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-msg {
    width: 100%;
    margin: 0;
    font-size: 12px;
    color: rgba(255, 232, 170, 0.85);
}

/* Dash icon glyphs */
#nb-dashboard-wrapper .nb-dash-icon--topup::before,
#nb-dashboard-wrapper .nb-dash-icon--card::before {
    content: '';
    position: absolute;
    inset: 10px 8px;
    border: 2px solid var(--nb-primary);
    border-radius: 4px;
    box-shadow: inset 0 -8px 0 rgba(255, 215, 0, 0.25);
}
#nb-dashboard-wrapper .nb-dash-icon--wallet::before {
    content: '';
    position: absolute;
    inset: 12px 9px 10px;
    border: 2px solid var(--nb-primary);
    border-radius: 6px;
}
#nb-dashboard-wrapper .nb-dash-icon--wallet::after {
    content: '₽';
    position: absolute;
    right: 11px;
    bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    color: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--upload::before,
#nb-dashboard-wrapper .nb-dash-icon--send::before {
    content: '';
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    border: 2px solid var(--nb-primary);
    box-shadow: inset 0 0 0 4px rgba(255, 215, 0, 0.2);
}
#nb-dashboard-wrapper .nb-dash-icon--upload::after,
#nb-dashboard-wrapper .nb-dash-icon--send::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--cart::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 10px;
    border: 2px solid var(--nb-primary);
    border-radius: 3px;
}
#nb-dashboard-wrapper .nb-dash-icon--cart::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 14px;
    width: 12px;
    height: 8px;
    border: 2px solid var(--nb-primary);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}
#nb-dashboard-wrapper .nb-dash-icon--orders::before {
    content: '';
    position: absolute;
    inset: 12px 10px;
    border: 2px solid var(--nb-primary);
    border-radius: 3px;
}
#nb-dashboard-wrapper .nb-dash-icon--orders::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--nb-primary);
    box-shadow: 0 5px 0 var(--nb-primary), 0 10px 0 var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--contract::before {
    content: '';
    position: absolute;
    inset: 10px 12px;
    border: 2px solid var(--nb-primary);
    border-radius: 2px;
}
#nb-dashboard-wrapper .nb-dash-icon--contract::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--vk::before {
    content: 'VK';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--cover::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px dashed var(--nb-primary);
    border-radius: 4px;
}
#nb-dashboard-wrapper .nb-dash-icon--audio::before {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 12px;
    height: 14px;
    border-left: 2px solid var(--nb-primary);
    border-right: 2px solid var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--audio::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 12px;
    width: 2px;
    height: 14px;
    background: var(--nb-primary);
    transform: translateX(-50%);
}
#nb-dashboard-wrapper .nb-dash-icon--stats::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 3px;
    background: var(--nb-primary);
    box-shadow: -6px -8px 0 var(--nb-primary), 0 -14px 0 var(--nb-primary), 6px -6px 0 var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--payout::before {
    content: '₽';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-dash-icon--infinity::before {
    content: '∞';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--nb-primary);
}

#nb-dashboard-wrapper .nb-checklist-card .nb-dash-info-visual {
    margin-top: 4px;
    margin-bottom: 16px;
}
#nb-dashboard-wrapper .nb-widget-action .nb-dash-info-visual {
    margin-bottom: 12px;
    padding: 12px 10px;
}
#nb-dashboard-wrapper .nb-widget-action .nb-info-step {
    min-width: 58px;
    max-width: 78px;
}
#nb-dashboard-wrapper .nb-orders-empty .nb-dash-info-visual {
    margin-bottom: 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
#tab-content-services > .nb-tab-page-header,
#tab-content-my_orders > .nb-tab-page-header,
#tab-content-statistics > .nb-tab-page-header {
    display: none !important;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-visual-wrap {
    max-width: min(100%, 1360px);
    margin: 0 auto 18px;
    padding: 0 8px;
}
#nb-dashboard-wrapper .nb-services-market .nb-services-subtabs {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
}
#nb-dashboard-wrapper .nb-finances-reports-visual-wrap {
    max-width: 960px;
    margin: 0 auto 18px;
}
#nb-dashboard-wrapper .nb-finances-discount-sub-wrap {
    max-width: 960px;
    margin: 0 auto 22px;
}
#nb-dashboard-wrapper .nb-discount-sub-card {
    border: 1px solid rgba(114, 174, 230, 0.28);
    background: linear-gradient(165deg, rgba(20, 40, 70, 0.55) 0%, rgba(8, 12, 20, 0.85) 100%);
    padding: 22px 24px;
    border-radius: 18px;
}
#nb-dashboard-wrapper .nb-discount-sub-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
#nb-dashboard-wrapper .nb-discount-sub-card__head .material-symbols-outlined {
    color: #9dd2ff;
    font-size: 30px;
}
#nb-dashboard-wrapper .nb-discount-sub-card__title {
    margin: 0 0 4px;
    font-size: 20px;
    color: #fff;
}
#nb-dashboard-wrapper .nb-discount-sub-card__subtitle {
    margin: 0;
    color: rgba(157, 210, 255, 0.85);
    font-size: 13px;
}
#nb-dashboard-wrapper .nb-discount-sub-card__status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
}
#nb-dashboard-wrapper .nb-discount-sub-card__status.is-active {
    background: rgba(114, 174, 230, 0.12);
    border: 1px solid rgba(114, 174, 230, 0.28);
    color: #e8f4ff;
}
#nb-dashboard-wrapper .nb-discount-sub-card__status.is-inactive {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}
#nb-dashboard-wrapper .nb-discount-sub-card__hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
#nb-dashboard-wrapper .nb-discount-sub-card__purchase .nb-service-card {
    margin-top: 0;
}

/* --- Вкладка «Подписка» — NB DISTRO PASS (golden premium) --- */
@keyframes nb-pass-nav-shimmer {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.34);
        box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.06), inset 0 1px 0 rgba(255, 230, 170, 0.08);
    }
    50% {
        border-color: rgba(255, 225, 90, 0.58);
        box-shadow: inset 0 0 26px rgba(255, 200, 60, 0.14), inset 0 1px 0 rgba(255, 240, 200, 0.12);
    }
}

@keyframes nb-pass-nav-sweep {
    0%, 68% { left: -120%; }
    100% { left: 140%; }
}

@keyframes nb-pass-hub-pulse {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.34);
        box-shadow: inset 0 0 24px rgba(255, 215, 0, 0.05), inset 0 1px 0 rgba(255, 230, 170, 0.1);
    }
    50% {
        border-color: rgba(255, 230, 120, 0.52);
        box-shadow: inset 0 0 36px rgba(255, 200, 60, 0.1), inset 0 1px 0 rgba(255, 240, 200, 0.12);
    }
}

@keyframes nb-pass-hub-shine {
    0%, 70% { left: -130%; }
    100% { left: 150%; }
}

@keyframes nb-pass-hub-orb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.72; }
    50% { transform: translate(10px, -8px) scale(1.1); opacity: 1; }
}

#nb-dashboard-wrapper .nb-nav-link--pass {
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
    margin-bottom: 4px;
    border-radius: 14px !important;
    clip-path: inset(0 round 14px);
    border: 1px solid rgba(255, 215, 0, 0.36) !important;
    background: #120e08 !important;
    box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.06), inset 0 1px 0 rgba(255, 230, 170, 0.08) !important;
    animation: nb-pass-nav-shimmer 3.2s ease-in-out infinite;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

#nb-dashboard-wrapper .nb-nav-link--pass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 140, 0, 0.05) 42%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

#nb-dashboard-wrapper .nb-nav-link--pass::after {
    content: none;
    display: none;
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-label,
#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-icon-wrap,
#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-active-marker {
    position: relative;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-nav-link--pass:hover {
    transform: translateX(2px);
}

#nb-dashboard-wrapper .nb-nav-link--pass.active {
    background: #161008 !important;
    border-color: rgba(255, 225, 90, 0.55) !important;
    box-shadow: inset 0 0 22px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 240, 200, 0.14) !important;
    transform: none;
}

#nb-dashboard-wrapper .nb-nav-link--pass.active::before {
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 160, 0, 0.08) 48%, transparent 78%);
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff4c2;
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-label-text {
    background: linear-gradient(90deg, #fff4c2 0%, #ffd54f 35%, #ffb300 65%, #fff4c2 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nb-dash-gradient-shift 5s linear infinite;
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-icon-wrap {
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.06) !important;
}

#nb-dashboard-wrapper .nb-nav-link--pass.active .nb-nav-icon-wrap {
    box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.12) !important;
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-icon-wrap .material-symbols-outlined {
    color: #ffd700;
    filter: none;
}

#nb-dashboard-wrapper .nb-nav-link--pass.active .nb-nav-icon-wrap .material-symbols-outlined {
    filter: none;
}

#nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-badge {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.16) !important;
    color: #ffe08a !important;
    -webkit-text-fill-color: #ffe08a !important;
    box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.12);
}

#nb-dashboard-wrapper .nb-pass-tab-layout,
#nb-dashboard-wrapper .nb-subscription-tab {
    max-width: min(100%, 1100px);
    margin: 0 auto;
    padding: 0 8px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#nb-dashboard-wrapper .nb-pass-hub-hero {
    position: relative;
    margin: 0 0 4px;
    padding: 28px 28px 24px;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 215, 0, 0.34);
    background: linear-gradient(145deg, rgba(28, 18, 6, 0.98) 0%, rgba(8, 6, 4, 1) 100%);
    box-shadow: inset 0 0 24px rgba(255, 215, 0, 0.05), inset 0 1px 0 rgba(255, 230, 170, 0.1);
    animation: nb-pass-hub-pulse 4s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-pass-hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(255, 215, 0, 0.12) 0%, transparent 58%),
        radial-gradient(70% 55% at 100% 100%, rgba(255, 140, 0, 0.08) 0%, transparent 52%);
    pointer-events: none;
    z-index: 0;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(255, 220, 120, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 220, 120, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(42px);
    pointer-events: none;
    animation: nb-pass-hub-orb 7s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__orb--1 {
    width: 160px;
    height: 160px;
    top: 0;
    right: 0;
    background: rgba(255, 215, 0, 0.18);
}

#nb-dashboard-wrapper .nb-pass-hub-hero__orb--2 {
    width: 120px;
    height: 120px;
    bottom: 0;
    left: 0;
    background: rgba(255, 140, 0, 0.12);
    animation-delay: -3.2s;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__shine {
    position: absolute;
    top: 0;
    left: -130%;
    width: 52%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 235, 170, 0.1) 45%, transparent 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: nb-pass-hub-shine 7.5s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__copy {
    flex: 1 1 320px;
    max-width: 640px;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.38);
    background: rgba(255, 215, 0, 0.1);
    color: #ffe08a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__eyebrow .material-symbols-outlined {
    font-size: 16px;
    color: #ffd700;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__title {
    margin: 0 0 10px;
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    color: #fff8e8;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__title span {
    display: block;
    background: linear-gradient(90deg, #fff4c2 0%, #ffd54f 30%, #ffb300 60%, #ffe082 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nb-dash-gradient-shift 5s linear infinite;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 235, 190, 0.72);
    max-width: 52ch;
}

#nb-dashboard-wrapper .nb-pass-hub-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 1 auto;
}

#nb-dashboard-wrapper .nb-pass-hub-stat {
    min-width: 128px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 120, 0.2);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

#nb-dashboard-wrapper .nb-pass-hub-stat--price,
#nb-dashboard-wrapper .nb-pass-hub-stat--active {
    border-color: rgba(255, 215, 0, 0.42);
    box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.08);
}

#nb-dashboard-wrapper .nb-pass-hub-stat--cta {
    border-color: rgba(255, 200, 80, 0.28);
}

#nb-dashboard-wrapper .nb-pass-hub-stat__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 235, 190, 0.5);
    margin-bottom: 6px;
}

#nb-dashboard-wrapper .nb-pass-hub-stat__value {
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-pass-hub-stat--price .nb-pass-hub-stat__value,
#nb-dashboard-wrapper .nb-pass-hub-stat--active .nb-pass-hub-stat__value {
    color: #fde68a;
}

/* --- Обзор: промо-баннер NB PASS (клик → вкладка подписки) --- */
@keyframes nb-overview-pass-pulse {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.42);
        box-shadow:
            0 22px 56px rgba(0, 0, 0, 0.48),
            0 0 0 1px rgba(255, 215, 0, 0.06),
            inset 0 0 36px rgba(255, 215, 0, 0.07),
            inset 0 1px 0 rgba(255, 230, 170, 0.14);
    }
    50% {
        border-color: rgba(255, 230, 120, 0.68);
        box-shadow:
            0 28px 64px rgba(255, 160, 0, 0.14),
            0 0 32px rgba(255, 215, 0, 0.08),
            inset 0 0 48px rgba(255, 215, 0, 0.12),
            inset 0 1px 0 rgba(255, 240, 200, 0.18);
    }
}

@keyframes nb-overview-pass-shine {
    0%, 62% { left: -140%; opacity: 0; }
    68% { opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

@keyframes nb-overview-pass-ring-spin {
    to { transform: rotate(360deg); }
}

@keyframes nb-overview-pass-sparkle {
    0%, 100% { opacity: 0; transform: scale(0.4); }
    45% { opacity: 1; transform: scale(1); }
    70% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes nb-overview-pass-float-discount {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.35)); }
    50% { transform: translateY(-10px) scale(1.04); filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.55)); }
}

@keyframes nb-overview-pass-float-type {
    0%, 100% { transform: translate(0, 0) rotate(var(--nb-pass-rot, 0deg)); }
    33% { transform: translate(var(--nb-pass-dx, 4px), -8px) rotate(calc(var(--nb-pass-rot, 0deg) + 2deg)); }
    66% { transform: translate(calc(var(--nb-pass-dx, 4px) * -0.6), 5px) rotate(calc(var(--nb-pass-rot, 0deg) - 1.5deg)); }
}

@keyframes nb-overview-pass-type-glow {
    0%, 100% { border-color: rgba(255, 215, 0, 0.22); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 0 12px rgba(255, 215, 0, 0.04); }
    50% { border-color: rgba(255, 230, 120, 0.48); box-shadow: 0 12px 26px rgba(255, 180, 0, 0.14), inset 0 0 18px rgba(255, 215, 0, 0.1); }
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap {
    width: 100%;
    margin: 0 auto 12px;
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap + .nb-promo-strip:not(.nb-overview-hidden) {
    margin-top: 4px;
    margin-bottom: 20px;
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-hidden {
    display: none !important;
}

#nb-dashboard-wrapper .nb-overview-pass-banner {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    border: 1px solid rgba(255, 215, 0, 0.42);
    border-radius: 26px;
    background:
        radial-gradient(ellipse 120% 80% at 0% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 80% 60% at 100% 100%, rgba(176, 38, 255, 0.08) 0%, transparent 55%),
        linear-gradient(135deg, rgba(18, 11, 3, 0.99) 0%, rgba(6, 4, 2, 1) 48%, rgba(14, 8, 22, 0.98) 100%);
    color: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    animation: nb-overview-pass-pulse 4.5s ease-in-out infinite;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

#nb-dashboard-wrapper .nb-overview-pass-banner.is-active-pass {
    border-color: rgba(120, 255, 170, 0.38);
    animation-name: none;
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.48),
        0 0 24px rgba(80, 220, 140, 0.08),
        inset 0 0 36px rgba(80, 220, 140, 0.05);
}

#nb-dashboard-wrapper .nb-overview-pass-banner-wrap.is-pass-expiring-soon .nb-overview-pass-banner.is-active-pass,
#nb-dashboard-wrapper .nb-overview-pass-banner.is-pass-expiring-soon.is-active-pass {
    border-color: rgba(255, 179, 0, 0.52);
    animation: nb-overview-pass-pulse 3.2s ease-in-out infinite;
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.48),
        0 0 28px rgba(255, 152, 0, 0.12),
        inset 0 0 36px rgba(255, 179, 0, 0.06);
}

#nb-dashboard-wrapper .nb-overview-pass-banner.is-pass-expiring-soon .nb-overview-pass-banner__ribbon {
    background: linear-gradient(90deg, #ffd54f, #ff9800);
    color: #1a1203;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.42);
}

#nb-dashboard-wrapper .nb-overview-pass-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 210deg, rgba(255, 215, 0, 0.75), transparent 25%, rgba(176, 38, 255, 0.35) 50%, transparent 72%, rgba(255, 200, 60, 0.65) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: nb-overview-pass-ring-spin 14s linear infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__mesh,
#nb-dashboard-wrapper .nb-overview-pass-banner__orb,
#nb-dashboard-wrapper .nb-overview-pass-banner__shine,
#nb-dashboard-wrapper .nb-overview-pass-banner__grid,
#nb-dashboard-wrapper .nb-overview-pass-banner__watermark,
#nb-dashboard-wrapper .nb-overview-pass-banner__sparkles {
    position: absolute;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__mesh {
    inset: 0;
    background:
        radial-gradient(ellipse 65% 85% at 6% 45%, rgba(255, 215, 0, 0.16) 0%, transparent 58%),
        radial-gradient(ellipse 50% 70% at 94% 18%, rgba(176, 38, 255, 0.12) 0%, transparent 52%);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__grid {
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 100%);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__watermark {
    right: 18%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(72px, 14vw, 128px);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    color: rgba(255, 215, 0, 0.045);
    user-select: none;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__sparkles {
    inset: 0;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__spark {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff4c2;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: nb-overview-pass-sparkle 3.6s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__spark:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
#nb-dashboard-wrapper .nb-overview-pass-banner__spark:nth-child(2) { top: 28%; left: 58%; animation-delay: 0.8s; }
#nb-dashboard-wrapper .nb-overview-pass-banner__spark:nth-child(3) { top: 62%; left: 22%; animation-delay: 1.6s; }
#nb-dashboard-wrapper .nb-overview-pass-banner__spark:nth-child(4) { top: 72%; left: 68%; animation-delay: 2.2s; }
#nb-dashboard-wrapper .nb-overview-pass-banner__spark:nth-child(5) { top: 42%; left: 84%; animation-delay: 1.1s; }

#nb-dashboard-wrapper .nb-overview-pass-banner__orb {
    border-radius: 50%;
    filter: blur(32px);
    animation: nb-pass-hub-orb 8s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__orb--1 {
    width: 180px;
    height: 180px;
    top: -60px;
    right: 12%;
    background: rgba(255, 215, 0, 0.24);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__orb--2 {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: 38%;
    background: rgba(176, 38, 255, 0.18);
    animation-delay: -2.5s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__orb--3 {
    width: 90px;
    height: 90px;
    top: 20%;
    left: -20px;
    background: rgba(255, 140, 0, 0.14);
    animation-delay: -4s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__shine {
    top: 0;
    left: -140%;
    width: 42%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 240, 200, 0.12) 48%, transparent 100%);
    transform: skewX(-16deg);
    animation: nb-overview-pass-shine 8s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(14px, 2.8vw, 32px);
    padding: clamp(20px, 3vw, 28px) clamp(20px, 3.2vw, 32px);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.32);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 180, 0, 0.06) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__eyebrow .material-symbols-outlined {
    font-size: 17px;
    color: #ffd54f;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__title {
    display: block;
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -0.02em;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__title span {
    background: linear-gradient(90deg, #fff8dc 0%, #ffd54f 35%, #ff9800 70%, #fff4c2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nb-dash-gradient-shift 5s linear infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__desc {
    display: block;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.5;
    color: rgba(255, 235, 190, 0.74);
    max-width: 54ch;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.16);
    background: rgba(0, 0, 0, 0.28);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 240, 210, 0.82);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__chip .material-symbols-outlined {
    font-size: 14px;
    color: #ffd54f;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-zone {
    position: relative;
    width: clamp(148px, 18vw, 196px);
    height: clamp(148px, 18vw, 196px);
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-discount {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform: translate(-50%, -50%);
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(38px, 5.5vw, 54px);
    font-weight: 900;
    line-height: 1;
    color: #fde68a;
    animation: nb-overview-pass-float-discount 3.8s ease-in-out infinite;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__badge-sign {
    font-size: 0.66em;
    margin-top: 0.12em;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__badge-pct {
    font-size: 0.38em;
    margin-top: 0.44em;
    margin-left: 1px;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 68px;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: nb-overview-pass-float-type 4.6s ease-in-out infinite, nb-overview-pass-type-glow 3.2s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type-name {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff4c2;
    line-height: 1.1;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type-off {
    font-size: 10px;
    font-weight: 800;
    color: #ffd54f;
    line-height: 1;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type--1 {
    --nb-pass-dx: 5px;
    --nb-pass-rot: -4deg;
    top: 2%;
    left: -4%;
    animation-delay: 0s, 0.2s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type--2 {
    --nb-pass-dx: -4px;
    --nb-pass-rot: 3deg;
    top: 8%;
    right: -8%;
    animation-delay: 0.7s, 0.9s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type--3 {
    --nb-pass-dx: 6px;
    --nb-pass-rot: -2deg;
    bottom: 6%;
    left: -6%;
    animation-delay: 1.3s, 1.5s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__float-type--4 {
    --nb-pass-dx: -5px;
    --nb-pass-rot: 4deg;
    bottom: 0;
    right: -4%;
    animation-delay: 2s, 2.2s;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    min-width: clamp(132px, 16vw, 168px);
    padding: clamp(14px, 2vw, 18px) clamp(16px, 2.2vw, 22px);
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0.42) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.14), 0 12px 32px rgba(0, 0, 0, 0.28);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__panel-divider {
    position: absolute;
    left: -7px;
    top: 12%;
    bottom: 12%;
    width: 2px;
    background: repeating-linear-gradient(to bottom, rgba(255, 215, 0, 0.35) 0 6px, transparent 6px 12px);
    opacity: 0.7;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__price-fixed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.12);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__price-value {
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 900;
    line-height: 1;
    color: #fff8dc;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.28);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__price-note {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 235, 190, 0.58);
}

#nb-dashboard-wrapper .nb-overview-pass-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(180deg, #ffe082 0%, #ffca28 48%, #ffb300 100%);
    box-shadow: 0 6px 20px rgba(255, 180, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__cta-text {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1203;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__cta .material-symbols-outlined {
    font-size: 18px;
    color: #1a1203;
    transition: transform 0.22s ease;
}

#nb-dashboard-wrapper .nb-overview-pass-banner__ribbon {
    position: absolute;
    top: 16px;
    right: -36px;
    z-index: 2;
    padding: 6px 44px;
    background: linear-gradient(90deg, #7dffb2, #4ade80);
    color: #0a1a10;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(32deg);
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.35);
}

#nb-dashboard-wrapper .nb-overview-pass-banner:hover {
    transform: translateY(-3px) scale(1.005);
    border-color: rgba(255, 230, 120, 0.72);
}

#nb-dashboard-wrapper .nb-overview-pass-banner:hover .nb-overview-pass-banner__cta {
    filter: brightness(1.06);
    box-shadow: 0 10px 28px rgba(255, 180, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#nb-dashboard-wrapper .nb-overview-pass-banner:hover .nb-overview-pass-banner__cta .material-symbols-outlined {
    transform: translateX(4px);
}

#nb-dashboard-wrapper .nb-overview-pass-banner:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.85);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    #nb-dashboard-wrapper .nb-overview-pass-banner__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "copy float"
            "panel panel";
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__copy { grid-area: copy; }
    #nb-dashboard-wrapper .nb-overview-pass-banner__float-zone {
        grid-area: float;
        margin: 0 auto;
    }
    #nb-dashboard-wrapper .nb-overview-pass-banner__panel {
        grid-area: panel;
        width: 100%;
        min-width: 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__panel-divider { display: none; }

    #nb-dashboard-wrapper .nb-overview-pass-banner__price {
        align-items: flex-start;
        text-align: left;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__cta {
        width: auto;
        min-width: 148px;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__watermark {
        right: 8%;
        opacity: 0.7;
    }
}

@media (max-width: 560px) {
    #nb-dashboard-wrapper .nb-overview-pass-banner__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "float"
            "panel";
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__float-zone {
        margin: 0 auto;
        width: min(100%, 220px);
        height: 168px;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__float-type--1 { left: 0; }
    #nb-dashboard-wrapper .nb-overview-pass-banner__float-type--2 { right: 0; }
    #nb-dashboard-wrapper .nb-overview-pass-banner__float-type--3 { left: 2%; }
    #nb-dashboard-wrapper .nb-overview-pass-banner__float-type--4 { right: 2%; }

    #nb-dashboard-wrapper .nb-overview-pass-banner__panel {
        flex-direction: column;
        align-items: stretch;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__price {
        align-items: center;
        text-align: center;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__cta {
        width: 100%;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__ribbon {
        top: 10px;
        right: -38px;
        font-size: 9px;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__chips {
        gap: 6px;
    }

    #nb-dashboard-wrapper .nb-overview-pass-banner__chip {
        font-size: 10px;
    }
}

/* --- Баннер безлимита на обзоре (карточка выше PASS) --- */
#nb-dashboard-wrapper .nb-overview-unlimited-banner-wrap {
    width: 100%;
    margin: 0 auto 12px;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner-wrap.nb-overview-hidden {
    display: none !important;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner-wrap.nb-overview-item--shown {
    display: block;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner-wrap + .nb-overview-pass-banner-wrap {
    margin-top: 0;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner {
    width: 100%;
    margin: 0;
    border-color: rgba(255, 215, 0, 0.34);
    background:
        radial-gradient(ellipse 110% 80% at 8% 0%, rgba(255, 215, 0, 0.11) 0%, transparent 50%),
        radial-gradient(ellipse 70% 55% at 100% 100%, rgba(80, 180, 255, 0.07) 0%, transparent 55%),
        linear-gradient(135deg, rgba(16, 12, 6, 0.99) 0%, rgba(6, 5, 3, 1) 50%, rgba(10, 14, 20, 0.98) 100%);
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner .nb-overview-pass-banner__watermark {
    font-size: clamp(5rem, 12vw, 7.5rem);
    letter-spacing: -0.06em;
    opacity: 0.07;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__float {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 140px;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__infinity {
    font-family: var(--nb-font-head, 'Syne', sans-serif);
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    color: #ffe59a;
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
    animation: nb-overview-pass-float-discount 3.8s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__plan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 104px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 0 12px rgba(255, 215, 0, 0.04);
    animation: nb-overview-pass-float-type 4.6s ease-in-out infinite, nb-overview-pass-type-glow 3.2s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__plan--month {
    justify-self: start;
    animation-delay: 0s, 0.2s;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__plan--year {
    justify-self: end;
    animation-delay: 0.6s, 0.8s;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__plan-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 230, 170, 0.7);
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__plan-price {
    font-family: var(--nb-font-head, 'Syne', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #fff4b8;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-overview-unlimited-banner__expiry {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
}

@media (max-width: 900px) {
    #nb-dashboard-wrapper .nb-overview-unlimited-banner__float {
        min-height: 0;
        grid-template-columns: auto 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    #nb-dashboard-wrapper .nb-overview-unlimited-banner__infinity {
        font-size: 2.2rem;
    }

    #nb-dashboard-wrapper .nb-overview-unlimited-banner__plan {
        min-width: 0;
        width: 100%;
    }

    #nb-dashboard-wrapper .nb-overview-unlimited-banner__plan--month,
    #nb-dashboard-wrapper .nb-overview-unlimited-banner__plan--year {
        justify-self: stretch;
    }
}

#nb-dashboard-wrapper .nb-pass-ticket {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 120, 0.32);
    background: linear-gradient(165deg, rgba(28, 20, 8, 0.98) 0%, rgba(10, 7, 3, 1) 100%);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.04), inset 0 1px 0 rgba(255, 230, 170, 0.1);
    animation: nb-pass-hub-pulse 4.5s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-pass-ticket::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.55), transparent 42%, rgba(255, 180, 50, 0.28), transparent 78%, rgba(255, 215, 0, 0.4));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: nb-dash-gradient-shift 6s linear infinite;
}

#nb-dashboard-wrapper .nb-pass-ticket__glow {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 55%;
    background: radial-gradient(ellipse 80% 90% at 50% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 72%);
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-pass-ticket__shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 230, 170, 0.06) 45%, transparent 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: nb-pass-shine 7s ease-in-out infinite;
}

@keyframes nb-pass-shine {
    0%, 72% { left: -120%; }
    100% { left: 140%; }
}

#nb-dashboard-wrapper .nb-pass-ticket__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.05fr);
    gap: 0;
    padding: 26px 28px 22px;
}

#nb-dashboard-wrapper .nb-pass-ticket__face {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 8px;
}

#nb-dashboard-wrapper .nb-pass-ticket__face-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

#nb-dashboard-wrapper .nb-pass-ticket__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#nb-dashboard-wrapper .nb-pass-ticket__badge.is-active {
    color: #ffe08a;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
}

#nb-dashboard-wrapper .nb-pass-ticket__badge.is-inactive {
    color: rgba(255, 235, 190, 0.72);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#nb-dashboard-wrapper .nb-pass-ticket__badge .material-symbols-outlined {
    font-size: 15px;
}

#nb-dashboard-wrapper .nb-pass-ticket__period {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 235, 190, 0.5);
}

#nb-dashboard-wrapper .nb-pass-ticket__discount {
    font-family: var(--nb-font-head, 'Syne', sans-serif);
    font-size: clamp(3.2rem, 8vw, 4.6rem);
    font-weight: 800;
    line-height: 0.9;
    color: #fff4b8;
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
    margin-bottom: 8px;
}

#nb-dashboard-wrapper .nb-pass-ticket__discount-sign,
#nb-dashboard-wrapper .nb-pass-ticket__discount-pct {
    font-size: 0.45em;
    vertical-align: super;
}

#nb-dashboard-wrapper .nb-pass-ticket__brand {
    margin: 0 0 6px;
    font-family: var(--nb-font-head, 'Syne', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-pass-ticket__tagline {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 235, 190, 0.62);
    max-width: 280px;
}

#nb-dashboard-wrapper .nb-pass-ticket__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

#nb-dashboard-wrapper .nb-pass-ticket__price {
    font-family: var(--nb-font-head, 'Syne', sans-serif);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

#nb-dashboard-wrapper .nb-pass-ticket__price-note {
    font-size: 12px;
    color: rgba(255, 235, 190, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#nb-dashboard-wrapper .nb-pass-ticket__active-meta {
    width: 100%;
    margin-top: 4px;
}

#nb-dashboard-wrapper .nb-pass-ticket__meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

#nb-dashboard-wrapper .nb-pass-ticket__meta-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 3px;
}

#nb-dashboard-wrapper .nb-pass-ticket__meta-grid strong {
    font-size: 13px;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-pass-ticket__progress {
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

#nb-dashboard-wrapper .nb-pass-ticket__progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c9a227 0%, #ffd700 50%, #ffe08a 100%);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
    transition: width 0.4s ease;
}

#nb-dashboard-wrapper .nb-pass-ticket__divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    gap: 7px;
}

#nb-dashboard-wrapper .nb-pass-ticket__divider::before,
#nb-dashboard-wrapper .nb-pass-ticket__divider::after {
    content: '';
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 120, 0.22), transparent);
}

#nb-dashboard-wrapper .nb-pass-ticket__divider span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(8, 6, 4, 0.98);
    border: 1px solid rgba(255, 215, 120, 0.2);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

#nb-dashboard-wrapper .nb-pass-ticket__stub {
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#nb-dashboard-wrapper .nb-pass-ticket__stub-title,
#nb-dashboard-wrapper .nb-pass-checkout__title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-pass-ticket__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#nb-dashboard-wrapper .nb-pass-ticket__perks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

#nb-dashboard-wrapper .nb-pass-ticket__perks .material-symbols-outlined {
    font-size: 17px;
    color: #ffd700;
    flex-shrink: 0;
    margin-top: 1px;
}

#nb-dashboard-wrapper .nb-pass-checkout__lead {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 224, 170, 0.72);
}

#nb-dashboard-wrapper .nb-pass-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

#nb-dashboard-wrapper .nb-pass-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 120, 0.18);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#nb-dashboard-wrapper .nb-pass-plan input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-pass-plan:hover,
#nb-dashboard-wrapper .nb-pass-plan.is-selected {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 22px rgba(255, 215, 0, 0.08);
}

#nb-dashboard-wrapper .nb-pass-plan.is-featured {
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.02));
}

#nb-dashboard-wrapper .nb-pass-plan__badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1208;
    background: linear-gradient(135deg, #ffe082, #ffb300);
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-pass-plan__term {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

#nb-dashboard-wrapper .nb-pass-plan__price {
    font-size: 20px;
    font-weight: 800;
    color: #ffd54f;
    line-height: 1.1;
}

#nb-dashboard-wrapper .nb-pass-plan__note,
#nb-dashboard-wrapper .nb-pass-plan__save {
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 224, 170, 0.68);
}

#nb-dashboard-wrapper .nb-pass-plan__save {
    color: #81c784;
    font-weight: 600;
}

#nb-dashboard-wrapper .nb-pass-plans-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#nb-dashboard-wrapper .nb-pass-plans-compact__lead {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 224, 170, 0.78);
}

#nb-dashboard-wrapper .nb-pass-plans-compact__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

#nb-dashboard-wrapper .nb-pass-plans-compact__list li {
    font-size: 13px;
    color: rgba(255, 235, 200, 0.82);
}

#nb-dashboard-wrapper .nb-pass-plans-compact__list li span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255, 224, 170, 0.62);
}

#nb-dashboard-wrapper .nb-pass-checkout {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 120, 0.16);
    background: rgba(0, 0, 0, 0.28);
}

#nb-dashboard-wrapper .nb-pass-checkout__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

#nb-dashboard-wrapper .nb-pass-checkout__label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 235, 190, 0.55);
}

#nb-dashboard-wrapper .nb-pass-checkout__field input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 216, 124, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
}

#nb-dashboard-wrapper .nb-pass-checkout__field input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.48);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

#nb-dashboard-wrapper .nb-pass-checkout__btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

#nb-dashboard-wrapper .nb-pass-checkout__no-autopay {
    margin: 0 0 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 200, 80, 0.28);
    background: rgba(255, 180, 40, 0.08);
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 235, 190, 0.82);
    text-align: left;
}

#nb-dashboard-wrapper .nb-pass-checkout__no-autopay .material-symbols-outlined {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 18px;
    color: #ffc857;
}

#nb-dashboard-wrapper .nb-pass-checkout__no-autopay strong {
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-pass-ticket__footnote--autopay {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 200, 80, 0.2);
    background: rgba(255, 180, 40, 0.06);
    color: rgba(255, 235, 190, 0.72);
}

#nb-dashboard-wrapper .nb-pass-checkout__secure {
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 235, 190, 0.48);
}

#nb-dashboard-wrapper .nb-pass-checkout__offer {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    color: rgba(255, 235, 190, 0.55);
}

#nb-dashboard-wrapper .nb-pass-checkout__offer a {
    color: #ffe08a;
    font-weight: 700;
    text-decoration: underline;
}

#nb-dashboard-wrapper .nb-pass-ticket__offer-link {
    margin: 0;
    display: flex;
    justify-content: center;
}

#nb-dashboard-wrapper .nb-pass-ticket__offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: rgba(255, 215, 0, 0.06);
    color: #ffe08a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#nb-dashboard-wrapper .nb-pass-ticket__offer-btn:hover {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.1);
    color: #fff4c2;
}

#nb-dashboard-wrapper .nb-pass-ticket__offer-btn .material-symbols-outlined {
    font-size: 18px;
    color: #ffd700;
}

#nb-dashboard-wrapper .nb-pass-checkout__secure .material-symbols-outlined {
    font-size: 14px;
}

#nb-dashboard-wrapper .nb-pass-checkout__form .nb-msg {
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
}

#nb-dashboard-wrapper .nb-pass-ticket__footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 215, 120, 0.12);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
}

#nb-dashboard-wrapper .nb-pass-ticket__step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    border-right: 1px solid rgba(255, 215, 120, 0.08);
}

#nb-dashboard-wrapper .nb-pass-ticket__step:last-child {
    border-right: none;
}

#nb-dashboard-wrapper .nb-pass-ticket__step-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #1a1203;
    background: linear-gradient(180deg, #ffe082 0%, #ffcf4b 100%);
}

#nb-dashboard-wrapper .nb-pass-ticket__step strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 2px;
}

#nb-dashboard-wrapper .nb-pass-ticket__step p {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

#nb-dashboard-wrapper .nb-pass-ticket__footnote {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 235, 190, 0.55);
    padding: 0 4px;
}

#nb-dashboard-wrapper .nb-pass-ticket__footnote .material-symbols-outlined {
    font-size: 16px;
    color: #ffd700;
}

#nb-dashboard-wrapper .nb-pass-ticket__footnote-link {
    border: none;
    background: none;
    padding: 0;
    color: #ffe08a;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

#nb-dashboard-wrapper .nb-subscription-finances-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 215, 120, 0.22);
    background: linear-gradient(165deg, rgba(28, 20, 8, 0.88) 0%, rgba(10, 7, 3, 0.95) 100%);
    border-radius: 16px;
}

#nb-dashboard-wrapper .nb-subscription-finances-cta__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    color: #ffe08a;
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-subscription-finances-cta__body {
    flex: 1;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-subscription-finances-cta__title {
    margin: 0 0 4px;
    font-size: 16px;
    color: #fff;
}

#nb-dashboard-wrapper .nb-subscription-finances-cta__text {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 235, 190, 0.72);
}

#nb-dashboard-wrapper .nb-subscription-finances-cta .nb-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

#nb-dashboard-wrapper .nb-widget--discount-sub.nb-tab-trigger:hover {
    border-color: rgba(255, 215, 0, 0.45) !important;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.1);
}

@media (max-width: 860px) {
    #nb-dashboard-wrapper .nb-pass-ticket__body {
        grid-template-columns: 1fr;
        padding: 22px 18px 18px;
        gap: 18px;
    }
    #nb-dashboard-wrapper .nb-pass-ticket__divider {
        flex-direction: row;
        height: 20px;
        padding: 0;
    }
    #nb-dashboard-wrapper .nb-pass-ticket__divider::before,
    #nb-dashboard-wrapper .nb-pass-ticket__divider::after {
        width: auto;
        height: 1px;
        flex: 1;
        background: linear-gradient(90deg, transparent, rgba(255, 215, 120, 0.22), transparent);
    }
    #nb-dashboard-wrapper .nb-pass-ticket__stub {
        padding-left: 0;
    }
    #nb-dashboard-wrapper .nb-pass-checkout__fields {
        grid-template-columns: 1fr;
    }
    #nb-dashboard-wrapper .nb-pass-plans {
        grid-template-columns: 1fr;
    }
    #nb-dashboard-wrapper .nb-pass-ticket__footer {
        grid-template-columns: 1fr;
    }
    #nb-dashboard-wrapper .nb-pass-ticket__step {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 120, 0.08);
    }
    #nb-dashboard-wrapper .nb-pass-ticket__step:last-child {
        border-bottom: none;
    }
    #nb-dashboard-wrapper .nb-pass-ticket__meta-grid {
        grid-template-columns: 1fr;
    }
    #nb-dashboard-wrapper .nb-subscription-finances-cta {
        flex-wrap: wrap;
    }
    #nb-dashboard-wrapper .nb-subscription-finances-cta .nb-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-pass-ticket__shine,
    #nb-dashboard-wrapper .nb-pass-ticket,
    #nb-dashboard-wrapper .nb-pass-ticket::before,
    #nb-dashboard-wrapper .nb-pass-hub-hero,
    #nb-dashboard-wrapper .nb-pass-hub-hero__shine,
    #nb-dashboard-wrapper .nb-pass-hub-hero__orb,
    #nb-dashboard-wrapper .nb-pass-hub-hero__title span,
    #nb-dashboard-wrapper .nb-nav-link--pass,
    #nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-label-text,
    #nb-dashboard-wrapper .nb-nav-link--pass .nb-nav-badge {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-dash-balance-visual.is-active,
    #nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-visual-glow,
    #nb-dashboard-wrapper .nb-dash-balance-visual .nb-balance-wallet-icon::after,
    #nb-dashboard-wrapper .nb-balance-coin,
    #nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active .nb-info-step--highlight,
    #nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual.is-active .nb-info-arrow {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-dash-balance-visual,
    #nb-dashboard-wrapper .nb-info-visual.nb-dash-info-visual {
        opacity: 1;
        transform: none;
    }
}

/* --- Единый hero (как лента / чарт / маркет) --- */
@keyframes nb-dash-hero-enter {
    0% { opacity: 0; transform: translateY(14px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nb-dash-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#nb-dashboard-wrapper {
    --nb-dash-gold: var(--cin-accent, #ffd700);
    --nb-dash-border: rgba(255, 215, 120, 0.22);
    --nb-dash-card: linear-gradient(165deg, rgba(28, 20, 8, 0.92) 0%, rgba(10, 7, 3, 0.96) 100%);
    --nb-dash-radius: 20px;
}

#nb-dashboard-wrapper .nb-dash-hero--social {
    position: relative;
    margin: 0 0 18px;
    padding: 26px 24px 24px;
    border-radius: var(--nb-dash-radius);
    border: 1px solid var(--nb-dash-border);
    background: var(--nb-dash-card);
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 230, 170, 0.1);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

#nb-dashboard-wrapper .nb-dash-hero--social::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), transparent 42%, rgba(255, 180, 50, 0.18));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-dash-hero--social.is-active,
#nb-dashboard-wrapper .nb-dash-hero--social.is-entering,
#nb-dashboard-wrapper .nb-overview-hero.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#nb-dashboard-wrapper .nb-dash-hero--social.is-entering {
    animation: nb-dash-hero-enter 0.55s ease forwards;
}

#nb-dashboard-wrapper .nb-dash-hero__mesh {
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(ellipse 55% 45% at 15% 30%, rgba(255, 215, 0, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 90% 70%, rgba(200, 140, 30, 0.1) 0%, transparent 50%);
    animation: nb-dash-gradient-shift 14s ease infinite;
    background-size: 200% 200%;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-dash-hero__inner {
    position: relative;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-dash-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.92);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

#nb-dashboard-wrapper .nb-dash-hero__eyebrow .material-symbols-outlined {
    font-size: 16px;
}

#nb-dashboard-wrapper .nb-dash-hero__title {
    margin: 0 0 8px;
    font-family: var(--cin-font-head, 'Clash Display', var(--nb-font-head));
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.12;
    color: #fff;
}

#nb-dashboard-wrapper .nb-dash-hero__title span {
    background: linear-gradient(135deg, #fff4c2, #ffd54f 40%, #ffb300 75%, #ffe082);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nb-dash-gradient-shift 6s linear infinite;
}

#nb-dashboard-wrapper .nb-dash-hero__desc {
    margin: 0;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 235, 190, 0.78);
}

#nb-dashboard-wrapper .nb-dash-hero__desc strong {
    color: #fff6b0;
    font-weight: 700;
}

#nb-dashboard-wrapper .nb-dash-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

#nb-dashboard-wrapper .nb-dash-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 235, 190, 0.85);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 215, 0, 0.16);
}

#nb-dashboard-wrapper .nb-dash-hero__chip .material-symbols-outlined {
    font-size: 16px;
    color: var(--nb-dash-gold);
}

/* --- Обзор ЛК --- */

#nb-dashboard-wrapper .nb-overview-progress-card {
    margin-bottom: 18px;
    padding: 22px 24px !important;
    border-color: var(--nb-dash-border) !important;
    border-radius: var(--nb-dash-radius) !important;
    background: var(--nb-dash-card) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32) !important;
}
#nb-dashboard-wrapper .nb-overview-progress-title {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-overview-progress-title .material-symbols-outlined { font-size: 22px; }
#nb-dashboard-wrapper .nb-overview-progress-desc {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--nb-text-muted);
}
#nb-dashboard-wrapper .nb-overview-progress-bar-wrap {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 14px;
}
#nb-dashboard-wrapper .nb-overview-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--nb-primary), #ffb000);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
    transition: width 0.6s ease;
}
#nb-dashboard-wrapper .nb-overview-progress-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
#nb-dashboard-wrapper .nb-overview-progress-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--nb-text-muted);
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
#nb-dashboard-wrapper .nb-overview-progress-list li.is-done {
    color: #fff6b0;
    border-color: rgba(255, 215, 0, 0.25);
    background: rgba(255, 215, 0, 0.06);
}
#nb-dashboard-wrapper .nb-overview-progress-list li .material-symbols-outlined {
    font-size: 20px;
    color: #555;
}
#nb-dashboard-wrapper .nb-overview-progress-list li.is-done .material-symbols-outlined {
    color: var(--nb-primary);
}

#nb-dashboard-wrapper .nb-overview-quick-card {
    margin-bottom: 18px;
    padding: 22px 24px !important;
    text-align: center;
    border-color: var(--nb-dash-border) !important;
    border-radius: var(--nb-dash-radius) !important;
    background: var(--nb-dash-card) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32) !important;
    opacity: 1;
    transform: none;
}
#nb-dashboard-wrapper .nb-overview-quick-title {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: var(--nb-primary);
}
#nb-dashboard-wrapper .nb-overview-quick-card .nb-dash-info-visual { margin-bottom: 16px; }
#nb-dashboard-wrapper .nb-overview-quick-btn { max-width: 320px; margin: 0 auto; }

#nb-dashboard-wrapper .nb-friday-widget {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    position: relative;
    overflow: hidden;
}
#nb-dashboard-wrapper .nb-friday-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 120px;
    color: var(--nb-primary);
    opacity: 0.05;
    pointer-events: none;
}
#nb-dashboard-wrapper .nb-friday-timer-value {
    font-family: monospace;
    letter-spacing: -1px;
    font-size: 1.6rem;
    color: #fff6b0;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.3);
}
#nb-dashboard-wrapper .nb-friday-hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
#nb-dashboard-wrapper .nb-friday-clock-visual {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-friday-clock-face {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.45);
    background: radial-gradient(circle at 35% 30%, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 70%);
    box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.12), 0 0 16px rgba(255, 215, 0, 0.15);
}
#nb-dashboard-wrapper .nb-friday-clock-visual.is-live .nb-friday-clock-face {
    animation: nb-friday-clock-glow 2.5s ease-in-out infinite;
}
@keyframes nb-friday-clock-glow {
    0%, 100% { box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1), 0 0 12px rgba(255, 215, 0, 0.12); }
    50% { box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.2), 0 0 22px rgba(255, 215, 0, 0.28); }
}
#nb-dashboard-wrapper .nb-friday-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: 50% 100%;
    background: var(--nb-primary);
    border-radius: 2px;
}
#nb-dashboard-wrapper .nb-friday-hand--hour {
    width: 3px;
    height: 18px;
    margin-left: -1.5px;
    transform: translateX(-50%) rotate(var(--friday-hour-deg, 0deg));
}
#nb-dashboard-wrapper .nb-friday-hand--minute {
    width: 2px;
    height: 24px;
    margin-left: -1px;
    transform: translateX(-50%) rotate(var(--friday-minute-deg, 0deg));
    opacity: 0.9;
}
#nb-dashboard-wrapper .nb-friday-clock-visual.is-live .nb-friday-hand--hour {
    transition: transform 0.35s ease;
}
#nb-dashboard-wrapper .nb-friday-clock-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--nb-primary);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

#nb-dashboard-wrapper .nb-activity-chart-card.is-active {
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
}
#nb-dashboard-wrapper .nb-activity-chart {
    height: 100px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.15);
}
#nb-dashboard-wrapper .nb-activity-bar {
    height: var(--bar-h, 4%);
    transform: scaleY(1);
    transform-origin: bottom center;
    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.85) 0%, rgba(255, 180, 0, 0.35) 100%);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}
#nb-dashboard-wrapper .nb-activity-chart.is-animated .nb-activity-bar {
    animation: nb-activity-bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: scaleY(0);
    opacity: 0.5;
}
@keyframes nb-activity-bar-grow {
    from { transform: scaleY(0); opacity: 0.4; }
    to { transform: scaleY(1); opacity: 1; }
}
#nb-dashboard-wrapper .nb-activity-bar:hover {
    background: linear-gradient(180deg, #ffe082 0%, rgba(255, 215, 0, 0.5) 100%);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

#nb-dashboard-wrapper .nb-widget-realtime .nb-dash-info-visual,
#nb-dashboard-wrapper .nb-widget-analytics .nb-dash-info-visual {
    margin: 8px 0 10px;
    padding: 10px 8px;
}
#nb-dashboard-wrapper .nb-widget-realtime .nb-info-step,
#nb-dashboard-wrapper .nb-widget-analytics .nb-info-step {
    min-width: 58px;
    max-width: 72px;
    padding: 6px 4px;
}
#nb-dashboard-wrapper .nb-overview-stories-slot .nb-news-stories.nb-news-glass,
#nb-dashboard-wrapper .nb-overview-intro-side .nb-news-stories.nb-news-glass {
    width: 100%;
}

#nb-dashboard-wrapper .nb-news-stories.nb-news-glass:not(.nb-overview-item--shown) {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-overview-item,
    #nb-dashboard-wrapper .nb-overview-item.nb-overview-item--shown {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-progress-card .nb-overview-progress-bar,
    #nb-dashboard-wrapper .nb-checklist-card .nb-checklist-progress-bar {
        transform: none !important;
        transition: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-pass-banner-wrap.nb-overview-item--shown .nb-overview-pass-banner__chip {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-overview-hero.is-active,
    #nb-dashboard-wrapper .nb-news-stories.nb-news-glass,
    #nb-dashboard-wrapper .nb-story-ring-border,
    #nb-dashboard-wrapper .nb-story-progress-fill,
    #nb-dashboard-wrapper .nb-story-viewer-shell {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-friday-clock-visual.is-live .nb-friday-clock-face,
    #nb-dashboard-wrapper .nb-dash-top-account-bar .nb-balance-coin,
    #nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-wallet-icon::after,
    #nb-dashboard-wrapper .nb-dash-top-royalty-spark {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-activity-chart.is-animated .nb-activity-bar {
        animation: none !important;
        transform: scaleY(1);
        opacity: 1;
    }
}

/* === FIXED UTILITY HEADER (баланс + ЛК сверху справа) === */
#nb-dashboard-wrapper .nb-dash-utility-header {
    position: fixed;
    top: var(--nb-dash-utility-top);
    right: 0;
    left: var(--sidebar-w-open);
    z-index: 10001;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 28px;
    pointer-events: none;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.admin-bar:has(#nb-dashboard-wrapper) #nb-dashboard-wrapper {
    --nb-dash-utility-top: 44px;
}
@media screen and (max-width: 782px) {
    body.admin-bar:has(#nb-dashboard-wrapper) #nb-dashboard-wrapper {
        --nb-dash-utility-top: 58px;
    }
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-dash-utility-header {
    left: var(--sidebar-w-closed);
}
#nb-dashboard-wrapper .nb-dash-utility-header > * {
    pointer-events: auto;
}
@media (max-width: 768px) {
    #nb-dashboard-wrapper .nb-dash-utility-header {
        left: 0;
        padding: 10px 12px 0;
    }
}

/* === TOP ACCOUNT BAR (баланс + ЛК) === */
#nb-dashboard-wrapper .nb-dash-top-account-bar {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    width: auto;
    max-width: min(100%, 760px);
    margin: 0;
    padding: 0;
    pointer-events: auto;
}
#nb-dashboard-wrapper .nb-dash-top-balances--header {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
}

#nb-dashboard-wrapper .nb-sidebar-mobile-balances {
    display: none;
}

#nb-dashboard-wrapper .nb-dash-top-account-inner {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 5px;
    border-radius: 18px;
    background:
        linear-gradient(165deg, rgba(28, 20, 10, 0.94) 0%, rgba(10, 8, 5, 0.98) 100%);
    border: 1px solid rgba(255, 215, 120, 0.28);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 215, 0, 0.06) inset,
        inset 0 1px 0 rgba(255, 232, 170, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
#nb-dashboard-wrapper .nb-dash-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 14px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    font: inherit;
    text-align: left;
}
#nb-dashboard-wrapper .nb-dash-top-pill + .nb-dash-top-pill {
    margin-left: 1px;
    box-shadow: -1px 0 0 rgba(255, 215, 120, 0.14);
}
#nb-dashboard-wrapper .nb-dash-top-pill:hover {
    background: rgba(255, 215, 0, 0.07);
    box-shadow: none;
}
#nb-dashboard-wrapper .nb-dash-top-pill + .nb-dash-top-pill:hover {
    box-shadow: -1px 0 0 rgba(255, 215, 120, 0.14);
}
#nb-dashboard-wrapper .nb-dash-top-pill.nb-dash-top-balance {
    cursor: default;
}
#nb-dashboard-wrapper .nb-dash-top-pill.nb-dash-top-balance:hover {
    background: rgba(255, 255, 255, 0.02);
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet {
    width: 40px;
    height: 40px;
    margin-right: 2px;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-wallet-icon {
    position: absolute;
    inset: 7px 5px 5px;
    border-radius: 9px;
    border: 1.5px solid rgba(255, 215, 0, 0.55);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.22) 0%, rgba(255, 215, 0, 0.06) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 240, 180, 0.15);
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-wallet-icon::after {
    content: '₽';
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--nb-primary, #ffd700);
    color: #1a1408;
    font-size: 9px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    animation: nb-dash-ruble-pulse 2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-coin {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
    animation: nb-dash-coin-float 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-coin--1 {
    top: 0;
    right: 1px;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-coin--2 {
    top: 10px;
    left: 0;
    width: 11px;
    height: 11px;
    animation-delay: 0.6s;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--wallet .nb-balance-coin--3 {
    bottom: 3px;
    right: 0;
    width: 10px;
    height: 10px;
    animation-delay: 1.1s;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--royalty {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 236, 160, 0.35) 0%, rgba(255, 215, 0, 0.12) 45%, rgba(255, 215, 0, 0) 72%);
    border: 1px solid rgba(255, 215, 0, 0.38);
    color: #ffd700;
    box-shadow: inset 0 1px 0 rgba(255, 240, 180, 0.12);
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--royalty .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
}
#nb-dashboard-wrapper .nb-dash-top-royalty-spark {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffe08a;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: nb-dash-ruble-pulse 2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-dash-top-pill-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
#nb-dashboard-wrapper .nb-dash-top-pill-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 235, 190, 0.62);
    line-height: 1;
}
#nb-dashboard-wrapper .nb-dash-top-pill-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}
#nb-dashboard-wrapper .nb-dash-top-pill-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-family: var(--nb-font-head);
    font-size: 14px;
    font-weight: 700;
    color: #fff4b8;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
#nb-dashboard-wrapper .nb-dash-top-balance--royalty .nb-dash-top-pill-amount {
    font-size: 12px;
    max-width: 118px;
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--loyalty {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 236, 160, 0.35) 0%, rgba(255, 215, 0, 0.12) 45%, rgba(255, 215, 0, 0) 72%);
    border: 1px solid rgba(255, 215, 0, 0.38);
    color: #ffd700;
    box-shadow: inset 0 1px 0 rgba(255, 240, 180, 0.12);
}
#nb-dashboard-wrapper .nb-dash-top-pill-graphic--loyalty .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
}
#nb-dashboard-wrapper .nb-dash-top-loyalty-spark {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffe08a;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: nb-dash-ruble-pulse 2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-dash-top-balance--loyalty .nb-dash-top-pill-amount {
    font-size: 14px;
    color: #ffe59a;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.28);
}
#nb-dashboard-wrapper .nb-dash-top-pill-amount .nb-header-balance-value,
#nb-dashboard-wrapper .nb-dash-top-pill-amount .nb-header-royalty-value,
#nb-dashboard-wrapper .nb-dash-top-pill-amount .nb-header-loyalty-value {
    overflow: hidden;
    text-overflow: ellipsis;
}
#nb-dashboard-wrapper .nb-dash-top-pill-currency {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.78);
}
#nb-dashboard-wrapper .nb-dash-top-topup-btn {
    flex-shrink: 0;
    margin: 0;
    padding: 4px 9px;
    border-radius: 7px;
    border: 1px solid rgba(255, 215, 0, 0.42);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.16) 0%, rgba(255, 215, 0, 0.06) 100%);
    color: #ffe566;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
#nb-dashboard-wrapper .nb-dash-top-topup-btn:hover {
    background: rgba(255, 215, 0, 0.22);
    border-color: rgba(255, 215, 0, 0.65);
    color: #fff8c8;
    transform: translateY(-1px);
}
#nb-dashboard-wrapper .nb-dash-top-user {
    padding: 6px 12px 6px 8px;
    max-width: 240px;
}
#nb-dashboard-wrapper .nb-dash-top-user.active {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: -1px 0 0 rgba(255, 215, 120, 0.14);
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-avatar-img,
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-avatar-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 120, 0.45);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.18);
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.08);
    color: rgba(255, 215, 0, 0.7);
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-name {
    font-size: 12px;
    font-weight: 600;
    color: #f5f0e6;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-account-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-account-status .material-symbols-outlined {
    font-size: 12px;
    font-variation-settings: 'FILL' 1;
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-account-status.is-active {
    color: rgba(255, 215, 0, 0.9);
}
#nb-dashboard-wrapper .nb-dash-top-user .nb-user-account-status.is-inactive {
    color: rgba(255, 235, 190, 0.45);
}
#nb-dashboard-wrapper .nb-dash-top-user-chevron {
    font-size: 17px;
    color: rgba(255, 235, 190, 0.45);
    margin-left: -2px;
    transition: transform 0.2s ease, color 0.2s ease;
}
#nb-dashboard-wrapper .nb-dash-top-user:hover .nb-dash-top-user-chevron,
#nb-dashboard-wrapper .nb-dash-top-user.active .nb-dash-top-user-chevron {
    color: rgba(255, 215, 0, 0.85);
    transform: translateY(1px);
}
#nb-dashboard-wrapper .nb-content-body {
    position: relative;
    z-index: 6;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
#nb-dashboard-wrapper .nb-tab-content-item {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    display: none !important;
}
#nb-dashboard-wrapper .nb-tab-content-item.nb-tab-active {
    display: block !important;
}
#nb-dashboard-wrapper .nb-app-main {
    padding-top: var(--nb-dash-main-offset) !important;
}
#nb-dashboard-wrapper .nb-tab-page-header {
    margin: 0 0 16px;
}
#nb-dashboard-wrapper .nb-tab-content-item > *:first-child {
    margin-top: 0;
}
#nb-dashboard-wrapper .nb-app-main .nb-music-form-wrapper,
#nb-dashboard-wrapper .nb-app-main .nb-contract-flow-wrapper,
#nb-dashboard-wrapper .nb-app-main #nb-video-form-wrapper,
#nb-dashboard-wrapper .nb-app-main #nb-videoshot-form-wrapper,
#nb-dashboard-wrapper .nb-app-main .nb-services-market {
    min-height: 0 !important;
    padding-top: 0 !important;
}
#nb-dashboard-wrapper .nb-balance-topup-only .nb-balance-topup-lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 235, 190, 0.88);
}
#nb-dashboard-wrapper .nb-dash-balance-topup-visual {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 22px 24px;
    background: linear-gradient(165deg, rgba(24, 17, 7, 0.82) 0%, rgba(10, 7, 3, 0.94) 100%);
    border: 1px solid rgba(255, 215, 120, 0.16);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 230, 170, 0.06);
}
@media (max-width: 1024px) {
    #nb-dashboard-wrapper {
        --nb-dash-utility-height: 52px;
    }

    #nb-dashboard-wrapper .nb-dash-top-balances--header {
        display: none !important;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances {
        display: block;
        margin: 0 10px 14px;
        flex-shrink: 0;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances__label {
        margin: 0 6px 8px;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255, 224, 138, 0.55);
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 8px;
        border-radius: 16px;
        background:
            linear-gradient(165deg, rgba(28, 20, 10, 0.94) 0%, rgba(10, 8, 5, 0.98) 100%);
        border: 1px solid rgba(255, 215, 120, 0.28);
        box-shadow:
            0 10px 32px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 232, 170, 0.14);
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill {
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 0 !important;
        box-shadow: none !important;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.22);
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill + .nb-dash-top-pill {
        margin-left: 0 !important;
        box-shadow: none !important;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances .nb-balance-coin {
        display: none;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances .nb-dash-top-pill-graphic--wallet {
        width: 34px;
        height: 34px;
        margin-right: 0;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances .nb-dash-top-pill-graphic--wallet .nb-balance-wallet-icon {
        inset: 5px 4px 4px;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill {
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill-body {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill-row {
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        width: 100%;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-pill-amount {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        font-size: 13px;
        white-space: normal;
        word-break: break-word;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-balance--royalty .nb-dash-top-pill-amount,
    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-balance--loyalty .nb-dash-top-pill-amount {
        max-width: 100%;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances .nb-dash-top-pill-graphic--loyalty {
        width: 34px;
        height: 34px;
    }

    #nb-dashboard-wrapper .nb-sidebar-mobile-balances .nb-dash-top-pill-graphic--loyalty .material-symbols-outlined {
        font-size: 18px;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner--sidebar .nb-dash-top-topup-btn {
        margin-left: auto;
        align-self: center;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-bar {
        justify-content: flex-end;
        max-width: none;
    }

    #nb-dashboard-wrapper .nb-dash-top-account-inner {
        width: auto;
        flex-wrap: nowrap;
        border-radius: 16px;
        padding: 4px;
    }

    #nb-dashboard-wrapper .nb-dash-top-user {
        flex: 0 0 auto;
        max-width: min(100%, 220px);
    }

    #nb-dashboard-wrapper .nb-dash-top-user .nb-user-name {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    #nb-dashboard-wrapper .nb-dash-utility-header {
        padding: 8px 12px 0;
    }

    #nb-dashboard-wrapper .nb-dash-top-user .nb-user-name {
        max-width: 90px;
    }
}

/* === Компактный верхний отступ на всех вкладках ЛК === */
body:has(#nb-dashboard-wrapper).nb-has-global-header {
    padding-top: 0 !important;
}
body:has(#nb-dashboard-wrapper) .nb-global-header {
    display: none !important;
}
body:has(#nb-dashboard-wrapper) #nb-dashboard-wrapper .nb-sidebar {
    top: 0 !important;
    height: 100vh !important;
}
body.admin-bar:has(#nb-dashboard-wrapper) #nb-dashboard-wrapper .nb-sidebar {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar:has(#nb-dashboard-wrapper) #nb-dashboard-wrapper .nb-sidebar {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }
}
#nb-dashboard-wrapper .nb-dash-header {
    margin-bottom: 24px;
}
#nb-dashboard-wrapper .nb-widgets-grid {
    margin-bottom: 28px !important;
}
#nb-dashboard-wrapper .nb-services-market .nb-services-visual-wrap {
    margin-bottom: 18px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero {
    margin-bottom: 0;
}

/* --- Услуги: маркетплейс-каталог --- */
#nb-dashboard-wrapper .nb-services-market {
    position: relative;
    width: 100%;
    max-width: min(100%, 1280px);
    margin: 0 auto;
    padding: 0 8px 40px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel {
    margin: 0 0 20px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 120, 0.2);
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(255, 215, 0, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, rgba(28, 20, 10, 0.92), rgba(8, 6, 3, 0.96));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    padding: 0 2px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.7);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__head strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__track {
    display: flex;
    gap: 12px;
    width: max-content;
    will-change: transform;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide {
    flex: 0 0 auto;
    width: 240px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 120, 0.2);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.35));
    color: inherit;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide:hover {
    border-color: rgba(255, 215, 0, 0.42);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.14), rgba(0, 0, 0, 0.4));
    transform: translateY(-2px);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__icon .material-symbols-outlined {
    font-size: 24px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__body em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 224, 138, 0.7);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__body strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__body span {
    font-size: 12px;
    font-weight: 700;
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-market__toolbar {
    margin: 0 0 18px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.25) transparent;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 120, 0.18);
    background: rgba(12, 9, 4, 0.72);
    color: rgba(255, 235, 190, 0.82);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    color: rgba(255, 224, 138, 0.9);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter:hover {
    border-color: rgba(255, 215, 0, 0.34);
    color: #fff;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter.is-active {
    border-color: rgba(255, 215, 0, 0.45);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.16), rgba(255, 180, 40, 0.08));
    color: #ffe08a;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-market__hint {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 235, 190, 0.48);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-sections {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 2px;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-section__head-left {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-section__title {
    margin: 0;
    font-family: var(--cin-font-head, var(--nb-font-head));
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff4c2;
    letter-spacing: 0.01em;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-section__count {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 235, 190, 0.5);
    flex-shrink: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-section__nav {
    display: none;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-rail,
#nb-dashboard-wrapper .nb-services-market .nb-services-rail--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding: 2px 0 6px;
    scroll-snap-type: none;
}

@media (min-width: 1100px) {
    #nb-dashboard-wrapper .nb-services-market .nb-services-rail,
    #nb-dashboard-wrapper .nb-services-market .nb-services-rail--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-services-market .nb-services-rail,
    #nb-dashboard-wrapper .nb-services-market .nb-services-rail--grid {
        grid-template-columns: 1fr;
    }
}

/* Карточки услуг — в духе достижений */
#nb-dashboard-wrapper .nb-services-market .nb-service-card {
    --nb-svc-line: rgba(255, 215, 120, 0.16);
    --nb-svc-card: rgba(16, 12, 6, 0.78);
    --nb-svc-muted: rgba(255, 240, 200, 0.55);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    height: 100%;
    overflow: hidden;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--nb-svc-line);
    background: var(--nb-svc-card);
    backdrop-filter: blur(14px);
    box-shadow: none;
    transform: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 230, 150, 0.07) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: nb-svc-card-sheen 9s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__glow {
    position: absolute;
    right: -18%;
    bottom: -36%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    filter: blur(22px);
    background: radial-gradient(circle at 40% 40%, #ffe36a 0%, #ffd700 38%, rgba(255, 140, 40, 0.55) 70%, transparent 78%);
    transform-origin: 40% 40%;
    will-change: transform, opacity;
    animation: nb-svc-glow-drift 7.5s ease-in-out infinite;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:nth-child(2n) .nb-service-card__glow {
    animation-delay: -1.8s;
    animation-duration: 8.2s;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:nth-child(3n) .nb-service-card__glow {
    animation-delay: -3.4s;
    animation-duration: 6.8s;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:nth-child(4n) .nb-service-card__glow {
    animation-delay: -5.1s;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:nth-child(2n)::before {
    animation-delay: -2.5s;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:nth-child(3n)::before {
    animation-delay: -4.8s;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--soft .nb-service-card__glow {
    background: radial-gradient(circle at 40% 40%, #9fd4ff 0%, #5bb8ff 42%, rgba(80, 140, 220, 0.5) 72%, transparent 80%);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--hot .nb-service-card__glow,
#nb-dashboard-wrapper .nb-services-market .nb-service-card--subscription .nb-service-card__glow {
    background: radial-gradient(circle at 40% 40%, #ffc48a 0%, #ff8a3d 40%, rgba(255, 100, 40, 0.55) 72%, transparent 80%);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.32);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:hover .nb-service-card__glow {
    animation-duration: 4.2s;
    filter: blur(18px);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card:hover::before {
    opacity: 0.85;
    animation-duration: 4.5s;
}

@keyframes nb-svc-glow-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.18;
    }
    25% {
        transform: translate3d(-22px, -18px, 0) scale(1.12);
        opacity: 0.36;
    }
    50% {
        transform: translate3d(-38px, -8px, 0) scale(1.05);
        opacity: 0.24;
    }
    75% {
        transform: translate3d(-12px, -28px, 0) scale(1.18);
        opacity: 0.4;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.18;
    }
}

@keyframes nb-svc-card-sheen {
    0% {
        background-position: 120% 0;
    }
    45% {
        background-position: -20% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-services-market .nb-service-card::before,
    #nb-dashboard-wrapper .nb-services-market .nb-service-card__glow {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-services-market .nb-service-card__glow {
        opacity: 0.2;
    }
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--subscription {
    border-color: rgba(255, 215, 0, 0.34);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card .nb-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    width: 100%;
    min-height: 0;
    padding: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    margin: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__media-icon {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 230, 140, 0.22), rgba(80, 55, 10, 0.35));
    border: 1px solid rgba(255, 215, 120, 0.22);
    color: #ffe789;
    box-shadow: none;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--soft .nb-service-card__media-icon .material-symbols-outlined {
    color: #9fd4ff;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--hot .nb-service-card__media-icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-services-market .nb-service-card--subscription .nb-service-card__media-icon .material-symbols-outlined {
    color: #ffb27a;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__media-icon .material-symbols-outlined {
    font-size: 26px;
    color: #ffe789;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__media-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 4px;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__badge {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.78);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 215, 0, 0.22);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__badge--hot {
    color: #1a1203;
    background: linear-gradient(145deg, #ffe36a, #d4a017);
    border-color: transparent;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__badge--soft {
    color: #9fd4ff;
    border-color: rgba(120, 190, 255, 0.35);
    background: rgba(80, 140, 200, 0.12);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__badge--form {
    color: rgba(255, 235, 190, 0.78);
    background: rgba(255, 215, 0, 0.06);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.65);
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-title {
    margin: 0;
    font-family: var(--cin-font-head, var(--nb-font-head));
    font-size: 15px;
    font-weight: 700;
    color: #fff6d0;
    line-height: 1.25;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__teaser {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--nb-svc-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.9em;
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffe789;
    line-height: 1.15;
    font-family: var(--cin-font-head, var(--nb-font-head));
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price--muted {
    font-size: 13px;
    color: rgba(255, 230, 170, 0.55);
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price--on-sale {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price__was {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 230, 170, 0.45);
    text-decoration: line-through;
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price__now {
    color: #ffe789;
    font-weight: 800;
}

#nb-dashboard-wrapper .nb-services-market .nb-prod-price__badge,
#nb-dashboard-wrapper .nb-services-market .nb-service-card__badge--sale {
    display: inline-flex;
    align-items: center;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1200;
    background: linear-gradient(135deg, #ffe08a, #f0b429);
    border-radius: 999px;
    padding: 2px 8px;
    line-height: 1.4;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-details__price .nb-prod-price {
    font-size: 1.2rem;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide__price .nb-prod-price {
    font-size: 0.85rem;
    font-weight: 700;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__chips span {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 235, 190, 0.72);
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card__actions {
    margin-top: auto;
    padding: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-more-btn {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.1);
    color: #ffe789;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#nb-dashboard-wrapper .nb-services-market .nb-service-more-btn:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #ffe36a, #d4a017);
    color: #1a1206;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.28);
}

#nb-dashboard-wrapper .nb-services-market .nb-service-card--compact .nb-card-content {
    padding-bottom: 0;
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter.is-active {
    color: #1a1206;
    background: linear-gradient(135deg, #ffe36a, #d4a017);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.28);
}

#nb-dashboard-wrapper .nb-services-market .nb-services-filter.is-active em {
    background: rgba(26, 18, 3, 0.18);
    color: #1a1206;
}

@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-services-market .nb-service-card {
        min-height: 0;
    }
    #nb-dashboard-wrapper .nb-services-market .nb-prod-title,
    #nb-dashboard-wrapper .nb-services-market .nb-service-card__teaser {
        min-height: 0;
    }
}

#nb-dashboard-wrapper .nb-services-market .nb-services-empty {
    margin: 16px;
    text-align: center;
    color: rgba(255, 235, 190, 0.65);
    font-size: 13px;
}

#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-card {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(0, 0, 0, 0.32));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    font-size: 13px;
}

#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-head .material-symbols-outlined {
    color: #ffd700;
}

#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-head strong {
    display: block;
    color: #fff;
}

#nb-dashboard-wrapper .nb-services-market .nb-subscription-status-head span {
    color: rgba(255, 235, 190, 0.7);
    font-size: 12px;
}

/* Модалка «Подробнее» — на body, вне transform-контейнеров ЛК */
html.nb-service-modal-open,
html.nb-service-modal-open body {
    overflow: hidden !important;
}

.nb-service-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.nb-service-modal.is-open {
    display: flex !important;
}

.nb-service-modal[hidden] {
    display: none !important;
}

.nb-service-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.nb-service-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(86vh, 720px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 120, 0.35);
    background: #14100a !important;
    color: #f7f2e8 !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 232, 170, 0.14);
    padding: 22px 20px 20px;
    box-sizing: border-box;
}

.nb-service-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 120, 0.35) !important;
    border-radius: 11px !important;
    background: rgba(255, 215, 0, 0.1) !important;
    color: #ffe08a !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 2;
    padding: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.nb-service-modal__close:hover {
    border-color: rgba(255, 215, 0, 0.55) !important;
    background: rgba(255, 215, 0, 0.18) !important;
    color: #fff !important;
}

.nb-service-modal__body {
    color: #f7f2e8 !important;
}

.nb-service-details__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-right: 36px;
}

.nb-service-details__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 215, 0, 0.2), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffe08a;
}

.nb-service-details__icon .material-symbols-outlined {
    font-size: 26px;
}

.nb-service-details__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.nb-service-modal .nb-service-card__badge {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 224, 138, 0.95);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.22);
}

.nb-service-modal .nb-service-card__badge--hot {
    color: #1a1203;
    background: linear-gradient(180deg, #ffe082, #ffcf4b);
    border-color: transparent;
}

.nb-service-modal .nb-service-card__badge--soft,
.nb-service-modal .nb-service-card__badge--form {
    color: rgba(255, 235, 190, 0.78);
    background: rgba(255, 215, 0, 0.06);
}

.nb-service-details__title,
.nb-service-details__titles h3 {
    margin: 0 0 4px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25;
}

.nb-service-details__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffe08a !important;
}

.nb-service-details__note {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255, 235, 190, 0.58) !important;
}

.nb-service-details__desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 235, 190, 0.88) !important;
    white-space: pre-wrap;
}

.nb-service-details__form {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 215, 0, 0.14);
    display: flex;
    flex-direction: column;
}

.nb-service-details__form-lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 235, 190, 0.78);
}

.nb-service-details__form .nb-service-form-label {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 235, 190, 0.55);
}

.nb-service-details__form .nb-service-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 224, 138, 0.62);
}

.nb-service-details__form .nb-input-group {
    margin-bottom: 8px;
}

.nb-service-details__form input,
.nb-service-details__form select {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 215, 120, 0.22) !important;
    border-radius: 11px !important;
    min-height: 0 !important;
    box-sizing: border-box;
}

.nb-service-details__form input:focus,
.nb-service-details__form select:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.45) !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.nb-service-details__form .nb-service-submit,
.nb-service-modal button.nb-service-submit.nb-btn.primary {
    width: 100%;
    margin-top: 4px !important;
    min-height: 44px !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(255, 200, 40, 0.24) !important;
}

.nb-service-details__form .nb-service-submit::after,
.nb-service-modal button.nb-service-submit.nb-btn.primary::after {
    display: none !important;
}

.nb-service-details__form .nb-msg {
    margin: 8px 0 0;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 232, 170, 0.8);
}

.nb-service-details__form .nb-msg:empty,
.nb-service-details__form .nb-msg[hidden] {
    display: none !important;
}

.nb-service-details__cta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 215, 0, 0.14);
}

.nb-service-details__cta .nb-btn {
    width: 100%;
    text-transform: none !important;
    border-radius: 12px !important;
    min-height: 44px !important;
}

.nb-service-perks--modal {
    list-style: none;
    margin: 0 0 14px;
    padding: 10px 12px;
    display: grid;
    gap: 7px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.12);
}

.nb-service-perks--modal li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 240, 210, 0.9) !important;
}

.nb-service-perks--modal .material-symbols-outlined {
    font-size: 15px;
    color: #ffd700;
    flex-shrink: 0;
}

.nb-service-perks--card {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.nb-service-perks--card li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 240, 210, 0.88);
}
.nb-service-perks--card .material-symbols-outlined {
    font-size: 15px;
    color: #ffd700;
    flex-shrink: 0;
    margin-top: 1px;
}
#nb-dashboard-wrapper .nb-services-market .nb-service-card--hot .nb-service-card__teaser {
    -webkit-line-clamp: 3;
    min-height: 0;
}

.nb-service-tier-grid--modal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nb-service-modal .nb-service-tier-card {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.14);
}

.nb-service-modal .nb-service-tier-card--premium {
    border-color: rgba(255, 215, 0, 0.28);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.3));
}

.nb-service-modal .nb-service-tier-card strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff6c8 !important;
}

.nb-service-modal .nb-service-tier-card__price {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #ffe08a !important;
}

.nb-service-modal .nb-service-tier-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 235, 190, 0.72) !important;
}

.nb-service-details__options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.nb-service-details__options li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.12);
    font-size: 13px;
    color: rgba(255, 240, 210, 0.9) !important;
}

.nb-service-details__options strong {
    color: #ffe08a !important;
    white-space: nowrap;
}

@media (max-width: 720px) {
    #nb-dashboard-wrapper .nb-services-market .nb-services-rail {
        grid-auto-columns: minmax(200px, 78vw);
    }
    #nb-dashboard-wrapper .nb-services-market .nb-services-hero-slide {
        width: 210px;
    }
    .nb-service-tier-grid--modal {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-services-market .nb-services-hero-carousel__track {
        transform: none !important;
    }
}

/* --- Вкладка «Статистика» — hero как «Загрузить релиз» --- */
#nb-dashboard-wrapper .nb-stats-tab-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: min(100%, 1360px);
    margin: 0 auto;
    padding: 0 8px 48px;
}

#nb-dashboard-wrapper .nb-stats-track-stats-wrap {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#nb-dashboard-wrapper .nb-stats-track-stats-wrap .tsp-dashboard {
    margin-top: 0;
    font-family: var(--nb-font-body, 'Plus Jakarta Sans', sans-serif) !important;
}

#nb-dashboard-wrapper .tsp-dashboard--lk.tsp-wrap,
#nb-dashboard-wrapper .nb-stats-track-stats-wrap .tsp-dashboard--lk.tsp-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
}

#nb-dashboard-wrapper .tsp-dashboard--lk.tsp-wrap:hover,
#nb-dashboard-wrapper .nb-stats-track-stats-wrap .tsp-dashboard--lk.tsp-wrap:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

#nb-dashboard-wrapper .tsp-dashboard--lk .tsp-metric-card:hover {
    transform: none !important;
}

/* NBM AI — выпадающая группа в сайдбаре */
#nb-dashboard-wrapper .nb-nav-group--ai {
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(176, 38, 255, 0.18);
    background: linear-gradient(165deg, rgba(176, 38, 255, 0.06) 0%, rgba(8, 6, 4, 0.35) 100%);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--ai.is-open {
    border-color: rgba(176, 38, 255, 0.38);
    box-shadow: 0 0 18px rgba(176, 38, 255, 0.12);
}
#nb-dashboard-wrapper .nb-nav-group-head {
    display: flex;
    align-items: stretch;
    gap: 0;
}
#nb-dashboard-wrapper .nb-nav-group-head > .nb-nav-link {
    flex: 1;
    min-width: 0;
    margin: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}
#nb-dashboard-wrapper .nb-nav-link--ai-parent.active {
    background: rgba(176, 38, 255, 0.12) !important;
}
#nb-dashboard-wrapper .nb-nav-ai-toggle {
    flex-shrink: 0;
    width: 36px;
    border: none;
    border-left: 1px solid rgba(176, 38, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
#nb-dashboard-wrapper .nb-nav-ai-toggle:hover {
    color: #e9d5ff;
    background: rgba(176, 38, 255, 0.1);
}
#nb-dashboard-wrapper .nb-nav-group--ai.is-open .nb-nav-ai-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}
#nb-dashboard-wrapper .nb-nav-ai-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-sub {
    padding: 4px 8px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#nb-dashboard-wrapper .nb-nav-sub[hidden] { display: none !important; }
#nb-dashboard-wrapper .nb-nav-link--sub {
    padding-left: 38px !important;
    min-height: 36px;
    font-size: 11px;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
#nb-dashboard-wrapper .nb-nav-link--sub.active {
    border-color: rgba(176, 38, 255, 0.35) !important;
    background: rgba(176, 38, 255, 0.12) !important;
}
#nb-dashboard-wrapper .nb-nav-badge--sub {
    font-size: 8px;
    padding: 1px 6px;
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-sub,
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-ai-toggle {
    display: none !important;
}

#nb-dashboard-wrapper .nb-nav-link--ai .nb-nav-label { display: inline-flex; align-items: center; gap: 8px; }
#nb-dashboard-wrapper .nb-nav-badge {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(176, 38, 255, 0.35);
    background: rgba(176, 38, 255, 0.12);
    color: #e9d5ff;
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.2);
}
#nb-dashboard-wrapper .nb-nav-link--ai-hub {
    border: 1px solid rgba(176, 38, 255, 0.22);
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.08), rgba(255, 215, 0, 0.04));
}
#nb-dashboard-wrapper .nb-ai-tab-layout { max-width: 1400px; margin: 0 auto; padding: 0 8px 32px; }

/* --- NBM AI Hub (новый хедер без схемы Suno/MJ/кошелёк) --- */
#nb-dashboard-wrapper .nb-ai-hub-hero {
    position: relative;
    margin: 0 0 20px;
    padding: 28px 28px 24px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(176, 38, 255, 0.35);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(176, 38, 255, 0.22) 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        linear-gradient(145deg, rgba(22, 12, 38, 0.96) 0%, rgba(8, 6, 10, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(176, 38, 255, 0.12);
}
#nb-dashboard-wrapper .nb-ai-hub-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: nb-ai-hub-orb 7s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__orb--1 {
    width: 180px; height: 180px;
    top: -40px; right: 8%;
    background: rgba(176, 38, 255, 0.35);
}
#nb-dashboard-wrapper .nb-ai-hub-hero__orb--2 {
    width: 140px; height: 140px;
    bottom: -30px; left: 12%;
    background: rgba(255, 215, 0, 0.18);
    animation-delay: -3s;
}
@keyframes nb-ai-hub-orb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate(8px, -6px) scale(1.08); opacity: 1; }
}
#nb-dashboard-wrapper .nb-ai-hub-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__copy { flex: 1 1 320px; max-width: 640px; }
#nb-dashboard-wrapper .nb-ai-hub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(216, 180, 254, 0.35);
    background: rgba(176, 38, 255, 0.12);
    color: #e9d5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__eyebrow .material-symbols-outlined { font-size: 16px; color: #c4b5fd; }
#nb-dashboard-wrapper .nb-ai-hub-hero__title {
    margin: 0 0 10px;
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    color: #faf5ff;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__title span {
    display: block;
    background: linear-gradient(90deg, #FFD700 0%, #e9d5ff 55%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 235, 210, 0.72);
    max-width: 52ch;
}
#nb-dashboard-wrapper .nb-ai-hub-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 1 auto;
}
#nb-dashboard-wrapper .nb-ai-hub-stat {
    min-width: 140px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 120, 0.18);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}
#nb-dashboard-wrapper .nb-ai-hub-stat--balance {
    border-color: rgba(176, 38, 255, 0.45);
    box-shadow: 0 0 24px rgba(176, 38, 255, 0.15);
}
#nb-dashboard-wrapper .nb-ai-hub-stat__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 235, 210, 0.5);
    margin-bottom: 6px;
}
#nb-dashboard-wrapper .nb-ai-hub-stat__value {
    font-family: var(--cin-font-head, inherit);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-ai-hub-stat--balance .nb-ai-hub-stat__value {
    color: #fde68a;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

#nb-dashboard-wrapper .nb-ai-hero-visual {
    position: relative;
    margin: 0 0 18px;
    padding: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(176, 38, 255, 0.42);
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.16) 0%, rgba(40, 18, 60, 0.92) 42%, rgba(12, 10, 8, 0.96) 100%);
    box-shadow: 0 0 28px rgba(176, 38, 255, 0.22);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
#nb-dashboard-wrapper .nb-ai-hero-visual.is-active,
#nb-dashboard-wrapper .nb-ai-hero-visual.is-entering { opacity: 1; transform: none; }
#nb-dashboard-wrapper .nb-ai-hero-visual.is-active { animation: nb-ai-hero-pulse 3.2s ease-in-out infinite; }
@keyframes nb-ai-hero-pulse {
    0%, 100% { border-color: rgba(176, 38, 255, 0.35); }
    50% { border-color: rgba(216, 180, 254, 0.62); box-shadow: 0 0 38px rgba(176, 38, 255, 0.38); }
}
#nb-dashboard-wrapper .nb-ai-hero-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.32) 0%, transparent 68%);
    animation: nb-ai-hero-glow 4.5s ease-in-out infinite;
}
@keyframes nb-ai-hero-glow {
    0%, 100% { transform: translateX(-6%); opacity: 0.75; }
    50% { transform: translateX(8%); opacity: 1; }
}
#nb-dashboard-wrapper .nb-ai-hero-body { position: relative; z-index: 1; }
#nb-dashboard-wrapper .nb-ai-hero-main { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#nb-dashboard-wrapper .nb-ai-hero-icon-wrap { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
#nb-dashboard-wrapper .nb-ai-spark-icon {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(176, 38, 255, 0.55);
    color: #e9d5ff;
    font-size: 34px;
    animation: nb-ai-spark-spin 8s linear infinite;
}
@keyframes nb-ai-spark-spin { to { transform: rotate(360deg); } }
#nb-dashboard-wrapper .nb-ai-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(176, 38, 255, 0.35);
    animation: nb-ai-pulse-ring 2.4s ease-out infinite;
}
#nb-dashboard-wrapper .nb-ai-pulse--2 { animation-delay: 1.1s; }
@keyframes nb-ai-pulse-ring { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
#nb-dashboard-wrapper .nb-ai-hero-title {
    margin: 0 0 6px;
    font-family: var(--nb-font-head, inherit);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #f3e8ff;
}
#nb-dashboard-wrapper .nb-ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}
#nb-dashboard-wrapper .nb-ai-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 24px 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 120, 0.16);
    background: linear-gradient(165deg, rgba(28, 20, 10, 0.9) 0%, rgba(8, 6, 6, 0.95) 100%);
    color: #fff;
    text-decoration: none !important;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
#nb-dashboard-wrapper .nb-ai-tool-card-glow {
    position: absolute;
    inset: -20% auto auto -10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#nb-dashboard-wrapper .nb-ai-tool-card--suno .nb-ai-tool-card-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, transparent 70%);
}
#nb-dashboard-wrapper .nb-ai-tool-card--mj .nb-ai-tool-card-glow {
    background: radial-gradient(circle, rgba(176, 38, 255, 0.5) 0%, transparent 70%);
}
#nb-dashboard-wrapper .nb-ai-tool-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
#nb-dashboard-wrapper .nb-ai-tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 28px;
}
#nb-dashboard-wrapper .nb-ai-tool-card--suno .nb-ai-tool-icon {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.28);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}
#nb-dashboard-wrapper .nb-ai-tool-card--mj .nb-ai-tool-icon {
    color: #e9d5ff;
    background: rgba(176, 38, 255, 0.14);
    border: 1px solid rgba(176, 38, 255, 0.35);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.18);
}
#nb-dashboard-wrapper .nb-ai-tool-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 235, 210, 0.85);
}
#nb-dashboard-wrapper .nb-ai-tool-card h3 {
    margin: 0 0 8px;
    font-family: var(--cin-font-head, inherit);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
#nb-dashboard-wrapper .nb-ai-tool-card-desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 235, 210, 0.68);
    flex: 1;
}
#nb-dashboard-wrapper .nb-ai-tool-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
#nb-dashboard-wrapper .nb-ai-tool-card-tags li {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 235, 210, 0.75);
}
#nb-dashboard-wrapper .nb-ai-tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.45), transparent);
}
#nb-dashboard-wrapper .nb-ai-tool-card:hover {
    transform: translateY(-6px);
}
#nb-dashboard-wrapper .nb-ai-tool-card--suno:hover {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(255, 215, 0, 0.12);
}
#nb-dashboard-wrapper .nb-ai-tool-card--mj:hover {
    border-color: rgba(176, 38, 255, 0.5);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(176, 38, 255, 0.18);
}
#nb-dashboard-wrapper .nb-ai-tool-card:hover .nb-ai-tool-card-glow {
    opacity: 0.65;
    transform: scale(1.08);
}
#nb-dashboard-wrapper .nb-ai-tool-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--cin-accent, #FFD700);
    margin-top: auto;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 22px !important;
    border: 1px solid rgba(255, 215, 120, 0.22);
    background: linear-gradient(165deg, rgba(28, 20, 10, 0.92) 0%, rgba(8, 6, 6, 0.96) 100%);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__icon {
    font-size: 32px;
    color: #FFD700;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.22);
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__copy { flex: 1 1 200px; }
#nb-dashboard-wrapper .nb-ai-wallet-panel__copy strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__copy p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 235, 210, 0.62);
    line-height: 1.45;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__amount {
    text-align: right;
    margin-left: auto;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__amount-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 235, 210, 0.45);
    margin-bottom: 4px;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__amount strong {
    font-family: var(--cin-font-head, inherit);
    font-size: 22px;
    color: #fde68a;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
#nb-dashboard-wrapper .nb-ai-wallet-panel__form input[type="number"] {
    flex: 1 1 160px;
    max-width: 220px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 215, 120, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13px;
}
#nb-dashboard-wrapper .nb-ai-topup-msg {
    width: 100%;
    margin: 0;
    font-size: 12px;
}
#nb-dashboard-wrapper .nb-ai-balance-hint {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    padding: 18px 20px !important;
    border: 1px solid rgba(255, 215, 120, 0.22);
    background: linear-gradient(165deg, rgba(32, 22, 8, 0.88) 0%, rgba(10, 8, 6, 0.94) 100%);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 230, 170, 0.06);
}
#nb-dashboard-wrapper .nb-ai-tab-layout--tool {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 4px;
}

/* --- Suno / Midjourney tool hero (как загрузка и статистика) --- */
#nb-dashboard-wrapper .nb-ai-tool-hero-visual {
    position: relative;
    margin: 0;
    padding: 16px 18px 14px;
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--suno {
    border: 1px solid rgba(255, 215, 0, 0.38);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(40, 28, 10, 0.9) 42%, rgba(12, 10, 8, 0.96) 100%);
    box-shadow: 0 0 0 1px rgba(255, 236, 160, 0.1) inset, 0 0 28px rgba(255, 215, 0, 0.2), 0 14px 36px rgba(0, 0, 0, 0.42);
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney {
    border: 1px solid rgba(176, 38, 255, 0.38);
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.16) 0%, rgba(40, 18, 60, 0.88) 40%, rgba(12, 10, 8, 0.96) 100%);
    box-shadow: 0 0 0 1px rgba(216, 180, 254, 0.1) inset, 0 0 28px rgba(176, 38, 255, 0.22), 0 14px 36px rgba(0, 0, 0, 0.42);
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual.is-active,
#nb-dashboard-wrapper .nb-ai-tool-hero-visual.is-entering {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--suno.is-active {
    animation: nb-ai-suno-hero-pulse 3.2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney.is-active {
    animation: nb-ai-mj-hero-pulse 3.2s ease-in-out infinite;
}
@keyframes nb-ai-suno-hero-pulse {
    0%, 100% { border-color: rgba(255, 215, 0, 0.32); box-shadow: 0 0 0 1px rgba(255, 236, 160, 0.1) inset, 0 0 22px rgba(255, 215, 0, 0.18), 0 12px 32px rgba(0, 0, 0, 0.4); }
    50% { border-color: rgba(255, 236, 160, 0.58); box-shadow: 0 0 0 1px rgba(255, 255, 210, 0.22) inset, 0 0 38px rgba(255, 215, 0, 0.36), 0 16px 40px rgba(0, 0, 0, 0.48); }
}
@keyframes nb-ai-mj-hero-pulse {
    0%, 100% { border-color: rgba(176, 38, 255, 0.32); box-shadow: 0 0 0 1px rgba(216, 180, 254, 0.1) inset, 0 0 22px rgba(176, 38, 255, 0.18), 0 12px 32px rgba(0, 0, 0, 0.4); }
    50% { border-color: rgba(216, 180, 254, 0.58); box-shadow: 0 0 0 1px rgba(233, 213, 255, 0.18) inset, 0 0 38px rgba(176, 38, 255, 0.36), 0 16px 40px rgba(0, 0, 0, 0.48); }
}
#nb-dashboard-wrapper .nb-ai-tool-hero-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 120px;
    pointer-events: none;
    animation: nb-ai-tool-hero-glow-drift 4.5s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--suno .nb-ai-tool-hero-glow {
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.28) 0%, transparent 68%);
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-hero-glow {
    background: radial-gradient(ellipse at center, rgba(176, 38, 255, 0.32) 0%, transparent 68%);
}
@keyframes nb-ai-tool-hero-glow-drift {
    0%, 100% { transform: translateX(-6%) scale(1); opacity: 0.75; }
    50% { transform: translateX(8%) scale(1.08); opacity: 1; }
}
#nb-dashboard-wrapper .nb-ai-tool-hero-body { position: relative; z-index: 1; }
#nb-dashboard-wrapper .nb-ai-tool-hero-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
#nb-dashboard-wrapper .nb-ai-tool-hero-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-icon-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}
#nb-dashboard-wrapper .nb-ai-suno-disc-icon {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.55);
    background: radial-gradient(circle at 30% 30%, rgba(255, 246, 176, 0.35) 0%, rgba(255, 215, 0, 0.1) 50%, rgba(12, 10, 8, 0.5) 100%);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    animation: nb-ai-suno-disc-spin 10s linear infinite;
}
@keyframes nb-ai-suno-disc-spin { to { transform: rotate(360deg); } }
#nb-dashboard-wrapper .nb-ai-suno-wave {
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffe08a, #FFD700);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
    animation: nb-ai-suno-wave 1.1s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-suno-wave--1 { height: 10px; animation-delay: 0s; }
#nb-dashboard-wrapper .nb-ai-suno-wave--2 { height: 18px; animation-delay: 0.12s; }
#nb-dashboard-wrapper .nb-ai-suno-wave--3 { height: 26px; animation-delay: 0.24s; }
#nb-dashboard-wrapper .nb-ai-suno-wave--4 { height: 16px; animation-delay: 0.36s; }
#nb-dashboard-wrapper .nb-ai-suno-wave--5 { height: 12px; animation-delay: 0.48s; }
@keyframes nb-ai-suno-wave {
    0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
    50% { transform: scaleY(1); opacity: 1; }
}
#nb-dashboard-wrapper .nb-ai-mj-palette-icon {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(176, 38, 255, 0.55);
    background: radial-gradient(circle at 35% 35%, rgba(233, 213, 255, 0.35) 0%, rgba(176, 38, 255, 0.12) 50%, rgba(12, 10, 8, 0.55) 100%);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.25);
    animation: nb-ai-mj-palette-spin 12s linear infinite;
}
@keyframes nb-ai-mj-palette-spin { to { transform: rotate(-360deg); } }
#nb-dashboard-wrapper .nb-ai-mj-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: nb-ai-mj-dot-float 2.4s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-mj-dot--1 { top: 14px; left: 18px; background: #FFD700; color: #FFD700; animation-delay: 0s; }
#nb-dashboard-wrapper .nb-ai-mj-dot--2 { top: 22px; right: 14px; background: #b026ff; color: #b026ff; animation-delay: 0.4s; }
#nb-dashboard-wrapper .nb-ai-mj-dot--3 { bottom: 16px; left: 14px; background: #60a5fa; color: #60a5fa; animation-delay: 0.8s; }
#nb-dashboard-wrapper .nb-ai-mj-dot--4 { bottom: 12px; right: 18px; background: #f472b6; color: #f472b6; animation-delay: 1.2s; }
@keyframes nb-ai-mj-dot-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
    50% { transform: translateY(-4px) scale(1.15); opacity: 1; }
}
#nb-dashboard-wrapper .nb-ai-tool-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.35);
    animation: nb-ai-tool-pulse-ring 2.4s ease-out infinite;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-pulse {
    border-color: rgba(176, 38, 255, 0.35);
}
#nb-dashboard-wrapper .nb-ai-tool-pulse--2 { animation-delay: 1.1s; }
@keyframes nb-ai-tool-pulse-ring {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.35); opacity: 0; }
}
#nb-dashboard-wrapper .nb-ai-tool-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: nb-ai-tool-spark-twinkle 2.2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-spark {
    background: #e9d5ff;
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.7);
}
#nb-dashboard-wrapper .nb-ai-tool-spark--1 { top: 6px; right: 10px; animation-delay: 0s; }
#nb-dashboard-wrapper .nb-ai-tool-spark--2 { bottom: 8px; left: 6px; animation-delay: 0.7s; }
#nb-dashboard-wrapper .nb-ai-tool-spark--3 { top: 50%; right: 0; animation-delay: 1.3s; }
@keyframes nb-ai-tool-spark-twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.6); }
    50% { opacity: 1; transform: scale(1.2); }
}
#nb-dashboard-wrapper .nb-ai-tool-hero-label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 235, 190, 0.55);
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-hero-label { color: rgba(233, 213, 255, 0.65); }
#nb-dashboard-wrapper .nb-ai-tool-hero-title {
    margin: 0 0 8px;
    font-family: var(--nb-font-head, inherit);
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    line-height: 1.15;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--suno .nb-ai-tool-hero-title {
    background: linear-gradient(135deg, #fff 0%, #ffe08a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-hero-title {
    color: #f3e8ff;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 235, 190, 0.78);
    max-width: 640px;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual--midjourney .nb-ai-tool-hero-hint { color: rgba(233, 213, 255, 0.78); }
#nb-dashboard-wrapper .nb-ai-tool-hero-hint strong,
#nb-dashboard-wrapper .nb-ai-tool-hero-balance { color: var(--cin-accent, #FFD700); font-weight: 800; }
#nb-dashboard-wrapper .nb-ai-tool-hero-flow.nb-info-visual {
    margin: 12px 0 0;
    padding: 12px 10px;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual.is-active .nb-ai-tool-hero-title {
    animation: nb-ai-tool-title-shimmer 4s ease-in-out infinite;
}
@keyframes nb-ai-tool-title-shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual.is-active .nb-ai-tool-hero-flow .nb-info-step--highlight {
    animation: nb-dash-step-glow 2.2s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-tool-hero-visual.is-active .nb-ai-tool-hero-flow .nb-info-arrow {
    animation: nb-dash-arrow-flow 1.7s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-ai-back-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: rgba(255, 235, 190, 0.65); font-size: 13px; font-weight: 600;
    text-decoration: none !important; padding: 8px 12px; border-radius: 10px;
    border: 1px solid rgba(255, 215, 120, 0.15); background: rgba(0, 0, 0, 0.25);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
#nb-dashboard-wrapper .nb-ai-back-link:hover {
    color: var(--cin-accent, #FFD700); border-color: rgba(255, 215, 0, 0.35); background: rgba(255, 215, 0, 0.08);
}
#nb-dashboard-wrapper .nb-ai-back-link .material-symbols-outlined { font-size: 18px; }
#nb-dashboard-wrapper .nb-ai-topup-link { padding: 10px 20px !important; font-size: 11px !important; }

#nb-dashboard-wrapper .nb-ai-tool-wrap .ns-suno-container,
#nb-dashboard-wrapper .nb-ai-tool-wrap .ns-mj-container {
    min-height: 620px !important;
    height: auto !important;
    padding: 0 !important;
}

/* NB MUSIC MEDIA — золотая группа вкладок (как NBM AI) */
@keyframes nb-music-nav-shimmer {
    0%, 100% { box-shadow: 0 0 14px rgba(255, 215, 0, 0.12); border-color: rgba(255, 215, 0, 0.28); }
    50% { box-shadow: 0 0 22px rgba(255, 215, 0, 0.28); border-color: rgba(255, 215, 0, 0.52); }
}
#nb-dashboard-wrapper .nb-nav-group--music {
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.09) 0%, rgba(8, 6, 4, 0.42) 100%);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--music.is-open {
    animation: nb-music-nav-shimmer 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-nav-link--music-parent.active {
    background: rgba(255, 215, 0, 0.14) !important;
}
#nb-dashboard-wrapper .nb-nav-music-toggle {
    flex-shrink: 0;
    width: 36px;
    border: none;
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
#nb-dashboard-wrapper .nb-nav-music-toggle:hover {
    color: var(--cin-accent, #FFD700);
    background: rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-nav-group--music.is-open .nb-nav-music-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}
#nb-dashboard-wrapper .nb-nav-music-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--music .nb-nav-link--sub.active {
    border-color: rgba(255, 215, 0, 0.45) !important;
    background: rgba(255, 215, 0, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.08);
}
#nb-dashboard-wrapper .nb-nav-badge--music {
    border-color: rgba(255, 215, 0, 0.45);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(255, 176, 0, 0.12));
    color: var(--cin-accent, #FFD700);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
}
#nb-dashboard-wrapper .nb-nav-badge--alert {
    border-color: rgba(255, 100, 100, 0.55);
    background: linear-gradient(135deg, rgba(255, 90, 90, 0.28), rgba(180, 30, 30, 0.16));
    color: #ffc9c9;
    box-shadow: 0 0 14px rgba(255, 80, 80, 0.28);
    text-transform: none;
    letter-spacing: 0;
    min-width: 1.4em;
    justify-content: center;
}
#nb-dashboard-wrapper .nb-nav-group--music .nb-nav-label,
#nb-dashboard-wrapper .nb-nav-link .nb-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#nb-dashboard-wrapper .nb-nav-group--music .nb-nav-icon-wrap,
#nb-dashboard-wrapper .nb-nav-link .nb-nav-icon-wrap {
    position: relative;
}
#nb-dashboard-wrapper .nb-nav-count {
    position: absolute;
    top: -5px;
    right: -6px;
    z-index: 2;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #ff5a5a, #c62828);
    border: 1px solid rgba(255, 200, 200, 0.35);
    box-shadow: 0 2px 8px rgba(200, 40, 40, 0.45);
    pointer-events: none;
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-count {
    top: -2px;
    right: -2px;
}
#nb-dashboard-wrapper .nb-nav-link--music-parent {
    border: 1px solid rgba(255, 215, 0, 0.18);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.02));
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-group--music .nb-nav-sub,
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-music-toggle {
    display: none !important;
}

#nb-dashboard-wrapper .nb-music-tab-layout { max-width: min(100%, 1360px); margin: 0 auto; padding: 0 8px 48px; }
#nb-dashboard-wrapper .nb-music-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
#nb-dashboard-wrapper .nb-music-hub-card {
    --nb-mh-line: rgba(255, 215, 120, 0.16);
    --nb-mh-card: rgba(16, 12, 6, 0.78);
    --nb-mh-muted: rgba(255, 240, 200, 0.55);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    height: 100%;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--nb-mh-line);
    background: var(--nb-mh-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
#nb-dashboard-wrapper .nb-music-hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.32);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
}
#nb-dashboard-wrapper .nb-music-hub-card__sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 230, 150, 0.07) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: nb-mh-card-sheen 9s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-music-hub-card__glow {
    position: absolute;
    right: -18%;
    bottom: -36%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    filter: blur(22px);
    background: radial-gradient(circle at 40% 40%, #ffe36a 0%, #ffd700 38%, rgba(255, 140, 40, 0.55) 70%, transparent 78%);
    transform-origin: 40% 40%;
    will-change: transform, opacity;
    animation: nb-mh-glow-drift 7.5s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-music-hub-card:nth-child(2n) .nb-music-hub-card__glow {
    animation-delay: -1.8s;
    animation-duration: 8.2s;
}
#nb-dashboard-wrapper .nb-music-hub-card:nth-child(3n) .nb-music-hub-card__glow {
    animation-delay: -3.4s;
    animation-duration: 6.8s;
}
#nb-dashboard-wrapper .nb-music-hub-card:nth-child(4n) .nb-music-hub-card__glow {
    animation-delay: -5.1s;
}
#nb-dashboard-wrapper .nb-music-hub-card:nth-child(2n) .nb-music-hub-card__sheen {
    animation-delay: -2.5s;
}
#nb-dashboard-wrapper .nb-music-hub-card:nth-child(3n) .nb-music-hub-card__sheen {
    animation-delay: -4.8s;
}
#nb-dashboard-wrapper .nb-music-hub-card:hover .nb-music-hub-card__glow {
    animation-duration: 4.2s;
    filter: blur(18px);
}
#nb-dashboard-wrapper .nb-music-hub-card:hover .nb-music-hub-card__sheen {
    opacity: 0.85;
    animation-duration: 4.5s;
}
@keyframes nb-mh-glow-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
    25% { transform: translate3d(-22px, -18px, 0) scale(1.12); opacity: 0.36; }
    50% { transform: translate3d(-38px, -8px, 0) scale(1.05); opacity: 0.24; }
    75% { transform: translate3d(-12px, -28px, 0) scale(1.18); opacity: 0.4; }
    100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
}
@keyframes nb-mh-card-sheen {
    0% { background-position: 120% 0; }
    45% { background-position: -20% 0; }
    100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-music-hub-card__sheen,
    #nb-dashboard-wrapper .nb-music-hub-card__glow {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-music-hub-card__glow { opacity: 0.2; }
}
#nb-dashboard-wrapper .nb-music-hub-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    width: 100%;
}
#nb-dashboard-wrapper .nb-music-hub-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
#nb-dashboard-wrapper .nb-music-hub-card__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 230, 140, 0.22), rgba(80, 55, 10, 0.35));
    border: 1px solid rgba(255, 215, 120, 0.22);
    color: #ffe789;
    box-shadow: none;
}
#nb-dashboard-wrapper .nb-music-hub-card__icon .material-symbols-outlined {
    font-size: 26px !important;
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-music-hub-card__badge {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 236, 170, 0.88);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 120, 0.18);
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-music-hub-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}
#nb-dashboard-wrapper .nb-music-hub-card__title,
#nb-dashboard-wrapper .nb-music-hub-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
#nb-dashboard-wrapper .nb-music-hub-card__desc,
#nb-dashboard-wrapper .nb-music-hub-card p {
    margin: 0;
    flex: 1;
    font-size: 12px;
    line-height: 1.45;
    color: var(--nb-mh-muted);
}
#nb-dashboard-wrapper .nb-music-hub-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 2px;
}
#nb-dashboard-wrapper .nb-music-hub-card__cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cin-accent, #FFD700);
}
#nb-dashboard-wrapper .nb-music-hub-card--upload .nb-music-hub-card__icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-music-hub-card--catalog .nb-music-hub-card__icon .material-symbols-outlined {
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-music-hub-card--stats .nb-music-hub-card__icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-music-hub-card--chart .nb-music-hub-card__icon .material-symbols-outlined {
    color: #9fd4ff;
}
#nb-dashboard-wrapper .nb-music-hub-card--video .nb-music-hub-card__icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-music-hub-card--videoshot .nb-music-hub-card__icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-music-hub-card--youtube .nb-music-hub-card__icon .material-symbols-outlined {
    color: #ffb27a;
}
#nb-dashboard-wrapper .nb-music-hub-card--playlists .nb-music-hub-card__icon .material-symbols-outlined,
#nb-dashboard-wrapper .nb-music-hub-card--card .nb-music-hub-card__icon .material-symbols-outlined {
    color: #e0b8ff;
}
#nb-dashboard-wrapper .nb-music-hub-card--upload {
    border-color: rgba(255, 215, 0, 0.28);
}
#nb-dashboard-wrapper .nb-music-hub-card--upload .nb-music-hub-card__glow {
    opacity: 0.3;
}

/* Native app: stable glass, no heavy motion */
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 196px;
}
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card__sheen,
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card__glow {
    animation: none !important;
}
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card__glow {
    opacity: 0.2;
    filter: blur(16px);
}
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card:hover,
body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card:active {
    transform: none;
}
@media (max-width: 640px) {
    body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card {
        min-height: 180px;
        padding: 14px;
    }
    body.nb-native-app #nb-dashboard-wrapper .nb-music-hub-card__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }
}

@media (max-width: 1100px) {
    #nb-dashboard-wrapper .nb-music-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-music-hub-grid { grid-template-columns: 1fr; }
}

/* NB GAMES — группа вкладок и хаб */
@keyframes nb-games-nav-shimmer {
    0%, 100% { box-shadow: 0 0 14px rgba(176, 38, 255, 0.12); border-color: rgba(176, 38, 255, 0.28); }
    50% { box-shadow: 0 0 22px rgba(255, 215, 0, 0.22); border-color: rgba(176, 38, 255, 0.48); }
}
#nb-dashboard-wrapper .nb-nav-group--games {
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(176, 38, 255, 0.28);
    background: linear-gradient(165deg, rgba(176, 38, 255, 0.08) 0%, rgba(8, 4, 12, 0.42) 100%);
    overflow: hidden;
}
#nb-dashboard-wrapper .nb-nav-group--games.is-open {
    animation: nb-games-nav-shimmer 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-nav-link--games-parent.active {
    background: rgba(176, 38, 255, 0.12) !important;
}
#nb-dashboard-wrapper .nb-nav-games-toggle {
    flex-shrink: 0;
    width: 36px;
    border: none;
    border-left: 1px solid rgba(176, 38, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nb-dashboard-wrapper .nb-nav-games-toggle:hover {
    color: #e0a0ff;
    background: rgba(176, 38, 255, 0.1);
}
#nb-dashboard-wrapper .nb-nav-group--games.is-open .nb-nav-games-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}
#nb-dashboard-wrapper .nb-nav-games-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--games .nb-nav-link--sub.active {
    border-color: rgba(176, 38, 255, 0.45) !important;
    background: rgba(176, 38, 255, 0.1) !important;
}
#nb-dashboard-wrapper .nb-nav-link--games-parent {
    border: 1px solid rgba(176, 38, 255, 0.18);
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.06), rgba(255, 215, 0, 0.04));
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-group--games .nb-nav-sub,
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-games-toggle {
    display: none !important;
}
#nb-dashboard-wrapper .nb-games-tab-layout { max-width: min(100%, 1360px); margin: 0 auto; padding: 0 8px 48px; }
#nb-dashboard-wrapper .nb-games-hub-hero .nb-dash-hero__title span {
    background: linear-gradient(135deg, #e0c4ff, #ffd54f 35%, #b026ff 72%, #e0a0ff);
    background-size: 200% auto;
}
#nb-dashboard-wrapper .nb-games-hub-hero .nb-dash-hero__eyebrow {
    color: rgba(224, 196, 255, 0.95);
    border-color: rgba(176, 38, 255, 0.28);
    background: rgba(176, 38, 255, 0.1);
}
#nb-dashboard-wrapper .nb-games-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
#nb-dashboard-wrapper .nb-games-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px 18px;
    border-radius: var(--nb-dash-radius);
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.35));
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
#nb-dashboard-wrapper .nb-games-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(176, 38, 255, 0.45);
}
#nb-dashboard-wrapper .nb-games-hub-card__glow {
    position: absolute;
    inset: auto -20% -40% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.2), transparent 70%);
    pointer-events: none;
}
#nb-dashboard-wrapper .nb-games-hub-card__icon { font-size: 36px; color: #e0a0ff; }
#nb-dashboard-wrapper .nb-games-hub-card--3d .nb-games-hub-card__glow {
    background: radial-gradient(circle, rgba(0, 200, 255, 0.22), transparent 70%);
}
#nb-dashboard-wrapper .nb-games-hub-card--3d .nb-games-hub-card__icon { color: #5ce1ff; }
#nb-dashboard-wrapper .nb-games-hub-card--3d .nb-games-hub-card__cta { color: #5ce1ff; }
#nb-dashboard-wrapper .nb-games-hub-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
#nb-dashboard-wrapper .nb-games-hub-card p {
    margin: 0; flex: 1; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.58);
}
#nb-dashboard-wrapper .nb-games-hub-card__cta {
    margin-top: 6px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: #e0a0ff;
}
#nb-dashboard-wrapper .nb-games-hub-empty {
    margin: 0; padding: 20px; border-radius: 14px;
    border: 1px dashed rgba(176, 38, 255, 0.35);
    color: rgba(255, 255, 255, 0.55); font-size: 14px; text-align: center;
}
@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-games-hub-grid { grid-template-columns: 1fr; }
}

/* NB SERVICES — группа вкладок (золото, как ЛК) */
#nb-dashboard-wrapper .nb-nav-group--services {
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.07) 0%, rgba(8, 6, 4, 0.42) 100%);
    overflow: hidden;
}
#nb-dashboard-wrapper .nb-nav-group--services.is-open {
    animation: nb-featured-nav-shimmer 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-nav-link--services-parent.active {
    background: rgba(255, 215, 0, 0.12) !important;
}
#nb-dashboard-wrapper .nb-nav-services-toggle {
    flex-shrink: 0;
    width: 36px;
    border: none;
    border-left: 1px solid rgba(255, 215, 0, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nb-dashboard-wrapper .nb-nav-services-toggle:hover {
    color: var(--cin-accent, #FFD700);
    background: rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-nav-group--services.is-open .nb-nav-services-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}
#nb-dashboard-wrapper .nb-nav-services-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--services .nb-nav-link--sub.active {
    border-color: rgba(255, 215, 0, 0.42) !important;
    background: rgba(255, 215, 0, 0.1) !important;
}
#nb-dashboard-wrapper .nb-nav-link--services-parent {
    border: none;
    background: transparent;
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-group--services .nb-nav-sub,
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-services-toggle {
    display: none !important;
}
#nb-dashboard-wrapper .nb-services-tab-layout { max-width: min(100%, 1360px); margin: 0 auto; padding: 0 8px 48px; }
#nb-dashboard-wrapper .nb-services-hub-hero .nb-dash-hero__title span {
    background: linear-gradient(135deg, #ffe08a, #ffd54f 40%, #ffd700 75%, #fff6cc);
    background-size: 200% auto;
}
#nb-dashboard-wrapper .nb-services-hub-hero .nb-dash-hero__eyebrow {
    color: rgba(255, 236, 179, 0.95);
    border-color: rgba(255, 215, 0, 0.28);
    background: rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-services-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
#nb-dashboard-wrapper .nb-services-hub-card {
    --nb-sh-line: rgba(255, 215, 120, 0.16);
    --nb-sh-card: rgba(16, 12, 6, 0.78);
    --nb-sh-muted: rgba(255, 240, 200, 0.55);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    height: 100%;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--nb-sh-line);
    background: var(--nb-sh-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
#nb-dashboard-wrapper .nb-services-hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.32);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
}
#nb-dashboard-wrapper .nb-services-hub-card__sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 230, 150, 0.07) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: nb-sh-card-sheen 9s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-services-hub-card__glow {
    position: absolute;
    right: -18%;
    bottom: -36%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    filter: blur(22px);
    background: radial-gradient(circle at 40% 40%, #ffe36a 0%, #ffd700 38%, rgba(255, 140, 40, 0.55) 70%, transparent 78%);
    transform-origin: 40% 40%;
    will-change: transform, opacity;
    animation: nb-sh-glow-drift 7.5s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-services-hub-card:nth-child(2n) .nb-services-hub-card__glow {
    animation-delay: -1.8s;
    animation-duration: 8.2s;
}
#nb-dashboard-wrapper .nb-services-hub-card:nth-child(3n) .nb-services-hub-card__glow {
    animation-delay: -3.4s;
    animation-duration: 6.8s;
}
#nb-dashboard-wrapper .nb-services-hub-card:nth-child(2n) .nb-services-hub-card__sheen {
    animation-delay: -2.5s;
}
#nb-dashboard-wrapper .nb-services-hub-card:hover .nb-services-hub-card__glow {
    animation-duration: 4.2s;
    filter: blur(18px);
}
#nb-dashboard-wrapper .nb-services-hub-card:hover .nb-services-hub-card__sheen {
    opacity: 0.85;
    animation-duration: 4.5s;
}
@keyframes nb-sh-glow-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
    25% { transform: translate3d(-22px, -18px, 0) scale(1.12); opacity: 0.36; }
    50% { transform: translate3d(-38px, -8px, 0) scale(1.05); opacity: 0.24; }
    75% { transform: translate3d(-12px, -28px, 0) scale(1.18); opacity: 0.4; }
    100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
}
@keyframes nb-sh-card-sheen {
    0% { background-position: 120% 0; }
    45% { background-position: -20% 0; }
    100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-services-hub-card__sheen,
    #nb-dashboard-wrapper .nb-services-hub-card__glow {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-services-hub-card__glow { opacity: 0.2; }
}
#nb-dashboard-wrapper .nb-services-hub-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    width: 100%;
}
#nb-dashboard-wrapper .nb-services-hub-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
#nb-dashboard-wrapper .nb-services-hub-card__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 230, 140, 0.22), rgba(80, 55, 10, 0.35));
    border: 1px solid rgba(255, 215, 120, 0.22);
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-services-hub-card__icon .material-symbols-outlined {
    font-size: 26px !important;
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-services-hub-card__badge {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 236, 170, 0.88);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 120, 0.18);
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-services-hub-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}
#nb-dashboard-wrapper .nb-services-hub-card__title,
#nb-dashboard-wrapper .nb-services-hub-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
#nb-dashboard-wrapper .nb-services-hub-card__desc,
#nb-dashboard-wrapper .nb-services-hub-card p {
    margin: 0;
    flex: 1;
    font-size: 12px;
    line-height: 1.45;
    color: var(--nb-sh-muted);
}
#nb-dashboard-wrapper .nb-services-hub-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 2px;
}
#nb-dashboard-wrapper .nb-services-hub-card__cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cin-accent, #ffd700);
}
#nb-dashboard-wrapper .nb-services-hub-card--catalog .nb-services-hub-card__icon .material-symbols-outlined {
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-services-hub-card--market .nb-services-hub-card__icon .material-symbols-outlined {
    color: #ffb27a;
}
#nb-dashboard-wrapper .nb-services-hub-card--orders .nb-services-hub-card__icon .material-symbols-outlined {
    color: #9fd4ff;
}
#nb-dashboard-wrapper .nb-services-hub-card--catalog {
    border-color: rgba(255, 215, 0, 0.28);
}
#nb-dashboard-wrapper .nb-services-hub-card--catalog .nb-services-hub-card__glow {
    opacity: 0.3;
}

/* Native app */
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 196px;
}
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card__sheen,
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card__glow {
    animation: none !important;
}
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card__glow {
    opacity: 0.2;
    filter: blur(16px);
}
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card:hover,
body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card:active {
    transform: none;
}
@media (max-width: 640px) {
    body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card {
        min-height: 180px;
        padding: 14px;
    }
    body.nb-native-app #nb-dashboard-wrapper .nb-services-hub-card__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }
}

@media (max-width: 1100px) {
    #nb-dashboard-wrapper .nb-services-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    #nb-dashboard-wrapper .nb-services-hub-grid { grid-template-columns: 1fr; }
}


/* =================================================================
   Промо-баннеры ЛК — полоса над «Добрый вечер…» (только Обзор)
   ================================================================= */

#nb-dashboard-wrapper {
    --nb-promo-min-h: clamp(200px, 18vw, 260px);
    --nb-promo-media-min: clamp(200px, 18vw, 260px);
}

#nb-dashboard-wrapper .nb-promo-strip {
    margin-bottom: 28px;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}

#nb-dashboard-wrapper .nb-promo-strip-card.nb-news-glass {
    margin-bottom: 0;
}

#nb-dashboard-wrapper .nb-promo-strip.nb-overview-hidden {
    display: none !important;
}

#nb-dashboard-wrapper .nb-promo-strip-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--nb-radius, 24px);
    min-height: var(--nb-promo-min-h);
    width: 100%;
}

#nb-dashboard-wrapper .nb-promo-strip-card.nb-news-glass .nb-news-glass-shine {
    height: 100%;
    background:
        radial-gradient(ellipse 100% 120% at 8% 30%, rgba(255, 215, 0, 0.11), transparent 52%),
        radial-gradient(ellipse 90% 100% at 92% 60%, rgba(120, 80, 200, 0.07), transparent 58%);
    opacity: 1;
}

#nb-dashboard-wrapper .nb-promo-progress {
    position: absolute;
    top: 14px;
    left: 22px;
    right: 22px;
    z-index: 6;
    display: flex;
    gap: 5px;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-promo-progress-seg {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

#nb-dashboard-wrapper .nb-promo-progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffd700, #ffb300);
}

#nb-dashboard-wrapper .nb-promo-progress-seg.is-done .nb-promo-progress-fill {
    width: 100%;
    animation: none;
}

#nb-dashboard-wrapper .nb-promo-progress-seg.is-active .nb-promo-progress-fill {
    animation: nb-promo-frame-fill var(--nb-promo-frame-ms, 8s) linear forwards;
}

@keyframes nb-promo-frame-fill {
    from { width: 0%; }
    to { width: 100%; }
}

#nb-dashboard-wrapper .nb-promo-slides {
    position: relative;
    min-height: var(--nb-promo-min-h);
    width: 100%;
}

#nb-dashboard-wrapper .nb-promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.85s;
}

#nb-dashboard-wrapper .nb-promo-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
    z-index: 1;
}

#nb-dashboard-wrapper .nb-promo-slide-inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: var(--nb-promo-min-h);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#nb-dashboard-wrapper .nb-promo-slide--split .nb-promo-slide-inner::after {
    display: none;
}

#nb-dashboard-wrapper .nb-promo-slide--no-image .nb-promo-slide-copy {
    max-width: 56ch;
    padding: 32px 36px 28px;
}

#nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-inner {
    display: block;
    padding: 0;
    min-height: var(--nb-promo-min-h);
    max-height: var(--nb-promo-min-h);
    aspect-ratio: unset;
    background: transparent;
}

#nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-inner::after {
    display: none;
}

#nb-dashboard-wrapper .nb-promo-slide-copy {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    max-width: min(56ch, 50%);
    min-height: var(--nb-promo-min-h);
    padding: 26px 24px 24px 30px;
    box-sizing: border-box;
}

#nb-dashboard-wrapper .nb-promo-slide--no-image .nb-promo-slide-copy {
    max-width: 56ch;
    min-height: auto;
}

#nb-dashboard-wrapper .nb-promo-slide-title {
    margin: 0;
    font-family: var(--cin-font-head, 'Clash Display', sans-serif);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

#nb-dashboard-wrapper .nb-promo-slide-sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    max-width: 52ch;
}

#nb-dashboard-wrapper .nb-promo-platform-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 2px 0 4px;
    padding: 0;
    list-style: none;
}

#nb-dashboard-wrapper .nb-promo-platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 4px 14px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#nb-dashboard-wrapper .nb-promo-platform-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

#nb-dashboard-wrapper .nb-promo-platform-icon-img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#nb-dashboard-wrapper .nb-promo-slide[data-cta-tab]:not([data-cta-tab="none"]) .nb-promo-platform-icon:hover,
#nb-dashboard-wrapper .nb-promo-slide[data-cta-url]:not([data-cta-url=""]) .nb-promo-platform-icon:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.35);
}

#nb-dashboard-wrapper .nb-promo-slide-cta {
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    font-family: inherit;
    color: #111;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
}

#nb-dashboard-wrapper .nb-promo-strip-card--carousel {
    cursor: pointer;
}

#nb-dashboard-wrapper .nb-promo-strip-card--carousel .nb-promo-slide-cta {
    cursor: pointer;
    position: relative;
    z-index: 6;
}

#nb-dashboard-wrapper .nb-promo-slide[data-cta-tab="none"]:not([data-cta-url]) {
    cursor: inherit;
}

#nb-dashboard-wrapper .nb-promo-slide-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: visible;
    margin: 0;
    width: min(56%, 580px);
    min-height: var(--nb-promo-media-min);
    height: 100%;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

#nb-dashboard-wrapper .nb-promo-slide-media::before,
#nb-dashboard-wrapper .nb-promo-slide-media::after {
    display: none;
}

#nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-media {
    position: absolute;
    inset: 0;
    margin: 0;
    width: 100%;
    min-height: 100%;
    border-left: none;
    border-radius: inherit;
}

#nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-media::before {
    display: none;
}

#nb-dashboard-wrapper .nb-promo-slide-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: var(--nb-promo-media-min);
    object-fit: contain;
    object-position: center right;
    display: block;
    border: none !important;
    outline: none;
    box-shadow: none;
    background: transparent !important;
    padding: 8px 16px 8px 0;
    box-sizing: border-box;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.45));
}

#nb-dashboard-wrapper .nb-promo-slide--split .nb-promo-slide-media {
    width: min(58%, 600px);
    right: -4px;
}

#nb-dashboard-wrapper .nb-promo-slide--split .nb-promo-slide-media img {
    width: 108%;
    max-width: none;
    margin-left: -8%;
    object-fit: contain;
    object-position: right center;
    padding: 6px 12px 6px 0;
    max-height: 100%;
}

#nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-media img {
    min-height: 100%;
    height: 100%;
}

#nb-dashboard-wrapper .nb-promo-slide-media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}

#nb-dashboard-wrapper .nb-promo-slide-media--placeholder .material-symbols-outlined {
    font-size: 48px;
    color: var(--nb-primary, #ffd700);
    opacity: 0.7;
}

#nb-dashboard-wrapper .nb-promo-strip-card--empty {
    padding: 24px 28px;
    text-align: center;
    min-height: auto;
}

#nb-dashboard-wrapper .nb-promo-placeholder-text {
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

#nb-dashboard-wrapper .nb-promo-placeholder-link {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: #111;
    background: linear-gradient(135deg, #ffd700, #ffb300);
}

#nb-dashboard-wrapper .nb-promo-placeholder-note {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 900px) {
    #nb-dashboard-wrapper .nb-promo-strip-card,
    #nb-dashboard-wrapper .nb-promo-slides {
        min-height: auto;
    }
    #nb-dashboard-wrapper .nb-promo-slide-inner {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    #nb-dashboard-wrapper .nb-promo-slide-copy {
        max-width: none;
        min-height: auto;
        padding: 20px 20px 18px;
        order: 2;
    }
    #nb-dashboard-wrapper .nb-promo-slide--no-image .nb-promo-slide-copy {
        padding: 24px 20px 22px;
        order: 0;
    }
    #nb-dashboard-wrapper {
        --nb-promo-min-h: 280px;
        --nb-promo-media-min: 240px;
    }
    #nb-dashboard-wrapper .nb-promo-slide-media {
        position: relative;
        width: 100%;
        order: 1;
        min-height: 240px;
        max-height: 300px;
        box-shadow: none;
    }
    #nb-dashboard-wrapper .nb-promo-slide--split .nb-promo-slide-media {
        width: 100%;
    }
    #nb-dashboard-wrapper .nb-promo-slide-media img {
        min-height: 240px;
        padding: 8px 12px;
        object-position: center center;
    }
    #nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-inner {
        aspect-ratio: 16 / 10;
        min-height: 260px;
        max-height: none;
    }
    #nb-dashboard-wrapper .nb-promo-slide--media-only .nb-promo-slide-media {
        position: absolute;
        inset: 0;
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-promo-slide {
        transition: opacity 0.35s ease;
    }
}


/* NB SUPPORT — группа вкладок + хаб (glass/gold как Услуги) */
#nb-dashboard-wrapper .nb-nav-group--support {
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.07) 0%, rgba(8, 6, 4, 0.42) 100%);
    overflow: hidden;
}
#nb-dashboard-wrapper .nb-nav-group--support.is-open {
    animation: nb-featured-nav-shimmer 2.8s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-nav-link--support-parent.active {
    background: rgba(255, 215, 0, 0.12) !important;
}
#nb-dashboard-wrapper .nb-nav-support-toggle {
    flex-shrink: 0;
    width: 36px;
    border: none;
    border-left: 1px solid rgba(255, 215, 0, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nb-dashboard-wrapper .nb-nav-support-toggle:hover {
    color: var(--cin-accent, #FFD700);
    background: rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-nav-group--support.is-open .nb-nav-support-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}
#nb-dashboard-wrapper .nb-nav-support-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}
#nb-dashboard-wrapper .nb-nav-group--support .nb-nav-link--sub.active {
    border-color: rgba(255, 215, 0, 0.42) !important;
    background: rgba(255, 215, 0, 0.1) !important;
}
#nb-dashboard-wrapper .nb-nav-link--support-parent {
    border: none;
    background: transparent;
}
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-group--support .nb-nav-sub,
body.nb-menu-collapsed #nb-dashboard-wrapper .nb-nav-support-toggle {
    display: none !important;
}
#nb-dashboard-wrapper .nb-support-tab-layout {
    max-width: min(100%, 1360px);
    margin: 0 auto;
    padding: 0 8px 48px;
}
#nb-dashboard-wrapper .nb-support-hub-hero .nb-dash-hero__title span {
    background: linear-gradient(135deg, #ffe08a, #ffd54f 40%, #ffd700 75%, #fff6cc);
    background-size: 200% auto;
}
#nb-dashboard-wrapper .nb-support-hub-hero .nb-dash-hero__eyebrow {
    color: rgba(255, 236, 179, 0.95);
    border-color: rgba(255, 215, 0, 0.28);
    background: rgba(255, 215, 0, 0.1);
}
#nb-dashboard-wrapper .nb-support-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
#nb-dashboard-wrapper .nb-support-hub-card {
    --nb-suh-line: rgba(255, 215, 120, 0.16);
    --nb-suh-card: rgba(16, 12, 6, 0.78);
    --nb-suh-muted: rgba(255, 240, 200, 0.55);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    height: 100%;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--nb-suh-line);
    background: var(--nb-suh-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
#nb-dashboard-wrapper .nb-support-hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.32);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
}
#nb-dashboard-wrapper .nb-support-hub-card__sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 230, 150, 0.07) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: nb-suh-card-sheen 9s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-support-hub-card__glow {
    position: absolute;
    right: -18%;
    bottom: -36%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    filter: blur(22px);
    background: radial-gradient(circle at 40% 40%, #ffe36a 0%, #ffd700 38%, rgba(255, 140, 40, 0.55) 70%, transparent 78%);
    transform-origin: 40% 40%;
    will-change: transform, opacity;
    animation: nb-suh-glow-drift 7.5s ease-in-out infinite;
}
#nb-dashboard-wrapper .nb-support-hub-card:nth-child(2n) .nb-support-hub-card__glow {
    animation-delay: -1.8s;
    animation-duration: 8.2s;
}
#nb-dashboard-wrapper .nb-support-hub-card:nth-child(2n) .nb-support-hub-card__sheen {
    animation-delay: -2.5s;
}
#nb-dashboard-wrapper .nb-support-hub-card:hover .nb-support-hub-card__glow {
    animation-duration: 4.2s;
    filter: blur(18px);
}
#nb-dashboard-wrapper .nb-support-hub-card:hover .nb-support-hub-card__sheen {
    opacity: 0.85;
    animation-duration: 4.5s;
}
@keyframes nb-suh-glow-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
    25% { transform: translate3d(-22px, -18px, 0) scale(1.12); opacity: 0.36; }
    50% { transform: translate3d(-38px, -8px, 0) scale(1.05); opacity: 0.24; }
    75% { transform: translate3d(-12px, -28px, 0) scale(1.18); opacity: 0.4; }
    100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.18; }
}
@keyframes nb-suh-card-sheen {
    0% { background-position: 120% 0; }
    45% { background-position: -20% 0; }
    100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
    #nb-dashboard-wrapper .nb-support-hub-card__sheen,
    #nb-dashboard-wrapper .nb-support-hub-card__glow {
        animation: none !important;
    }
    #nb-dashboard-wrapper .nb-support-hub-card__glow { opacity: 0.2; }
}
#nb-dashboard-wrapper .nb-support-hub-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    width: 100%;
}
#nb-dashboard-wrapper .nb-support-hub-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
#nb-dashboard-wrapper .nb-support-hub-card__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 230, 140, 0.22), rgba(80, 55, 10, 0.35));
    border: 1px solid rgba(255, 215, 120, 0.22);
    color: #ffe789;
    box-shadow: none;
}
#nb-dashboard-wrapper .nb-support-hub-card__icon .material-symbols-outlined {
    font-size: 26px !important;
    color: #ffe789;
}
#nb-dashboard-wrapper .nb-support-hub-card__badge {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 236, 170, 0.88);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 120, 0.18);
    white-space: nowrap;
}
#nb-dashboard-wrapper .nb-support-hub-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}
#nb-dashboard-wrapper .nb-support-hub-card__title,
#nb-dashboard-wrapper .nb-support-hub-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
#nb-dashboard-wrapper .nb-support-hub-card__desc,
#nb-dashboard-wrapper .nb-support-hub-card p {
    margin: 0;
    flex: 1;
    font-size: 12px;
    line-height: 1.45;
    color: var(--nb-suh-muted);
}
#nb-dashboard-wrapper .nb-support-hub-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 2px;
}
#nb-dashboard-wrapper .nb-support-hub-card__cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cin-accent, #FFD700);
}
@media (max-width: 900px) {
    #nb-dashboard-wrapper .nb-support-hub-grid { grid-template-columns: 1fr; }
}

