/* Lusty Looters admin v482: RCON visual theme for every admin tool except Dashboard and Players. */

/*
  Theme scope only. Dashboard and Connected Players deliberately retain their
  existing visual systems. No dimensions, grids, positioning, or page flow are
  changed here.
*/
html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical) {
  color-scheme: dark;
  --ll-rcon-theme-v482: 1;
  --bg: #03060d !important;
  --bg2: #050c18 !important;
  --dark: #03060d !important;
  --panel: #08111f !important;
  --panel2: #0a1628 !important;
  --card: #08111f !important;
  --text: #eef5ff !important;
  --white: #ffffff !important;
  --muted: #8fb7f0 !important;
  --muted2: #7aa8e0 !important;
  --soft: #b8d0f5 !important;
  --accent: #0f68ea !important;
  --accent2: #5fa1ff !important;
  --blue: #0f68ea !important;
  --blue2: #5fa1ff !important;
  --blue-light: #5fa1ff !important;
  --green: #55e68c !important;
  --red: #ff6b7d !important;
  --gold: #f7c66b !important;
  --gold2: #ffd98a !important;
  --line: rgba(15, 104, 234, .28) !important;
  --line2: rgba(95, 161, 255, .58) !important;
  --ll-bg: #03060d !important;
  --ll-panel: rgba(8, 17, 31, .97) !important;
  --ll-panel-2: rgba(10, 22, 40, .94) !important;
  --ll-card: rgba(8, 18, 34, .94) !important;
  --ll-line: rgba(15, 104, 234, .28) !important;
  --ll-line-strong: rgba(95, 161, 255, .58) !important;
  --ll-blue: #0f68ea !important;
  --ll-blue-2: #5fa1ff !important;
  --ll-text: #eef5ff !important;
  --ll-muted: #8fb7f0 !important;
  --ll-soft: #b8d0f5 !important;
  --store470-border: rgba(15, 104, 234, .28) !important;
  --store470-border-strong: rgba(95, 161, 255, .52) !important;
  --store470-panel: linear-gradient(
    160deg,
    rgba(10, 18, 32, .96),
    rgba(4, 8, 16, .96)
  ) !important;
  --store470-panel-2: rgba(10, 22, 40, .92) !important;
  --store470-text: #eef5ff !important;
  --store470-muted: #b8d0f5 !important;
  --store470-blue: #5fa1ff !important;
  --store470-green: #55e68c !important;
  --store470-gold: #f7c66b !important;
  color: #eef5ff !important;
  background-color: #03060d !important;
  font-family: "Crimson Pro", Georgia, serif !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical) #starfield {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  pointer-events: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical) #starfield::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: .62 !important;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .78) 0 1px, transparent 1.45px),
    radial-gradient(circle, rgba(95, 161, 255, .66) 0 1px, transparent 1.55px),
    radial-gradient(circle, rgba(126, 193, 255, .42) 0 .8px, transparent 1.35px) !important;
  background-size: 337px 223px, 491px 307px, 683px 419px !important;
  background-position: 19px 31px, 147px 83px, 283px 167px !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .admin-main,
    .admin-store-main,
    .admin-orders-section,
    .admin-subscriptions-section,
    .rcon-page-shell,
    .rcon-dashboard-content,
    .page-shell,
    .banner-admin-main,
    .banner-manager-content,
    .security-main,
    .staff-admin-page,
    .delivery-main,
    main.page,
    main.shell
  ) {
  color: #eef5ff !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(h1, h2, h3, h4, .page-title, .section-title, .panel-title) {
  color: #ffffff !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-weight: 900 !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .section-label,
    .field-label,
    .label,
    .eyebrow,
    .kicker,
    .staff-kicker,
    .block-kicker,
    th
  ) {
  color: #5fa1ff !important;
  font-family: "JetBrains Mono", Consolas, monospace !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    p,
    small,
    .section-desc,
    .page-sub,
    .panel-head span,
    .store-v470-title p,
    .staff-sub,
    .staff-note
  ) {
  color: #b8d0f5 !important;
}

