
:root{
  --rsx-theme-surface: var(--rsx-soft-surface, linear-gradient(180deg,var(--rsx-soft-panel-top, rgba(20,32,50,.82)), var(--rsx-soft-panel-bottom, rgba(11,19,31,.92))));
  --rsx-theme-surface-hover: var(--rsx-soft-surface-hover, var(--rsx-theme-surface));
  --rsx-theme-border: var(--rsx-soft-border, color-mix(in srgb, var(--panel-stroke, var(--rsx-soft-accent)) 16%, transparent));
  --rsx-theme-border-strong: var(--rsx-soft-border-strong, color-mix(in srgb, var(--panel-stroke, var(--rsx-soft-accent)) 30%, transparent));
  --rsx-theme-text: var(--rsx-soft-text, var(--text-primary, #e6f2ff));
  --rsx-theme-muted: var(--rsx-soft-text-muted, var(--text-secondary, rgba(190,214,235,.66)));
  --rsx-theme-accent: var(--rsx-soft-accent, var(--accent-light, #78d9ff));
  --rsx-theme-accent-2: var(--rsx-soft-accent-2, var(--accent-light, #52baff));
  --rsx-theme-glow: rgba(var(--btn-glow-rgb, 82,186,255), .18);
  --rsx-theme-shadow: 0 12px 28px rgba(0,0,0,.24), 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 8%, transparent);
  --rsx-theme-shadow-soft: 0 10px 24px rgba(0,0,0,.18);
  --rsx-theme-pill-bg: linear-gradient(180deg, color-mix(in srgb, var(--rsx-theme-accent) 12%, transparent), rgba(255,255,255,.02));
  --rsx-theme-pill-bg-active: linear-gradient(180deg, color-mix(in srgb, var(--rsx-theme-accent-2) 30%, transparent), color-mix(in srgb, var(--rsx-theme-accent) 12%, transparent));
}

body, html, .app-shell, .site-shell, .page-shell, .main-content, .page-content, .content-area,
.context-panel, .left-panel.hologram-box.context-panel, .left-panel.hologram-box.context-panel .ctx-shell,
.left-panel.hologram-box.context-panel .ctx-body, .left-panel.hologram-box.context-panel .nav-bottom,
.page-card, .panel, .hologram-box, .table-wrap, .card, .tile, .modal-card, .opsCard,
.rsx-card, .rsx-panel, .rsx-stage, .rsx-toolbar, .rsx-home-head, .rsx-panel-head,
.rsx-comm-card, .ship-card, .component-card, .commodity-card, .blueprint-card, .ingredient-card,
.rsx-route-card, .rsx-link-card, .rsx-blueprint-card, .rsx-ingredient, .fc-card, .fc-slot-card,
.fc-tactical-card, .fc-tactical-v2-card, .rsx-modal, .rsx-modal-hd, .rsx-modal-body, .rsx-modal-ft,
.rsx-analytics-panel, .rsx-update-modal__panel, .rsx-app-loader__panel{
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}

.context-panel .ctx-shell-icon,
.context-panel .ctx-block,
.context-panel .ctx-list li,
.context-panel .ctx-content-item,
.context-panel .fc-item,
.context-panel .fc-list,
.context-panel .fc-chip,
.context-panel .rsx-crafting-ctx-list-row,
.context-panel .rsx-crafting-ctx-slide,
.context-panel .rsx-crafting-ctx-slide.is-selected,
.context-panel .rsx-crafting-ctx-list-row.is-selected,
.context-panel .rsx-crafting-ctx-listwrap,
.context-panel .rsx-crafting-ctx-slider-only--loading,
.context-panel .rsx-crafting-ctx-glide-track--minimal,
.context-panel .rsx-ctx-locations,
.context-panel .rsx-ctx-location-list,
.context-panel .rsx-ctx-location-item,
.context-panel .rsx-ctx-location-header,
.context-panel .ctx-contents,
.context-panel .ctx-type-pill,
.context-panel .ctx-thumb,
#rsx-side-version-slot,
#rsx-side-version-slot .rsx-game-version,
#rsx-side-version-slot .rsx-game-version__btn,
.rsx-side-privacy-btn,
.left-panel .nav-bottom .nav-btn,
.left-panel .nav-bottom .rsx-side-privacy-btn,
.rsx-extension-status,
.rsx-extension-status *,
.top-menu .nav-btn,
.nav-btn,
.icon-pill,
.status-pill,
.pill,
.chip,
.tag,
.badge,
button,
.btn,
.rsx-btn,
.rsx-detail-button,
.rsx-rp-btn,
.rsx-qb,
.rsx-profile-btn,
.rsx-retrieve-btn,
input:not([type="color"]),
select,
textarea,
.search-wrap,
.table-shell,
.table-frame,
.data-table,
.data-table th,
.data-table td,
.table-toolbar,
.table-wrap,
.rsx-filter-btn,
.toolbar-btn,
.btn-icon,
.holo-btn,
.rsx-switch,
.rsx-mini,
.rsx-check,
.rsx-ship-row,
.rsx-ship-tile,
.rsx-ship-entry,
.rsx-ship-library-item,
.rsx-item-card,
.rsx-item-grid-card,
.rsx-stat-card,
.rsx-stat-tile,
.rsx-ingredient,
.rsx-blueprint-card,
.rsx-crafting-panel,
.rsx-crafting-section,
.rsx-crafting-card,
.rsx-crafting-stat-card,
.rsx-crafting-ingredient-card,
.rsx-crafting-pill,
.rsx-ctx-locations .location-item,
.location-card,
.location-pill,
.poi-chip,
.poi-card,
.legend-panel,
.legend-card,
.starmap-legend,
.starmap-control,
.starmap-status,
.starmap-camera,
.starmap-zoom,
.starmap-panel,
.starmap-overlay,
.starmap-tag,
.fleet-control,
.fleet-toolbar,
.fleet-panel,
.fleet-side-btn,
.fleet-side-card,
.fleet-side-toolbar,
.fleet-list-row,
.fleet-ship-row,
.fleet-ship-chip,
.fleet-ship-toggle,
.fleet-search,
.pledge-summary-card,
.pledge-filter-shell,
.pledge-filter-bar,
.pledge-toolbar,
.pledge-icon-btn,
.pledge-table-shell,
.pledge-status-pill,
.items-card,
.items-grid-card,
.category-tile,
.category-card,
.category-pill,
.sync-btn{
  background-image: none !important;
  background-color: transparent !important;
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
  box-shadow: var(--rsx-theme-shadow-soft) !important;
}

button,
.btn,
.nav-btn,
.rsx-btn,
.rsx-detail-button,
.rsx-rp-btn,
.rsx-qb,
.rsx-profile-btn,
.rsx-retrieve-btn,
.icon-pill,
.status-pill,
.pill,
.chip,
.tag,
.badge,
.rsx-filter-btn,
.toolbar-btn,
.btn-icon,
.holo-btn,
.rsx-switch,
.fc-pill,
.fc-badge,
.rsx-side-privacy-btn,
#rsx-side-version-slot .rsx-game-version__btn,
.rsx-extension-status,
.pledge-icon-btn,
.sync-btn,
.fleet-side-btn{
  background: var(--rsx-theme-pill-bg) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border-strong) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
}

button:hover,
.btn:hover,
.nav-btn:hover,
.rsx-btn:hover,
.icon-pill:hover,
.status-pill:hover,
.pill:hover,
.chip:hover,
.rsx-filter-btn:hover,
.toolbar-btn:hover,
.btn-icon:hover,
.holo-btn:hover,
.rsx-switch:hover,
.rsx-side-privacy-btn:hover,
#rsx-side-version-slot .rsx-game-version__btn:hover,
.pledge-icon-btn:hover,
.sync-btn:hover,
.fleet-side-btn:hover,
.context-panel .ctx-block:hover,
.context-panel .ctx-list li:hover,
.context-panel .fc-item:hover,
.context-panel .rsx-crafting-ctx-list-row:hover,
.rsx-item-card:hover,
.rsx-blueprint-card:hover,
.rsx-ingredient:hover,
.fleet-list-row:hover,
.category-card:hover,
.category-tile:hover{
  background: var(--rsx-theme-surface-hover) !important;
  border-color: var(--rsx-theme-border-strong) !important;
  box-shadow: var(--rsx-theme-shadow) !important;
}

button.active,
.btn.active,
.nav-btn.active,
.rsx-btn.active,
.pill.active,
.chip.active,
.rsx-switch.active,
.fc-pill.active,
[aria-pressed="true"],
[data-active="true"],
.is-active,
.is-selected,
.selected,
.current,
.context-panel .rsx-crafting-ctx-slide.is-selected,
.context-panel .rsx-crafting-ctx-list-row.is-selected,
.rsx-ctx-location-item.is-selected,
.fleet-ship-row.is-selected,
.category-card.is-selected,
.category-tile.is-selected{
  background: var(--rsx-theme-pill-bg-active) !important;
  border-color: var(--rsx-theme-accent-2) !important;
  color: var(--rsx-theme-text) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent-2) 20%, transparent), 0 10px 22px rgba(0,0,0,.18) !important;
}

input:not([type="color"]), select, textarea,
.context-panel .rsx-crafting-ctx-category-select,
.context-panel .rsx-crafting-ctx-search,
.context-panel .ctx-search input,
.context-panel .ctx-search select{
  background: linear-gradient(180deg, color-mix(in srgb, var(--rsx-theme-accent) 4%, transparent), rgba(255,255,255,.025)) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 5%, transparent) !important;
}
input:not([type="color"])::placeholder, textarea::placeholder, .context-panel .rsx-crafting-ctx-search::placeholder{ color: var(--rsx-theme-muted) !important; }/* removed: obsolete context panel title override */
.context-panel .ctx-subtitle,
.context-panel .ctx-item-meta,
.context-panel .ctx-k,
#rsx-side-version-slot .rsx-game-version__label,
#rsx-side-version-slot .rsx-game-version__status-meta,
.left-panel .nav-bottom .legal,
.left-panel .nav-bottom .legal p,
.rsx-extension-status__text,
.muted,
.meta,
.hint,
.sub,
.s { color: var(--rsx-theme-muted) !important; }
.context-panel .ctx-bullet,
.rsx-extension-status__dot,
.timeline-dot,
.marker,
.badge-accent{
  background: var(--rsx-theme-accent) !important;
  box-shadow: 0 0 10px color-mix(in srgb, var(--rsx-theme-accent) 32%, transparent) !important;
}
.data-table th,
thead th,
.table-head,
.pledges-table thead th,
.rsx-table thead th{
  background: linear-gradient(180deg, color-mix(in srgb, var(--rsx-theme-accent) 16%, transparent), color-mix(in srgb, var(--rsx-theme-accent) 7%, transparent)) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border-strong) !important;
}
#rsx-side-version-slot .rsx-game-version__progress,
.progress,
.progress-bar,
meter{
  background: color-mix(in srgb, var(--rsx-theme-accent) 10%, rgba(255,255,255,.04)) !important;
  border-color: var(--rsx-theme-border) !important;
}
#rsx-side-version-slot .rsx-game-version__percent,
.percent,
.badge-value{ color: var(--rsx-theme-accent) !important; }
*::-webkit-scrollbar-thumb{ background: color-mix(in srgb, var(--rsx-theme-accent) 24%, transparent) !important; border-color: var(--rsx-theme-border) !important; }
*::-webkit-scrollbar-track{ background: rgba(255,255,255,.04) !important; }/* removed: obsolete context panel title override */
.rsx-app-loader__panel,
.rsx-app-loader__title,
.rsx-app-loader__message,
.rsx-app-loader__meta,
.rsx-app-loader__detail,
.rsx-app-loader__bar,
.rsx-app-loader__fill{
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}
.rsx-app-loader__panel{ background: var(--rsx-theme-surface) !important; box-shadow: var(--rsx-theme-shadow) !important; }
.rsx-app-loader__message,
.rsx-app-loader__meta,
.rsx-app-loader__detail{ color: var(--rsx-theme-muted) !important; }
.rsx-app-loader__bar{ background: color-mix(in srgb, var(--rsx-theme-accent) 10%, rgba(255,255,255,.04)) !important; }
.rsx-app-loader__fill{ background: linear-gradient(90deg, color-mix(in srgb, var(--rsx-theme-accent-2) 72%, transparent), color-mix(in srgb, var(--rsx-theme-accent) 92%, transparent)) !important; }


