/* Attack Shark archive — monochrome liquid-glass UI */
:root {
  color-scheme: dark;
  --as-bg: #08090b;
  --as-surface: rgba(255,255,255,.055);
  --as-surface-strong: rgba(255,255,255,.085);
  --as-border: rgba(255,255,255,.12);
  --as-border-soft: rgba(255,255,255,.075);
  --as-text: #f5f5f5;
  --as-muted: #a1a1aa;
  --as-shadow: 0 18px 50px rgba(0,0,0,.34);
  --as-glass: saturate(145%) blur(22px);
}
html {
  min-height: 100%;
  background: var(--as-bg) !important;
  color-scheme: dark;
}
body {
  min-height: 100vh;
  color: var(--as-text) !important;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255,255,255,.075), transparent 34%),
    radial-gradient(ellipse at 88% 18%, rgba(155,155,155,.07), transparent 32%),
    linear-gradient(145deg, #08090b 0%, #111214 52%, #090a0c 100%) !important;
  background-attachment: fixed !important;
}
#app {
  min-height: 100vh;
  color: var(--as-text);
  background: transparent !important;
}
#app, #app * {
  scrollbar-color: #55565b transparent;
}
#app ::-webkit-scrollbar-thumb {
  background: rgba(190,190,195,.32) !important;
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 99px;
}
#app ::-webkit-scrollbar-thumb:hover {
  background: rgba(225,225,230,.5) !important;
  background-clip: padding-box;
}
/* Keep the application's existing layout, but remove flat colored canvases. */
.n-layout, .n-layout-content, .n-layout-sider, .n-layout-header,
.n-scrollbar-content, .n-config-provider {
  color: var(--as-text) !important;
  background: transparent !important;
}
/* Glass surfaces */
.n-card, .n-modal, .n-dialog, .n-popover, .n-dropdown-menu,
.n-drawer, .n-message, .n-notification, .n-date-panel,
.n-time-picker-panel, .n-color-picker-panel,
.go-background-filter, .go-background-filter-shallow,
.cssUpdateItem, .transparent-card, .go-items-list-card {
  color: var(--as-text) !important;
  background: rgba(24,25,28,.72) !important;
  border: 1px solid var(--as-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--as-shadow), inset 0 1px 0 rgba(255,255,255,.075) !important;
  -webkit-backdrop-filter: var(--as-glass) !important;
  backdrop-filter: var(--as-glass) !important;
}
.n-card {
  padding: 6px !important;
}
.n-card-header {
  color: #fff !important;
  padding: 18px 20px 12px !important;
}
.n-card__content, .n-card__action {
  color: #e7e7e9 !important;
}
/* Navigation and side panels */
.n-menu, .n-menu-item-content, .n-tabs-nav,
.n-layout-sider-scroll-container {
  background: transparent !important;
}
.n-menu-item-content {
  border-radius: 12px !important;
  margin: 3px 8px !important;
  transition: background .2s ease, border-color .2s ease !important;
}
.n-menu-item-content:hover, .n-menu-item-content--selected {
  background: rgba(255,255,255,.105) !important;
}
.n-menu-item-content--selected::before {
  background: rgba(255,255,255,.11) !important;
  border-radius: 12px !important;
}
.n-menu-item-content-header, .n-menu-item-content__icon,
.n-tabs-tab, .n-breadcrumb, .n-breadcrumb-item {
  color: #d4d4d8 !important;
}
.n-tabs-tab--active, .n-menu-item-content--selected .n-menu-item-content-header {
  color: #fff !important;
}
.n-tabs-bar {
  background: #f4f4f5 !important;
}
/* Inputs */
.n-input, .n-input-number, .n-base-selection,
.n-date-picker, .n-time-picker, .n-cascader,
.n-tree-select, .n-mention, .n-auto-complete {
  color: #f4f4f5 !important;
  background: rgba(255,255,255,.055) !important;
  border-radius: 11px !important;
}
.n-input, .n-input-number, .n-base-selection,
.n-date-picker, .n-time-picker, .n-cascader,
.n-tree-select, .n-mention, .n-auto-complete {
  --n-color: rgba(255,255,255,.055) !important;
  --n-color-focus: rgba(255,255,255,.075) !important;
  --n-border: 1px solid rgba(255,255,255,.14) !important;
  --n-border-hover: 1px solid rgba(255,255,255,.3) !important;
  --n-border-focus: 1px solid rgba(255,255,255,.42) !important;
  --n-text-color: #f4f4f5 !important;
  --n-placeholder-color: #8f9098 !important;
  --n-caret-color: #fff !important;
}
.n-input__input-el, .n-input__textarea-el,
.n-base-selection-label, .n-base-selection-input {
  color: #f4f4f5 !important;
}
.n-input__border, .n-input__state-border {
  border-radius: 11px !important;
}
/* Monochrome controls */
.n-button {
  --n-color: rgba(255,255,255,.075) !important;
  --n-color-hover: rgba(255,255,255,.14) !important;
  --n-color-pressed: rgba(255,255,255,.19) !important;
  --n-border: 1px solid rgba(255,255,255,.14) !important;
  --n-border-hover: 1px solid rgba(255,255,255,.28) !important;
  --n-text-color: #f4f4f5 !important;
  --n-text-color-hover: #fff !important;
  --n-text-color-pressed: #fff !important;
  border-radius: 11px !important;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}