/* RCON panel surface shared by every non-excluded admin tool. */
html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .panel,
    .admin-panel,
    .card,
    .content-card,
    .stat-card,
    .admin-stats article,
    .admin-order-card,
    .admin-subscription-card,
    .block-card,
    .preview-card,
    .notice-card,
    .staff-hero,
    .staff-card,
    .staff-panel,
    .staff-stat,
    .staff-role-box,
    .delivery-head,
    .delivery-panel,
    .delivery-command-card,
    .delivery-setup-card,
    .delivery-subscription-card,
    .store-v470-header,
    .store-v470-tabs,
    .store-v470-panel,
    .store-v470-catalogue-head,
    .store-v470-product-card,
    .store-v470-stat,
    .section-card,
    .editor-section,
    .admin-editor-header,
    .admin-editor-settings-card,
    .admin-preview-card,
    .admin-recipe-card,
    .admin-setup-card,
    .admin-step-card,
    .command-stage-card,
    .command-preview-control-card,
    .command-placeholder-card,
    .discord-delivery-card,
    .discord-action-preview,
    .dino-help-card,
    .item-option-panel,
    .json-advanced,
    .table-wrap,
    .manual-unblock,
    .empty-state
  ) {
  color: #eef5ff !important;
  border-color: rgba(15, 104, 234, .28) !important;
  background: linear-gradient(
    160deg,
    rgba(10, 18, 32, .96),
    rgba(4, 8, 16, .96)
  ) !important;
  box-shadow: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .panel-head,
    .admin-order-card-head,
    .admin-subscription-card-head,
    .staff-card-head,
    .editor-card-head,
    .store-v470-catalogue-head
  ) {
  color: #ffffff !important;
  border-color: rgba(15, 104, 234, .18) !important;
  background: linear-gradient(
    90deg,
    rgba(15, 104, 234, .14),
    transparent
  ) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .staff-editor,
    .command-preview,
    pre
  ) {
  color: #eef5ff !important;
  border-color: rgba(15, 104, 234, .28) !important;
  background: rgba(3, 10, 22, .88) !important;
  caret-color: #8bc7ff !important;
  box-shadow: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .staff-editor
  ):focus {
  border-color: rgba(95, 161, 255, .68) !important;
  outline: none !important;
  box-shadow: 0 0 18px rgba(15, 104, 234, .16) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(input, textarea)::placeholder {
  color: #708caf !important;
  opacity: 1 !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    button,
    .btn,
    .view-btn,
    .filter-btn,
    .staff-btn,
    .staff-link,
    .delivery-btn,
    .death-btn,
    .row-save-btn,
    .store-v470-button,
    .item-editor-back,
    .item-editor-view-product,
    .manual-banlist-btn,
    .copy-eos-btn
  ) {
  color: #5fa1ff !important;
  border-color: rgba(15, 104, 234, .42) !important;
  background: rgba(15, 104, 234, .07) !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    button,
    .btn,
    .view-btn,
    .filter-btn,
    .staff-btn,
    .staff-link,
    .delivery-btn,
    .death-btn,
    .row-save-btn,
    .store-v470-button,
    .item-editor-back,
    .item-editor-view-product
  ):hover {
  color: #ffffff !important;
  border-color: #5fa1ff !important;
  background: rgba(15, 104, 234, .15) !important;
  box-shadow: 0 12px 30px rgba(15, 104, 234, .16) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .btn-primary,
    .btn.primary,
    button.primary,
    .store-v470-button-primary,
    .active.filter-btn,
    .segment.active
  ) {
  color: #01101e !important;
  border-color: rgba(95, 161, 255, .30) !important;
  background: linear-gradient(135deg, #1472f5, #5fa1ff) !important;
  box-shadow: 0 8px 28px rgba(15, 104, 234, .28) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .danger,
    .danger-btn,
    .bulk-danger,
    .manual-banlist-btn.danger,
    .preset-delete-btn
  ) {
  color: #ffd7df !important;
  border-color: rgba(255, 107, 125, .45) !important;
  background: rgba(255, 107, 125, .08) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(
    .pill,
    .status-pill,
    .staff-pill,
    .store-v470-badge,
    .ll-stripe-mode-pill,
    .health-pill,
    .command-status,
    .admin-order-status,
    .admin-subscription-status
  ) {
  color: #9fc9ff !important;
  border-color: rgba(15, 104, 234, .38) !important;
  background: rgba(15, 104, 234, .08) !important;
  font-family: "JetBrains Mono", Consolas, monospace !important;
  box-shadow: none !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(.green, .good, .live, .ok, .success, [data-state="success"]) {
  color: #aef7c8 !important;
  border-color: rgba(85, 230, 140, .38) !important;
  background-color: rgba(85, 230, 140, .08) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(.gold, .warn, .warning, [data-state="warning"]) {
  color: #ffe4a0 !important;
  border-color: rgba(247, 198, 107, .40) !important;
  background-color: rgba(247, 198, 107, .08) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(.bad, .error, .critical, [data-state="error"]) {
  color: #ffc0ca !important;
  border-color: rgba(255, 107, 125, .42) !important;
  background-color: rgba(255, 107, 125, .08) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(table, .data-table, .death-items-table) {
  color: #eef5ff !important;
  border-color: rgba(15, 104, 234, .20) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(th, .ll-table-head) {
  color: #7aa8e0 !important;
  border-color: rgba(15, 104, 234, .18) !important;
  background: rgba(6, 16, 31, .98) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(td, .ll-table-body, .admin-order-meta article, .admin-subscription-meta article) {
  color: #e9f3ff !important;
  border-color: rgba(15, 104, 234, .14) !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  :where(code, pre) {
  color: #cfe2ff !important;
  font-family: "JetBrains Mono", Consolas, monospace !important;
}

html body.ll-admin-shell:not(.admin-home-page):not(.connected-home-identical)
  ::selection {
  color: #ffffff;
  background: rgba(15, 104, 234, .72);
}

/* RCON, Deaths, and Banner already provide their own native star layer. */
html body.ll-admin-shell.rcon-home-identical #starfield::before {
  content: none !important;
  display: none !important;
}