/* === RSX SINGLE THEME AUTHORITY: DEEP PASS === */
:root{
  --rsx-theme-surface-2: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent) 8%, rgba(255,255,255,.025)),
    color-mix(in srgb, var(--bg-dark, #09111b) 82%, transparent)
  );
  --rsx-theme-surface-3: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent) 14%, rgba(255,255,255,.03)),
    color-mix(in srgb, var(--bg-dark, #09111b) 78%, transparent)
  );
  --rsx-theme-panel-quiet: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent) 4%, transparent),
    rgba(255,255,255,.012)
  );
  --rsx-theme-table-head: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent-2) 34%, transparent),
    color-mix(in srgb, var(--rsx-theme-accent) 18%, rgba(255,255,255,.02))
  );
  --rsx-theme-selected: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent-2) 22%, transparent),
    color-mix(in srgb, var(--rsx-theme-accent) 10%, transparent)
  );
  --rsx-theme-scroll-thumb: color-mix(in srgb, var(--rsx-theme-accent-2) 42%, transparent);
  --rsx-theme-scroll-track: color-mix(in srgb, var(--rsx-theme-accent) 10%, transparent);
  --rsx-theme-divider: color-mix(in srgb, var(--rsx-theme-accent) 20%, transparent);
}

html body .left-panel.hologram-box.context-panel,
html body .left-panel.hologram-box.context-panel > .ctx-shell,
html body .left-panel.hologram-box.context-panel > .ctx-shell > .ctx-body,
html body .left-panel.hologram-box.context-panel > .nav-bottom,
html body #rsx-side-version-slot,
html body #rsx-side-version-slot .rsx-game-version,
html body .rsx-side-privacy-btn,
html body .context-panel .ctx-shell-header,
html body .context-panel .ctx-shell-heading,
html body .context-panel .ctx-shell-divider,
html body .context-panel .ctx-block,
html body .context-panel .ctx-list li,
html body .context-panel .ctx-content-item,
html body .context-panel .ctx-thumb,
html body .context-panel .ctx-type-pill,
html body .context-panel .rsx-ctx-section,
html body .context-panel .rsx-ctx-kv .row,
html body .context-panel .rsx-ctx-locgroup,
html body .context-panel .rsx-ctx-locgroup > summary,
html body .context-panel .rsx-ctx-locgroup-count,
html body .context-panel .rsx-ctx-locrow,
html body .context-panel .rsx-ctx-locsubhead,
html body .context-panel .rsx-crafting-ctx-category-select,
html body .context-panel .rsx-crafting-ctx-search,
html body .context-panel .rsx-crafting-ctx-slider-only--loading,
html body .context-panel .rsx-crafting-ctx-glide-track--minimal,
html body .context-panel .rsx-crafting-ctx-slide,
html body .context-panel .rsx-crafting-ctx-listwrap,
html body .context-panel .rsx-crafting-ctx-list-row,
html body .context-panel .ctx-body .rsx-ctx-locgroup--surprise,
html body .context-panel .ctx-body .rsx-ctx-locgroup--surprise > summary,
html body .context-panel .ctx-body .rsx-ctx-locgroup-count,
html body .context-panel .ctx-body .rsx-ctx-locrow,
html body .context-panel .ctx-body .rsx-ctx-locmoon,
html body .context-panel .ctx-body .rsx-ctx-locsubgroup,
html body .context-panel .ctx-body .rsx-ctx-locsubhead{
  background-image: none !important;
  background-color: transparent !important;
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}

