/*
 * Oxide-inspired theme for Rank.
 * Scoped to .theme-oxide so it does not affect untouched pages.
 * Apply by adding `theme-oxide` to the <body> class (via content_for :body_class).
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

.theme-oxide {
  /* ---- Tokens ---- */
  --ox-bg:            #04080A;
  --ox-bg-raise:      #070D10;
  --ox-bg-panel:      #0F1A1E;
  --ox-bg-hover:      #112125;
  --ox-bg-active:     #1A2F33;

  --ox-border:        #1D2B2E;
  --ox-border-strong: #2C4448;

  --ox-fg:            #C9CCCE;
  --ox-fg-secondary:  #8A8E90;
  --ox-fg-tertiary:   #555B5D;

  --ox-green:         #6FAE6B;
  --ox-green-dim:     #427D40;
  --ox-green-faint:   rgba(111, 174, 107, 0.10);

  --ox-amber:         #C99A3F;
  --ox-amber-faint:   rgba(201, 154, 63, 0.10);

  --ox-magenta:       #B85A82;
  --ox-magenta-faint: rgba(184, 90, 130, 0.10);

  --ox-blue:          #6892C9;

  --ox-mono:          "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ox-sans:          "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ox-radius:        12px;
  --ox-radius-sm:     6px;
  --ox-shadow:        0 1px 0 rgba(255, 255, 255, 0.03) inset,
                      0 1px 2px rgba(0, 0, 0, 0.4),
                      0 10px 28px -8px rgba(0, 0, 0, 0.55);
  --ox-shadow-soft:   0 1px 0 rgba(255, 255, 255, 0.02) inset,
                      0 6px 18px -6px rgba(0, 0, 0, 0.45);

  background-color: var(--ox-bg);
  color: var(--ox-fg);
  font-family: var(--ox-sans);
  font-feature-settings: "tnum" 1, "cv11" 1;
  /* Subtle engineering-paper grid */
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  min-height: 100vh;
}

/* ---- Typography ---- */
.theme-oxide h1, .theme-oxide h2, .theme-oxide h3,
.theme-oxide h4, .theme-oxide h5, .theme-oxide h6 {
  font-family: var(--ox-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ox-fg);
}
.theme-oxide h1 { font-size: 1.75rem; }
.theme-oxide h2 { font-size: 1.35rem; }
.theme-oxide h3 { font-size: 1.1rem; }

.theme-oxide .ox-eyebrow {
  font-family: var(--ox-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
}
.theme-oxide .ox-eyebrow--green { color: var(--ox-green); }
.theme-oxide .ox-eyebrow--amber { color: var(--ox-amber); }

.theme-oxide .ox-mono { font-family: var(--ox-mono); }
.theme-oxide .ox-num  { font-family: var(--ox-mono); font-variant-numeric: tabular-nums; }

.theme-oxide a { color: var(--ox-green); text-decoration: none; }
.theme-oxide a:hover { color: var(--ox-fg); text-decoration: underline; text-underline-offset: 3px; }

.theme-oxide hr,
.theme-oxide .ox-rule {
  border: 0;
  border-top: 1px solid var(--ox-border);
  margin: 1.25rem 0;
}

/* ---- Navbar ---- */
.theme-oxide .navbar {
  background-color: var(--ox-bg) !important;
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
}
.theme-oxide .navbar .navbar-brand {
  font-family: var(--ox-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ox-fg-secondary) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-oxide .navbar .navbar-brand::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--ox-green-dim);
  display: inline-block;
  border-radius: 50%;
}
.theme-oxide .navbar .nav-link {
  font-family: var(--ox-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ox-fg-secondary) !important;
  padding: 0.4rem 0.85rem;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border-color 0.12s;
}
.theme-oxide .navbar .nav-link:hover { color: var(--ox-fg) !important; }
.theme-oxide .navbar .nav-link.active {
  color: var(--ox-fg) !important;
  border-bottom-color: var(--ox-green-dim);
}
.theme-oxide .navbar .form-control {
  background: var(--ox-bg-panel);
  border: 1px solid var(--ox-border);
  color: var(--ox-fg);
  font-family: var(--ox-mono);
  font-size: 0.8rem;
}
.theme-oxide .navbar .form-control::placeholder { color: var(--ox-fg-tertiary); }
.theme-oxide .navbar .form-control:focus {
  background: var(--ox-bg-panel);
  border-color: var(--ox-green-dim);
  box-shadow: 0 0 0 1px var(--ox-green-dim);
  color: var(--ox-fg);
}

