﻿/*
 * Site-wide Color Hunt system.
 * UI styling is restricted to #092328, #12544F, #2A835F and #8BBB92,
 * plus alpha variants of those values. Source imagery keeps natural color.
 */

:root {
  --brand: #2a835f;
  --brand-bright: #8bbb92;
  --brand-soft: rgba(42, 131, 95, 0.18);
  --brand-faint: rgba(42, 131, 95, 0.09);
  --brand-line: rgba(42, 131, 95, 0.52);
  --surface-0: #092328;
  --surface-1: #12544f;
  --surface-2: #092328;
  --surface-3: #12544f;
  --text: #8bbb92;
  --muted: rgba(139, 187, 146, 0.78);
  --muted2: rgba(139, 187, 146, 0.6);
  --line: rgba(139, 187, 146, 0.14);
  --line2: rgba(42, 131, 95, 0.52);
  --red: #2a835f;
  --blue: #2a835f;
  --gold: #8bbb92;
  --green: #2a835f;
  --shadow: 0 28px 70px rgba(9, 35, 40, 0.46);
  --focus-shadow: 0 0 0 1px rgba(139, 187, 146, 0.46), 0 0 24px rgba(42, 131, 95, 0.28), inset 0 0 18px rgba(42, 131, 95, 0.08);
  --radius: 18px;
  --tool-canvas-background:
    radial-gradient(circle at 84% 4%, rgba(18, 84, 79, 0.44), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(42, 131, 95, 0.07), transparent 34%),
    #092328;
}

html,
body {
  background: #092328;
}

body {
  color: #8bbb92;
  background: var(--tool-canvas-background);
}

body::before {
  display: none;
}

::selection {
  color: #8bbb92;
  background: #2a835f;
}

:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline-color: #8bbb92;
  box-shadow: 0 0 0 4px rgba(42, 131, 95, 0.26);
}

/* Shared shell */
.topbar {
  border-color: rgba(42, 131, 95, 0.46);
  background: rgba(9, 35, 40, 0.94);
  box-shadow: 0 12px 38px rgba(9, 35, 40, 0.56);
}

.topbar::after {
  background: linear-gradient(90deg, transparent 6%, #2a835f 24%, transparent 48%, rgba(139, 187, 146, 0.42) 76%, transparent 94%);
}

.brand-mark {
  border: 1px solid rgba(42, 131, 95, 0.7);
  border-radius: 12px;
  background: #12544f;
  color: #8bbb92;
  box-shadow: 0 10px 24px rgba(9, 35, 40, 0.46);
}

.brand-mark::after {
  background: rgba(42, 131, 95, 0.2);
}

.brand-mark img {
  filter: drop-shadow(0 5px 10px rgba(9, 35, 40, 0.36));
}

.brand-copy strong,
.main-nav a,
.nav-link {
  color: #8bbb92;
}

.brand-copy small {
  color: rgba(139, 187, 146, 0.62);
}

.main-nav {
  border-color: rgba(42, 131, 95, 0.36);
}

.nav-link::after,
.main-nav a::after {
  background: #2a835f;
  box-shadow: 0 0 14px rgba(42, 131, 95, 0.34);
}

.btn,
.top-copy,
.btn-ghost {
  border-color: rgba(42, 131, 95, 0.5);
  border-radius: 12px;
  background: #12544f;
  color: #8bbb92;
  box-shadow: inset 0 1px 0 rgba(139, 187, 146, 0.07);
}

.btn:hover,
.top-copy:hover,
.btn-ghost:hover {
  border-color: rgba(139, 187, 146, 0.58);
  background: #2a835f;
  color: #8bbb92;
}

/* Rounded native controls. The opened popup remains browser-managed. */
select,
input[type="number"],
input[type="date"],
input[type="search"] {
  min-height: 44px;
  border: 1px solid rgba(42, 131, 95, 0.52);
  border-radius: 12px;
  background-color: #092328;
  color: #8bbb92;
  box-shadow: inset 0 1px 0 rgba(139, 187, 146, 0.05);
}

select {
  appearance: none;
  padding: 0 38px 0 13px;
  background-image:
    linear-gradient(45deg, transparent 50%, #8bbb92 50%),
    linear-gradient(135deg, #8bbb92 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color-scheme: dark;
}

select:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="search"]:hover,
select:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus {
  border-color: rgba(139, 187, 146, 0.58);
  background-color: rgba(9, 35, 40, 0.86);
  color: #8bbb92;
  box-shadow: 0 0 0 3px rgba(42, 131, 95, 0.18);
}

select option,
select option:checked {
  background: #092328;
  color: #8bbb92;
}

/* Fully styled select surface and popup. The original select remains the data contract. */
.custom-select-native {
  display: none !important;
}

.observatory-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(42, 131, 95, 0.52);
  border-radius: 12px;
  background: #092328;
  color: #8bbb92;
  box-shadow: inset 0 1px 0 rgba(139, 187, 146, 0.05);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.observatory-select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.observatory-select-trigger > i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid #8bbb92;
  border-bottom: 2px solid #8bbb92;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.observatory-select-trigger[aria-expanded="true"] > i {
  transform: translateY(2px) rotate(225deg);
}

.observatory-select-trigger:hover,
.observatory-select-trigger:focus-visible,
.observatory-select-trigger[aria-expanded="true"] {
  border-color: rgba(139, 187, 146, 0.64);
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 131, 95, 0.18);
}