html body .left-panel.hologram-box.context-panel::before{
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--rsx-theme-accent) 9%, transparent), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(0,0,0,.22), transparent 40%),
    url("../img/rsx-logo-concave.png") center 42% / min(88%, 300px) auto no-repeat !important;
  opacity:.16 !important;
  filter:grayscale(1) contrast(1.05) brightness(.72) saturate(0) !important;
}
html body .left-panel.hologram-box.context-panel::after{
  background:
    radial-gradient(circle at 50% 41%, color-mix(in srgb, var(--rsx-theme-accent) 7%, transparent), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0) 18%, rgba(0,0,0,.08) 62%, rgba(0,0,0,.18)) !important;
}

html body .context-panel .ctx-shell-header,
html body .context-panel .ctx-body .rsx-ctx-locgroup--surprise > summary,
html body .data-table thead,
html body .data-table thead th,
html body .table-wrap thead th,
html body thead th,
html body .rsx-trade-table thead th,
html body .pledges-table thead th,
html body .rsx-table thead th,
html body .rsx-home-head,
html body .rsx-panel-head,
html body .page-panel > .panel-title,
html body .page-header,
html body .fleet-toolbar,
html body .pledge-toolbar,
html body .starmap-panel,
html body .starmap-legend,
html body .legend-panel,
html body .rsx-crafting-panel,
html body .rsx-crafting-section,
html body .rsx-crafting-card,
html body .rsx-crafting-stat-card,
html body .rsx-crafting-ingredient-card,
html body .rsx-item-card,
html body .rsx-item-grid-card,
html body .category-tile,
html body .category-card,
html body .pledge-summary-card,
html body .pledge-filter-shell,
html body .pledge-filter-bar,
html body .fleet-panel,
html body .fleet-list-row,
html body .fleet-ship-row,
html body .fleet-side-card,
html body .fleet-side-toolbar{
  background: var(--rsx-theme-surface-2) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}

html body .context-panel .ctx-shell-divider,
html body .ctx-shell-divider,
html body .panel-title-divider,
html body .section-divider{
  background: linear-gradient(90deg, var(--rsx-theme-divider), transparent) !important;
}

html body .context-panel .ctx-subtitle,
html body .context-panel .ctx-item-meta,
html body .context-panel .ctx-k,
html body .context-panel .rsx-ctx-label,
html body .context-panel .rsx-ctx-subtitle,
html body .context-panel .rsx-ctx-locsubhead,
html body .context-panel .rsx-ctx-locgroup-count,
html body .context-panel .rsx-game-version__label,
html body .context-panel .rsx-game-version__status-meta,
html body #rsx-side-version-slot .rsx-game-version__label,
html body #rsx-side-version-slot .rsx-game-version__status-meta,
html body .left-panel .nav-bottom .legal,
html body .left-panel .nav-bottom .legal p,
html body .rsx-extension-status,
html body .rsx-extension-status__text,
html body .muted,
html body .meta,
html body .hint,
html body .sub,
html body .s{
  color: var(--rsx-theme-muted) !important;
}

html body .context-panel .ctx-bullet,
html body .rsx-extension-status__dot,
html body .context-panel .rsx-ctx-danger-dot,
html body .timeline-dot,
html body .marker,
html body .badge-accent{
  background: var(--rsx-theme-accent) !important;
  color: var(--rsx-theme-accent) !important;
  border-color: color-mix(in srgb, var(--rsx-theme-accent-2) 36%, transparent) !important;
  box-shadow: 0 0 12px color-mix(in srgb, var(--rsx-theme-accent) 28%, transparent) !important;
}

html body button,
html body .btn,
html body .button,
html body .nav-btn,
html body .rsx-btn,
html body .rsx-detail-button,
html body .rsx-rp-btn,
html body .rsx-qb,
html body .rsx-profile-btn,
html body .rsx-retrieve-btn,
html body .icon-pill,
html body .status-pill,
html body .pill,
html body .chip,
html body .tag,
html body .badge,
html body .rsx-filter-btn,
html body .toolbar-btn,
html body .btn-icon,
html body .holo-btn,
html body .rsx-switch,
html body .fc-pill,
html body .fc-badge,
html body .rsx-side-privacy-btn,
html body #rsx-side-version-slot .rsx-game-version__btn,
html body .rsx-extension-status,
html body .pledge-icon-btn,
html body .sync-btn,
html body .fleet-side-btn,
html body .rsx-crafting-pill,
html body .category-pill,
html body .location-pill,
html body .poi-chip,
html body .starmap-tag,
html body .rsx-pill,
html body .rsx-chip{
  background: var(--rsx-theme-panel-quiet) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border-strong) !important;
}