/* ---- Footer ---- */
.theme-oxide footer.bg-light {
  background-color: var(--ox-bg-raise) !important;
  border-top: 1px solid var(--ox-border);
  color: var(--ox-fg-tertiary);
}
.theme-oxide footer .text-muted { color: var(--ox-fg-tertiary) !important; }

/* ---- Cards / Panels (Islands) ---- */
.theme-oxide .card,
.theme-oxide .ox-panel,
.theme-oxide .ox-island {
  background-color: var(--ox-bg-panel);
  border: 1px solid var(--ox-border);
  border-radius: var(--ox-radius);
  color: var(--ox-fg);
  box-shadow: var(--ox-shadow);
  overflow: hidden;
}
.theme-oxide .ox-island--soft { box-shadow: var(--ox-shadow-soft); }
.theme-oxide .card-header,
.theme-oxide .ox-panel__header {
  background-color: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--ox-border);
  font-family: var(--ox-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
  padding: 0.6rem 1rem;
}
.theme-oxide .card-body,
.theme-oxide .ox-island__body { padding: 1.1rem 1.1rem; }
.theme-oxide .card-footer {
  background-color: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--ox-border);
  color: var(--ox-fg-tertiary);
}

/* Spec sheet: label / value pairs */
.theme-oxide .ox-spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  font-family: var(--ox-mono);
  font-size: 0.85rem;
}
.theme-oxide .ox-spec dt {
  color: var(--ox-fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  padding-top: 0.15rem;
}
.theme-oxide .ox-spec dd { margin: 0; color: var(--ox-fg); font-variant-numeric: tabular-nums; }

/* Stat block */
.theme-oxide .ox-stat {
  border: 1px solid var(--ox-border);
  padding: 1rem 1.1rem;
  background: var(--ox-bg-panel);
  border-radius: var(--ox-radius);
  box-shadow: var(--ox-shadow-soft);
  position: relative;
  overflow: hidden;
}
.theme-oxide .ox-stat::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 120px; height: 120px;
  background: radial-gradient(circle at center, rgba(111, 174, 107, 0.05), transparent 70%);
  pointer-events: none;
}
.theme-oxide .ox-stat--accent {
  border-left: 2px solid var(--ox-green);
  border-top-left-radius: var(--ox-radius);
  border-bottom-left-radius: var(--ox-radius);
}
.theme-oxide .ox-stat__label {
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
}
.theme-oxide .ox-stat__value {
  font-family: var(--ox-mono);
  font-size: 1.65rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ox-fg);
  line-height: 1.1;
  margin-top: 0.2rem;
}
.theme-oxide .ox-stat__delta {
  font-family: var(--ox-mono);
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.theme-oxide .ox-stat--accent { border-left: 2px solid var(--ox-green); }

/* ---- Tables ---- */
.theme-oxide .table,
.theme-oxide table {
  color: var(--ox-fg);
  border-color: var(--ox-border);
  --bs-table-bg: transparent;
  --bs-table-color: var(--ox-fg);
  --bs-table-border-color: var(--ox-border);
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: var(--ox-bg-hover);
  --bs-table-hover-color: var(--ox-fg);
}
.theme-oxide .table > :not(caption) > * > * { background-color: transparent; }
.theme-oxide .table thead th {
  font-family: var(--ox-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
  border-bottom: 1px solid var(--ox-border-strong);
  padding: 0.65rem 0.75rem;
}
.theme-oxide .table tbody td {
  border-bottom: 1px solid var(--ox-border);
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
}
.theme-oxide .table tbody td.ox-num,
.theme-oxide .table tbody td .ox-num { font-family: var(--ox-mono); font-variant-numeric: tabular-nums; }
.theme-oxide .table tbody tr:hover { background-color: var(--ox-bg-hover); }
.theme-oxide .table tbody tr.is-self { background-color: var(--ox-green-faint); }

/* ---- ELO / deltas ---- */
.theme-oxide .ox-delta {
  font-family: var(--ox-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.theme-oxide .ox-delta--up   { color: var(--ox-green); }
.theme-oxide .ox-delta--down { color: var(--ox-magenta); }
.theme-oxide .ox-delta--flat { color: var(--ox-fg-tertiary); }

.theme-oxide .ox-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-family: var(--ox-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ox-border-strong);
  color: var(--ox-fg-secondary);
  background: var(--ox-bg-raise);
  border-radius: 999px;
}
.theme-oxide .ox-badge--green   { color: var(--ox-green);   border-color: var(--ox-green-dim);   background: var(--ox-green-faint); }
.theme-oxide .ox-badge--amber   { color: var(--ox-amber);   border-color: var(--ox-amber);       background: var(--ox-amber-faint); }
.theme-oxide .ox-badge--magenta { color: var(--ox-magenta); border-color: var(--ox-magenta);     background: var(--ox-magenta-faint); }

.theme-oxide .ox-rank {
  font-family: var(--ox-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ox-fg-tertiary);
  font-size: 0.85rem;
}
.theme-oxide .ox-rank--top { color: var(--ox-amber); }

/* ---- Buttons ---- */
.theme-oxide .btn {
  font-family: var(--ox-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--ox-radius-sm);
  padding: 0.5rem 1.05rem;
  border-width: 1px;
}
.theme-oxide .btn-primary {
  background: var(--ox-green);
  border-color: var(--ox-green);
  color: #0A1A07;
}
.theme-oxide .btn-primary:hover {
  background: #93de8a;
  border-color: #93de8a;
  color: #0A1A07;
}
.theme-oxide .btn-secondary,
.theme-oxide .btn-outline-secondary {
  background: transparent;
  border-color: var(--ox-border-strong);
  color: var(--ox-fg);
}
.theme-oxide .btn-secondary:hover,
.theme-oxide .btn-outline-secondary:hover {
  background: var(--ox-bg-hover);
  border-color: var(--ox-fg-secondary);
  color: var(--ox-fg);
}
.theme-oxide .btn-danger {
  background: transparent;
  border-color: var(--ox-magenta);
  color: var(--ox-magenta);
}
.theme-oxide .btn-danger:hover {
  background: var(--ox-magenta-faint);
  color: var(--ox-magenta);
  border-color: var(--ox-magenta);
}
.theme-oxide .ox-btn-ghost {
  background: transparent;
  border: 1px dashed var(--ox-border-strong);
  color: var(--ox-fg-secondary);
}

/* ---- Forms ---- */
.theme-oxide .form-control,
.theme-oxide .form-select {
  background: var(--ox-bg-raise);
  border: 1px solid var(--ox-border-strong);
  color: var(--ox-fg);
  border-radius: var(--ox-radius-sm);
  font-family: var(--ox-mono);
  font-size: 0.85rem;
}
.theme-oxide .form-control:focus,
.theme-oxide .form-select:focus {
  background: var(--ox-bg-panel);
  border-color: var(--ox-green-dim);
  box-shadow: 0 0 0 2px var(--ox-green-faint);
  color: var(--ox-fg);
}
.theme-oxide .form-label {
  font-family: var(--ox-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
}

/* ---- Alerts ---- */
.theme-oxide .alert {
  background: var(--ox-bg-panel);
  border: 1px solid var(--ox-border);
  border-left-width: 3px;
  border-radius: var(--ox-radius-sm);
  color: var(--ox-fg);
  font-family: var(--ox-sans);
  box-shadow: var(--ox-shadow-soft);
}
.theme-oxide .alert-success { border-left-color: var(--ox-green); }
.theme-oxide .alert-warning { border-left-color: var(--ox-amber); }
.theme-oxide .alert-danger  { border-left-color: var(--ox-magenta); }
.theme-oxide .alert-info    { border-left-color: var(--ox-blue); }
.theme-oxide .alert .btn-close { filter: invert(1) grayscale(1) brightness(0.7); }

/* ---- Section header (the Oxide thing) ---- */
.theme-oxide .ox-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ox-border);
  margin-bottom: 1rem;
}
.theme-oxide .ox-section__index {
  font-family: var(--ox-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ox-green);
}
.theme-oxide .ox-section__title {
  font-family: var(--ox-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ox-fg);
}
.theme-oxide .ox-section__meta {
  margin-left: auto;
  font-family: var(--ox-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ox-fg-tertiary);
}

/* ---- Misc ---- */
.theme-oxide .text-muted { color: var(--ox-fg-tertiary) !important; }
.theme-oxide .border, .theme-oxide .border-top, .theme-oxide .border-bottom,
.theme-oxide .border-start, .theme-oxide .border-end {
  border-color: var(--ox-border) !important;
}
.theme-oxide ::selection { background: var(--ox-green-faint); color: var(--ox-fg); }
.theme-oxide .civ-icon { filter: saturate(0.75) brightness(0.95); }

/* ---- Bootstrap utility neutralisers (dark-mode safe) ---- */
.theme-oxide .bg-light,
.theme-oxide .bg-white,
.theme-oxide .bg-body,
.theme-oxide .bg-body-tertiary,
.theme-oxide .bg-body-secondary {
  background-color: var(--ox-bg-panel) !important;
  color: var(--ox-fg) !important;
}
/* When .bg-light is nested inside a card/panel, raise it a step so it remains visible */
.theme-oxide .card .bg-light,
.theme-oxide .card .bg-white,
.theme-oxide .ox-panel .bg-light,
.theme-oxide .ox-panel .bg-white,
.theme-oxide .ox-island .bg-light,
.theme-oxide .ox-island .bg-white {
  background-color: var(--ox-bg-raise) !important;
  border: 1px solid var(--ox-border);
}
.theme-oxide .text-dark,
.theme-oxide .text-black,
.theme-oxide .text-body,
.theme-oxide .text-body-emphasis {
  color: var(--ox-fg) !important;
}
.theme-oxide .text-secondary,
.theme-oxide .text-body-secondary { color: var(--ox-fg-secondary) !important; }

/* When text-dark is paired with a solid coloured background, keep dark text for contrast */
.theme-oxide .bg-warning.text-dark,
.theme-oxide .bg-warning .text-dark,
.theme-oxide .bg-amber.text-dark   { color: #1A1208 !important; }
.theme-oxide .bg-info.text-dark,
.theme-oxide .bg-info .text-dark    { color: #04080A !important; }
.theme-oxide .bg-primary.text-dark,
.theme-oxide .bg-primary .text-dark,
.theme-oxide .bg-success.text-dark,
.theme-oxide .bg-success .text-dark { color: #0A1A07 !important; }
.theme-oxide .bg-danger.text-dark,
.theme-oxide .bg-danger .text-dark  { color: #1A0610 !important; }

/* Badges with solid colours — same contrast guarantee */
.theme-oxide .badge.bg-warning, .theme-oxide .badge.bg-warning * { color: #1A1208 !important; }
.theme-oxide .badge.bg-info,    .theme-oxide .badge.bg-info *    { color: #04080A !important; }
.theme-oxide .badge.bg-success, .theme-oxide .badge.bg-success * { color: #0A1A07 !important; }
.theme-oxide .badge.bg-primary, .theme-oxide .badge.bg-primary * { color: #0A1A07 !important; }
.theme-oxide .badge.bg-danger,  .theme-oxide .badge.bg-danger *  { color: #1A0610 !important; }

/* Bootstrap "subtle" backgrounds → tinted panels */
.theme-oxide .bg-primary-subtle,
.theme-oxide .bg-info-subtle    { background-color: rgba(77, 161, 255, 0.10) !important; color: var(--ox-fg) !important; }
.theme-oxide .bg-success-subtle { background-color: var(--ox-green-faint) !important; color: var(--ox-fg) !important; }
.theme-oxide .bg-warning-subtle { background-color: var(--ox-amber-faint) !important; color: var(--ox-fg) !important; }
.theme-oxide .bg-danger-subtle  { background-color: var(--ox-magenta-faint) !important; color: var(--ox-fg) !important; }

/* Solid coloured backgrounds — keep accent but ensure readable text */
.theme-oxide .bg-primary { background-color: var(--ox-green-dim) !important; color: #0A1A07 !important; }
.theme-oxide .bg-success { background-color: var(--ox-green-dim) !important; color: #0A1A07 !important; }
.theme-oxide .bg-info    { background-color: var(--ox-blue)      !important; color: #04080A !important; }
.theme-oxide .bg-warning { background-color: var(--ox-amber)     !important; color: #1A1208 !important; }
.theme-oxide .bg-danger  { background-color: var(--ox-magenta)   !important; color: #1A0610 !important; }

/* Jumbotron / hero — turn it into an island instead of a solid green block */
.theme-oxide .jumbotron,
.theme-oxide .jumbotron.bg-primary {
  background-color: var(--ox-bg-panel) !important;
  background-image:
    radial-gradient(800px circle at 0% 0%, rgba(111, 174, 107, 0.05), transparent 60%),
    radial-gradient(600px circle at 100% 100%, rgba(104, 146, 201, 0.03), transparent 60%);
  border: 1px solid var(--ox-border);
  border-left: 3px solid var(--ox-green-dim);
  border-radius: var(--ox-radius) !important;
  box-shadow: var(--ox-shadow);
  color: var(--ox-fg) !important;
}
.theme-oxide .jumbotron .display-4,
.theme-oxide .jumbotron h1 { color: var(--ox-fg); font-family: var(--ox-mono); }
.theme-oxide .jumbotron .lead { color: var(--ox-fg-secondary); }

/* Light button on dark theme */
.theme-oxide .btn-light {
  background: var(--ox-bg-raise);
  border-color: var(--ox-border-strong);
  color: var(--ox-fg);
}
.theme-oxide .btn-light:hover {
  background: var(--ox-bg-hover);
  border-color: var(--ox-fg-secondary);
  color: var(--ox-fg);
}
.theme-oxide .btn-outline-primary {
  background: transparent;
  border-color: var(--ox-green-dim);
  color: var(--ox-green);
}
.theme-oxide .btn-outline-primary:hover {
  background: var(--ox-green-faint);
  color: var(--ox-green);
  border-color: var(--ox-green);
}
.theme-oxide .border-light { border-color: var(--ox-border) !important; }

.theme-oxide .text-primary { color: var(--ox-green) !important; }
.theme-oxide .text-success { color: var(--ox-green) !important; }
.theme-oxide .text-info    { color: var(--ox-blue) !important; }
.theme-oxide .text-warning { color: var(--ox-amber) !important; }
.theme-oxide .text-danger  { color: var(--ox-magenta) !important; }

/* Badges (Bootstrap) */
.theme-oxide .badge.bg-secondary { background-color: var(--ox-bg-raise) !important; color: var(--ox-fg-secondary) !important; border: 1px solid var(--ox-border); }

/* List groups */
.theme-oxide .list-group { background: transparent; }
.theme-oxide .list-group-item {
  background-color: var(--ox-bg-panel);
  border-color: var(--ox-border);
  color: var(--ox-fg);
}
.theme-oxide .list-group-item-action:hover { background-color: var(--ox-bg-hover); color: var(--ox-fg); }

/* Pagination */
.theme-oxide .page-link {
  background: var(--ox-bg-panel);
  border-color: var(--ox-border);
  color: var(--ox-fg-secondary);
  font-family: var(--ox-mono);
  font-size: 0.8rem;
}
.theme-oxide .page-link:hover { background: var(--ox-bg-hover); color: var(--ox-fg); }
.theme-oxide .page-item.active .page-link {
  background: var(--ox-green-dim);
  border-color: var(--ox-green-dim);
  color: #0A1A07;
}
.theme-oxide .page-item.disabled .page-link {
  background: var(--ox-bg-raise);
  color: var(--ox-fg-tertiary);
  border-color: var(--ox-border);
}

/* Nav tabs / pills */
.theme-oxide .nav-tabs { border-bottom: 1px solid var(--ox-border); }
.theme-oxide .nav-tabs .nav-link {
  color: var(--ox-fg-secondary);
  border: 1px solid transparent;
  font-family: var(--ox-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.theme-oxide .nav-tabs .nav-link:hover { color: var(--ox-fg); border-color: transparent; }
.theme-oxide .nav-tabs .nav-link.active {
  background: var(--ox-bg-panel);
  border-color: var(--ox-border) var(--ox-border) var(--ox-bg-panel);
  color: var(--ox-green);
}
.theme-oxide .nav-pills .nav-link.active { background: var(--ox-green-dim); color: #0A1A07; }

/* Modals / Dropdowns / Offcanvas */
.theme-oxide .modal-content,
.theme-oxide .dropdown-menu,
.theme-oxide .offcanvas {
  background-color: var(--ox-bg-panel);
  border: 1px solid var(--ox-border);
  color: var(--ox-fg);
  border-radius: var(--ox-radius);
}
.theme-oxide .modal-header, .theme-oxide .modal-footer { border-color: var(--ox-border); }
.theme-oxide .dropdown-item { color: var(--ox-fg); }
.theme-oxide .dropdown-item:hover, .theme-oxide .dropdown-item:focus { background-color: var(--ox-bg-hover); color: var(--ox-fg); }
.theme-oxide .dropdown-divider { border-color: var(--ox-border); }

/* Progress bars */
.theme-oxide .progress { background-color: var(--ox-bg-raise); border: 1px solid var(--ox-border); border-radius: var(--ox-radius-sm); height: 0.75rem; }
.theme-oxide .progress-bar { background-color: var(--ox-green-dim); }

/* Code */
.theme-oxide code, .theme-oxide pre {
  background: var(--ox-bg-raise);
  color: var(--ox-green);
  border: 1px solid var(--ox-border);
  border-radius: var(--ox-radius-sm);
  padding: 0.1rem 0.35rem;
  font-family: var(--ox-mono);
  font-size: 0.85em;
}
.theme-oxide pre { padding: 0.75rem 1rem; }
.theme-oxide pre code { background: transparent; border: 0; padding: 0; }