.observatory-select-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.observatory-select-menu {
  position: fixed;
  z-index: 10000;
  display: grid;
  gap: 3px;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(139, 187, 146, 0.45);
  border-radius: 14px;
  background: #092328;
  box-shadow: 0 22px 58px rgba(9, 35, 40, 0.76), inset 0 1px 0 rgba(139, 187, 146, 0.08);
  color: #8bbb92;
  scrollbar-width: thin;
  scrollbar-color: #2a835f #092328;
}

.observatory-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(139, 187, 146, 0.78);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.observatory-select-option:hover,
.observatory-select-option:focus-visible {
  outline: none;
  background: #12544f;
  color: #8bbb92;
}

.observatory-select-option[aria-selected="true"] {
  background: #2a835f;
  color: #8bbb92;
  font-weight: 750;
}

.observatory-select-option[aria-selected="true"] > i {
  width: 7px;
  height: 12px;
  margin-right: 4px;
  border-right: 2px solid #8bbb92;
  border-bottom: 2px solid #8bbb92;
  transform: rotate(45deg);
}

.compact-field .observatory-select-trigger {
  width: 74px;
  min-height: 36px;
}

.pulse-map-picker .observatory-select-trigger {
  width: 112px;
  min-height: 34px;
}

.field > span,
.compact-field,
.pulse-map-picker span {
  color: rgba(139, 187, 146, 0.7);
}

/* Typography and shared surfaces */
.section-kicker,
.section-title-row,
.pulse-heading {
  border-color: rgba(139, 187, 146, 0.16);
}

.section-kicker::before,
.section-title-row::before,
.pulse-heading::before {
  background: #2a835f;
  box-shadow: 8px 0 0 rgba(139, 187, 146, 0.06);
}