html body button:hover,
html body .btn:hover,
html body .nav-btn:hover,
html body .rsx-btn:hover,
html body .pill:hover,
html body .chip:hover,
html body .tag:hover,
html body .badge:hover,
html body .rsx-filter-btn:hover,
html body .toolbar-btn:hover,
html body .btn-icon:hover,
html body .holo-btn:hover,
html body .rsx-switch:hover,
html body .rsx-side-privacy-btn:hover,
html body #rsx-side-version-slot .rsx-game-version__btn:hover,
html body .pledge-icon-btn:hover,
html body .sync-btn:hover,
html body .fleet-side-btn:hover,
html body .rsx-crafting-pill:hover,
html body .category-pill:hover,
html body .location-pill:hover,
html body .poi-chip:hover,
html body .starmap-tag:hover,
html body .context-panel .ctx-block:hover,
html body .context-panel .rsx-ctx-locrow:hover,
html body .context-panel .rsx-crafting-ctx-list-row:hover,
html body .context-panel .rsx-crafting-ctx-slide:hover,
html body .fleet-list-row:hover,
html body .fleet-ship-row:hover,
html body .category-card:hover,
html body .category-tile:hover,
html body .rsx-item-card:hover,
html body .rsx-crafting-stat-card:hover,
html body .rsx-crafting-ingredient-card:hover{
  background: var(--rsx-theme-surface-hover) !important;
  border-color: var(--rsx-theme-border-strong) !important;
  box-shadow: var(--rsx-theme-shadow) !important;
}

html body .active,
html body .is-active,
html body .is-selected,
html body .selected,
html body .current,
html body [aria-pressed="true"],
html body [data-active="true"],
html body .context-panel .rsx-crafting-ctx-slide.is-selected,
html body .context-panel .rsx-crafting-ctx-list-row.is-selected,
html body .context-panel .rsx-ctx-locrow.is-selected,
html body .context-panel .rsx-ctx-locmoon.is-active .rsx-ctx-locrow.is-moon,
html body .fleet-ship-row.is-selected,
html body .category-card.is-selected,
html body .category-tile.is-selected,
html body .rsx-switch[aria-checked="true"] .rsx-switch-track,
html body .rsx-switch.is-active .rsx-switch-track{
  background: var(--rsx-theme-selected) !important;
  border-color: var(--rsx-theme-accent-2) !important;
  color: var(--rsx-theme-text) !important;
}

html body .rsx-switch-track,
html body .switch-track,
html body .toggle-track{
  background: var(--rsx-theme-panel-quiet) !important;
  border-color: var(--rsx-theme-border) !important;
}
html body .rsx-switch-thumb,
html body .switch-thumb,
html body .toggle-thumb{
  background: var(--rsx-theme-text) !important;
}

html body input:not([type="color"]),
html body select,
html body textarea,
html body .search-wrap,
html body .text-input,
html body .rsx-search,
html body .rsx-select,
html body .search-shell,
html body .context-panel .rsx-crafting-ctx-category-select,
html body .context-panel .rsx-crafting-ctx-search,
html body .context-panel .ctx-search input,
html body .context-panel .ctx-search select{
  background: var(--rsx-theme-panel-quiet) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 5%, transparent) !important;
}
html body input::placeholder,
html body textarea::placeholder{ color: var(--rsx-theme-muted) !important; }

html body .data-table thead,
html body .data-table thead tr,
html body .data-table thead th,
html body .table-wrap thead tr,
html body .table-wrap thead th,
html body thead tr,
html body thead th,
html body .rsx-trade-table thead th,
html body .pledges-table thead th,
html body .rsx-table thead th{
  background-image: none !important;
  background-color: transparent !important;
  background: var(--rsx-theme-table-head) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}

html body .data-table tbody tr:nth-child(odd) td,
html body .data-table tbody tr:nth-child(odd) th,
html body tbody tr:nth-child(odd) td,
html body tbody tr:nth-child(odd) th{
  background: color-mix(in srgb, var(--bg-dark, #09111b) 82%, transparent) !important;
}
html body .data-table tbody tr:nth-child(even) td,
html body .data-table tbody tr:nth-child(even) th,
html body tbody tr:nth-child(even) td,
html body tbody tr:nth-child(even) th{
  background: color-mix(in srgb, var(--bg-dark, #09111b) 74%, transparent) !important;
}

html body .context-panel .ctx-body::-webkit-scrollbar-thumb,
html body .context-panel .rsx-crafting-ctx-list::-webkit-scrollbar-thumb,
html body ::-webkit-scrollbar-thumb{
  background: var(--rsx-theme-scroll-thumb) !important;
  border-color: var(--rsx-theme-border) !important;
}
html body .context-panel .ctx-body::-webkit-scrollbar-track,
html body .context-panel .rsx-crafting-ctx-list::-webkit-scrollbar-track,
html body ::-webkit-scrollbar-track{
  background: var(--rsx-theme-scroll-track) !important;
}


/* === PURE THEME VARIABLE SYSTEM: context panel + generated content === */
html body .context-panel .ctx-shell-icon,
html body .context-panel .ctx-shell-header,
html body .context-panel .ctx-shell-heading,
html body .context-panel .ctx-shell-divider,
html body .context-panel .ctx-body,
html body .context-panel .ctx-block,
html body .context-panel .ctx-card,
html body .context-panel .ctx-list li,
html body .context-panel .ctx-content-item,
html body .context-panel .ctx-kv .row,
html body .context-panel .ctx-kv-row,
html body .context-panel .ctx-contents,
html body .context-panel .rsx-ctx-section,
html body .context-panel .rsx-ctx-kv .row,
html body .context-panel .rsx-ctx-locgroup,
html body .context-panel .rsx-ctx-locgroup > summary,
html body .context-panel .rsx-ctx-locgroup-body,
html body .context-panel .rsx-ctx-locgroup-scroll,
html body .context-panel .rsx-ctx-locrow,
html body .context-panel .rsx-ctx-locsubgroup,
html body .context-panel .rsx-ctx-locsubhead,
html body .context-panel .rsx-ctx-locmoon-pois,
html body .context-panel .rsx-crafting-ctx-shell,
html body .context-panel .rsx-cp-section,
html body .context-panel .pledge-summary-card,
html body .context-panel .rsx-game-version,
html body .context-panel .rsx-game-version__btn,
html body #rsx-side-version-slot .rsx-game-version,
html body #rsx-side-version-slot .rsx-game-version__btn{
  background: var(--rsx-theme-panel) !important;
  background-image: none !important;
  border-color: var(--rsx-theme-border) !important;
  color: var(--rsx-theme-text) !important;
  box-shadow: var(--rsx-theme-shadow-soft) !important;
}
html body .context-panel .ctx-block:hover,
html body .context-panel .ctx-card:hover,
html body .context-panel .rsx-ctx-locrow:hover,
html body .context-panel .rsx-cp-item:hover,
html body .context-panel button:hover,
html body #rsx-side-version-slot .rsx-game-version__btn:hover{
  background: var(--rsx-theme-surface-hover) !important;
  background-image: none !important;
  border-color: var(--rsx-theme-border-strong) !important;
  color: var(--rsx-theme-text) !important;
}
html body .context-panel .ctx-k,
html body .context-panel .ctx-kicker,
html body .context-panel .ctx-label,
html body .context-panel .ctx-subtitle,
html body .context-panel .ctx-item-meta,
html body .context-panel .ctx-muted,
html body .context-panel .rsx-ctx-label,
html body .context-panel .rsx-ctx-subtitle,
html body .context-panel .rsx-ctx-locsubhead,
html body .context-panel .rsx-ctx-locgroup-count,
html body .context-panel .rsx-game-version__label,
html body .context-panel .rsx-game-version__status-meta,
html body #rsx-side-version-slot .rsx-game-version__label,
html body #rsx-side-version-slot .rsx-game-version__status-meta{
  color: var(--rsx-theme-muted) !important;
}
html body .context-panel .ctx-v,
html body .context-panel .ctx-item-title,
html body .context-panel .rsx-ctx-locrow-text,
html body .context-panel .rsx-game-version__value,
html body .context-panel .rsx-game-version__status-line,
html body #rsx-side-version-slot .rsx-game-version__value,
html body #rsx-side-version-slot .rsx-game-version__status-line{
  color: var(--rsx-theme-text) !important;
}
html body .context-panel .ctx-bullet,
html body .context-panel .rsx-ctx-danger-dot,
html body .context-panel .rsx-ctx-locrow.is-selected,
html body .context-panel .rsx-ctx-locrow.is-context,
html body .context-panel .rsx-ctx-locrow.is-match,
html body .context-panel .rsx-cp-item.is-on{
  border-color: var(--rsx-theme-border-strong) !important;
}
html body .context-panel input,
html body .context-panel select,
html body .context-panel textarea,
html body .context-panel button,
html body .context-panel .ctx-pill,
html body .context-panel .pill,
html body .context-panel .rsx-game-version__select,
html body .context-panel .rsx-game-version__btn,
html body .context-panel .rsx-cp-field input,
html body .context-panel .rsx-cp-field select{
  background: var(--rsx-theme-surface) !important;
  background-image: none !important;
  border-color: var(--rsx-theme-border) !important;
  color: var(--rsx-theme-text) !important;
}
html body .context-panel input:focus,
html body .context-panel select:focus,
html body .context-panel textarea:focus,
html body .context-panel .rsx-cp-field input:focus,
html body .context-panel .rsx-cp-field select:focus,
html body .context-panel .rsx-game-version__select:focus{
  border-color: var(--rsx-theme-border-strong) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 22%, transparent) inset !important;
}
html body .context-panel .ctx-body::-webkit-scrollbar-track{background: var(--rsx-theme-surface) !important;}
html body .context-panel .ctx-body::-webkit-scrollbar-thumb{background: var(--rsx-theme-border) !important; border-color: var(--rsx-theme-border-strong) !important;}
html body .context-panel .pill.rsx-pill--type,
html body .context-panel .pill.rsx-pill--type-ship,
html body .context-panel .pill.rsx-pill--type-paint,
html body .context-panel .pill.rsx-pill--type-component,
html body .context-panel .pill.rsx-pill--type-gear,
html body .context-panel .pill.rsx-pill--type-credits{
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
}


