:root {
  --bg: #0d101c; --bg-deep: #090c16; --sidebar: #0b0e19;
  --surface: #151a2a; --surface-2: #1b2135; --surface-3: #111625;
  --line: #ffffff0d; --line-strong: #ffffff1a;
  --text: #f1f2fa; --muted: #9299af; --violet: #8c6af5;
  --shadow: 0 10px 24px #00000012;
}
html { scroll-behavior: smooth; background: var(--bg); }
body { grid-template-columns: 238px minmax(0,1fr); background: var(--bg); font-size: 13px; }
body::after { display: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #b6a1ff; outline-offset: 4px; }
[hidden] { display: none !important; }
main { min-width: 0; overflow: clip; }
.sidebar { width: 238px; min-height: 0; height: 100dvh; border-right: 1px solid #ffffff08; background: #0b0e19; padding: 0; }
.brand { height: 94px; flex-basis: 94px; gap: 11px; padding: 22px; border: 0; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 5px; }
.brand strong { font-size: 23px; letter-spacing: -.8px; line-height: 1; }
.brand small { color: #787f98; font-size: 7px; font-weight: 650; letter-spacing: 2px; }
.studio-brand-icon { width: 39px; height: 43px; display: grid; place-items: center; border: 1px solid #b59cff2b; border-radius: 12px; background: linear-gradient(145deg,#7962c341,#1b2338); color: #d7caff; }
.studio-brand-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.studio-brand-icon svg rect:nth-of-type(2) { fill: #8270ba55; }
#navigation { padding: 0 14px 16px; gap: 3px; }
.nav-title { margin: 21px 12px 8px; color: #596278; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
#navigation button { min-height: 35px; gap: 10px; padding: 8px 12px; border-radius: 7px; font-size: 11px; color: #949bb0; }
#navigation button svg { color: #777f99 !important; width: 15px; height: 15px; flex-basis: 15px; }
#navigation button.active { color: #d4c7ff; background: #8a64ef19; border: 1px solid #9574f029; box-shadow: none; }
#navigation button.active svg { color: #ac8ffb !important; }
#navigation button em { color: #c5afff; background: #9a77ff17; font-size: 6px; padding: 3px 4px; margin-left: auto; }
#navigation button:hover { background: #ffffff06; border-color: #ffffff06; color: #e5e5f3; }
.sidebar footer { min-height: 76px; padding: 16px 24px; gap: 10px; border-top: 1px solid #ffffff09; background: transparent; }
.sidebar footer > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.sidebar footer strong { color: #c3c7d7; font-weight: 550; font-size: 10px; }
.sidebar footer small { color: #626b84; font-size: 9px; }
.sidebar-preview-dot, .preview-label > span { width: 6px; height: 6px; border-radius: 50%; background: #ad91ff; box-shadow: 0 0 12px #ad91ff30; flex-shrink: 0; }
.topbar { height: 65px; min-height: 65px; margin: 0; padding: 0 36px; border-bottom: 1px solid #ffffff09; background: #0d101c; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-label { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #b7b8cf; white-space: nowrap; }
.preview-label small { color: #656e87; margin-left: 4px; font-size: 10px; }
.header-badges { margin-left: auto; gap: 7px; }
.header-icon { width: 29px; height: 29px; padding: 6px; border-color: #ffffff09; background: #ffffff03; color: #8d95ab; border-radius: 8px; }
.header-icon svg { width: 15px; height: 15px; }
.header-badges .pill { min-height: 25px; padding: 5px 10px; font-size: 8px; color: #9da4b9; background: transparent; border-color: #ffffff0c; }
.header-badges .pill.accent { background: #8b66ef12; color: #ac94e5; border-color: #8b66ef1a; }
.workspace { max-width: 1640px; padding: 28px 36px 60px; margin: 0 auto; min-width: 0; }
.page-heading { margin-bottom: 25px; }
.breadcrumb { display: flex; gap: 7px; align-items: center; color: #666f89; font-size: 9px; }
.breadcrumb-preview { margin-left: auto; border: 1px solid #b49aea20; border-radius: 4px; padding: 3px 6px; font-size: 7px; letter-spacing: 1px; color: #a08bbd; }
.page-heading h1 { font-size: 27px; letter-spacing: -.8px; margin: 15px 0 7px; }
#pageTitle:focus { outline: none; }
.page-heading p { color: #7b859e; font-size: 11px; }
.studio-gallery-page { margin-bottom: 24px; }
.studio-gallery-page h1, .studio-gallery-page > p { display: none; }
.modules-intro { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 27px; }
.studio-eyebrow { color: #8c7bba; font-size: 8px; font-weight: 700; letter-spacing: 1.8px; }
.modules-intro h2 { font-size: clamp(23px,2vw,31px); letter-spacing: -1px; line-height: 1.2; font-weight: 650; margin: 10px 0 10px; }
.modules-intro h2 > span { color: #a88bff; }
.modules-intro p { color: #8c94aa; font-size: 11px; margin: 0; }
.studio-version { display: flex; gap: 8px; align-items: center; color: #626b81; font-size: 8px; letter-spacing: 1px; }
.studio-version b { color: #a7aec2; font-weight: 500; letter-spacing: 0; background: #ffffff05; padding: 5px 8px; border: 1px solid #ffffff09; border-radius: 5px; }
.studio-hero { position: relative; overflow: hidden; min-height: 294px; border: 1px solid #7b6aa12b; border-radius: 15px; background: #090f26; margin-bottom: 36px; box-shadow: 0 20px 55px #05081522; isolation: isolate; }
.studio-hero::after { content: ''; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,#10142ef5 0%,#10142ee0 33%,#0d112100 65%); }
.studio-hero-image { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.studio-hero-copy { padding: 32px 36px 38px; position: relative; width: 57%; }
.hero-tag { color: #c3b0ed; display: inline-flex; align-items: center; gap: 8px; font-size: 7px; font-weight: 550; letter-spacing: 1.9px; }
.hero-tag::before { content: ''; width: 16px; height: 1px; background: #a991e8; }
.studio-hero h2 { font-size: clamp(27px,2.7vw,40px); letter-spacing: -1.3px; line-height: 1.13; margin: 17px 0 13px; font-weight: 650; color: #faf9ff; }
.studio-hero p { color: #a7a6c1; font-size: 11px; line-height: 1.8; margin: 0 0 23px; }
.studio-hero-actions { display: flex; align-items: center; gap: 12px; }
.studio-primary, .studio-quiet { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; border: 0; border-radius: 7px; padding: 11px 14px; font-size: 10px; font-weight: 550; box-shadow: none; }
.studio-primary { color: #fff; background: #8861e5; box-shadow: inset 0 1px 0 #ffffff25; }
.studio-primary:hover { background: #9974f3; }
.studio-quiet { background: #ffffff04; color: #b4afca; border: 1px solid #ffffff0e; }
.hero-caption { position: absolute; bottom: 16px; right: 21px; display: flex; align-items: center; gap: 7px; color: #b0a4d0; font-size: 7px; letter-spacing: .2px; }
.hero-caption > span { width: 4px; height: 4px; background: #b79aff; border-radius: 50%; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; scroll-margin-top: 25px; }
.gallery-heading h2 { font-size: 18px; font-weight: 600; letter-spacing: -.4px; margin: 0 0 7px; }
.gallery-heading p { color: #737e96; font-size: 10px; margin: 0; }
.module-search { display: flex; align-items: center; gap: 8px; min-width: 233px; padding: 10px 11px; background: #ffffff03; border: 1px solid #ffffff0e; border-radius: 8px; }
.module-search svg { width: 14px; height: 14px; color: #78819b; }
.module-search input { border: 0; width: 100%; min-width: 0; padding: 0; background: transparent; box-shadow: none; color: #d5daeb; font-size: 10px; }
.module-search input::placeholder { color: #727a92; }
.module-search kbd { color: #5c667e; border: 1px solid #ffffff0a; padding: 1px 4px; border-radius: 3px; font-size: 9px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 21px; padding-bottom: 16px; border-bottom: 1px solid #ffffff09; }
.module-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.module-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #7f89a1; box-shadow: none; font-size: 9px; font-weight: 500; }
.module-filters button[aria-pressed="true"] { color: #c7b4ff; background: #9170f015; border-color: #a07bee20; }
.module-filters button:hover { color: #d8d7e7; background: #ffffff05; }
.module-filters button span { color: #7e7899; font-size: 7px; }
#moduleCount { flex-shrink: 0; color: #58647d; font-size: 9px; }
.illustrated-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.illustrated-card { --module-accent: #a48cff; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #ffffff0b; border-radius: 12px; background: #121725; transition: transform .2s ease,border-color .2s ease, box-shadow .2s ease; }
.illustrated-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--module-accent) 36%,transparent); box-shadow: 0 12px 30px #00000025; }
.module-visual { height: 149px; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--module-accent) 13%,transparent),transparent 70%),linear-gradient(140deg,#ffffff02,#ffffff00); }
.module-visual::before { content: ''; position: absolute; width: 140px; height: 140px; left: calc(50% - 70px); top: 25px; background: radial-gradient(circle,color-mix(in srgb,var(--module-accent) 11%,transparent),transparent 70%); border-radius: 50%; }
.module-category { position: absolute; top: 13px; left: 15px; color: var(--module-accent); font-size: 7px; opacity: .8; letter-spacing: .45px; }
.module-favorite { position: absolute; top: 9px; right: 10px; z-index: 2; display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid transparent; background: transparent; color: #77809b; box-shadow: none; font-size: 20px; line-height: 1; border-radius: 7px; }
.module-favorite[aria-pressed="true"] { color: #f3ce86; }
.module-favorite:hover { color: #fff; border-color: #ffffff14; background: #ffffff07; }
.module-art { position: absolute; inset: 8px 8px -4px; display: flex; justify-content: center; align-items: center; }
.module-art > svg { width: 100%; height: 100%; max-width: 320px; stroke: none; fill: none; }
.module-orbit { position: absolute; width: 122px; height: 22px; left: calc(50% - 61px); bottom: 9px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--module-accent) 12%,transparent); pointer-events: none; }
.module-card-copy { padding: 17px 19px 0; border-top: 1px solid #ffffff04; }
.module-card-copy h3 { margin: 0 0 7px; font-size: 15px; font-weight: 600; letter-spacing: -.3px; color: #e9eaf6; }
.module-card-copy p { color: #8993aa; font-size: 10px; margin: 0 0 13px; line-height: 1.5; }
.module-card-copy small { display: block; color: #5c6982; font-size: 8px; line-height: 1.4; }
.module-open { display: flex; align-items: center; justify-content: space-between; margin-top: 19px; padding: 13px 0 14px; width: 100%; border: 0; border-top: 1px solid #ffffff08; border-radius: 0; background: transparent; box-shadow: none; color: #b9c0d4; font-size: 9px; font-weight: 500; }
.module-open::after { content: ''; position: absolute; inset: 39px 0 0; z-index: 1; }
.module-open > span { color: var(--module-accent); font-size: 15px; transition: transform .2s; }
.illustrated-card:hover .module-open > span { transform: translateX(3px); }
.gallery-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 24px 0; }
.gallery-bottom > span { display: flex; gap: 7px; align-items: center; color: #59657d; font-size: 9px; }
.gallery-bottom svg { width: 12px; height: 12px; }
.gallery-bottom button { background: transparent; border: 0; padding: 5px; color: #b29bdc; font-size: 9px; box-shadow: none; }
.preview-note { border-top: 1px solid #ffffff08; padding-top: 18px; text-align: center; font-size: 8px; color: #4f5b73; line-height: 1.7; }
.module-empty { text-align: center; padding: 55px 20px; border: 1px dashed #ffffff10; border-radius: 12px; color: #858ca2; }
.module-empty > svg { color: #a88ddf; width: 30px; height: 30px; }
.module-empty h3 { font-size: 16px; color: #c0c4d6; font-weight: 550; }
.module-empty p { margin-bottom: 20px; font-size: 11px; }
.module-page-hero { --module-accent: #a48cff; display: flex; justify-content: space-between; align-items: center; overflow: hidden; min-height: 193px; border: 1px solid #ffffff0c; border-radius: 13px; padding: 22px 29px; margin: 0 0 24px; background: radial-gradient(ellipse at 90% 80%,color-mix(in srgb,var(--module-accent) 10%,transparent),transparent 60%),#111626; }
.module-page-hero > div:first-child { max-width: 65%; }
.module-back { display: flex; align-items: center; gap: 7px; border: 0; padding: 0 0 20px; border-radius: 0; background: transparent; box-shadow: none; color: #737e97; font-size: 9px; }
.module-back:hover { color: #d0c2f7; }
.module-page-category { display: block; color: var(--module-accent); font-size: 7px; letter-spacing: 1.8px; opacity: .8; }
.module-page-hero h2 { color: #e6e9f5; font-size: 24px; font-weight: 550; letter-spacing: -.6px; margin: 11px 0; line-height: 1.3; }
.module-page-hero p { color: #6f7b95; font-size: 9px; }
.module-page-art { width: 260px; height: 158px; flex-shrink: 0; }
.module-page-art > svg { width: 100%; height: 100%; fill: none; stroke: none; }
.novaplay-mini-banner { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border: 1px solid #ad8bff17; border-radius: 9px; margin-bottom: 20px; background: #ad8bff08; color: #a18ac9; font-size: 8px; letter-spacing: 1px; }
.novaplay-mini-banner > span { display: flex; align-items: center; gap: 8px; }
.novaplay-mini-banner button { font-size: 9px; color: #ada0ca; border: 0; background: transparent; box-shadow: none; padding: 0; }
.panel, .kpi { border-color: #ffffff0b; background-color: #131928; box-shadow: none; }
.panel > h2 { font-weight: 550; }
input:not([type="checkbox"]):not([type="color"]), select, textarea { max-width: 100%; min-width: 0; }
.panel, .kpi, .stack, .service-card, .form-grid, .cloud-kpis > *, .service-grid > * { min-width: 0; }
.service-grid, .cloud-kpis { overflow-wrap: anywhere; }
.mobile-menu-button, .sidebar-backdrop { display: none; }
#toast { position: fixed; z-index: 100; bottom: 22px; top: auto; left: calc(50% + 119px); transform: translateX(-50%); max-width: min(620px,calc(100vw - 35px)); width: max-content; border-color: #9576e145; color: #d5c7f3; background: #252139; box-shadow: 0 8px 30px #0005; font-size: 11px; padding: 13px 18px; }
@media (min-width: 1600px) { .illustrated-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } .studio-hero { min-height: 335px; } }
@media (min-width: 1121px) and (max-width: 1280px) {
  body { grid-template-columns: 216px minmax(0,1fr); } .sidebar { width: 216px; } .workspace { padding: 25px; } .topbar { padding: 0 25px; }
  #navigation { padding-inline: 10px; } #navigation button { font-size: 10px; } .module-filters button { padding: 7px 8px; font-size: 8px; } .studio-hero-copy { padding-left: 28px; width: 60%; } .studio-hero-actions { gap: 8px; } .studio-quiet { padding: 10px; }
}
@media (max-width: 1120px) {
  body { display: block; } .sidebar { position: fixed; z-index: 70; left: 0; top: 0; width: 238px; height: 100dvh; display: flex; transform: translateX(-100%); transition: transform .2s ease; border-right: 1px solid #ffffff12; }
  .brand { height: 94px; flex-basis: 94px; } #navigation { display: flex; max-height: none; min-height: 0; flex: 1; overflow-y: auto; } .nav-title { display: block; }
  .studio-menu-open .sidebar { transform: translateX(0); } .studio-menu-open { overflow: hidden; }
  .sidebar-backdrop { position: fixed; z-index: 65; inset: 0; width: 100vw; height: 100dvh; border: 0; border-radius: 0; background: #0008; box-shadow: none; }
  .studio-menu-open .sidebar-backdrop { display: block; }
  .topbar { height: 60px; min-height: 60px; padding: 0 25px; position: sticky; top: 0; z-index: 40; background: #0d101cf5; }
  .mobile-menu-button { display: flex; align-items: center; justify-content: center; padding: 7px; border: 1px solid #ffffff10; border-radius: 7px; width: 32px; height: 32px; background: #ffffff04; box-shadow: none; }
  .mobile-menu-button svg { width: 16px; height: 16px; } .workspace { padding: 24px 25px 50px; }
  #toast { left: 50%; } .header-badges .pill { display: none; } .preview-label { margin-right: auto; }
}
@media (max-width: 780px) {
  .illustrated-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; } .studio-version { display: none; }
  .studio-hero { min-height: 270px; } .studio-hero-copy { width: 64%; padding: 27px; } .studio-hero h2 { font-size: 30px; }
  .studio-hero-actions { gap: 8px; flex-wrap: wrap; } .hero-caption { display: none; } .studio-quiet { padding: 8px; font-size: 9px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 17px; } .module-search { width: 100%; }
  .gallery-toolbar { align-items: flex-start; } .module-filters { gap: 4px; } .module-filters button { font-size: 9px; padding: 8px; }
  #moduleCount { padding-top: 9px; } .module-visual { height: 140px; } .module-card-copy { padding-inline: 15px; }
  .module-page-hero { padding: 20px; } .module-page-hero h2 { font-size: 21px; } .module-page-art { width: 190px; }
  .header-icon:nth-last-child(n+4) { display: none; }
  .gallery-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .workspace { padding: 20px 18px 40px; } .topbar { padding: 0 18px; gap: 10px; }
  .preview-label { font-size: 9px; gap: 7px; } .preview-label small { display: none; } .header-badges { gap: 5px; } .header-icon { width: 27px; height: 27px; }
  .modules-intro { margin: 20px 0 22px; } .studio-eyebrow { font-size: 6px; letter-spacing: 1.2px; } .modules-intro h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.7px; max-width: 300px; } .modules-intro p { font-size: 10px; line-height: 1.7; max-width: 300px; }
  .studio-gallery-page { margin-bottom: 14px; } .studio-hero { min-height: 385px; margin-bottom: 28px; border-radius: 12px; }
  .studio-hero-image { object-position: 68% 100%; height: 90%; top: 26%; width: 126%; max-width: none; left: -26%; }
  .studio-hero::after { background: linear-gradient(180deg,#10142e 0%,#10142eee 26%,#10142e1c 65%); }
  .studio-hero-copy { padding: 25px 23px; width: 100%; } .hero-tag { font-size: 6px; letter-spacing: 1.4px; } .studio-hero h2 { font-size: 29px; margin: 15px 0 10px; } .studio-hero p { font-size: 10px; margin-bottom: 18px; }
  .studio-hero-actions { gap: 10px; } .studio-primary { font-size: 9px; padding: 10px 12px; } .studio-quiet { background: #13172b88; font-size: 9px; }
  .gallery-heading h2 { font-size: 18px; } .gallery-heading p { font-size: 10px; line-height: 1.7; }
  .gallery-toolbar { gap: 4px; padding-bottom: 13px; margin-bottom: 15px; } .module-filters { gap: 3px; } .module-filters button { padding: 7px 8px; font-size: 8px; } #moduleCount { display: none; }
  .illustrated-grid { grid-template-columns: 1fr; gap: 16px; } .module-visual { height: 168px; } .module-category { font-size: 8px; } .module-card-copy { padding: 18px 21px 0; } .module-card-copy h3 { font-size: 17px; } .module-card-copy p { font-size: 11px; } .module-card-copy small { font-size: 9px; } .module-open { font-size: 10px; padding-block: 15px; }
  .module-page-hero { position: relative; min-height: 203px; padding: 22px; align-items: flex-start; } .module-page-hero > div:first-child { max-width: 100%; position: relative; z-index: 1; } .module-page-hero h2 { font-size: 21px; max-width: 230px; } .module-page-hero p { max-width: 220px; line-height: 1.8; } .module-page-art { position: absolute; bottom: -34px; right: -36px; width: 175px; opacity: .35; } .module-back { padding-bottom: 25px; }
  .page-heading h1 { font-size: 25px; } .page-heading p { line-height: 1.7; font-size: 10px; } .novaplay-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 7px; } .novaplay-tabs button { flex-shrink: 0; }
  .service-grid, .cloud-kpis, .resource-strip { grid-template-columns: minmax(0,1fr); } .cloud-kpis > *, .service-grid > * { overflow-wrap: anywhere; } .cloud-hero { flex-wrap: wrap; } .cloud-hero > * { min-width: 0; max-width: 100%; } .service-grid .service-card { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }

[data-accent="welcome"] { --module-accent: #67d8cc; }
[data-accent="moderation"] { --module-accent: #9e8bff; }
[data-accent="tickets"] { --module-accent: #ffb876; }
[data-accent="novaplay-overview"] { --module-accent: #c495ff; }
[data-accent="webradio"] { --module-accent: #ff94c2; }
[data-accent="social"] { --module-accent: #74bcff; }
[data-accent="roles"] { --module-accent: #8cb7ff; }
[data-accent="voice"] { --module-accent: #7be0c3; }
[data-accent="messagebot"] { --module-accent: #75ccff; }
[data-accent="moderation-ai"] { --module-accent: #e79dff; }
[data-accent="gemini"] { --module-accent: #8de2bd; }
[data-accent="openai"] { --module-accent: #8db7ff; }
[data-accent="database"] { --module-accent: #a6b9ff; }
[data-accent="extensions"] { --module-accent: #d7a5ff; }
[data-accent="commands"] { --module-accent: #71d9db; }
[data-accent="discord"] { --module-accent: #a3a5ff; }
[data-accent="backups"] { --module-accent: #edc080; }
[data-accent="updates"] { --module-accent: #8fc7ff; }
[data-accent="license"] { --module-accent: #e8c17e; }
[data-accent="diagnostic"] { --module-accent: #85d8c0; }
[data-accent="logs"] { --module-accent: #a4b7dc; }
[data-accent="cloud"] { --module-accent: #7bcaff; }

.sidebar { top: 0; margin: 0; border-radius: 0; border-width: 0 1px 0 0; box-shadow: none; }
.topbar { top: 0; border-radius: 0; border-width: 0 0 1px; box-shadow: none; }
