body:has(#sidebar)[data-workspace-theme="vice-city"] {
  color-scheme: dark;
  --vice-bg: #08071a;
  --vice-bg-alt: #0e0b24;
  --vice-deep: #130a32;
  --vice-surface: #15112e;
  --vice-raised: #21183f;
  --vice-border: #30264d;
  --vice-pink: #ff2fa8;
  --vice-pink-hover: #d91eff;
  --vice-cyan: #25d9f7;
  --vice-violet: #8b5cf6;
  --vice-orange: #ff9c43;
  --vice-text: #f7f4ff;
  --vice-secondary: #b6b2d0;
  --vice-muted: #85809f;
  --vice-green: #45e0b3;
  --cnp-workspace-bg: var(--vice-bg);
  --cnp-workspace-surface: var(--vice-surface);
  --cnp-workspace-surface-raised: var(--vice-raised);
  --cnp-workspace-border: var(--vice-border);
  --cnp-workspace-accent: var(--vice-pink);
  --cnp-workspace-shadow: 0 16px 42px rgba(0, 0, 0, .34);
  --bg-main: var(--vice-bg);
  --surface: var(--vice-surface);
  --surface-2: var(--vice-raised);
  --surface-3: var(--vice-deep);
  --border: var(--vice-border);
  --border-h: var(--vice-cyan);
  --primary: var(--vice-pink);
  --primary-light: #ff7ec7;
  --primary-dark: var(--vice-pink-hover);
  --primary-hover: var(--vice-pink-hover);
  --grad: linear-gradient(120deg, var(--vice-pink), var(--vice-pink-hover));
  --sidebar-bg: #0a091d;
  --sidebar-text: var(--vice-text);
  --sidebar-muted: var(--vice-secondary);
  --neon: var(--vice-cyan);
  --neon2: var(--vice-violet);
  --green: var(--vice-green);
  --success: var(--vice-green);
  --red: #ff5577;
  --error: #ff5577;
  --warning: #ffb547;
  --amber: var(--vice-orange);
  --text: var(--vice-text);
  --text-secondary: var(--vice-secondary);
  --text-body: var(--vice-secondary);
  --muted: var(--vice-muted);
  --muted2: #77738f;
  --font-primary: "Space Grotesk", sans-serif;
  --font-condensed: "Rajdhani", sans-serif;
  --vice-display: "Orbitron", sans-serif;
  --cnp-focus-ring: var(--vice-cyan);
  font-family: var(--font-primary);
  background:
    radial-gradient(ellipse at 82% -8%, rgba(139, 92, 246, .18), transparent 36rem),
    radial-gradient(ellipse at 3% 35%, rgba(255, 47, 168, .075), transparent 28rem),
    var(--vice-bg);
  color: var(--vice-text);
}

