:root {
  color-scheme: dark;
  --bg: #071426;
  --bg-deep: #06101e;
  --sidebar: #061323;
  --surface: #0d1f36;
  --surface-2: #10253f;
  --surface-3: #09192c;
  --line: rgba(110, 142, 180, .19);
  --line-strong: rgba(121, 153, 191, .30);
  --text: #f3f6fc;
  --muted: #98a7ba;
  --subtle: #65768c;
  --violet: #7b42ef;
  --violet-light: #a275ff;
  --green: #2bd471;
  --blue: #3d9bff;
  --orange: #ffad25;
  --red: #ff4f61;
  --pink: #ef46ac;
  --cyan: #41c8ff;
  --shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% -15%, rgba(31, 86, 149, .16), transparent 38%),
    linear-gradient(145deg, #071426 0%, #08182c 48%, #071426 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
}
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px);
  background-size: 100% 4px;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sidebar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  width: 252px;
  height: 100vh;
  min-height: 640px;
  flex-direction: column;
  border-right: 1px solid rgba(109, 141, 178, .22);
  background:
    radial-gradient(circle at 18% 0, rgba(35, 83, 139, .18), transparent 30%),
    linear-gradient(180deg, rgba(5, 16, 30, .995), rgba(5, 16, 30, .975));
}
.brand {
  display: flex;
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  gap: 9px;
  padding: 7px 18px 6px 11px;
  border-bottom: 1px solid rgba(108, 135, 170, .14);
}
.brand-robot {
  display: block;
  width: 53px;
  height: 53px;
  flex: 0 0 53px;
  background-image: url("assets/interface-du-bot-tableau-de-bord.png");
  background-repeat: no-repeat;
  background-position: -10px -7px;
  background-size: 1536px 1024px;
}
.brand strong { color: #fbfcff; font-size: 21px; font-weight: 760; letter-spacing: -.035em; }

#navigation {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
  padding: 8px 13px 18px;
  scrollbar-color: rgba(124, 63, 242, .56) transparent;
  scrollbar-width: thin;
}
.nav-title {
  margin: 13px 8px 5px;
  color: #7d8ba0;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .035em;
}
#navigation button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 9px;
  background: transparent;
  box-shadow: none;
  color: #b8c2d1;
  font: inherit;
  font-size: 12px;
  font-weight: 450;
  text-align: left;
}
#navigation button svg { width: 17px; height: 17px; flex: 0 0 17px; color: #52b6ff; }
#navigation button[data-page="novaplay-overview"] svg,
#navigation button[data-page="roles"] svg { color: #9257ff; }
#navigation button[data-page="moderation-ai"] svg,
#navigation button[data-page="social"] svg { color: #ff4fa0; }
#navigation button[data-page="license"] svg,
#navigation button[data-page="database"] svg,
#navigation button[data-page="backups"] svg { color: #ffb52f; }
#navigation button[data-page="gemini"] svg { color: #6be08a; }
#navigation button[data-page="openai"] svg { color: #67b7ff; }
#navigation button[data-page="webradio"] svg,
#navigation button[data-page="commands"] svg { color: #ff44ab; }
#navigation button:hover { border-color: rgba(130, 82, 233, .17); background: rgba(74, 52, 130, .18); color: #fff; }
#navigation button.active {
  border-color: rgba(134, 84, 238, .34);
  background: linear-gradient(90deg, rgba(100, 48, 194, .73), rgba(71, 44, 139, .43));
  color: #fff;
}
#navigation button em {
  margin-left: auto;
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(124, 63, 242, .38);
  color: #c19bff;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}
.sidebar footer {
  display: flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 9px 21px;
  border-top: 1px solid rgba(108, 135, 170, .14);
  color: #75859a;
  font-size: 10px;
}
.sidebar footer strong { font-size: 10px; font-weight: 500; }
.sidebar footer small::before { content: "• "; }

main { position: relative; z-index: 1; min-width: 0; width: 100%; }
.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  min-height: 64px;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid rgba(105, 134, 170, .16);
  padding: 0 28px;
  background: rgba(7, 20, 38, .92);
  backdrop-filter: blur(14px);
}
.header-badges { display: flex; align-items: center; gap: 9px; }
.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(29, 191, 92, .2);
  border-radius: 999px;
  padding: 5px 14px;
  background: rgba(0, 83, 39, .38);
  color: #37e97f;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.offline { border-color: rgba(255, 69, 88, .27); background: rgba(115, 22, 36, .3); color: #ff8794; }
