/* 2C2S official scheme: black / neon green / white (loaded after every other stylesheet) */
:root, [data-bs-theme="dark"], [data-bs-theme="light"] {
  --bs-primary: #39ff14;
  --bs-primary-rgb: 57, 255, 20;
  --bs-primary-text-emphasis: #8dff7a;
  --bs-primary-bg-subtle: #0f2a0b;
  --bs-primary-border-subtle: #1f7a12;
  --bs-link-color: #39ff14;
  --bs-link-color-rgb: 57, 255, 20;
  --bs-link-hover-color: #8dff7a;
  --bs-link-hover-color-rgb: 141, 255, 122;
  --bs-focus-ring-color: rgba(57, 255, 20, .35);
}
[data-bs-theme="dark"] {
  --bs-body-bg: #0a0a0a;
  --bs-body-bg-rgb: 10, 10, 10;
  --bs-secondary-bg: #161616;
  --bs-secondary-bg-rgb: 22, 22, 22;
  --bs-tertiary-bg: #1d1d1d;
  --bs-tertiary-bg-rgb: 29, 29, 29;
  --bs-content-bg: #0f0f0f;
  --bs-content-border-color: #262626;
  --bs-border-color: #262626;
  --bs-body-color: #f2f2f2;
  --bs-emphasis-color: #ffffff;
}
[data-bs-theme="dark"] body { background-color: #0a0a0a; }
.btn-primary {
  --bs-btn-bg: #39ff14; --bs-btn-border-color: #39ff14; --bs-btn-color: #050505;
  --bs-btn-hover-bg: #2fd410; --bs-btn-hover-border-color: #2fd410; --bs-btn-hover-color: #050505;
  --bs-btn-active-bg: #26b30c; --bs-btn-active-border-color: #26b30c; --bs-btn-active-color: #050505;
  --bs-btn-disabled-bg: #39ff14; --bs-btn-disabled-border-color: #39ff14; --bs-btn-disabled-color: #050505;
  --bs-btn-focus-shadow-rgb: 57, 255, 20;
  font-weight: 600;
}
.btn-outline-primary {
  --bs-btn-color: #39ff14; --bs-btn-border-color: #39ff14;
  --bs-btn-hover-bg: #39ff14; --bs-btn-hover-border-color: #39ff14; --bs-btn-hover-color: #050505;
  --bs-btn-active-bg: #39ff14; --bs-btn-active-border-color: #39ff14; --bs-btn-active-color: #050505;
}
.btn-secondary { --bs-btn-bg: #1d1d1d; --bs-btn-border-color: #2c2c2c; --bs-btn-color: #f2f2f2; --bs-btn-hover-bg: #262626; --bs-btn-hover-border-color: #39ff14; --bs-btn-hover-color: #fff; }
.text-primary { color: #39ff14 !important; }
.bg-primary { background-color: #39ff14 !important; color: #050505 !important; }
.border-primary { border-color: #39ff14 !important; }
.form-control:focus, .form-select:focus { border-color: #39ff14; box-shadow: 0 0 0 .25rem rgba(57, 255, 20, .2); }
.form-check-input:checked { background-color: #39ff14; border-color: #39ff14; }
.nav-pills .nav-link.active, .page-item.active .page-link { background-color: #39ff14; border-color: #39ff14; color: #050505; }
.progress-bar { background-color: #39ff14; }
.navbar .nav-link.active, .navbar .nav-link:hover { color: #39ff14 !important; }
::selection { background: rgba(57, 255, 20, .35); }

/* Owner badge + owner name gradient */
.badge.badge-owner {
  background: #39ff14 !important; color: #052b08 !important; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 0 10px rgba(57, 255, 20, .75), 0 0 22px rgba(57, 255, 20, .35);
}
.shiina-player-name.owner-name, .owner-name {
  background: linear-gradient(135deg, #8dff7a 0%, #c9ffbf 45%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, .45));
}

/* beat the theme's own [data-bs-core] dark palette */
html[data-bs-core][data-bs-theme="dark"], html[data-bs-theme="dark"] {
  --bs-body-bg: #0a0a0a; --bs-body-bg-rgb: 10, 10, 10;
  --bs-secondary-bg: #161616; --bs-secondary-bg-rgb: 22, 22, 22;
  --bs-tertiary-bg: #1d1d1d; --bs-tertiary-bg-rgb: 29, 29, 29;
  --bs-content-bg: #0f0f0f; --bs-content-border-color: #262626; --bs-border-color: #262626;
}
html[data-bs-theme="dark"] .bg-body, html[data-bs-theme="dark"] section.bg-body { background-color: #0a0a0a !important; }
html[data-bs-theme="dark"] .bg-secondary, html[data-bs-theme="dark"] .shiina-card { background-color: #161616 !important; border-color: #262626 !important; }
html[data-bs-theme="dark"] .shiina-card:hover { border-color: #39ff14 !important; box-shadow: 0 0 14px rgba(57, 255, 20, .18); }
html[data-bs-theme="dark"] .card { background-color: #121212; border-color: #262626; }
html[data-bs-theme="dark"] footer, html[data-bs-theme="dark"] .footer { background-color: #0f0f0f !important; }
.btn-discord, .btn.btn-discord { background: #0a0a0a !important; color: #ffffff !important; border: 1px solid #39ff14 !important; }
.btn-discord:hover { background: #39ff14 !important; color: #050505 !important; }