.section-kicker::after,
.section-title-row::after,
.pulse-heading::after {
  background: linear-gradient(90deg, #2a835f, transparent);
}

.section-kicker h2,
.section-title-row h2,
.pulse-heading h2 {
  color: #8bbb92;
  font-family: "DM Serif Display Local", "Songti SC", STSong, "SimSun", serif;
  font-weight: 400;
  text-shadow: 0 2px 0 #092328, 0 16px 38px rgba(9, 35, 40, 0.42);
}

.section-kicker p,
.section-title-row p,
.pulse-heading p,
.results-toolbar p,
.method-note,
.weapon-method-note,
.weapon-chart-footnote {
  color: rgba(139, 187, 146, 0.72);
}

.eyebrow,
.panel-label,
.mini-label {
  color: #8bbb92;
}

.panel,
.update-block,
.overview-stat,
.module-card,
.replay-card,
.anomaly-card,
.pulse-card,
.state-card {
  border-color: rgba(42, 131, 95, 0.46);
  background: #12544f;
  color: #8bbb92;
  box-shadow: 0 24px 64px rgba(9, 35, 40, 0.34), inset 0 1px 0 rgba(139, 187, 146, 0.06);
}

.panel {
  background:
    linear-gradient(145deg, rgba(139, 187, 146, 0.035), transparent 36%),
    #12544f;
}

.panel-heading strong,
.state-card strong,
.results-toolbar h3,
.results-toolbar h3 span {
  color: #8bbb92;
}

.condition-count,
.map-badge,
.muted-inline,
.resource-version-badge,
.anomaly-total-badge {
  border-color: rgba(42, 131, 95, 0.66);
  border-radius: 999px;
  background: #092328;
  color: #8bbb92;
}

.spinner {
  border-color: rgba(139, 187, 146, 0.18);
  border-top-color: #2a835f;
}

.state-card.error,
.btn-danger-soft {
  border-color: rgba(42, 131, 95, 0.58);
  background: rgba(42, 131, 95, 0.12);
  color: #8bbb92;
}

/* Module indexes remain editorial, with softer grouping. */
.module-grid {
  gap: 10px;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.module-card {
  border: 1px solid rgba(42, 131, 95, 0.42);
  border-radius: 18px;
  background: #12544f;
}

.module-card:hover,
.module-card:focus-visible {
  border-color: rgba(139, 187, 146, 0.46);
  background: rgba(18, 84, 79, 0.86);
}

.module-card::before {
  right: 20px;
  left: 20px;
  background: #2a835f;
  box-shadow: 0 0 14px rgba(42, 131, 95, 0.3);
}

.module-status,
.module-status.live,
.module-status.planned {
  border-color: rgba(42, 131, 95, 0.5);
  border-radius: 999px;
  background: #092328;
  color: rgba(139, 187, 146, 0.7);
}

.module-status.live,
.module-card h3,
.module-enter,
.ring-live .module-enter,
.resource-live .module-enter,
.anomaly-live .module-enter {
  color: #8bbb92;
}

.module-index {
  color: rgba(139, 187, 146, 0.16);
}

.module-card p {
  color: rgba(139, 187, 146, 0.68);
}

.player-tools-section::after,
.toolbox-section::before,
.toolbox-section::after,
.replay-section::before,
.resource-section::before,
.weapon-meta-section::before,
.pulse-section::before,
.pulse-section::after {
  display: none;
}

.player-tool-card,
.toolbox-section .module-card {
  border-color: rgba(42, 131, 95, 0.42);
  background: #12544f;
}

.toolbox-section .module-status.live,
.toolbox-section .module-enter,
.player-tools-section .module-enter,
.player-tools-section .is-coming,
.player-tools-section small {
  color: rgba(139, 187, 146, 0.7);
}

.toolbox-section .module-status.live,
.toolbox-section .module-enter,
.player-tools-section .player-tool-card:first-child .module-enter {
  color: #8bbb92;
}

.toolbox-section .module-status.live {
  border-color: rgba(42, 131, 95, 0.5);
  background: #092328;
}

/* Replay: a query surface leading into a result stream. */
.filter-panel {
  border-radius: 24px;
  background: #12544f;
}

.filter-panel .field {
  padding: 10px 11px;
  border: 1px solid rgba(42, 131, 95, 0.4);
  border-radius: 14px;
  background: #092328;
}

.filter-panel .field select,
.filter-panel .field input {
  border-color: transparent;
  background-color: #092328;
  box-shadow: none;
}

.advanced {
  border-color: rgba(139, 187, 146, 0.16);
}

.advanced summary,
.replay-quick-actions,
.replay-quick-actions > span {
  color: rgba(139, 187, 146, 0.72);
}

.replay-quick-actions button,
.page-btn,
.card-action {
  border-color: rgba(42, 131, 95, 0.48);
  border-radius: 10px;
  background: #092328;
  color: rgba(139, 187, 146, 0.76);
}

.replay-quick-actions button:hover,
.page-btn:hover,
.page-btn.active,
.card-action:hover,
.card-action.video.active,
.card-action.sim,
.replay-search-btn {
  border-color: rgba(139, 187, 146, 0.52);
  background: #2a835f;
  color: #8bbb92;
}

.replay-card {
  border-radius: 16px;
  background: #12544f;
}

.replay-card:hover {
  border-color: rgba(139, 187, 146, 0.42);
  box-shadow: inset 3px 0 0 #2a835f, 0 20px 52px rgba(9, 35, 40, 0.34);
}

.replay-start-state {
  border-color: rgba(42, 131, 95, 0.46);
  border-radius: 20px;
  background: #092328;
  color: #8bbb92;
}

.replay-start-state > div:last-child span,
.replay-start-state > div:last-child p {
  color: rgba(139, 187, 146, 0.7);
}

.replay-start-visual,
.replay-start-visual::before,
.replay-start-visual::after {
  border-color: rgba(42, 131, 95, 0.5);
  background-color: rgba(42, 131, 95, 0.28);
}

.replay-start-visual i,
.replay-start-visual i:nth-child(2),
.replay-start-visual i:nth-child(3) {
  background: #2a835f;
  box-shadow: 0 0 0 4px rgba(42, 131, 95, 0.14);
}

.card-accent {
  background: linear-gradient(90deg, #2a835f, transparent 76%);
}

/* Recent matches: editorial digest. */
.pulse-section {
  border-color: rgba(42, 131, 95, 0.42);
  border-left-color: #2a835f;
  background: rgba(9, 35, 40, 0.58);
}

.pulse-status-strip {
  border-color: rgba(42, 131, 95, 0.36);
  background: rgba(42, 131, 95, 0.08);
  color: rgba(139, 187, 146, 0.68);
}

.pulse-status-strip span,
.pulse-status-strip .signal-live,
.pulse-status-strip .signal-cup {
  border-color: rgba(42, 131, 95, 0.46);
  color: #8bbb92;
}

.pulse-status-strip .signal-live i {
  background: #2a835f;
  box-shadow: 0 0 0 3px rgba(42, 131, 95, 0.16);
}

.pulse-status-strip span,
.pulse-status-strip b,
.pulse-current-badge,
.pulse-text-button {
  color: #8bbb92;
}

.pulse-view-tab,
.pulse-tab,
.pulse-type-btn {
  border-color: rgba(42, 131, 95, 0.44);
  border-radius: 12px;
  background: #12544f;
  color: rgba(139, 187, 146, 0.7);
}

.pulse-view-tab.active,
.pulse-tab.active,
.pulse-type-btn.active {
  border-color: rgba(139, 187, 146, 0.52);
  background: #092328;
  color: #8bbb92;
  box-shadow: inset 3px 0 0 #2a835f;
}

.pulse-view-tabs {
  border-radius: 16px;
  background: #092328;
}

.pulse-controls,
.pulse-card,
.pulse-details,
.match-session-detail {
  border-radius: 20px;
  background: #12544f;
}

.pulse-view-tab small,
.pulse-note,
.pulse-team-copy span,
.pulse-points span,
.pulse-player-highlight > span,
.pulse-player-highlight > small,
.pulse-meta-copy span,
.pulse-meta-rate span,
.pulse-explain-row p {
  color: rgba(139, 187, 146, 0.7);
}

.pulse-period-summary,
.pulse-podium-row,
.pulse-player-highlight,
.pulse-team-logo {
  border-color: rgba(42, 131, 95, 0.42);
  border-radius: 14px;
  background: rgba(9, 35, 40, 0.64);
}

.pulse-player-number,
.pulse-player-highlight.score .pulse-player-number,
.pulse-player-highlight.placement .pulse-player-number,
.pulse-meta-rate strong,
.pulse-points strong {
  color: #8bbb92;
}

.pulse-highlight-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(139, 187, 146, 0.76);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.pulse-highlight-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(139, 187, 146, 0.28);
  border-radius: 9px;
  background: #12544f;
  color: #8bbb92;
}

.pulse-highlight-icon svg {
  width: 17px;
  height: 17px;
}

.pulse-player-highlight > strong {
  margin-top: 12px;
}

/* Weapon data: chart first, exact table second. */
.weapon-meta-section {
  border-color: rgba(42, 131, 95, 0.34);
  background: transparent;
}

.weapon-summary-card,
.weapon-chart-panel,
.weapon-filter-panel,
.weapon-table-wrap {
  border-color: rgba(42, 131, 95, 0.46);
  border-radius: 20px;
  background: #12544f;
  box-shadow: 0 24px 64px rgba(9, 35, 40, 0.34);
}

.weapon-summary-card::before {
  border-color: rgba(139, 187, 146, 0.28);
}

.weapon-chart-stage {
  border-color: rgba(42, 131, 95, 0.54);
  border-radius: 16px;
  background-color: #092328;
  background-image:
    linear-gradient(rgba(139, 187, 146, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 187, 146, 0.035) 1px, transparent 1px);
}

.weapon-filter-panel .field {
  padding: 9px 10px;
  border: 1px solid rgba(42, 131, 95, 0.4);
  border-radius: 14px;
  background: #092328;
}

.weapon-filter-panel .field select,
.weapon-filter-panel .field input {
  border-color: transparent;
  box-shadow: none;
}

.weapon-table,
.weapon-table th,
.weapon-table td,
.weapon-table button {
  border-color: rgba(139, 187, 146, 0.14);
  color: #8bbb92;
}

.weapon-table thead,
.weapon-table tbody tr:hover {
  background: rgba(42, 131, 95, 0.08);
}

.weapon-table th {
  background: #092328;
}

.weapon-table th button:hover,
.weapon-table th button.active,
.weapon-table th button.active span {
  color: #8bbb92;
}

.weapon-tag {
  border-color: rgba(42, 131, 95, 0.5);
  background: #092328;
  color: rgba(139, 187, 146, 0.76);
}

.weapon-tag.ammo,
.weapon-complex {
  border-color: rgba(42, 131, 95, 0.5);
  background: rgba(42, 131, 95, 0.12);
  color: #8bbb92;
}

.weapon-chart-legend span,
.weapon-chart-mobile-hint,
.weapon-chart-tooltip-title span,
.weapon-chart-tooltip-metrics small,
.weapon-chart-tooltip-mode,
.weapon-chart-tooltip p {
  color: rgba(139, 187, 146, 0.7);
}

.weapon-chart-tooltip-metrics span {
  border-color: rgba(42, 131, 95, 0.42);
  background: #12544f;
}

.weapon-method-note {
  border-color: rgba(42, 131, 95, 0.44);
  background: rgba(42, 131, 95, 0.08);
}

.weapon-icon-shell,
.resource-icon-shell,
.anomaly-logo {
  border-color: rgba(42, 131, 95, 0.44);
  background: rgba(9, 35, 40, 0.72);
}

.weapon-icon-shell {
  border-color: rgba(139, 187, 146, 0.32);
  background: #092328;
  box-shadow: inset 0 0 0 1px rgba(139, 187, 146, 0.04);
}

.weapon-icon-shell img {
  width: 40px;
  height: 40px;
  filter: brightness(0) saturate(100%) invert(74%) sepia(17%) saturate(706%) hue-rotate(78deg) brightness(91%) contrast(88%);
  opacity: 0.94;
}

.weapon-data-row:hover .weapon-icon-shell,
.weapon-data-row.expanded .weapon-icon-shell {
  border-color: rgba(139, 187, 146, 0.62);
  background: #12544f;
}

.weapon-data-row:hover .weapon-icon-shell img,
.weapon-data-row.expanded .weapon-icon-shell img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(84%) sepia(13%) saturate(572%) hue-rotate(78deg) brightness(95%) contrast(91%) drop-shadow(0 0 5px rgba(139, 187, 146, 0.28));
}

.weapon-chart-tooltip {
  border-color: rgba(42, 131, 95, 0.7);
  border-radius: 14px;
  background: rgba(9, 35, 40, 0.96);
  color: #8bbb92;
  box-shadow: 0 18px 48px rgba(9, 35, 40, 0.62);
}

/* Resource: map and spatial dossier. */
.resource-selector,
.resource-hero,
.resource-inventory-panel,
.resource-weapons-panel {
  border-color: rgba(42, 131, 95, 0.46);
  border-radius: 22px;
  background: #12544f;
  box-shadow: 0 24px 64px rgba(9, 35, 40, 0.34);
}

.resource-selector .field {
  padding: 9px 10px;
  border: 1px solid rgba(42, 131, 95, 0.4);
  border-radius: 14px;
  background: #092328;
}

.resource-selector .field select {
  border-color: transparent;
  box-shadow: none;
}

.resource-hero-map {
  border-color: rgba(42, 131, 95, 0.44);
  background: #092328;
}

.resource-hero-map > img {
  filter: none;
}

.resource-map-shade {
  background: linear-gradient(0deg, rgba(9, 35, 40, 0.78), transparent 48%);
}

.resource-sample-row span {
  border-color: rgba(42, 131, 95, 0.5);
  background: rgba(9, 35, 40, 0.72);
  color: #8bbb92;
}

.resource-key-stat,
.resource-metric-card,
.backpack-card,
.resource-weapon-band,
.resource-weapon-chip {
  border-color: rgba(42, 131, 95, 0.42);
  border-radius: 14px;
  background: #092328;
  color: #8bbb92;
}

.resource-helper-note {
  border-color: #2a835f;
  border-radius: 0 14px 14px 0;
  background: rgba(42, 131, 95, 0.1);
}

.resource-key-stat > span,
.resource-map-copy > span {
  color: #8bbb92;
}

.resource-weapon-icon-shell {
  background: rgba(9, 35, 40, 0.72);
}

.band-rich header strong,
.band-common header strong,
.band-medium header strong,
.band-low header strong,
.band-rare header strong {
  border: 1px solid rgba(42, 131, 95, 0.5);
  background: #12544f;
  color: #8bbb92;
}

.resource-weapon-chip > span:last-child,
.resource-weapon-band header small,
.weapon-note {
  color: rgba(139, 187, 146, 0.68);
}

.ring-sample-badge {
  color: #8bbb92;
}

/* Home keeps its scroll story while speaking the same four-color language. */
.home-story,
.home-explorer,
.home-snapshot {
  border-color: rgba(42, 131, 95, 0.42);
}

.home-story-index,
.home-story-progress,
.home-story-copy p,
.home-explorer-copy p,
.observe-nav span,
.observe-nav small,
.observe-link,
.observe-coordinate,
.story-data-readout span,
.home-snapshot > * > span,
.home-snapshot-status > small,
.home-snapshot small {
  color: rgba(139, 187, 146, 0.64);
}

.home-story-copy h1 span,
.home-story-copy h1 strong,
.home-explorer-copy h2,
.story-focus-caption strong,
.home-snapshot strong,
.home-snapshot b,
.observe-action,
#observeAction {
  color: #8bbb92;
}