/* 2026-04-19 final sidebar/version/context authority */
html body #rsx-side-version-slot,
html body #rsx-side-version-slot *,
html body .rsx-side-status__card--version,
html body .rsx-side-status__card--version *,
html body #rsx-side-version-slot .rsx-game-version,
html body #rsx-side-version-slot .rsx-game-version__top,
html body #rsx-side-version-slot .rsx-game-version__headingline,
html body #rsx-side-version-slot .rsx-game-version__summary,
html body #rsx-side-version-slot .rsx-game-version__status{
  background-image:none !important;
}
html body #rsx-side-version-slot,
html body .rsx-side-status__card--version,
html body #rsx-side-version-slot .rsx-game-version{
  background:var(--rsx-theme-panel) !important;
  border-color:var(--rsx-theme-border) !important;
  box-shadow:var(--rsx-theme-shadow-soft) !important;
  color:var(--rsx-theme-text) !important;
}
html body #rsx-side-version-slot .rsx-game-version__top,
html body #rsx-side-version-slot .rsx-game-version__headingline,
html body #rsx-side-version-slot .rsx-game-version__summary,
html body #rsx-side-version-slot .rsx-game-version__status{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
html body #rsx-side-version-slot .rsx-game-version__label,
html body #rsx-side-version-slot .rsx-game-version__status-meta{
  color:var(--rsx-theme-muted) !important;
}
html body #rsx-side-version-slot .rsx-game-version__value,
html body #rsx-side-version-slot .rsx-game-version__status-line,
html body #rsx-side-version-slot .rsx-game-version__percent{
  color:var(--rsx-theme-text) !important;
}
html body #rsx-side-version-slot .rsx-game-version__btn{
  background:var(--rsx-theme-surface) !important;
  border:1px solid var(--rsx-theme-border) !important;
  box-shadow:none !important;
  color:var(--rsx-theme-text) !important;
}
html body #rsx-side-version-slot .rsx-game-version__btn:hover{
  background:var(--rsx-theme-surface-hover) !important;
  border-color:var(--rsx-theme-border-strong) !important;
}
html body .context-panel .pledge-summary-card,
html body .context-panel .ctx-block,
html body .context-panel .ctx-card{
  background:var(--rsx-theme-panel) !important;
  background-image:none !important;
  border-color:var(--rsx-theme-border) !important;
  color:var(--rsx-theme-text) !important;
}

/* 2026-04-19 final crafting + context scrollbar theme authority */
html body .context-panel .ctx-body,
html body .context-panel .ctx-body *{
  scrollbar-color: var(--rsx-theme-scroll-thumb) var(--rsx-theme-scroll-track) !important;
}
html body .context-panel .ctx-body::-webkit-scrollbar,
html body .context-panel .ctx-body *::-webkit-scrollbar{
  width: 10px !important;
  height: 10px !important;
}
html body .context-panel .ctx-body::-webkit-scrollbar-track,
html body .context-panel .ctx-body *::-webkit-scrollbar-track{
  background: var(--rsx-theme-scroll-track) !important;
  border-radius: 999px !important;
}
html body .context-panel .ctx-body::-webkit-scrollbar-thumb,
html body .context-panel .ctx-body *::-webkit-scrollbar-thumb{
  background: var(--rsx-theme-scroll-thumb) !important;
  border: 2px solid var(--rsx-theme-scroll-track) !important;
  border-radius: 999px !important;
}

html body .rsx-crafting-page,
html body .rsx-crafting-shell,
html body .rsx-crafting-sidebar,
html body .rsx-crafting-detail,
html body .rsx-panel,
html body .rsx-panel--fabricator,
html body .rsx-panel--sources,
html body .rsx-panel--ingredients-inline,
html body .rsx-fabricator-card,
html body .rsx-summary-panel,
html body .rsx-stats-panel,
html body .rsx-link-card,
html body .rsx-ingredient,
html body .rsx-stat-card,
html body .rsx-blueprint-card,
html body .rsx-detail-button,
html body .rsx-summary-pill,
html body .rsx-panel-counter,
html body .rsx-meta-pill,
html body .rsx-mini-pill,
html body .rsx-tag,
html body .rsx-chip,
html body .rsx-blueprint-card__time,
html body .rsx-search,
html body .rsx-select,
html body .rsx-ingredient-qty,
html body .rsx-ingredient-slider,
html body .rsx-link-list a,
html body .rsx-link-list a:visited{
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
  box-shadow: none !important;
}