.n-button:hover {
  box-shadow: 0 5px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12) !important;
}
.n-button:active {
  transform: translateY(1px) scale(.985);
}
.n-button--primary-type, .n-button--success-type,
.n-button--info-type, .n-button--warning-type, .n-button--error-type {
  --n-color: #e5e5e5 !important;
  --n-color-hover: #fff !important;
  --n-color-pressed: #d4d4d8 !important;
  --n-text-color: #111 !important;
  --n-text-color-hover: #080808 !important;
  --n-text-color-pressed: #080808 !important;
  --n-border: 1px solid rgba(255,255,255,.4) !important;
}
.n-switch.n-switch--active {
  background: #d4d4d8 !important;
}
.n-switch .n-switch__button {
  background: #171719 !important;
}
/* Tables, lists, separators and status surfaces */
.n-data-table, .n-data-table-table, .n-data-table-th,
.n-data-table-td, .n-list, .n-list-item, .n-thing {
  color: #e7e7e9 !important;
  background: transparent !important;
  --n-merged-td-color: transparent !important;
  --n-th-color: rgba(255,255,255,.055) !important;
  --n-td-color: transparent !important;
  --n-border-color: rgba(255,255,255,.09) !important;
}
.n-data-table-tr:hover .n-data-table-td {
  background: rgba(255,255,255,.045) !important;
}
.n-divider, .n-hr {
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.12) !important;
}
.n-tag {
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.08) !important;
  color: #eee !important;
}
/* Popups */
.n-dropdown-menu, .n-base-select-menu, .n-date-panel,
.n-time-picker-panel, .n-cascader-menu, .n-tree,
.n-popover {
  background: rgba(25,26,29,.94) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.48) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
}
.n-base-select-option, .n-dropdown-option, .n-date-panel-date {
  color: #e4e4e7 !important;
}
.n-base-select-option--selected, .n-base-select-option--pending,
.n-dropdown-option:hover, .n-date-panel-date:hover {
  background: rgba(255,255,255,.1) !important;
}
/* Page spacing: consistent gutters and breathing room */
.go-project-my-template {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: calc(100vh - 32px) !important;
  padding: 28px clamp(18px, 3vw, 48px) 36px !important;
  gap: 24px !important;
}
.gridHomeHeader {
  box-sizing: border-box !important;
  padding: 18px clamp(18px, 3vw, 42px) !important;
  min-height: 108px !important;
  gap: 18px !important;
}
.gridRow {
  box-sizing: border-box !important;
  padding: 12px clamp(18px, 3vw, 42px) 28px !important;
  gap: 18px !important;
}
.row2 {
  box-sizing: border-box !important;
  padding: 22px !important;
}
.menu {
  padding: 12px !important;
}
.cssUpdateItem {
  box-sizing: border-box !important;
  padding: 30px clamp(22px, 3vw, 42px) !important;
}
.go-items-list-card {
  margin: 10px !important;
  overflow: hidden !important;
}
.go-items-list-card .list-content {
  border-radius: 16px !important;
}
.go-items-list-card .list-footer {
  padding: 12px 16px !important;
}
.n-layout-content, .n-scrollbar-content {
  box-sizing: border-box;
}
/* Improve spacing in forms and settings panels */
.n-form-item {
  margin-bottom: 18px !important;
}
.n-form-item-label {
  color: #d4d4d8 !important;
}
.n-tabs-nav {
  padding: 0 4px 8px !important;
}
.n-modal .n-card, .n-dialog {
  padding: 10px !important;
}
/* Responsive gutters */
@media (max-width: 900px) {
  .go-project-my-template {
    padding: 18px 16px 26px !important;
    gap: 16px !important;
  }
  .gridHomeHeader {
    grid-template-columns: minmax(0,1fr) !important;
    height: auto !important;
    padding: 16px !important;
    gap: 12px !important;
  }
  .gridRow {
    grid-template-rows: auto 1fr !important;
    padding: 12px 16px 22px !important;
  }
  .row2 {
    padding: 14px !important;
  }
  .cssUpdateItem {
    width: min(100%, 480px) !important;
    max-width: 100% !important;
    padding: 22px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app *, #app *::before, #app *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Refined device settings controls */
#app .n-switch {
  --n-rail-color: rgba(255,255,255,.16) !important;
  --n-rail-color-active: #d4d4d8 !important;
  --n-button-color: #17181b !important;
  --n-button-color-active: #17181b !important;
  background: transparent !important;
}
#app .n-switch .n-switch__rail {
  background: #383a3e !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35) !important;
}
#app .n-switch.n-switch--active .n-switch__rail {
  background: #d4d4d8 !important;
  border-color: rgba(255,255,255,.48) !important;
}
#app .n-switch .n-switch__button {
  background: #111214 !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.45) !important;
}
#app .n-button,
#app button.n-button,
#app .n-button--primary-type,
#app .n-button--success-type,
#app .n-button--info-type,
#app .n-button--warning-type,
#app .n-button--error-type {
  background: rgba(48,49,53,.92) !important;
  color: #f4f4f5 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  --n-color: rgba(48,49,53,.92) !important;
  --n-color-hover: rgba(67,68,73,.98) !important;
  --n-color-pressed: rgba(35,36,40,.98) !important;
  --n-text-color: #f4f4f5 !important;
  --n-text-color-hover: #fff !important;
  --n-text-color-pressed: #fff !important;
  --n-border: 1px solid rgba(255,255,255,.16) !important;
  --n-border-hover: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 11px !important;
}
#app .n-button .n-button__content,
#app button.n-button {
  color: #f4f4f5 !important;
}
#app .n-base-selection,
#app .n-base-selection .n-base-selection-label,
#app .n-base-selection .n-base-selection-input {
  background: rgba(43,44,48,.94) !important;
  color: #f4f4f5 !important;
}
#app .n-base-selection .n-base-selection-label {
  border-radius: 11px !important;
}

/* Center the mouse and receiver version labels beneath the device image */
#app .modelExtra2[data-v-34e466ea] {
  left: calc(50% - 10px) !important;
  right: auto !important;
  width: max-content !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  align-items: center !important;
}
#app .modelExtra2[data-v-34e466ea] > * {
  width: max-content !important;
  text-align: center !important;
}