.home-primary-link,
.home-secondary-link,
#observeAction {
  border-color: rgba(42, 131, 95, 0.5);
  border-radius: 12px;
  background: rgba(42, 131, 95, 0.12);
  color: #8bbb92;
}

.home-observation-field,
.observe-canvas {
  border-color: rgba(139, 187, 146, 0.14);
  background: #092328;
}

.story-data-readout,
.story-focus-caption {
  border-color: rgba(42, 131, 95, 0.5);
  border-radius: 12px;
  background: rgba(9, 35, 40, 0.82);
}

.observe-focus-light {
  background: rgba(42, 131, 95, 0.16);
}

.observe-matches i,
.observe-rings i,
.observe-replay i,
.observe-anomalies i,
.observe-weapons,
.replay-line {
  border-color: rgba(139, 187, 146, 0.24);
  background-color: #092328;
}

.observe-matches i:first-child,
.observe-rings i:nth-child(4) {
  border-color: rgba(139, 187, 146, 0.58);
  background: rgba(42, 131, 95, 0.18);
  box-shadow: 0 0 28px rgba(42, 131, 95, 0.2);
}

.observe-replay i:nth-of-type(3),
.observe-rings b,
.home-snapshot .status-dot-label i {
  background: #2a835f;
  box-shadow: 0 0 20px rgba(42, 131, 95, 0.32);
}