html body .rsx-crafting-page{
  background:
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--rsx-theme-accent) 14%, transparent), transparent 24%),
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--rsx-theme-accent-2) 10%, transparent), transparent 20%),
    var(--rsx-theme-panel) !important;
}

html body .rsx-title,
html body .rsx-detail-title,
html body .rsx-panel-heading h2,
html body .rsx-stats-panel__title,
html body .rsx-summary-panel__title,
html body .rsx-link-title,
html body .rsx-fabricator-card__value,
html body .rsx-blueprint-card__title,
html body .rsx-stat-card__metric-value,
html body .rsx-quality-value strong,
html body .rsx-ingredient-slider-head strong{
  color: var(--rsx-theme-text) !important;
}

html body .rsx-subtitle,
html body .rsx-filter-field span,
html body .rsx-fabricator-card__eyebrow,
html body .rsx-summary-panel__title,
html body .rsx-stats-panel__title,
html body .rsx-quality-label,
html body .rsx-quality-value,
html body .rsx-quality-value small,
html body .rsx-desc,
html body .rsx-stat-card__name,
html body .rsx-stat-card__metric-label,
html body .rsx-stat-card__delta.is-neutral,
html body .rsx-ingredient-meta,
html body .rsx-link-desc,
html body .rsx-foot-note,
html body .rsx-link-list a,
html body .rsx-link-list a:visited,
html body .rsx-ingredient-slider-head,
html body .rsx-link-title,
html body .rsx-mini-pill--muted{
  color: var(--rsx-theme-muted) !important;
}

html body .rsx-blueprint-card:hover,
html body .rsx-detail-button:hover,
html body .rsx-link-list a:hover,
html body .rsx-panel:hover,
html body .rsx-blueprint-card.is-selected,
html body .rsx-tag--accent,
html body .rsx-stat-row--head,
html body .rsx-stat-card.is-positive::after,
html body .rsx-stat-card.is-negative::after,
html body .rsx-stat-card.is-neutral::after{
  border-color: var(--rsx-theme-border-strong) !important;
}
html body .rsx-blueprint-card:hover,
html body .rsx-detail-button:hover,
html body .rsx-panel:hover,
html body .rsx-blueprint-card.is-selected{
  background: var(--rsx-theme-surface-hover) !important;
}
html body .rsx-tag--accent,
html body .rsx-summary-pill,
html body .rsx-panel-counter,
html body .rsx-meta-pill,
html body .rsx-mini-pill,
html body .rsx-chip,
html body .rsx-blueprint-card__time{
  background: var(--rsx-theme-pill-bg) !important;
}

html body .rsx-stat-card,
html body .rsx-stat-row,
html body .rsx-stat-row--derived,
html body .rsx-stat-card--derived{
  background: var(--rsx-theme-panel-quiet) !important;
  border-color: var(--rsx-theme-border) !important;
}
html body .rsx-stat-row--head{
  background: var(--rsx-theme-table-head) !important;
}
html body .rsx-stat-card__metric-value,
html body .rsx-stat-cell--base,
html body .rsx-stat-cell--crafted,
html body .rsx-stat-cell--delta{
  color: var(--rsx-theme-accent) !important;
}
html body .rsx-stat-cell--delta.is-negative,
html body .rsx-stat-card__metric-value.is-negative,
html body .rsx-stat-card__delta.is-negative{
  color: color-mix(in srgb, var(--rsx-theme-accent) 55%, #ffad8a) !important;
}
html body .rsx-stat-cell--delta.is-positive,
html body .rsx-stat-card__metric-value.is-positive,
html body .rsx-stat-card__delta.is-positive{
  color: color-mix(in srgb, var(--rsx-theme-accent) 78%, white) !important;
}

html body .rsx-quality-rail{
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--rsx-theme-accent) 90%, white),
    color-mix(in srgb, var(--rsx-theme-accent) 70%, #ffd36a),
    color-mix(in srgb, var(--rsx-theme-accent-2) 55%, #ff8a66)
  ) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 18%, transparent), 0 0 18px color-mix(in srgb, var(--rsx-theme-accent) 18%, transparent) !important;
}
html body .rsx-quality-fill{
  background: linear-gradient(180deg, color-mix(in srgb, white 14%, transparent), color-mix(in srgb, var(--rsx-theme-accent) 26%, white)) !important;
}
html body .rsx-quality-knob{
  background: radial-gradient(circle at 35% 35%, white 0%, color-mix(in srgb, white 70%, var(--rsx-theme-accent)) 38%, color-mix(in srgb, var(--rsx-theme-accent) 78%, white) 70%, color-mix(in srgb, var(--rsx-theme-accent-2) 78%, black) 100%) !important;
  border-color: color-mix(in srgb, white 82%, var(--rsx-theme-accent)) !important;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--rsx-theme-accent) 18%, transparent), 0 0 28px color-mix(in srgb, var(--rsx-theme-accent) 40%, transparent) !important;
}

html body .rsx-crafting-detail,
html body .rsx-link-list,
html body .rsx-ingredient-list,
html body .rsx-blueprint-list,
html body .rsx-panel--ingredients-inline .rsx-ingredient-list--inline{
  scrollbar-color: var(--rsx-theme-scroll-thumb) var(--rsx-theme-scroll-track) !important;
}
html body .rsx-crafting-detail::-webkit-scrollbar,
html body .rsx-link-list::-webkit-scrollbar,
html body .rsx-ingredient-list::-webkit-scrollbar,
html body .rsx-blueprint-list::-webkit-scrollbar,
html body .rsx-panel--ingredients-inline .rsx-ingredient-list--inline::-webkit-scrollbar{
  width: 10px !important;
  height: 10px !important;
}
html body .rsx-crafting-detail::-webkit-scrollbar-track,
html body .rsx-link-list::-webkit-scrollbar-track,
html body .rsx-ingredient-list::-webkit-scrollbar-track,
html body .rsx-blueprint-list::-webkit-scrollbar-track,
html body .rsx-panel--ingredients-inline .rsx-ingredient-list--inline::-webkit-scrollbar-track{
  background: var(--rsx-theme-scroll-track) !important;
  border-radius: 999px !important;
}
html body .rsx-crafting-detail::-webkit-scrollbar-thumb,
html body .rsx-link-list::-webkit-scrollbar-thumb,
html body .rsx-ingredient-list::-webkit-scrollbar-thumb,
html body .rsx-blueprint-list::-webkit-scrollbar-thumb,
html body .rsx-panel--ingredients-inline .rsx-ingredient-list--inline::-webkit-scrollbar-thumb{
  background: var(--rsx-theme-scroll-thumb) !important;
  border: 2px solid var(--rsx-theme-scroll-track) !important;
  border-radius: 999px !important;
}