.pill.accent { border-color: rgba(124, 63, 242, .27); background: rgba(63, 28, 122, .38); color: #ba87ff; }
.header-icon {
  display: grid;
  width: 29px;
  height: 29px;
  min-height: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #dce5f1;
}
.header-icon svg { width: 16px; height: 16px; }
.header-icon:hover { background: rgba(118, 84, 183, .2); transform: none; }
.module-menu {
  position: absolute;
  z-index: 30;
  top: 54px;
  right: 88px;
  display: grid;
  width: 270px;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px;
  background: rgba(10, 26, 45, .99);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
}
.module-menu strong { grid-column: 1 / -1; padding: 3px 4px 8px; font-size: 12px; }
.module-menu button { min-height: 34px; padding: 7px 9px; background: #122540; color: #cbd5e2; font-size: 10px; }

.workspace { padding: 20px 24px 72px; }
.page-heading { position: relative; margin: 0 0 20px; }
.breadcrumb { display: none; }
h1 { margin: 0; color: #f7f9fd; font-size: 27px; font-weight: 760; letter-spacing: -.035em; }
.page-heading p { margin: 6px 0 0; color: #99a7b9; font-size: 12px; }
h2 { margin: 0; color: #f0f4fa; font-size: 15px; font-weight: 720; letter-spacing: -.012em; }
h3 { margin: 15px 0 8px; color: #dce4ef; font-size: 12px; font-weight: 680; }
p { color: var(--muted); line-height: 1.5; }

.novaplay-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -11px 0 16px;
}
.novaplay-tabs button,
.local-tabs button,
.segmented button {
  min-height: 27px;
  border: 1px solid rgba(109, 135, 168, .22);
  border-radius: 5px;
  padding: 4px 10px;
  background: #0b1a2e;
  box-shadow: none;
  color: #8494aa;
  font-size: 9px;
  font-weight: 600;
}
.novaplay-tabs button.active,
.local-tabs button.active,
.segmented button.active { border-color: #7d42ee; background: rgba(97, 48, 190, .62); color: #fff; }
.local-tabs { display: flex; gap: 4px; margin: -9px 0 14px; }

.page { display: none; animation: page-in .16s ease-out; }
.page.active { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

.panel,
.kpi,
.info-bar,
.page-footer,
.integration-card,
.database-types button,
.license-hero-grid > article,
.license-state,
.diagnostic-strip > article,
.cloud-kpis > article,
.command-summary > article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 33, 56, .96), rgba(10, 26, 45, .97));
  box-shadow: var(--shadow);
}
.panel { position: relative; min-width: 0; margin: 0; padding: 16px; }
.panel > p { margin: 7px 0 13px; font-size: 11px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel-head h2 + p,
.panel-head p { margin: 5px 0 0; font-size: 10px; }
.stack { display: grid; align-content: start; gap: 14px; min-width: 0; }
.two-col,
.three-col,
.four-col { display: grid; gap: 14px; margin-bottom: 14px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two-col.wide-left { grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kpi-grid { display: grid; gap: 13px; margin-bottom: 14px; }
.kpi-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpi { display: flex; min-height: 105px; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; }
.kpi.simple { display: block; min-height: 90px; }
.kpi span { display: block; color: #c6d0dc; font-size: 10px; }
.kpi strong { display: block; margin: 10px 0 6px; overflow: hidden; color: #f8faff; font-size: 21px; font-weight: 760; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.kpi small { display: block; color: #74849a; font-size: 9px; }
.kpi i {
  display: grid;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  place-items: center;
  border-radius: 50%;
  font-size: 21px;
  font-style: normal;
}
.kpi i svg { width: 25px; height: 25px; }
.kpi i.green { background: rgba(38, 210, 110, .15); color: var(--green); }
.kpi i.violet { background: rgba(123, 66, 239, .2); color: var(--violet-light); }
.kpi i.orange { background: rgba(255, 173, 37, .17); color: var(--orange); }
.kpi i.blue { background: rgba(61, 155, 255, .17); color: var(--blue); }
.kpi-grid.miniature { gap: 8px; margin: 0 0 12px; }
.kpi-grid.miniature .kpi { min-height: 70px; padding: 10px; }
.kpi-grid.miniature .kpi strong { font-size: 16px; }

.dashboard-layout { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(265px, .75fr); gap: 14px; }
.action-grid { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 8px; margin-top: 14px; }
.action-grid button:nth-child(6) { grid-column: 1; }
.quick-actions { min-height: 146px; }
.recent-activity { display: flex; min-height: 100%; flex-direction: column; }
#recentActivity { display: grid; gap: 12px; margin: 15px 0; }
.activity-row { display: grid; grid-template-columns: 15px 1fr; gap: 8px; align-items: start; }
.activity-row > b { color: var(--green); font-size: 14px; line-height: 1; }
.activity-row.tone-1 > b { color: var(--violet-light); }
.activity-row.tone-2 > b { color: var(--orange); }
.activity-row.tone-3 > b { color: var(--pink); }
.activity-row.tone-4 > b { color: var(--blue); }
.activity-row strong, .activity-row small { display: block; }
.activity-row strong { color: #cbd4e1; font-size: 10px; font-weight: 560; }
.activity-row small { margin-top: 3px; color: #6e7d91; font-size: 9px; }
.recent-activity .full { margin-top: auto; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.service-grid > div { min-height: 58px; border: 1px solid rgba(111, 139, 178, .13); border-radius: 6px; padding: 10px 12px; background: rgba(6, 18, 31, .58); }
.service-grid b { display: block; margin-bottom: 7px; color: #78889e; font-size: 9px; font-weight: 550; }
.service-state { display: flex; align-items: center; gap: 7px; overflow: hidden; color: #e0e7f0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.service-state i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #d9e0ea; }
.service-state.green i { background: var(--green); }
.service-state.red i { background: var(--red); }
.service-state.orange i { background: var(--orange); }
.service-state.blue i { background: var(--blue); }
.page-footer { display: flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 8px 13px; color: #7f8da0; font-size: 9px; }

label { display: grid; min-width: 0; gap: 6px; color: #c3ccda; font-size: 10px; font-weight: 560; }
label small { color: #6f8097; font-size: 8px; font-weight: 420; }
label em { color: var(--red); font-style: normal; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(111, 139, 178, .25);
  border-radius: 5px;
  outline: none;
  padding: 8px 9px;
  background: #08172a;
  color: #e7edf5;
  font: inherit;
  font-size: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: #7e48e9; box-shadow: 0 0 0 2px rgba(126, 72, 233, .13); }
input::placeholder, textarea::placeholder { color: #4d5f75; }
input:disabled { color: #6f7f93; }
input[type="color"] { height: 34px; padding: 3px; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--violet); }
input[type="range"] { border: 0; padding: 7px 0; background: transparent; accent-color: var(--violet); }
textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
select[multiple] { min-height: 82px; }
.form-grid { display: grid; gap: 11px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-settings { margin-top: 14px; }
.input-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.input-action input { border-radius: 5px 0 0 5px; }
.input-action button { border-radius: 0 5px 5px 0; }

button {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(139, 88, 244, .5);
  border-radius: 5px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #6330ca, #7a40ea);
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 620;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease, opacity .15s ease;
}
button:hover { filter: brightness(1.12); transform: translateY(-1px); }
button:disabled { opacity: .55; cursor: wait; transform: none; }
button.is-busy::after { width: 9px; height: 9px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; content: ""; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
button.secondary { border-color: rgba(103, 126, 158, .28); background: #142741; color: #c3ccda; }
button.text-button { min-height: 0; border: 0; padding: 3px; background: transparent; color: #8b62ec; }
button.small { min-height: 27px; padding: 4px 8px; }
button.full { width: 100%; }
button.green, .actions button.green { border-color: rgba(43, 212, 113, .36); background: rgba(25, 127, 72, .65); color: #bcffd5; }
button.red, .actions button.red { border-color: rgba(255, 79, 97, .38); background: rgba(133, 37, 54, .66); color: #ffd1d7; }
button.danger { border-color: rgba(255, 79, 97, .48); background: #a62e43; }
button.amber, .actions button.amber { border-color: rgba(255, 173, 37, .37); background: rgba(123, 79, 18, .65); color: #ffda91; }
button.blue, .actions button.blue { border-color: rgba(61, 155, 255, .36); background: rgba(28, 83, 143, .67); color: #c2e1ff; }
button.violet, .actions button.violet { border-color: rgba(123, 66, 239, .42); background: rgba(82, 46, 161, .7); color: #d8c7ff; }
button.pink, .actions button.pink { border-color: rgba(239, 70, 172, .4); background: rgba(130, 32, 93, .66); color: #ffc9ea; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.actions.right { justify-content: flex-end; }
.vertical-actions { display: grid; gap: 7px; margin-top: 12px; }
.vertical-actions button { width: 100%; }

.status { display: inline-flex; width: fit-content; align-items: center; border: 1px solid rgba(115, 137, 169, .22); border-radius: 999px; padding: 3px 7px; color: #8999ad; font-size: 8px; white-space: nowrap; }
.status.on { border-color: rgba(34, 212, 107, .3); color: #5be68e; }
.status.warning { border-color: rgba(255, 173, 37, .35); color: #ffc259; }
.status.error { border-color: rgba(255, 79, 97, .4); color: #ff8996; }
.switch-line { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 10px; }
.switch-line.push { margin-left: auto; }
.switch-control { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 9px; border: 1px solid var(--line); border-radius: 5px; padding: 6px 9px; background: #08172a; color: var(--green); }
.toggle-list { display: grid; gap: 7px; margin-top: 10px; }
.toggle-list.horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.toggle-list label { display: flex; min-height: 33px; align-items: center; justify-content: space-between; gap: 9px; border: 1px solid rgba(111, 139, 178, .14); border-radius: 5px; padding: 7px 9px; background: rgba(6, 19, 33, .58); }
.radio-line { display: flex; align-items: center; gap: 8px; min-height: 30px; }

.status-hero { display: flex; min-height: 107px; align-items: center; gap: 14px; }
.status-hero h2 { margin: 4px 0; color: #4fe989; }
.status-hero p { margin: 0; }
.round-state { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; font-size: 22px; }
.round-state.green { border: 1px solid rgba(43, 212, 113, .33); background: rgba(43, 212, 113, .14); color: var(--green); }
.success-panel { border-color: rgba(43, 212, 113, .24); background: linear-gradient(145deg, rgba(11, 61, 42, .73), rgba(9, 36, 31, .8)); }
.success-panel strong, .green-text { color: var(--green); }
.success-panel ul, .extension-detail ul, .release-notes { margin: 10px 0 0; padding-left: 17px; color: #9eb4aa; font-size: 9px; line-height: 1.8; }
.success-panel.compact { margin-top: 15px; padding: 12px; border-radius: 6px; }
.bot-identity { display: flex; align-items: center; gap: 11px; }
.bot-identity .brand-robot, .discord-message > .brand-robot { width: 43px; height: 43px; flex-basis: 43px; background-position: -8px -6px; background-size: 1246px 831px; }
.bot-identity strong, .bot-identity small, .bot-identity p { display: block; }
.bot-identity small { color: var(--green); font-size: 8px; }
.bot-identity p { margin: 3px 0 0; font-size: 9px; }

.chart-panel { min-height: 190px; }
.fake-chart { display: flex; height: 115px; align-items: flex-end; gap: 8px; padding-top: 15px; border-bottom: 1px solid rgba(108, 139, 179, .2); }
.fake-chart i { display: block; flex: 1; border-top: 2px solid #8b50f4; height: 20%; transform: skewY(-8deg); }
.fake-chart i:nth-child(2) { height: 38%; }.fake-chart i:nth-child(3) { height: 31%; }.fake-chart i:nth-child(4) { height: 58%; }.fake-chart i:nth-child(5) { height: 49%; }.fake-chart i:nth-child(6) { height: 72%; }.fake-chart i:nth-child(7) { height: 64%; }.fake-chart i:nth-child(8) { height: 88%; }
.fake-chart.green i { border-color: var(--green); }
.module-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.module-status-grid > div { display: flex; align-items: center; justify-content: space-between; min-height: 47px; border: 1px solid rgba(111, 139, 178, .13); border-radius: 6px; padding: 9px 11px; background: rgba(6, 18, 31, .58); font-size: 9px; }

.discord-preview { background: linear-gradient(145deg, rgba(16, 35, 60, .97), rgba(11, 28, 49, .97)); }
.discord-preview h2 span { color: var(--green); font-size: 8px; font-weight: 500; }
.discord-message { display: flex; align-items: flex-start; gap: 10px; color: #d6deea; }
.discord-message > div { min-width: 0; flex: 1; }
.discord-message strong, .discord-message small { display: inline-block; }
.discord-message em { border-radius: 3px; padding: 1px 3px; background: #5865f2; color: #fff; font-size: 7px; font-style: normal; }
.discord-message small { margin-left: 5px; color: #75869d; font-size: 8px; }
.embed { margin-top: 8px; border-left: 3px solid var(--violet); border-radius: 4px; padding: 11px; background: #0a1829; font-size: 9px; }
.embed b { display: block; margin-bottom: 7px; color: #f2f5f9; }
.embed p { margin: 6px 0; color: #c2ccda; font-size: 9px; }
.preview-banner { height: 130px; margin: 10px 0; border-radius: 5px; background: radial-gradient(circle at 50% 50%, rgba(178, 59, 245, .75), transparent 20%), linear-gradient(135deg, #071426, #442483 47%, #1672aa); box-shadow: inset 0 0 30px rgba(255, 59, 219, .27); }
.rules-embed ol { margin: 8px 0 13px; padding-left: 18px; color: #c4cfdb; font-size: 9px; line-height: 1.8; }
.ticket-embed { border-color: var(--violet); }
.ticket-open { margin-top: 12px; border-color: var(--green); }
.warn-embed, .danger-embed { border-color: var(--red); }
.role-embed { border-color: var(--violet); }
.role-buttons, .voice-modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.welcome-preview .preview-banner { height: 162px; }

.ticket-layout { grid-template-columns: minmax(250px, .82fr) minmax(300px, 1fr) minmax(260px, .82fr); }
.selectable-list { display: grid; gap: 7px; margin: 12px 0; }
.selectable-list button {
  display: grid;
  min-height: 51px;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  justify-content: initial;
  text-align: left;
  border-color: rgba(111, 139, 178, .15);
  background: rgba(7, 20, 35, .62);
  color: #d3dbe6;
}
.selectable-list button.selected { border-color: rgba(123, 66, 239, .75); background: rgba(59, 34, 111, .39); }
.selectable-list button > span { grid-row: 1 / 3; display: grid; place-items: center; font-size: 18px; }
.selectable-list button b { align-self: end; font-size: 10px; }
.selectable-list button small { grid-column: 2 / 4; align-self: start; color: #77879d; font-size: 8px; }

.moderation-layout { grid-template-columns: minmax(260px, .9fr) minmax(270px, .9fr) minmax(300px, 1.05fr); }
.rule-list { display: grid; gap: 7px; margin: 12px 0; }
.rule-list > div { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; border: 1px solid rgba(111, 139, 178, .14); border-radius: 5px; padding: 9px; background: rgba(6, 18, 31, .55); font-size: 9px; }
.rule-list span { color: #d9e0e9; }.rule-list small { color: #748399; font-size: 8px; }.rule-list input { grid-row: 1 / 3; grid-column: 2; }
.sanction-steps { display: grid; gap: 6px; margin-top: 12px; }
.sanction-steps > div { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; border-left: 2px solid var(--violet); padding: 7px 9px; background: rgba(6, 18, 31, .55); font-size: 8px; }
.sanction-steps i { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: rgba(123, 66, 239, .25); color: #b99aff; font-style: normal; }
.sanction-steps b { color: #dbe3ed; font-size: 8px; }

.table { overflow: auto; }
.table > div { display: grid; min-width: 680px; grid-template-columns: 1.05fr 1fr 1.6fr 1fr .9fr; align-items: center; gap: 10px; border-bottom: 1px solid rgba(111, 139, 178, .13); padding: 9px 7px; color: #9ba8b9; font-size: 9px; }
.table > .table-head { color: #6d7f95; font-size: 8px; font-weight: 650; text-transform: uppercase; }
.table b { color: #d7dee8; }

.settings-strip .panel { min-height: 140px; }
.category-toggles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.category-toggles label { display: flex; min-height: 55px; align-items: center; justify-content: space-between; border: 1px solid rgba(111, 139, 178, .14); border-radius: 6px; padding: 10px; background: rgba(6, 18, 31, .55); }
.data-table { overflow: auto; }
.data-row { display: grid; min-width: 0; grid-template-columns: minmax(170px, 1fr) repeat(2, minmax(85px, auto)); align-items: center; gap: 10px; border-bottom: 1px solid rgba(111, 139, 178, .13); padding: 9px 7px; font-size: 9px; }
.data-row small { display: block; margin-top: 3px; color: #728198; }
.data-row span { color: #a7b1c0; }
.empty { padding: 18px; color: #708198; font-size: 9px; text-align: center; }

.roles-layout { grid-template-columns: minmax(230px, .7fr) minmax(340px, 1.15fr) minmax(280px, .9fr); }
.role-panels button { grid-template-columns: 34px 1fr auto; }
.permission-matrix { display: grid; overflow: auto; }
.permission-matrix > div { display: grid; min-width: 680px; grid-template-columns: minmax(180px, 1.5fr) repeat(4, 1fr); align-items: center; border-bottom: 1px solid rgba(111, 139, 178, .12); padding: 8px; font-size: 9px; }
.permission-matrix i { color: var(--green); font-style: normal; text-align: center; }
.permission-matrix b:not(:first-child) { text-align: center; }

.voice-top { grid-template-columns: minmax(220px, .72fr) minmax(260px, .9fr) minmax(260px, .9fr) minmax(260px, .86fr); }
.voice-preview .embed { min-height: 280px; }
.voice-table > div { grid-template-columns: 1.4fr 1fr 1fr .7fr .7fr; }

.message-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 14px; }
.attachment-strip { display: flex; align-items: center; gap: 9px; margin-top: 13px; border-top: 1px solid var(--line); padding-top: 12px; color: #cbd4df; font-size: 9px; }
.attachment-strip small { color: #6f8096; }
.image-thumbs { display: grid; grid-template-columns: repeat(4, 54px) 1fr; gap: 8px; margin-top: 10px; }
.image-thumbs i { height: 48px; border: 1px solid rgba(123, 66, 239, .35); border-radius: 5px; background: linear-gradient(135deg, #271050, #0d4f7c); }
.image-thumbs i:nth-child(2) { background: linear-gradient(135deg, #16395d, #7237ad); }.image-thumbs i:nth-child(3) { background: linear-gradient(135deg, #4f174b, #0d5176); }.image-thumbs i:nth-child(4) { background: linear-gradient(135deg, #481058, #236294); }
.message-preview .preview-banner { height: 250px; }
.message-edit { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 13px; }

.gemini-layout { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr); gap: 14px; margin-bottom: 14px; }
.chat-thread { display: grid; gap: 11px; margin-top: 12px; }
.user-bubble, .bot-bubble { border-left: 2px solid var(--blue); padding: 9px 10px; background: rgba(7, 20, 35, .64); }
.bot-bubble { border-color: var(--violet); }
.chat-thread b { font-size: 9px; }.chat-thread p { margin: 5px 0 0; font-size: 9px; }
.chat-input { margin-top: 15px; border: 1px solid var(--line); border-radius: 5px; padding: 10px; color: #64758a; font-size: 9px; }

.social-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 14px; }
.integration-card { min-height: 125px; padding: 14px; }
.integration-card > div { display: flex; align-items: center; justify-content: space-between; }
.integration-card small, .integration-card strong { display: block; }
.integration-card small { margin-top: 13px; color: #6f8196; font-size: 8px; }.integration-card strong { margin: 4px 0 11px; font-size: 11px; }
.integration-card.youtube { border-top-color: #ff4f61; }.integration-card.twitch { border-top-color: #9a63ff; }.integration-card.tiktok { border-top-color: #41c8ff; }.integration-card.instagram { border-top-color: #ef46ac; }
.social-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0 0 14px; }
.social-tabs button { min-height: 42px; border-color: var(--line); background: rgba(8, 22, 39, .74); color: #91a1b6; }
.social-tabs button.active { border-color: var(--violet); background: linear-gradient(135deg, rgba(101, 55, 211, .48), rgba(29, 73, 127, .34)); color: #fff; box-shadow: 0 0 22px rgba(124, 77, 255, .12); }
.social-tabs button.youtube.active { border-color: #ff4f61; }.social-tabs button.twitch.active { border-color: #9a63ff; }.social-tabs button.tiktok.active { border-color: #41c8ff; }.social-tabs button.instagram.active { border-color: #ef46ac; }
.social-tab-panel { display: none; }
.social-tab-panel.active { display: block; }
.social-config-grid { align-items: start; }
.social-config-grid textarea { min-height: 108px; }
.social-config-grid .notice { margin-top: 14px; border: 1px solid rgba(124, 77, 255, .25); border-radius: 6px; padding: 11px; background: rgba(25, 17, 56, .34); }
.social-config-grid .notice b { color: #d9d0ff; font-size: 9px; }
.social-config-grid .notice p { margin: 6px 0 0; color: #8797ab; font-size: 9px; line-height: 1.55; }
.social-config-grid code { color: #c7b8ff; }
.social-auth-box { display: grid; gap: 12px; justify-items: start; }
.social-auth-box[hidden] { display: none; }
.social-auth-box a { color: #86c8ff; font-size: 10px; font-weight: 700; text-decoration: none; }
.social-auth-box a:hover { text-decoration: underline; }
.social-qr { width: min(230px, 100%); padding: 10px; border-radius: 8px; background: #fff; }
.social-qr svg { display: block; width: 100%; height: auto; }
.social-auth-code { display: inline-block; padding: 10px 16px; border: 1px solid rgba(124, 77, 255, .45); border-radius: 8px; color: #fff; background: rgba(124, 77, 255, .18); font-size: 22px; letter-spacing: 4px; }
.form-grid .span-two { grid-column: 1 / -1; }
.social-layout { grid-template-columns: 1fr 1fr .86fr; }
.template-card { margin: 9px 0; }
.template-card span { display: block; margin-bottom: 5px; color: #9dadc0; font-size: 8px; }
.template-card textarea { min-height: 60px; }
.mini-feed { display: grid; gap: 7px; margin-top: 10px; }
.mini-feed > div { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(111, 139, 178, .12); padding: 6px 3px; font-size: 9px; }
.mini-feed b { min-width: 0; overflow: hidden; color: #cdd6e1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.database-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.database-types button { display: grid; min-height: 58px; place-items: center; background: var(--surface); color: #dce4ee; font-size: 11px; }
.database-types button small { display: block; color: #718198; font-size: 8px; }
.database-types button.active { border-color: var(--violet); background: rgba(65, 35, 125, .44); }
details { margin-top: 12px; border: 1px solid var(--line); border-radius: 5px; padding: 9px; }
summary { cursor: pointer; color: #a8b4c4; font-size: 9px; }
details > div { margin-top: 10px; }
.database-status { display: flex; align-items: center; gap: 13px; }
.database-status ul { margin: 7px 0 0; }
pre {
  max-height: 360px;
  margin: 12px 0 0;
  overflow: auto;
  border: 1px solid rgba(111, 139, 178, .15);
  border-radius: 6px;
  padding: 11px;
  background: #06111f;
  color: #c5cfdd;
  font: 9px/1.5 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
.compact-output { display: none; }
code { color: #bd98ff; font: 9px "Cascadia Code", Consolas, monospace; }

.catalog-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(350px, .78fr); gap: 14px; }
.search { max-width: 280px; }
.extension-list { display: grid; gap: 8px; }
.extension-card, .extension {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(111, 139, 178, .15);
  border-radius: 6px;
  padding: 11px;
  background: rgba(6, 18, 31, .62);
}
.extension-card h3 { margin: 0; font-size: 10px; }
.extension-card p { margin: 3px 0; font-size: 9px; }
.extension-card small, .extension small { display: block; color: #718198; font-size: 8px; }
.extension-card .actions { margin: 0; }
.extension-detail .extension-hero-icon { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 12px; margin-bottom: 14px; background: linear-gradient(135deg, #6330ca, #d63bca); color: white; }
.extension-hero-icon svg { width: 34px; height: 34px; }
.detail-list { display: grid; gap: 5px; margin-top: 12px; }
.detail-list > div { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid rgba(111, 139, 178, .12); padding: 7px 2px; color: #78899e; font-size: 9px; }
.detail-list b { color: #ced7e2; font-size: 9px; }

.webradio-title-extra { position: absolute; top: 76px; right: 24px; display: grid; min-width: 112px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; background: var(--surface); }
.webradio-title-extra span { color: #9faec0; font-size: 8px; }.webradio-title-extra strong { margin-top: 4px; font-size: 16px; }
.webradio-layout { display: grid; grid-template-columns: minmax(245px, .82fr) minmax(430px, 1.38fr) minmax(305px, .96fr); gap: 12px; }
.radio-library { display: flex; min-height: 680px; flex-direction: column; }
.search-box { display: flex; min-height: 34px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px; background: #08172a; color: #72839a; font-size: 9px; }
.radio-list { display: grid; gap: 8px; margin-top: 10px; }
.radio-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(111, 139, 178, .16);
  border-radius: 7px;
  padding: 9px;
  background: rgba(7, 20, 35, .68);
  cursor: pointer;
}
.radio-card.selected { border-color: var(--violet); box-shadow: 0 0 0 1px rgba(123, 66, 239, .3); }
.radio-card-art { display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #501c80, #0c6c9b); color: #f4c5ff; font-size: 25px; font-weight: 800; }
.radio-card-art img { width: 100%; height: 100%; object-fit: cover; }
.radio-card b, .radio-card small { display: block; }
.radio-card b { font-size: 10px; }.radio-card small { margin-top: 4px; color: #7e8ea2; font-size: 8px; }
.radio-card > i { color: var(--green); font-size: 8px; font-style: normal; }
.radio-card-actions { grid-column: 2 / 4; display: flex; gap: 4px; }
.radio-card-actions button { min-height: 23px; padding: 3px 6px; font-size: 7px; }
.add-radio-card { display: flex; width: 100%; min-height: 68px; justify-content: flex-start; gap: 12px; margin-top: 10px; border-style: dashed; background: transparent; color: #d4dce7; text-align: left; }
.add-radio-card i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--violet); border-radius: 50%; color: var(--violet-light); font-size: 21px; font-style: normal; }
.add-radio-card b, .add-radio-card small { display: block; }.add-radio-card small { margin-top: 4px; color: #718198; font-size: 8px; }
.radio-capacity { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; color: #7e8da2; font-size: 8px; }
.radio-editor { min-height: 680px; }
.radio-editor > label, .radio-editor > .form-grid { margin-top: 12px; }
.protocols { margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.protocols > span { display: block; margin-bottom: 7px; color: #96a5b7; font-size: 8px; }
.protocols > div { display: flex; flex-wrap: wrap; gap: 5px; }
.protocols b { border: 1px solid rgba(123, 66, 239, .4); border-radius: 999px; padding: 3px 8px; color: #bd9bff; font-size: 7px; }
.radio-actions { display: grid; grid-template-columns: repeat(5, 1fr); }
.radio-right { gap: 12px; }
.radio-player { min-height: 340px; }
.now-playing { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; margin-top: 13px; }
.radio-artwork { display: grid; width: 150px; height: 150px; place-items: center; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 50% 48%, #9e43e9 0 14%, transparent 15%), linear-gradient(135deg, #142261, #6f258c 50%, #117baa); color: #f6e4ff; font-size: 72px; font-weight: 900; text-shadow: 0 0 25px rgba(244, 93, 255, .8); }
.radio-artwork img { width: 100%; height: 100%; object-fit: cover; }
.now-playing > div:last-child > strong, .now-playing p, .now-playing h3, .now-playing span { display: block; }
.now-playing > div:last-child > strong { font-size: 13px; }.now-playing small { display: block; margin: 6px 0 13px; color: var(--green); font-size: 8px; }
.now-playing p { margin: 0; color: #a594e7; font-size: 9px; }.now-playing h3 { margin: 5px 0 13px; font-size: 14px; }.now-playing span { color: #8493a7; font-size: 8px; }
.player-time { display: flex; justify-content: space-between; margin: 14px 0 6px; color: #9ba9ba; font-size: 8px; }
.player-progress { height: 4px; overflow: hidden; border-radius: 999px; background: #223450; }
.player-progress i { display: block; width: 63%; height: 100%; background: linear-gradient(90deg, var(--violet), #b94fe9); }
.player-controls { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 14px; }
.player-controls button { width: 42px; padding: 0; }
.player-controls .play { width: 58px; height: 58px; border-radius: 50%; font-size: 17px; }
.track-history { display: grid; }
.track-row { display: grid; grid-template-columns: 40px 1fr 1.1fr; gap: 8px; border-bottom: 1px solid rgba(111, 139, 178, .13); padding: 8px 2px; color: #9faec0; font-size: 8px; }
.track-row.active { color: #b992ff; }
.info-bar { display: flex; min-height: 54px; align-items: center; gap: 11px; margin-top: 12px; padding: 9px 12px; }
.info-bar > i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #3676e8; font-style: normal; }
.info-bar > div { flex: 1; }.info-bar b, .info-bar small { display: block; }.info-bar small { margin-top: 3px; color: #8797aa; font-size: 8px; }

.command-summary { display: grid; grid-template-columns: 1.4fr repeat(3, .75fr) .65fr; gap: 9px; margin-bottom: 13px; }
.command-summary > article { padding: 9px 11px; }
.command-summary > article span, .command-summary > article strong { display: block; }.command-summary > article span { color: #7d8ea3; font-size: 8px; }.command-summary > article strong { margin-top: 5px; font-size: 16px; }
.commands-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: 13px; margin-bottom: 13px; }
.command-list { display: grid; gap: 5px; margin-top: 10px; }
.command-list article { display: grid; grid-template-columns: 105px 1.4fr .7fr .8fr auto; gap: 8px; align-items: center; border-bottom: 1px solid rgba(111, 139, 178, .12); padding: 8px; font-size: 8px; }
.command-list small { color: #718197; }
.slash-title { margin: 12px 0; color: #c5a9ff; font: 18px "Cascadia Code", Consolas, monospace; }
.slash-title .status { margin-left: 8px; font-family: inherit; font-size: 8px; }

.backup-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(330px, .6fr); gap: 14px; }
.backup-list { display: grid; gap: 5px; }
.list-row { display: grid; grid-template-columns: 1.3fr .7fr .7fr .7fr auto; align-items: center; gap: 9px; border-bottom: 1px solid rgba(111, 139, 178, .13); padding: 9px 5px; font-size: 8px; }
.list-row small { color: #6f8095; }.list-row span { color: #a2afbf; }

.update-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-bottom: 14px; }
.version-card > span { color: #7e8ea3; font-size: 8px; }.version-card > div { display: flex; align-items: center; gap: 10px; margin: 12px 0 5px; }.version-card strong { font-size: 30px; }.version-card p { color: var(--green); }
.version-history { display: grid; gap: 5px; }
.version-history > div { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; border-bottom: 1px solid var(--line); padding: 7px 2px; font-size: 8px; }
.version-history small { color: #718197; }
.process-steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 15px 0; }
.process-steps > div { display: grid; min-width: 140px; grid-template-columns: 33px 1fr; gap: 2px 9px; align-items: center; }
.process-steps i { grid-row: 1 / 3; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(123, 66, 239, .25); color: #c5a7ff; font-style: normal; }.process-steps b { font-size: 9px; }.process-steps small { color: #718197; font-size: 7px; }.process-steps > span { color: #52647c; }

.license-hero-grid { display: grid; grid-template-columns: 1.15fr 1.25fr .8fr .8fr; gap: 12px; margin-bottom: 14px; }
.license-hero-grid > article { min-height: 92px; padding: 14px; }
.license-state { display: flex; align-items: center; gap: 12px; }
.license-hero-grid span, .license-hero-grid strong, .license-hero-grid small { display: block; }.license-hero-grid span { color: #77899f; font-size: 8px; }.license-hero-grid strong { margin: 9px 0 4px; font-size: 17px; }.license-state strong { color: var(--green); }
.license-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; margin-bottom: 14px; }
.rights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rights-grid > div { min-height: 49px; border: 1px solid rgba(111, 139, 178, .14); border-radius: 6px; padding: 9px; background: rgba(6, 18, 31, .58); font-size: 8px; word-break: break-word; }
.rights-grid b { display: block; margin-bottom: 5px; color: #7d8fa5; }
.timeline { display: grid; gap: 9px; margin-top: 10px; }
.timeline > div { display: grid; grid-template-columns: 15px 1fr; gap: 2px 7px; font-size: 9px; }.timeline i { grid-row: 1 / 3; width: 9px; height: 9px; margin-top: 2px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43, 212, 113, .1); }.timeline small { color: #718197; font-size: 8px; }
.action-cards > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.action-cards button { justify-content: flex-start; border-color: var(--line); padding: 12px; background: rgba(7, 20, 35, .58); text-align: left; }
.action-cards button svg { width: 28px; height: 28px; color: var(--violet-light); }.action-cards button span { min-width: 0; }.action-cards button b, .action-cards button small { display: block; }.action-cards button small { margin-top: 4px; color: #718197; font-size: 8px; font-weight: 400; }

.diagnostic-strip { display: grid; grid-template-columns: 1.15fr repeat(6, 1fr); gap: 8px; margin-bottom: 13px; }
.diagnostic-strip > article { display: grid; min-height: 92px; place-items: center; padding: 10px; text-align: center; }
.diagnostic-strip svg { width: 23px; height: 23px; color: var(--violet-light); }.diagnostic-strip b { font-size: 8px; }.diagnostic-strip .health-score strong { font-size: 27px; color: var(--green); }.diagnostic-strip .health-score span, .diagnostic-strip .health-score small { color: #8595aa; font-size: 8px; }
.resource-strip .panel { min-height: 120px; }.resource-strip strong { display: block; margin: 12px 0 8px; font-size: 18px; }
.sparkline { height: 35px; background: linear-gradient(160deg, transparent 48%, rgba(43, 212, 113, .8) 49% 51%, transparent 52%), linear-gradient(20deg, transparent 48%, rgba(43, 212, 113, .6) 49% 51%, transparent 52%); background-size: 35px 22px; }
.sparkline.violet { filter: hue-rotate(75deg); }.sparkline.blue { filter: hue-rotate(135deg); }.sparkline.amber { filter: hue-rotate(310deg); }
.check-list { display: grid; gap: 6px; margin: 11px 0 0; padding: 0; list-style: none; }.check-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 6px 2px; color: #a4b1c1; font-size: 8px; }.check-list b { color: var(--green); }
.latency { display: flex; align-items: baseline; gap: 8px; margin: 13px 0; }.latency strong { font-size: 25px; }.latency span { color: var(--green); font-size: 9px; }
.error-feed { display: grid; gap: 8px; margin-top: 12px; }.error-feed > div { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 7px 2px; }.error-feed i { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: rgba(255, 79, 97, .15); color: var(--red); font-style: normal; }.error-feed span, .error-feed small { display: block; font-size: 8px; }.error-feed small { margin-top: 3px; color: #718197; }.error-feed .ok i { background: rgba(43, 212, 113, .15); color: var(--green); }

.kpi-grid.six .kpi { min-height: 78px; padding: 11px; }.kpi-grid.six .kpi strong { font-size: 17px; }
.log-toolbar { display: grid; grid-template-columns: repeat(3, .7fr) 1.4fr .7fr; gap: 8px; align-items: end; margin-bottom: 12px; }
.logs-layout { display: grid; grid-template-columns: minmax(170px, .5fr) minmax(0, 1.4fr) minmax(280px, .75fr); gap: 12px; margin-bottom: 12px; }
.log-services .selectable-list button { display: flex; min-height: 34px; justify-content: space-between; padding: 7px; }
.log-stream pre { min-height: 440px; max-height: 440px; }
.event-detail pre { max-height: 145px; }

.cloud-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 13px; }
.cloud-kpis > article { min-height: 82px; padding: 13px; }.cloud-kpis span, .cloud-kpis strong, .cloud-kpis small { display: block; }.cloud-kpis span { color: #7d8ea3; font-size: 8px; }.cloud-kpis strong { margin: 9px 0 4px; font-size: 15px; }.cloud-kpis small { color: #718197; font-size: 8px; }
.cloud-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 13px; }
.cloud-resources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ring { display: grid; width: 92px; height: 92px; place-items: center; border: 8px solid rgba(43, 212, 113, .2); border-top-color: var(--green); border-radius: 50%; margin: auto; text-align: center; }.ring b, .ring span { grid-column: 1; grid-row: 1; }.ring span { margin-top: 31px; color: #718197; font-size: 7px; }.ring.violet { border-color: rgba(123, 66, 239, .2); border-top-color: var(--violet); }.ring.amber { border-color: rgba(255, 173, 37, .2); border-top-color: var(--orange); }.ring.blue { border-color: rgba(61, 155, 255, .2); border-top-color: var(--blue); }
.success-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(43, 212, 113, .3); border-radius: 50%; margin: 12px auto; color: var(--green); font-size: 18px; }

.profiles-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.profile-card { text-align: center; }.avatar-circle { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; margin: 12px auto 8px; background: linear-gradient(135deg, var(--violet), var(--pink)); font-size: 19px; font-weight: 700; }
.progress { height: 6px; overflow: hidden; border-radius: 999px; margin: 11px 0; background: #243650; }.progress i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--violet), #bd52e9); }.progress i.short { width: 25%; }.progress i.medium { width: 50%; }.progress i.long { width: 75%; }
.level-rules { display: grid; gap: 15px; margin: 13px 0; }.level-rules > div { display: grid; grid-template-columns: 100px 1fr 110px; align-items: center; gap: 8px; font-size: 9px; }.level-rules .progress { margin: 0; }

.shop-layout { display: grid; grid-template-columns: .85fr 1.05fr .65fr; gap: 13px; }
.shop-preview { text-align: center; }.product-icon { display: grid; width: 78px; height: 78px; place-items: center; border-radius: 18px; margin: 15px auto; background: linear-gradient(135deg, #5b28a3, #d24bbb); font-size: 36px; }.shop-preview > strong { display: block; margin: 9px 0; color: #c6a9ff; }.shop-preview > button { width: 100%; }
.inventory-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 13px; }
.inventory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.inventory-grid .data-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 6px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.game-grid > div { display: grid; grid-template-columns: 42px 1fr; gap: 3px 9px; border: 1px solid var(--line); border-radius: 7px; padding: 10px; background: rgba(7, 20, 35, .58); }.game-grid i { grid-row: 1 / 4; display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: rgba(123, 66, 239, .24); color: #b897ff; font-style: normal; font-size: 17px; }.game-grid small { color: #718197; font-size: 8px; }.game-grid button { grid-column: 2; justify-self: start; min-height: 24px; padding: 3px 7px; }
.games-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 13px; }
.duel-users { display: flex; align-items: center; justify-content: space-around; margin: 22px 0; }.duel-users > div { text-align: center; }.duel-users i { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; margin-bottom: 7px; background: linear-gradient(135deg, var(--violet), var(--blue)); font-style: normal; }.duel-users span { color: #708198; font-weight: 700; }.duel-preview { text-align: center; }

.missions-layout { display: grid; grid-template-columns: .8fr 1fr .55fr; gap: 13px; }
.mission-list { display: grid; gap: 7px; }.mission-list button { display: flex; min-height: 48px; flex-direction: column; align-items: flex-start; border-color: var(--line); background: rgba(7, 20, 35, .58); }.mission-list button.selected { border-color: var(--violet); }.mission-list small { color: #79dba1; font-size: 8px; }
.season-hero, .tournament-hero, .raid-hero { display: flex; min-height: 116px; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(115deg, rgba(51, 30, 105, .92), rgba(11, 32, 54, .96)); }.season-hero h2, .tournament-hero h2, .raid-hero h2 { margin: 5px 0; font-size: 21px; }.season-progress { display: grid; width: 110px; height: 80px; place-items: center; border-radius: 12px; background: rgba(6, 18, 31, .55); }.season-progress strong { font-size: 22px; }.season-progress small { color: #8292a7; font-size: 8px; }
.season-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 13px; margin-top: 13px; }
.tier-list { display: grid; gap: 8px; }.tier-list > div { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 6px; padding: 9px; }.tier-list i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #1c304c; font-style: normal; }.tier-list small { display: block; margin-top: 3px; color: #718197; font-size: 8px; }.tier-list strong { color: #718197; font-size: 8px; }.tier-list .unlocked { border-color: rgba(43, 212, 113, .27); }.tier-list .unlocked i, .tier-list .unlocked strong { color: var(--green); }

.ranking-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 13px; }
.ranking-table .data-row { grid-template-columns: 1.4fr .7fr .7fr; }.ranking-table .data-row:first-child { border-color: rgba(255, 173, 37, .4); }
.podium { display: flex; align-items: end; justify-content: center; gap: 9px; margin: 20px 0; }.podium > div { display: grid; min-width: 70px; min-height: 95px; place-items: center; border: 1px solid var(--line); border-radius: 7px 7px 2px 2px; padding: 8px; background: rgba(7, 20, 35, .6); text-align: center; }.podium .first { min-height: 130px; border-color: rgba(255, 173, 37, .45); }.podium i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(123, 66, 239, .25); font-style: normal; }.podium small { color: #718197; font-size: 7px; }
.tournament-chips { display: flex; flex-wrap: wrap; gap: 7px; }.tournament-chips > span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 8px; }
.tournament-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 13px; margin-top: 13px; }.bracket-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }.bracket-cols > div { display: grid; align-content: center; gap: 12px; }.bracket-cols span { border: 1px solid var(--line); border-radius: 5px; padding: 8px; background: rgba(7, 20, 35, .65); font-size: 9px; }.reward-pills { display: flex; flex-wrap: wrap; gap: 6px; }.reward-pills span { border: 1px solid rgba(255, 173, 37, .3); border-radius: 999px; padding: 5px 8px; color: #ffc969; font-size: 8px; }
.raid-hero { position: relative; overflow: hidden; }.raid-tags { display: flex; gap: 6px; }.raid-tags span { border: 1px solid rgba(43, 212, 113, .28); border-radius: 999px; padding: 4px 8px; color: #7be8a5; font-size: 8px; }.raid-timer { font: 20px "Cascadia Code", Consolas, monospace; }.raid-health { position: absolute; right: 0; bottom: 0; left: 0; height: 6px; background: rgba(255, 79, 97, .2); }.raid-health i { display: block; width: 46%; height: 100%; background: var(--red); }.raid-layout { display: grid; grid-template-columns: 1fr .75fr; gap: 13px; margin-top: 13px; }.damage-list { display: grid; gap: 8px; }.damage-list > div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 2px; font-size: 9px; }.damage-list strong { color: var(--orange); }

.rewards-layout { display: grid; grid-template-columns: .9fr 1fr .65fr; gap: 13px; }
.reward-catalog { display: grid; gap: 7px; }.reward-catalog button { display: grid; grid-template-columns: 12px 1fr auto; justify-content: initial; text-align: left; border-color: var(--line); background: rgba(7, 20, 35, .58); }.reward-catalog button.selected { border-color: var(--violet); }.reward-catalog i { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }.reward-catalog i.green { background: var(--green); }.reward-catalog i.amber { background: var(--orange); }.reward-catalog i.pink { background: var(--pink); }.reward-catalog i.blue { background: var(--blue); }.reward-catalog b, .reward-catalog small { display: block; }.reward-catalog small { color: #718197; font-size: 8px; }.reward-catalog em { border-radius: 999px; padding: 3px 6px; background: rgba(123, 66, 239, .18); color: #aa85f9; font-size: 7px; font-style: normal; }

.toast {
  position: fixed;
  z-index: 60;
  top: 20px;
  right: 26px;
  max-width: min(460px, calc(100vw - 32px));
  border: 1px solid rgba(34, 212, 107, .4);
  border-radius: 7px;
  padding: 11px 15px;
  background: rgba(12, 94, 53, .98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  color: #dcffea;
  font-size: 10px;
}
.toast.error { border-color: rgba(255, 69, 88, .52); background: rgba(111, 27, 42, .98); color: #ffe1e5; }
.save-bar {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(139, 88, 244, .4);
  border-radius: 7px;
  padding: 9px 10px 9px 14px;
  background: rgba(10, 24, 42, .99);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .43);
  color: #cbb6f8;
  font-size: 9px;
  font-weight: 600;
}
.save-bar > div { display: flex; gap: 7px; }
.hidden { display: none !important; }

@media (max-width: 1400px) {
  body { grid-template-columns: 232px minmax(0, 1fr); }
  .sidebar { width: 232px; }
  .workspace { padding-right: 18px; padding-left: 18px; }
  .webradio-layout { grid-template-columns: minmax(220px, .78fr) minmax(390px, 1.25fr) minmax(280px, .92fr); }
  .now-playing { grid-template-columns: 118px 1fr; }
  .radio-artwork { width: 118px; height: 118px; }
  .action-grid { grid-template-columns: repeat(3, 1fr); }
  .action-grid button:nth-child(6) { grid-column: auto; }
  .four-col.voice-top { grid-template-columns: repeat(2, 1fr); }
  .social-layout { grid-template-columns: 1fr 1fr; }
  .social-layout > .stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

.aurora-dialog { width: min(680px, calc(100vw - 32px)); padding: 0; color: var(--text); background: #0b1d32; border: 1px solid rgba(124, 92, 252, .55); border-radius: 18px; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); }
.aurora-dialog::backdrop { background: rgba(2, 8, 20, .76); backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 14px; border-bottom: 1px solid var(--border); }
.dialog-head h2 { margin: 5px 0 0; }
.dialog-close { min-width: 42px; padding: 8px 12px; font-size: 24px; line-height: 1; }
.dialog-body { display: grid; gap: 18px; padding: 22px 24px; }
.dialog-body textarea { min-height: 160px; resize: vertical; }
.dialog-body > small { color: var(--muted); line-height: 1.5; }
.dialog-actions { justify-content: flex-end; padding: 16px 24px 22px; border-top: 1px solid var(--border); }

@media (max-width: 1120px) {
  body { display: block; }
  .sidebar { position: relative; width: 100%; height: auto; min-height: 0; }
  .brand { height: 64px; }
  #navigation { display: grid; max-height: 420px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-title { grid-column: 1 / -1; }
  .sidebar footer { display: none; }
  .topbar { top: 0; }
  .dashboard-layout, .message-layout, .gemini-layout, .catalog-layout, .commands-layout, .backup-layout, .update-layout, .license-layout, .cloud-layout, .profiles-layout, .games-layout, .ranking-layout, .tournament-layout, .raid-layout { grid-template-columns: 1fr; }
  .webradio-layout { grid-template-columns: 1fr 1fr; }
  .webradio-layout .radio-right { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .kpi-grid.six { grid-template-columns: repeat(3, 1fr); }
  .diagnostic-strip { grid-template-columns: repeat(4, 1fr); }
  .license-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .logs-layout { grid-template-columns: .5fr 1.5fr; }
  .event-detail { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  #navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { min-height: 78px; padding: 8px 14px; }
  .header-badges { flex-wrap: wrap; justify-content: flex-end; }
  .workspace { padding: 17px 12px 80px; }
  .kpi-grid.four, .social-cards, .social-tabs, .cloud-kpis, .resource-strip, .four-col, .database-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .two-col.wide-left, .three-col, .ticket-layout, .moderation-layout, .roles-layout, .voice-top, .gemini-settings, .social-layout, .shop-layout, .inventory-layout, .duels-layout, .missions-layout, .season-layout, .rewards-layout { grid-template-columns: 1fr; }
  .form-grid.four, .form-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-toggles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-status-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .webradio-layout { grid-template-columns: 1fr; }
  .webradio-layout .radio-right { grid-column: auto; grid-template-columns: 1fr; }
  .radio-library { min-height: auto; }
  .radio-editor { min-height: auto; }
  .webradio-title-extra { position: static; margin-bottom: 10px; }
  .command-summary { grid-template-columns: repeat(2, 1fr); }
  .log-toolbar { grid-template-columns: repeat(2, 1fr); }
  .logs-layout { grid-template-columns: 1fr; }
  .event-detail { grid-column: auto; }
  .process-steps { align-items: stretch; flex-direction: column; }
  .process-steps > span { display: none; }
  .action-cards > div { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  #navigation { grid-template-columns: 1fr; }
  .kpi-grid.four, .kpi-grid.three, .kpi-grid.six, .social-cards, .social-tabs, .cloud-kpis, .resource-strip, .diagnostic-strip, .database-types, .license-hero-grid { grid-template-columns: 1fr; }
  .form-grid.two, .form-grid.three, .form-grid.four, .toggle-list.horizontal, .category-toggles, .module-status-grid, .service-grid, .inventory-grid, .game-grid { grid-template-columns: 1fr; }
  .radio-actions { grid-template-columns: repeat(2, 1fr); }
  .now-playing { grid-template-columns: 1fr; text-align: center; }
  .radio-artwork { width: 100%; height: 210px; }
  .page-heading { padding-right: 0; }
  .module-menu { right: 10px; left: 10px; width: auto; }
  .save-bar { right: 10px; bottom: 10px; left: 10px; justify-content: space-between; }
}

/* NOVA_MISSION_PERIODS_V1 */
.mission-period-tabs { margin: 0 0 10px; }
.mission-period-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.mission-period-tabs span { min-width: 16px; padding: 1px 5px; border-radius: 999px; background: rgba(255,255,255,.09); font-size: 8px; text-align: center; }
.mission-list > p { margin: 0; padding: 12px; color: #8292a7; font-size: 10px; border: 1px dashed var(--line); border-radius: 7px; }


/* NOVABOT_AURORA_20261005_START */
/* 2026-10-05
   Visual layer only: existing page visibility, fields, controls and actions stay intact. */
:root {
  --bg: #080f22;
  --bg-deep: #071020;
  --sidebar: #0e1b33;
  --surface: #132641;
  --surface-2: #1b3051;
  --surface-3: #0b1b31;
  --line: rgba(72, 92, 135, .48);
  --line-strong: rgba(110, 131, 180, .48);
  --border: var(--line);
  --text: #edf3fc;
  --muted: #a6b8d0;
  --subtle: #8197b4;
  --violet: #6957ee;
  --violet-light: #b5a8ff;
  --cyan: #2dd4bf;
  --green: #4dd5a3;
  --shadow: 0 12px 36px rgba(0, 0, 0, .17);
}
body {
  grid-template-columns: 276px minmax(0, 1fr);
  background:
    radial-gradient(ellipse at 2% 17%, rgba(97, 72, 169, .20), transparent 29%),
    radial-gradient(ellipse at 95% 1%, rgba(26, 145, 139, .14), transparent 29%),
    var(--bg);
  font-size: 14px;
  line-height: 1.55;
}
body::after { opacity: .04; }
.sidebar {
  top: 18px;
  width: 246px;
  height: calc(100vh - 36px);
  min-height: 0;
  margin: 18px 0 18px 18px;
  border: 1px solid rgba(80, 95, 144, .40);
  border-radius: 21px;
  background: linear-gradient(140deg, rgba(22, 35, 69, .94), rgba(10, 28, 49, .97));
  box-shadow: 0 15px 35px rgba(0, 0, 0, .14);
  backdrop-filter: blur(24px);
}
.brand { height: 79px; flex-basis: 79px; padding-left: 13px; border-color: var(--line); }
.brand strong { font-size: 22px; letter-spacing: -.6px; }
#navigation { gap: 3px; padding: 8px 12px 16px; scrollbar-color: #50648c transparent; }
.nav-title { margin-top: 18px; color: #8a9ebe; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
#navigation button { min-height: 38px; border-radius: 10px; padding: 8px 10px; color: #b8c9de; font-size: 12px; }
#navigation button svg { color: #7de2d4; }
#navigation button:hover { border-color: rgba(142, 121, 230, .20); background: rgba(107, 91, 189, .17); }
#navigation button.active {
  border-color: rgba(143, 125, 220, .28);
  background: linear-gradient(95deg, rgba(102, 83, 201, .67), rgba(100, 82, 207, .35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.sidebar footer { border-color: var(--line); color: #91a7c3; }
.topbar {
  top: 18px;
  min-height: 64px;
  margin: 18px 28px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(72, 92, 135, .28);
  border-radius: 16px;
  background: rgba(15, 30, 52, .85);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
  backdrop-filter: blur(18px);
}
.header-icon { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; background: rgba(30, 50, 79, .5); }
.pill { border-color: rgba(46, 177, 145, .30); background: rgba(25, 100, 86, .19); color: #82edcd; font-size: 11px; }
.pill.accent { border-color: rgba(124, 103, 228, .36); background: rgba(99, 78, 189, .16); color: #c5b8ff; }
.pill.offline { border-color: rgba(244, 156, 167, .38); background: rgba(121, 53, 68, .18); color: #ffc1c8; }
.workspace { padding: 26px 28px 90px 0; }
.page-heading { margin-bottom: 24px; }
.breadcrumb { display: block; margin-bottom: 9px; color: #839ab8; font-size: 10px; letter-spacing: .3px; }
h1 { font-size: clamp(26px, 2vw, 32px); font-weight: 720; letter-spacing: -.8px; }
h2 { font-size: 15px; font-weight: 660; }
h3 { font-size: 13px; }
.page-heading p, .panel > p { color: var(--muted); font-size: 12px; }
.panel, .kpi, .info-bar, .page-footer, .integration-card,
.database-types button, .license-hero-grid > article, .license-state,
.diagnostic-strip > article, .cloud-kpis > article, .command-summary > article {
  border-radius: 18px;
  border-color: var(--line);
  border-top-color: rgba(90, 112, 163, .50);
  background: linear-gradient(130deg, rgba(23, 42, 69, .92), rgba(15, 34, 59, .92));
  box-shadow: var(--shadow);
}
.panel { padding: 20px; }
.stack, .two-col, .three-col, .four-col, .dashboard-layout, .kpi-grid { gap: 18px; }
.panel-head p, .panel-head h2 + p { color: var(--muted); font-size: 11px; }
.kpi { min-height: 110px; padding: 18px; background: linear-gradient(120deg, rgba(24, 52, 83, .77), rgba(19, 35, 64, .82)); }
.kpi span { color: #b7c8de; font-size: 11px; }
.kpi strong { font-size: 25px; }
.kpi small, .kpi-grid.miniature .kpi small { color: #91a8c7; font-size: 10px; }
.kpi i { border-radius: 14px; }
label { color: #c8d6e8; font-size: 12px; }
label small { color: #93a9c6; font-size: 10px; }
input, select, textarea { min-height: 38px; border-color: #354b70; border-radius: 9px; padding: 9px 11px; background: #0b1b31; color: var(--text); font-size: 12px; }
input::placeholder, textarea::placeholder { color: #8296b2; }
input:focus, select:focus, textarea:focus { border-color: #9482f5; box-shadow: 0 0 0 3px rgba(113, 87, 215, .16); }
input:disabled { color: #91a3bc; }
input[type="checkbox"], input[type="radio"] { min-height: 0; accent-color: #8270f3; }
input[type="range"] { min-height: 0; accent-color: var(--cyan); }
.form-grid { gap: 14px; }
.toggle-list label, .switch-control { border-color: var(--line); border-radius: 9px; background: rgba(11, 27, 49, .65); }
button { min-height: 36px; border-color: rgba(145, 122, 246, .47); border-radius: 9px; padding: 8px 13px; background: linear-gradient(110deg, #775df4, #5d5cf1); color: #fff; font-size: 11px; font-weight: 620; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
button.secondary { border-color: #3b5277; background: #1d3550; color: #d0dded; }
button.green, .actions button.green { border-color: rgba(43, 182, 165, .58); background: rgba(24, 143, 130, .38); color: #b9ffee; }
button.red, .actions button.red, button.danger { border-color: rgba(185, 106, 123, .64); background: rgba(121, 53, 68, .32); color: #ffc1c8; }
button.amber, .actions button.amber { border-color: #9b7c46; background: rgba(101, 81, 49, .22); color: #f7c775; }
button.violet, .actions button.violet { border-color: rgba(130, 108, 237, .48); background: rgba(89, 66, 169, .35); color: #d8caff; }
button.small { min-height: 30px; padding: 5px 9px; font-size: 10px; }
button.text-button { color: #b5a8ff; }
.novaplay-tabs, .local-tabs { gap: 7px; }
.novaplay-tabs button, .local-tabs button, .segmented button { min-height: 32px; border-color: var(--line); border-radius: 8px; padding: 6px 10px; background: rgba(12, 26, 46, .7); color: #a8bbd4; font-size: 10px; }
.novaplay-tabs button.active, .local-tabs button.active, .segmented button.active { border-color: rgba(146, 122, 236, .50); background: rgba(94, 79, 204, .27); color: #d5caff; }
.status { padding: 4px 8px; font-size: 10px; color: #b1c4db; }
.status.on { border-color: rgba(33, 168, 147, .40); background: rgba(20, 123, 108, .14); color: #70e3c7; }
.status.warning { border-color: rgba(173, 121, 48, .38); background: rgba(173, 121, 48, .09); color: #ffd18a; }
.status.error { border-color: rgba(164, 68, 84, .48); background: rgba(164, 68, 84, .13); color: #f6aab6; }
.table, .data-table, .permission-matrix { scrollbar-color: #456087 transparent; scrollbar-width: thin; }
.table > div, .data-row, .permission-matrix > div { border-color: var(--line); padding: 12px 9px; color: #b9c9dd; font-size: 11px; }
.table > .table-head { color: #91a9c8; font-size: 10px; }
.table > div:not(.table-head):hover, .data-row:hover { background: rgba(41, 67, 98, .15); }
.data-row small { color: #94aaca; font-size: 10px; }
.table b, .data-row b { color: #e0e9f7; }
.discord-preview, .welcome-preview { border-color: var(--line); background: rgba(21, 32, 56, .70); }
.embed, .preview-banner, .selectable-list button, .rights-grid > div, .service-grid > div, .game-grid > div, .radio-card, .radio-card-art, .inventory-grid .data-row { border-radius: 10px; }
.service-grid b, .activity-row small, .rights-grid b { color: #92a8c5; font-size: 10px; }
.service-state, .activity-row strong, .page-footer { font-size: 11px; }
.selectable-list button b { font-size: 12px; }
.selectable-list button small { color: #92a7c4; font-size: 10px; }
.selectable-list button.selected { border-color: #8c75e9; background: rgba(94, 79, 204, .20); }
.season-hero, .tournament-hero, .raid-hero { background: linear-gradient(105deg, rgba(78, 54, 129, .47), rgba(23, 61, 72, .36)); }
.player-progress i, .progress i { background: linear-gradient(90deg, #7861f2, #2dd4bf); }
pre { border-color: var(--line); border-radius: 10px; background: #081628; color: #c6d7ef; font-size: 11px; }
.module-menu, .aurora-dialog { border-color: var(--line-strong); background: #102138; border-radius: 18px; }
.save-bar { border-color: rgba(132, 109, 218, .55); border-radius: 14px; background: rgba(16, 33, 56, .97); color: #d4c9ff; font-size: 12px; backdrop-filter: blur(12px); }
.toast { border-radius: 12px; font-size: 12px; }
@media (max-width: 1400px) and (min-width: 1121px) {
  body { grid-template-columns: 258px minmax(0, 1fr); }
  .sidebar { width: 230px; margin-left: 14px; }
  .workspace { padding-right: 20px; }
  .topbar { margin-right: 20px; }
}
@media (max-width: 1280px) and (min-width: 781px) {
  .ticket-layout, .moderation-layout, .roles-layout, .rewards-layout, .missions-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket-layout > :last-child, .moderation-layout > :last-child, .roles-layout > :last-child, .rewards-layout > :last-child, .missions-layout > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .sidebar { top: auto; position: relative; width: calc(100% - 24px); height: auto; min-height: 0; margin: 12px; border-radius: 18px; }
  .brand { height: 64px; flex-basis: 64px; }
  #navigation { max-height: 280px; }
  .topbar { top: 0; margin: 0 12px; }
  .workspace { padding: 24px 20px 90px; }
}
@media (max-width: 780px) {
  .panel { padding: 17px; }
  .workspace { padding: 22px 12px 90px; }
  .topbar { padding: 10px 12px; }
  .header-badges { gap: 6px; }
  .pill { padding: 5px 9px; font-size: 10px; }
  .page-heading p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
  button, input, select, textarea { transition: none; }
  button:hover { transform: none; }
}
/* NOVABOT_AURORA_20261005_END */