.home-snapshot .status-dot-label {
  color: #8bbb92;
}

.home-experience p,
.home-experience span,
.home-experience small,
.home-experience b,
.home-experience i {
  color: rgba(139, 187, 146, 0.68) !important;
}

.home-experience h1 span,
.home-experience h1 strong,
.home-experience h2,
.home-experience h3,
.home-experience .home-primary-link,
.home-experience .status-dot-label,
.home-experience .home-snapshot strong,
.home-experience .home-snapshot b {
  color: #8bbb92 !important;
}

.home-experience i {
  border-color: rgba(139, 187, 146, 0.24);
  background-color: rgba(42, 131, 95, 0.12);
}

.home-experience .replay-line {
  background: rgba(42, 131, 95, 0.42);
}

.home-experience .status-dot-label i {
  background: #2a835f;
}

.home-snapshot > * > span,
.home-snapshot-status > small,
.home-snapshot small {
  color: rgba(139, 187, 146, 0.64) !important;
}

.home-snapshot .status-dot-label {
  color: #8bbb92 !important;
}

.observe-resources i,
.observe-resources i:nth-child(2) {
  border-color: rgba(139, 187, 146, 0.36);
  background: rgba(42, 131, 95, 0.1);
  color: rgba(139, 187, 146, 0.72);
  box-shadow: inset 0 0 28px rgba(42, 131, 95, 0.08), 0 0 28px rgba(9, 35, 40, 0.32);
}