/* Hover/theme unification pass */
html body :where(.rsx-card, .rsx-tile, .rsx-pledge-card, .rsx-item-card, .rsx-item-grid-card, .category-card, .category-tile, .fleet-list-row, .fleet-ship-row, .rsx-blueprint-card, .rsx-ingredient, .rsx-link-card, .rsx-route-card, .rsx-crafting-stat-card, .rsx-crafting-ingredient-card, .fc-card, .fc-slot-card){
  background: var(--rsx-theme-surface-2) !important;
  background-image: none !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border) !important;
  box-shadow: var(--rsx-theme-shadow-soft) !important;
}

html body :where(.rsx-card, .rsx-tile, .rsx-pledge-card, .rsx-item-card, .rsx-item-grid-card, .category-card, .category-tile, .fleet-list-row, .fleet-ship-row, .rsx-blueprint-card, .rsx-ingredient, .rsx-link-card, .rsx-route-card, .rsx-crafting-stat-card, .rsx-crafting-ingredient-card, .fc-card, .fc-slot-card):hover{
  background: var(--rsx-theme-surface-hover) !important;
  background-image: none !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-border-strong) !important;
  box-shadow: var(--rsx-theme-shadow) !important;
}

html body :where(.rsx-card, .rsx-tile, .rsx-pledge-card, .rsx-item-card, .rsx-item-grid-card, .category-card, .category-tile, .fleet-list-row, .fleet-ship-row, .rsx-blueprint-card, .rsx-ingredient, .rsx-link-card, .rsx-route-card, .rsx-crafting-stat-card, .rsx-crafting-ingredient-card, .fc-card, .fc-slot-card).is-selected,
html body :where(.rsx-card, .rsx-tile, .rsx-pledge-card, .rsx-item-card, .rsx-item-grid-card, .category-card, .category-tile, .fleet-list-row, .fleet-ship-row, .rsx-blueprint-card, .rsx-ingredient, .rsx-link-card, .rsx-route-card, .rsx-crafting-stat-card, .rsx-crafting-ingredient-card, .fc-card, .fc-slot-card)[aria-selected="true"]{
  background: var(--rsx-theme-selected) !important;
  background-image: none !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-accent-2) !important;
  box-shadow: var(--rsx-theme-shadow) !important;
}


/* Fleet manager context action buttons: final theme authority */
#ctxFleetAddAllOwned,
#ctxFleetAddAllLibrary,
.context-panel .rsx-theme-fleet-action-btn{
  background: var(--rsx-theme-surface) !important;
  color: var(--rsx-theme-text) !important;
  border: 1px solid var(--rsx-theme-border-strong) !important;
  box-shadow: var(--rsx-theme-shadow-soft) !important;
}
#ctxFleetAddAllOwned::before,
#ctxFleetAddAllOwned::after,
#ctxFleetAddAllLibrary::before,
#ctxFleetAddAllLibrary::after,
.context-panel .rsx-theme-fleet-action-btn::before,
.context-panel .rsx-theme-fleet-action-btn::after{
  background: none !important;
  box-shadow: none !important;
}
#ctxFleetAddAllOwned:hover,
#ctxFleetAddAllOwned:focus-visible,
#ctxFleetAddAllLibrary:hover,
#ctxFleetAddAllLibrary:focus-visible,
.context-panel .rsx-theme-fleet-action-btn:hover,
.context-panel .rsx-theme-fleet-action-btn:focus-visible{
  background: var(--rsx-theme-surface-hover) !important;
  color: var(--rsx-theme-text) !important;
  border-color: var(--rsx-theme-accent) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rsx-theme-accent) 32%, transparent), 0 0 18px color-mix(in srgb, var(--rsx-theme-accent) 22%, transparent) !important;
}
#ctxFleetAddAllOwned:disabled,
#ctxFleetAddAllLibrary:disabled,
.context-panel .rsx-theme-fleet-action-btn:disabled{
  opacity: .58 !important;
  filter: saturate(.75) !important;
  box-shadow: none !important;
}

/* === GLOBAL SQUADRON-STYLE 3D FONT PASS ===
   Use the existing Orbitron web font across the entire site for the
   blocky Star Citizen/Squadron-style look without bundling font files.
   Keep this near the end of theme-authority.css so page-level styles do
   not overwrite it. */
