/*
  RYBY 19.0.6 — DARK TONE COHESION HOTFIX
  Scope: home catches section + public catch detail.
  Goal: remove overly bright surfaces and make the visual system more uniform.
  No database or application-logic changes.
*/

html[data-ryby-darktone="19.0.6"] {
  --ry1906-bg: #d8d0c3;
  --ry1906-bg-2: #ccc3b4;
  --ry1906-ink: #163025;
  --ry1906-ink-soft: #58665d;
  --ry1906-card: #10251b;
  --ry1906-card-2: #183328;
  --ry1906-card-soft: #223b30;
  --ry1906-line: rgba(220, 198, 132, .18);
  --ry1906-gold: #c8a653;
  --ry1906-gold-soft: #ead892;
  --ry1906-light: #f1ebde;
  --ry1906-light-soft: rgba(241, 235, 222, .68);
}

/* HOME */
html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches {
  color: var(--ry1906-ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(91, 105, 76, .11), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(165, 135, 68, .08), transparent 30%),
    linear-gradient(180deg, var(--ry1906-bg) 0%, var(--ry1906-bg-2) 100%) !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .section-heading h2 {
  color: var(--ry1906-ink) !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .section-heading > p,
html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .dark-heading > p {
  color: var(--ry1906-ink-soft) !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .filters button {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(24, 48, 36, .18) !important;
  color: #5f6e66 !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .filters button.active {
  background: linear-gradient(135deg, #e7d284, #c39e48) !important;
  color: #12231a !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] .catches .catch-card {
  background: linear-gradient(155deg, rgba(28, 48, 38, .995), rgba(12, 28, 20, .995)) !important;
  border-color: rgba(230, 210, 148, .17) !important;
  box-shadow:
    0 22px 54px rgba(10, 22, 16, .22),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ryby-darktone="19.0.6"] body[data-ryby-visual="19.0.0"] #ry17-add-catch {
  background: linear-gradient(145deg, rgba(10,28,20,.99), rgba(5,17,12,.99)) !important;
  border-color: rgba(230,208,142,.58) !important;
  color: #f0d98c !important;
}

/* CATCH DETAIL */
html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready {
  background:
    radial-gradient(circle at 8% 8%, rgba(112,123,80,.10), transparent 28%),
    radial-gradient(circle at 92% 90%, rgba(175,144,75,.07), transparent 30%),
    linear-gradient(180deg, #d7d0c2 0%, #ccc4b5 100%) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data .detail-section-title h2 {
  color: #11271d !important;
}

html[data-ryby-darktone="19.0.6"] .ry1903-detail-summary {
  background:
    radial-gradient(circle at 100% 0, rgba(174,186,102,.12), transparent 38%),
    linear-gradient(125deg, #173126, #0b1e16) !important;
  border: 1px solid rgba(202,175,97,.26) !important;
  box-shadow:
    0 20px 48px rgba(18, 34, 26, .16),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid {
  gap: 14px !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article {
  min-height: 126px;
  border-radius: 16px !important;
  border: 1px solid rgba(214, 189, 118, .14) !important;
  background:
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.03), transparent 26%),
    linear-gradient(155deg, rgba(25, 46, 36, .985), rgba(12, 29, 21, .99)) !important;
  box-shadow:
    0 12px 28px rgba(11, 22, 17, .14),
    inset 0 1px 0 rgba(255,255,255,.02) !important;
  opacity: 1 !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article.is-recorded {
  border-color: rgba(222, 199, 131, .20) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article.is-missing {
  border-color: rgba(170, 158, 126, .12) !important;
  background:
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.02), transparent 26%),
    linear-gradient(155deg, rgba(29, 43, 35, .94), rgba(17, 28, 22, .97)) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article > i {
  color: #c6a553 !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article.is-missing > i {
  color: rgba(201, 186, 142, .62) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid small {
  color: rgba(241, 235, 222, .46) !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid strong {
  color: #f2ecdf !important;
  font-size: 9px !important;
  line-height: 1.48 !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .detail-data-grid article.is-missing strong {
  color: rgba(241, 235, 222, .68) !important;
  font-weight: 650 !important;
}

html[data-ryby-darktone="19.0.6"] .detail-data.ry1903-detail-ready .weather-provenance {
  color: #55695d !important;
  background: rgba(18, 44, 31, .06) !important;
  border-left-color: #98a760 !important;
}

html[data-ryby-darktone="19.0.6"] #ry17-add-catch {
  background: linear-gradient(145deg, rgba(10,28,20,.99), rgba(5,17,12,.99)) !important;
  border-color: rgba(230,208,142,.58) !important;
  color: #f0d98c !important;
}