.observe-weapons span,
.observe-anomalies span {
  background: rgba(42, 131, 95, 0.42);
}

.observe-anomalies .is-focus {
  border-color: #8bbb92;
  background: #2a835f;
  box-shadow: 0 0 34px 9px rgba(42, 131, 95, 0.28);
}

.pulse-section span,
.pulse-section small {
  color: rgba(139, 187, 146, 0.7);
}

.pulse-section .pulse-current-badge,
.pulse-section .panel-label,
.pulse-section .condition-count,
.pulse-section .pulse-text-button,
.pulse-section .pulse-player-number,
.pulse-section .pulse-meta-rate strong,
.pulse-section .pulse-points strong {
  color: #8bbb92;
}

.pulse-section .pulse-view-tabs {
  border-color: rgba(42, 131, 95, 0.46);
}

.pulse-section .pulse-podium-row.rank-1 {
  border-color: rgba(139, 187, 146, 0.4);
}

.pulse-section .pulse-player-highlight.score .pulse-player-number,
.pulse-section .pulse-player-highlight.placement .pulse-player-number,
.pulse-section .pulse-player-highlight.kills .pulse-player-number,
.pulse-section .pulse-player-highlight.damage .pulse-player-number {
  color: #8bbb92 !important;
}

#pulseOverviewDescription {
  color: rgba(139, 187, 146, 0.7) !important;
}