body:has(#sidebar)[data-workspace-theme="vice-city"] :is(h1, h2, h3, h4, h5, h6, .page-title, .section-title, .section-heading) {
  color: var(--vice-text);
  font-family: var(--font-condensed);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.page-title, #page-dashboard .dashboard-section-heading h2, #page-profile .profile-card h2) {
  font-family: var(--vice-display);
  letter-spacing: .015em;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(a, .pf-links a) { color: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(a:hover, .pf-links a:hover) { color: #a4f5ff; }
body:has(#sidebar)[data-workspace-theme="vice-city"] ::selection { background: rgba(255, 47, 168, .38); color: #fff; }

body:has(#sidebar)[data-workspace-theme="vice-city"] .sidebar {
  border-right: 1px solid var(--vice-border);
  background: linear-gradient(180deg, #0b0920, #100b27 60%, #0a091d);
  box-shadow: 8px 0 32px rgba(0, 0, 0, .28);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .sidebar-nav .nav-section { color: #8f88ad; }
body:has(#sidebar)[data-workspace-theme="vice-city"] .nav-btn {
  border-color: transparent;
  color: #b6b2d0;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .nav-btn:hover {
  border-color: rgba(37, 217, 247, .18);
  background: rgba(37, 217, 247, .07);
  color: var(--vice-text);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .nav-btn.active {
  border-color: rgba(255, 47, 168, .28);
  background: linear-gradient(100deg, rgba(255, 47, 168, .2), rgba(139, 92, 246, .12));
  box-shadow: inset 3px 0 var(--vice-pink), 0 8px 24px rgba(255, 47, 168, .08);
  color: #fff;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .nav-btn.active i { color: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .sidebar-brand,
body:has(#sidebar)[data-workspace-theme="vice-city"] .sidebar-user .user-card { border-color: rgba(48, 38, 77, .85); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .main-header {
  border-bottom: 1px solid rgba(48, 38, 77, .9);
  background: rgba(14, 11, 36, .86);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .main-header :is(button, .header-insight, .settings-shortcut-button) {
  border-color: var(--vice-border);
  background-color: rgba(33, 24, 63, .82);
  color: var(--vice-secondary);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .main-header :is(button:hover, .settings-shortcut-button:hover) {
  border-color: var(--vice-cyan);
  background-color: rgba(37, 217, 247, .09);
  color: var(--vice-text);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .mobile-menu {
  border-color: var(--vice-border);
  background: #0e0b24;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .mobile-menu-item { color: var(--vice-secondary); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .mobile-menu-item:hover,
body:has(#sidebar)[data-workspace-theme="vice-city"] .mobile-menu-item.active {
  background: rgba(255, 47, 168, .14);
  color: #fff;
}

body:has(#sidebar)[data-workspace-theme="vice-city"] :is(
  .glass-card, .stat-box, .chart-container, .project-card, .profile-card,
  .profile-form-box, .event-card, .exam-card, .req-card, .app-row, .lp-step,
  .budget-filter-section, .sub-info-strip, .pf-card, .pf-post, .pf-discovery,
  .pf-recent-panel, .pf-recent-entry, .pf-review-result, .dashboard-progress-panel,
  .dashboard-progress-item, .dashboard-activity-stat, .dashboard-developer-card,
  .dashboard-premium-banner, .workspace-settings-section, .workspace-settings-option-card,
  .workspace-settings-share-card, .workspace-theme-section, .workspace-theme-option,
  .workspace-settings-profile-editor, .profile-hero-card
) {
  border-color: var(--vice-border);
  background-color: var(--vice-surface);
  color: var(--vice-text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(
  .dashboard-progress-panel, .dashboard-progress-item, .dashboard-activity-stat,
  .dashboard-developer-card, .workspace-settings-option-card, .workspace-settings-share-card
) { background: linear-gradient(145deg, var(--vice-surface), var(--vice-bg-alt)); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.glass-card, .project-card, .event-card, .pf-card, .pf-post):hover {
  border-color: rgba(37, 217, 247, .45);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .3), 0 0 18px rgba(37, 217, 247, .06);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.page-sub, .pf-hint, .pf-muted-card, .dashboard-stat-caption, .dashboard-progress-note) {
  color: var(--vice-secondary);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.page-title i, .workspace-theme-heading-icon, .dashboard-stat-icon, .dashboard-progress-icon) {
  border-color: rgba(37, 217, 247, .24);
  background: rgba(37, 217, 247, .09);
  color: var(--vice-cyan);
}

body:has(#sidebar)[data-workspace-theme="vice-city"] :is(
  button, .btn, .pf-tab, .filter-chip, .lang-btn, .pf-reset, .pf-btn-ghost,
  .btn-secondary, .btn-outline, .btn-copy, .dashboard-section-link,
  .workspace-settings-tab, .workspace-settings-action, .profile-editor-tab,
  .profile-hero-share-button
) {
  font-family: var(--font-condensed);
  font-weight: 700;
  letter-spacing: .035em;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.btn-primary, .btn-accept, .btn-submit, .post-publish-btn, .pf-tab.active) {
  border-color: transparent;
  background: linear-gradient(115deg, var(--vice-pink), var(--vice-pink-hover));
  color: #fff;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.btn-primary, .btn-accept, .btn-submit, .post-publish-btn) * { color: #fff; }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.btn-primary, .btn-accept, .btn-submit, .post-publish-btn, .pf-tab.active):hover {
  box-shadow: 0 0 20px rgba(255, 47, 168, .24);
  filter: brightness(1.08);
  transform: translateY(-1px);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(
  .btn-secondary, .btn-outline, .btn-copy, .btn-add-skill, .filter-chip,
  .lang-btn, .pf-btn-ghost, .pf-reset, .dashboard-section-link,
  .dashboard-developer-profile, .dashboard-developer-connect, .dashboard-freeze-button,
  .workspace-settings-tab, .workspace-settings-action, .profile-editor-tab
) {
  border-color: var(--vice-border);
  background: var(--vice-raised);
  color: var(--vice-secondary);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(
  .btn-secondary:hover, .btn-outline:hover, .btn-copy:hover, .btn-add-skill:hover,
  .filter-chip:hover, .lang-btn:hover, .pf-btn-ghost:hover, .pf-reset:hover,
  .dashboard-section-link:hover, .dashboard-developer-profile:hover,
  .dashboard-developer-connect:hover, .workspace-settings-tab:hover,
  .workspace-settings-action:hover, .profile-editor-tab:hover
) {
  border-color: var(--vice-cyan);
  background: rgba(37, 217, 247, .1);
  color: var(--vice-text);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-tab.active, .filter-chip.active, .pf-btn-ghost.on, [aria-pressed="true"]) {
  border-color: var(--vice-pink);
  background: rgba(255, 47, 168, .16);
  color: #fff;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(button, a, input, select, textarea):focus-visible {
  outline-color: var(--vice-cyan);
  box-shadow: 0 0 0 3px rgba(37, 217, 247, .2);
}

body:has(#sidebar)[data-workspace-theme="vice-city"] .page :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  textarea, select, .pf-discovery-search
) {
  border-color: var(--vice-border);
  background-color: var(--vice-bg-alt);
  color: var(--vice-text);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .page :is(input, textarea, select)::placeholder {
  color: var(--vice-muted);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .page :is(input, textarea, select):focus {
  border-color: var(--vice-cyan);
  box-shadow: 0 0 0 3px rgba(37, 217, 247, .12);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: var(--vice-pink);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-tabs, .connect-tabs, .profile-editor-tabs, .workspace-settings-navigation) {
  border-color: var(--vice-border);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-tab.active, .connect-tabs .active, .profile-editor-tab.is-active, .workspace-settings-tab.is-active) {
  border-color: var(--vice-pink);
  background: linear-gradient(120deg, rgba(255, 47, 168, .2), rgba(139, 92, 246, .17));
  color: #fff;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-pill, .pf-chip, .badge, .status-badge, .dashboard-course-level, .dashboard-premium-mark) {
  border-color: rgba(139, 92, 246, .32);
  background-color: rgba(139, 92, 246, .13);
  color: #d8c6ff;
}
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-ok, .status-completed, .is-complete) { border-color: rgba(69, 224, 179, .3); background: rgba(69, 224, 179, .12); color: var(--vice-green); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-warn, .status-pending, .is-pending) { border-color: rgba(255, 156, 67, .3); background: rgba(255, 156, 67, .12); color: var(--vice-orange); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.pf-bad, .status-error, .is-error) { border-color: rgba(255, 85, 119, .3); background: rgba(255, 85, 119, .12); color: #ff829b; }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(progress, .progress, .progress-bar, .dashboard-progress-track, .dashboard-course-progress) { accent-color: var(--vice-pink); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.progress-track, .dashboard-progress-track, .dashboard-course-progress-track) { background-color: #30264d; }

body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.modal-content, .notification-popover, .pc-dropdown, .profile-modal, .referral-modal) {
  border-color: var(--vice-border);
  background: linear-gradient(145deg, rgba(21, 17, 46, .98), rgba(14, 11, 36, .98));
  color: var(--vice-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48), 0 0 28px rgba(139, 92, 246, .08);
  backdrop-filter: blur(18px);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .modal-overlay { background: rgba(5, 4, 17, .78); backdrop-filter: blur(8px); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.modal-content h1, .modal-content h2, .notification-header h2) { font-family: var(--vice-display); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.notification-header, .notification-toolbar, .notification-filters, .notification-list, .notification-item) { border-color: var(--vice-border); }
body:has(#sidebar)[data-workspace-theme="vice-city"] :is(.notification-filters button[aria-pressed="true"], .notification-item.is-unread) {
  border-color: rgba(37, 217, 247, .24);
  background: rgba(37, 217, 247, .08);
  color: var(--vice-text);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .notification-avatar { background: var(--vice-raised); color: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .notification-unread-dot { background: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .toast {
  border-color: rgba(37, 217, 247, .36);
  background: rgba(14, 11, 36, .96);
  color: var(--vice-text);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .4), 0 0 20px rgba(37, 217, 247, .08);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .workspace-theme-section { border-color: var(--vice-border); }
body:has(#sidebar)[data-workspace-theme="vice-city"] .workspace-theme-option:has(input:checked) {
  border-color: var(--vice-pink);
  box-shadow: 0 0 0 2px rgba(255, 47, 168, .18);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .theme-preview-vice {
  border-color: rgba(37, 217, 247, .42);
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 47, 168, .44), transparent 44%),
    linear-gradient(140deg, #08071a, #21183f);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .theme-preview-vice .theme-preview-sidebar { background: #0e0b24; }
body:has(#sidebar)[data-workspace-theme="vice-city"] .theme-preview-vice .theme-preview-content i { border-color: rgba(37, 217, 247, .23); background: #15112e; }
body:has(#sidebar)[data-workspace-theme="vice-city"] .theme-preview-vice .theme-preview-accent { background: var(--vice-pink); box-shadow: 0 0 12px rgba(255, 47, 168, .55); }

body:has(#sidebar)[data-workspace-theme="vice-city"] #page-dashboard :is(.dashboard-kicker, .dashboard-progress-value, .dashboard-progress-icon) { color: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] #page-dashboard .dashboard-premium-banner {
  border-color: rgba(255, 156, 67, .26);
  background: linear-gradient(110deg, rgba(255, 156, 67, .1), rgba(21, 17, 46, .96) 68%);
}
body:has(#sidebar)[data-workspace-theme="vice-city"] .project-vice-hero :is(h1, h2, .vice-countdown strong) { font-family: var(--vice-display); }
body:has(#sidebar)[data-workspace-theme="vice-city"] ::-webkit-scrollbar { width: 9px; height: 9px; }
body:has(#sidebar)[data-workspace-theme="vice-city"] ::-webkit-scrollbar-track { background: var(--vice-bg); }
body:has(#sidebar)[data-workspace-theme="vice-city"] ::-webkit-scrollbar-thumb {
  border: 2px solid var(--vice-bg);
  border-radius: 999px;
  background: linear-gradient(var(--vice-pink), var(--vice-violet));
}
body:has(#sidebar)[data-workspace-theme="vice-city"] ::-webkit-scrollbar-thumb:hover { background: var(--vice-cyan); }
body:has(#sidebar)[data-workspace-theme="vice-city"] * { scrollbar-color: var(--vice-violet) var(--vice-bg); }

.theme-preview-vice { border-color: rgba(37, 217, 247, .42);background:radial-gradient(ellipse at 80% 10%,rgba(255,47,168,.44),transparent 44%),linear-gradient(140deg,#08071a,#21183f); }
.theme-preview-vice .theme-preview-sidebar { background:#0e0b24; }
.theme-preview-vice .theme-preview-content i { border-color:rgba(37,217,247,.23);background:#15112e; }
.theme-preview-vice .theme-preview-accent { background:#ff2fa8;box-shadow:0 0 12px rgba(255,47,168,.55); }

@media (max-width: 760px) {
  body:has(#sidebar)[data-workspace-theme="vice-city"] .workspace-theme-options { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body:has(#sidebar)[data-workspace-theme="vice-city"] *,
  body:has(#sidebar)[data-workspace-theme="vice-city"] *::before,
  body:has(#sidebar)[data-workspace-theme="vice-city"] *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