:root{
  --rsx-font-body: "Orbitron", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  --rsx-font-display: "Orbitron", "Inter", system-ui, sans-serif !important;
  --panel-title-font: var(--rsx-font-display) !important;
  --rsx-text-3d-shadow:
    0 1px 0 color-mix(in srgb, var(--rsx-theme-bg, #03101f) 80%, #000),
    0 2px 0 color-mix(in srgb, var(--rsx-theme-bg, #03101f) 68%, #000),
    0 3px 0 color-mix(in srgb, var(--rsx-theme-bg, #03101f) 56%, #000),
    0 0 10px color-mix(in srgb, var(--rsx-theme-accent, #4cc9ff) 34%, transparent),
    0 0 22px color-mix(in srgb, var(--rsx-theme-accent, #4cc9ff) 18%, transparent) !important;
  --rsx-text-3d-soft:
    0 1px 0 rgba(0,0,0,.72),
    0 0 8px color-mix(in srgb, var(--rsx-theme-accent, #4cc9ff) 24%, transparent) !important;
}

html body,
html body :where(button, input, select, textarea, option, label, table, th, td, a, span, div, p, small, strong, em, li, h1, h2, h3, h4, h5, h6){
  font-family: var(--rsx-font-body) !important;
  letter-spacing: .045em;
}

html body :where(h1, h2, h3, h4, .page-title, .holo-title, .panel-title, .rsx-panel-title, .rsx-detail-title, .section-title, .current-page, .current-page-name, .current-page-title, .nav-btn, .top-nav button, .site-title, .brand-name, .logo-text, .data-table thead th, .rsx-pledge-table th, .pledge-table th){
  font-family: var(--rsx-font-display) !important;
  font-weight: 800 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase;
  text-shadow: var(--rsx-text-3d-shadow) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html body :where(button, .btn, .button, .icon-pill, .nav-btn, .pill, .badge, .tag, .fc-pill, .rsx-pill, .rsx-summary-pill, .status-pill, .data-table td, .rsx-pledge-table td, .pledge-table td, .context-panel, .rsx-context-panel){
  text-shadow: var(--rsx-text-3d-soft) !important;
}

html body :where(input, select, textarea, option){
  font-weight: 700 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.72) !important;
}

html body :where(.page-subtitle, .meta, .tip, small, .muted, .subtext){
  letter-spacing: .055em !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.65), 0 0 6px color-mix(in srgb, var(--rsx-theme-accent, #4cc9ff) 14%, transparent) !important;
}

/* === RSX PERMANENT ORANGE HIGHLIGHT AUTHORITY ==============================
   The orange interaction highlight is brand UI, not theme UI. Do not replace
   these variables with global theme colors. This must match the top nav hover.
============================================================================ */
:root{
  --rsx-orange-highlight: #ff8a2a !important;
  --rsx-orange-highlight-rgb: 255, 138, 42 !important;
  --rsx-orange-highlight-text: rgba(255, 225, 188, 0.98) !important;
  --rsx-orange-highlight-border: rgba(255, 138, 42, 0.88) !important;
  --rsx-orange-highlight-bg:
    radial-gradient(circle at 50% 0%, rgba(255, 151, 56, 0.30), rgba(34, 12, 4, 0.95) 58%),
    linear-gradient(180deg, rgba(64, 24, 8, 0.95), rgba(24, 9, 4, 0.98)) !important;
  --rsx-orange-highlight-shadow:
    inset 0 0 0 1px rgba(255, 213, 166, 0.12),
    0 0 0 1px rgba(255, 122, 24, 0.24),
    0 0 20px rgba(255, 122, 24, 0.34),
    0 0 34px rgba(186, 84, 8, 0.18) !important;
}

/* Match ALL interactive hover/focus/active states to the top navbar orange. */
html body :is(
  button,
  .btn,
  .button,
  .nav-btn,
  .icon-pill,
  .toolbar-btn,
  .btn-icon,
  .holo-btn,
  .rsx-btn,
  .rsx-qb,
  .rsx-filter-btn,
  .rsx-icon-btn,
  .rsx-view-toggle,
  .rsx-mode-toggle,
  .rsx-compact-icon,
  .pledge-action-btn,
  .ctx-action-btn,
  .rsx-side-privacy-btn,
  #privacyBtnSidebar,
  [role="button"],
  input[type="button"],
  input[type="submit"]
):not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-pressed="true"], [aria-current="page"]){
  background: var(--rsx-orange-highlight-bg) !important;
  border-color: var(--rsx-orange-highlight-border) !important;
  color: var(--rsx-orange-highlight-text) !important;
  box-shadow: var(--rsx-orange-highlight-shadow) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.72), 0 0 10px rgba(255,138,42,.30) !important;
}

/* Top navigation active/hover is the source of truth and stays orange forever. */
html body .top-menu .nav-btn:is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]),
html body .top-nav .nav-btn:is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]),
html body .main-nav .nav-btn:is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]){
  background: var(--rsx-orange-highlight-bg) !important;
  border-color: var(--rsx-orange-highlight-border) !important;
  color: var(--rsx-orange-highlight-text) !important;
  box-shadow: var(--rsx-orange-highlight-shadow) !important;
}

/* Sidebar privacy button is also a real nav/action button and must get orange. */
html body :is(#privacyBtnSidebar, .rsx-side-privacy-btn, .left-panel .nav-bottom .nav-btn):not(:disabled):is(:hover, :focus-visible, .active, .is-active){
  background: var(--rsx-orange-highlight-bg) !important;
  border-color: var(--rsx-orange-highlight-border) !important;
  color: var(--rsx-orange-highlight-text) !important;
  box-shadow: var(--rsx-orange-highlight-shadow) !important;
}

/* Selection/highlight states across cards, rows, panels, and context items. */
html body :is(
  .is-selected,
  .selected,
  .rsx-selected-row,
  tr.is-selected,
  tr.selected,
  tr[aria-selected="true"],
  .data-table tbody tr.is-selected,
  .data-table tbody tr.selected,
  .data-table tbody tr.rsx-selected-row,
  .rsx-pledge-row.is-selected,
  .rsx-pledge-row.selected,
  .pledge-row.is-selected,
  .pledge-row.selected,
  .pledge-card.is-selected,
  .pledge-card.selected,
  .category-card.is-selected,
  .category-tile.is-selected,
  .fleet-ship-row.is-selected,
  .rsx-ctx-location-item.is-selected,
  .rsx-ctx-locbtn.is-selected,
  .context-panel .rsx-crafting-ctx-slide.is-selected,
  .context-panel .rsx-crafting-ctx-list-row.is-selected
){
  border-color: var(--rsx-orange-highlight-border) !important;
  outline-color: var(--rsx-orange-highlight-border) !important;
  background:
    linear-gradient(90deg, rgba(255, 138, 42, 0.18), rgba(255, 138, 42, 0.055)) !important;
  box-shadow:
    inset 3px 0 0 rgba(255, 138, 42, 0.95),
    inset 0 0 0 1px rgba(255, 138, 42, 0.20),
    0 0 18px rgba(255, 122, 24, 0.16) !important;
  color: rgba(255, 238, 220, 0.99) !important;
}

/* Pledge page icon controls and header filter icons must not use pale theme tint. */
html body :is(.rsx-pledge-toolbar button, .rsx-pledge-icon-btn, .pledge-toolbar button, .header-filter-btn, .rsx-header-filter-btn, .rsx-table-filter-btn):not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-pressed="true"]){
  background: var(--rsx-orange-highlight-bg) !important;
  border-color: var(--rsx-orange-highlight-border) !important;
  color: var(--rsx-orange-highlight-text) !important;
  box-shadow: var(--rsx-orange-highlight-shadow) !important;
}

/* RSX FINAL PRIVACY BUTTON + CONTEXT TITLE OVERRIDE */
html body #privacyBtnSidebar,
html body .left-panel .nav-bottom #privacyBtnSidebar,
html body .left-panel .nav-bottom .rsx-side-privacy-btn,
html body button#privacyBtnSidebar.rsx-side-privacy-btn{
  appearance:none !important; -webkit-appearance:none !important; box-sizing:border-box !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  width:100% !important; min-height:42px !important; padding:9px 14px !important; margin:0 !important;
  border-radius:10px !important; border:1px solid var(--rsx-theme-border, rgba(68,121,162,.38)) !important;
  background:linear-gradient(180deg, rgba(16,31,52,.66), rgba(7,15,28,.76)) !important;
  color:var(--rsx-theme-text, rgba(232,244,255,.96)) !important;
  font-family:var(--rsx-font-display, inherit) !important; font-weight:800 !important; font-size:12px !important; line-height:1 !important;
  letter-spacing:.10em !important; text-transform:uppercase !important; text-align:center !important; text-decoration:none !important; cursor:pointer !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 10px 22px rgba(0,0,0,.18) !important;
  text-shadow:0 1px 0 rgba(0,0,0,.55) !important;
  transition:background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
html body #privacyBtnSidebar:not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]),
html body .left-panel .nav-bottom #privacyBtnSidebar:not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]),
html body .left-panel .nav-bottom .rsx-side-privacy-btn:not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]),
html body button#privacyBtnSidebar.rsx-side-privacy-btn:not(:disabled):is(:hover, :focus-visible, .active, .is-active, [aria-current="page"]){
  background:var(--rsx-orange-highlight-bg, linear-gradient(180deg, rgba(255,138,42,.26), rgba(255,122,24,.10))) !important;
  border-color:var(--rsx-orange-highlight-border, rgba(255,138,42,.92)) !important;
  color:var(--rsx-orange-highlight-text, rgba(255,238,220,.98)) !important;
  box-shadow:var(--rsx-orange-highlight-shadow, 0 0 0 1px rgba(255,138,42,.24), 0 0 18px rgba(255,122,24,.34), inset 0 1px 0 rgba(255,255,255,.08)) !important;
  text-shadow:0 1px 0 rgba(0,0,0,.72), 0 0 10px rgba(255,138,42,.30) !important;
}/* removed: obsolete context panel title override *//* removed: obsolete context panel title override */