.pulse-section .pulse-meta-index {
  color: rgba(139, 187, 146, 0.42);
}

.pulse-section .pulse-explain-row {
  background: rgba(42, 131, 95, 0.06);
}

/* Operational text stays readable; density must not be bought with tiny type. */
.site-view:not(.home-experience) small,
.site-view:not(.home-experience) .eyebrow,
.site-view:not(.home-experience) .panel-label,
.site-view:not(.home-experience) .module-status,
.site-view:not(.home-experience) .condition-count,
.site-view:not(.home-experience) .field > span,
.site-view:not(.home-experience) .muted-inline,
.site-view:not(.home-experience) .method-note,
.site-view:not(.home-experience) .weapon-note,
.site-view:not(.home-experience) .compact-field,
.site-view:not(.home-experience) .toolbox-side-nav small {
  font-size: 12px;
}

.site-view:not(.home-experience) small {
  font-size: 12px !important;
}

.story-data-readout span,
.story-focus-caption span,
.home-story-progress span,
.observe-coordinate span,
.observe-coordinate b,
.home-story-index span,
.home-story-index b,
.observe-menu .observe-link > span,
.observe-menu .observe-link > small {
  font-size: 12px;
}

.observe-anomalies b,
#observeKicker,
.home-snapshot > * > span,
.home-snapshot .status-dot-label {
  font-size: 12px !important;
}

