/* FarmDay v2.53 · Tema de noapte coerenta.
   Activ doar pentru html[data-theme="dark". Nu schimba tema luminoasa. */
html[data-theme="dark"] {
 --fd253-bg:#12221b;
 --fd253-surface:#1d3429;
 --fd253-raised:#284538;
 --fd253-soft:#304e3e;
 --fd253-border:#4e7259;
 --fd253-text:#eef5e9;
 --fd253-muted:#c7d7c3;
 --fd253-accent:#b1e29a;
}
/* A. Statistici generale si carduri de productie: animale, ateliere, utilaje */
html[data-theme="dark"] #main[data-fd229-page] > .fd229-status {
 background:linear-gradient(130deg,#203b2d,#172b22)!important;
 border-color:var(--fd253-border)!important;
 box-shadow:0 8px 20px #020e0859!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .fd229-status .fd232-status-heading,
html[data-theme="dark"] #main[data-fd229-page] .fd229-status .fd229-stats-item {
 background:var(--fd253-raised)!important;
 border-color:var(--fd253-border)!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .fd229-status :is(h2,small,strong,b) {
 color:var(--fd253-text)!important;
 text-shadow:none!important;
}
html[data-theme="dark"] #main[data-fd229-page] .fd229-status .fd229-stats-item small {
 color:var(--fd253-muted)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card {
 background:linear-gradient(150deg,#243b30,#182a21)!important;
 border-color:#628368!important;
 box-shadow:0 4px 14px #050e096b!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > h2,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > p,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > p b {
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > p:first-of-type {
 color:var(--fd253-muted)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > .tag {
 background:#37563c!important;border-color:#709761!important;color:#eaffd6!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .production-details > span,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .fd-machine-summary > span,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .machine-total604,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .collection-xp {
 background:var(--fd253-raised)!important;
 border-color:var(--fd253-border)!important;
 color:var(--fd253-muted)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .production-details b,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .fd-machine-summary b,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .collection-xp b {
 color:var(--fd253-accent)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > .production-status,
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > p:not(:first-of-type) {
 background:#294c36!important;
 border-color:#5d825b!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card > .production-status :is(span,b,strong,small) {
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .production-actions .btn.secondary:not(:disabled) {
 background:linear-gradient(180deg,#426247,#304b36)!important;
 color:#ecf7e7!important;border-color:#77936b!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .production-actions .btn:not(.secondary):not(:disabled) {
 background:linear-gradient(180deg,#398a55,#23633e)!important;
 color:white!important;border-color:#74ad7f!important;
}
html[data-theme="dark"] #main[data-fd229-page] .production-grid > article.production-card .production-actions .btn:disabled {
 background:#2b4134!important;color:#b7cdb8!important;border-color:#516e57!important;
}
/* B. Padurea — toate suprafetele si valorile clasamentului trebuie citite in noapte. */
html[data-theme="dark"] .fd-forest627 {
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-card627,
html[data-theme="dark"] .fd-forest627 .forest-prizes630,
html[data-theme="dark"] .fd-forest627 .forest-live630,
html[data-theme="dark"] .fd-forest627 .forest-standing212,
html[data-theme="dark"] .fd-forest627 .forest-notice627 {
 background:var(--fd253-surface)!important;
 border-color:var(--fd253-border)!important;
 color:var(--fd253-text)!important;
 box-shadow:0 4px 18px #07120a55!important;
}
html[data-theme="dark"] .fd-forest627 .forest-zone628,
html[data-theme="dark"] .fd-forest627 .forest-prize-row630,
html[data-theme="dark"] .fd-forest627 .forest-claim-item630,
html[data-theme="dark"] .fd-forest627 .forest-gear-benefits213 span {
 background:var(--fd253-raised)!important;
 border-color:var(--fd253-border)!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-zone628:has(input:checked) {
 background:#355b41!important;
 border-color:#9ac385!important;
 outline-color:#7eb477!important;
}
html[data-theme="dark"] .fd-forest627 .forest-zone628:has(input:disabled) {
 opacity:.70!important;
}
html[data-theme="dark"] .fd-forest627 :is(.forest-card627,.forest-prizes630,.forest-prize-row630,.forest-standing212,.forest-zone628,.forest-live630,.forest-notice627) :is(h2,h3,p,b,strong,span,small,label) {
 color:var(--fd253-text)!important;
 text-shadow:none!important;
}
html[data-theme="dark"] .fd-forest627 :is(.forest-time-foot630,.forest-arrival630,.forest-prize-values630,.forest-reset630,.forest-claim-zone630,.forest-claim-foot630) {
 color:var(--fd253-muted)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-time-heading630 strong,
html[data-theme="dark"] .fd-forest627 .forest-claim-item630 strong {
 color:var(--fd253-accent)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-table627 :is(table,tbody,tr,td) {
 color:var(--fd253-text)!important;
 background:transparent!important;
 border-color:var(--fd253-border)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-table627 th {
 color:#e4f0dc!important;
 background:var(--fd253-soft)!important;
 border-color:var(--fd253-border)!important;
}
html[data-theme="dark"] .fd-forest627 .forest-table627 tbody tr:nth-child(even) {
 background:#223a2e!important;
}
html[data-theme="dark"] .fd-forest627 .forest-table627 tbody tr:nth-child(odd) {
 background:#192d23!important;
}
html[data-theme="dark"] .fd-forest627 .forest-hero627 :is(h1,h2,p,span) {
 color:white!important;
}
html[data-theme="dark"] .fd-forest627 :is(.forest-btn627,.forest-btn627:visited) {
 background:#34764b!important;color:white!important;
 border:1px solid #7bb086!important;
}
html[data-theme="dark"] .fd-forest627 .forest-btn627:disabled {
 background:#2e4938!important;color:#c5d2c1!important;
}
/* C. Magazin si Depozit — selectorul de sortare si bannerele nu raman albe. */
html[data-theme="dark"] #main .fd-stock-sort240,
html[data-theme="dark"] #main .fd-stock-order-wrap240 .fd-stock-sort240 {
 background:var(--fd253-surface)!important;
 border-color:var(--fd253-border)!important;
 color:var(--fd253-text)!important;
 box-shadow:none!important;
}
html[data-theme="dark"] #main .fd-stock-sort240 :is(label,span,strong,small) {
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main .fd-stock-sort240 select {
 background:#12281d!important;color:#f0f5e9!important;
 border-color:#64846b!important;
}
html[data-theme="dark"] #main :is(.warehouse-banner,.storage-summary,.storage-totals,.warehouse-controls,.stock-card,.shop-card,.shop-row547 .shop-horizontal604,.shop-horizontal604,.stock-art,.storage-totals>div) {
 border-color:var(--fd253-border)!important;
}
html[data-theme="dark"] #main :is(.stock-card,.stock-art,.shop-card,.shop-row547 .shop-horizontal604,.stock-empty-label) {
 background:var(--fd253-surface)!important;
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main :is(.stock-card,.shop-card,.shop-row547 .shop-horizontal604) :is(h2,h3,b,strong) {
 color:var(--fd253-text)!important;
}
html[data-theme="dark"] #main :is(.stock-card,.shop-card,.shop-row547 .shop-horizontal604) :is(p,small,.stock-details,.stock-category) {
 color:var(--fd253-muted)!important;
}
/* D. Dialoguri, oferte si casete de status ramase deschise in paginile de joc. */
html[data-theme="dark"] #main :is(.compact-stock,.page-note,.stock-count,.inventory,.detail-stats>div) {
 border-color:var(--fd253-border)!important;
}
html[data-theme="dark"] #main :is(.page-note,.detail-stats>div) {
 background:var(--fd253-surface)!important;
 color:var(--fd253-muted)!important;
}
/* Codul nu schimba dimensiuni, coloane sau logica premiilor: exclusiv culori de noapte. */