.observe-matches b,
.home-snapshot small {
  font-size: 12px !important;
}

#storyFocusText,
#observeAction,
#observeAction i,
.weapon-chart-mobile-hint {
  font-size: 12px !important;
}

.weapon-chart-footnote {
  font-size: 12px !important;
}

.weapon-chart-median-label,
.weapon-chart-quadrant-index,
.weapon-chart-tick,
.weapon-chart-axis-label {
  font-size: 12px;
}

.pulse-status-strip span,
.replay-quick-actions > span,
.replay-start-state > div:last-child span,
.resource-version-badge span,
.resource-group .subheading span,
.resource-metric-card > div:last-child span,
.backpack-card > div:last-child span,
.anomaly-metrics span,
.anomaly-actions span,
.anomaly-evidence-body > div {
  font-size: 12px;
}

.weapon-summary-card span,
.weapon-chart-legend span,
.weapon-name-copy span,
.weapon-tag,
.weapon-complex,
.weapon-value small {
  font-size: 12px;
}

.pulse-current-badge {
  font-size: 12px;
}

#pulse span,
#pulse b,
#pulse em {
  font-size: 12px;
}

.resource-helper-note strong,
.resource-weapon-band header strong {
  font-size: 12px;
}

/* Footer */
.site-footer {
  border-color: rgba(42, 131, 95, 0.44);
  background: #092328;
  color: rgba(139, 187, 146, 0.68);
}

.site-footer .footer-inner,
.site-footer .footer-brand,
.site-footer .footer-legal,
.site-footer .footer-legal p,
.site-footer .footer-source,
.site-footer .footer-meta,
.site-footer .filing-link {
  color: rgba(139, 187, 146, 0.68);
}

.site-footer strong,
.site-footer a,
.site-footer .footer-maker {
  color: #8bbb92 !important;
}

.site-footer a,
.site-footer .filing-link {
  border-color: rgba(42, 131, 95, 0.5);
}

.toast {
  border-color: rgba(42, 131, 95, 0.7);
  border-radius: 12px;
  background: #12544f;
  color: #8bbb92;
  box-shadow: 0 18px 48px rgba(9, 35, 40, 0.62);
}

@media (max-width: 1050px) {
  .toolbox-side-nav {
    border-radius: 0;
    background: rgba(18, 84, 79, 0.98);
  }
}

@media (max-width: 780px) {
  .filter-panel,
  .weapon-chart-panel,
  .weapon-filter-panel,
  .resource-selector,
  .resource-hero,
  .resource-inventory-panel,
  .resource-weapons-panel,
  .anomaly-filter-panel {
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .pulse-map-picker .observatory-select-trigger {
    width: 160px;
  }
}

