/* Regular DM Sans for supporting text; italic Barlow stays on titles/identity. */
body, button, input, select, textarea { font-family: "DM Sans", sans-serif; font-style: normal; }
.map-toolbar h2, .list-heading h3 > span, .detail-stat, .preview-badge {
  font-family: "DM Sans", sans-serif; font-style: normal;
}
.map-toolbar h2 { font-weight: 600; letter-spacing: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 400 13px/1.4 "DM Sans", sans-serif; white-space: nowrap; }
.theme-toggle:hover { border-color: var(--felt); color: var(--felt); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .theme-sun, [data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.navigation-footer .theme-toggle { color: #fff; border-color: #ffffff66; }
.navigation-footer .theme-toggle:hover { color: #9cdbb2; border-color: #9cdbb2; }
.navigation-appearance { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #b8c4bc; font-size: 12px; }
[data-theme="dark"] { --ink: #f5f7f5; --felt: #9cdbb2; --felt-dark: #174b32; --lime: #22372b; --paper: #111; --muted: #b0bcb3; --line: #ffffff24; --shadow: 0 18px 55px #0004; }
[data-theme="dark"] body, [data-theme="dark"] body > .site-header, [data-theme="dark"] .site-header { background: #111; color: var(--ink); }
[data-theme="dark"] .brand b { color: inherit; }
[data-theme="dark"] .brand-mark { background-color: transparent; }
[data-theme="dark"] ::selection { background: #9cdbb2; color: #111; }
[data-theme="dark"] :is(.search-shell, .search-results, .explorer, .venue-list, .venue-card, dialog, .city-search-result, .latest-spot, .player-card, .playing-card, .admin-stat, .admin-table-wrap, .admin-review, .admin-photo, .admin-empty) { background: #181b19; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] :is(.map-filter, .list-foot, .account-hero, .account-footer, .account-empty, .activity-empty, .accuracy-callout, .detail-preview, .detail-stat, .owner-callout, .listing-status, .empty-discovery, .map-error, .community-mode, .review-note, .venue-media, .photo-empty, .photo-credit, .place-suggestions, .photo-drop, .admin-overview-note) { background: #202622; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] :is(.venue-card:hover, .venue-card.active, .search-result:hover, .search-result:focus-visible, .city-search-result:hover, .city-search-result:focus-visible, #add-form .place-suggestions button:hover, #add-form .place-suggestions button[aria-selected="true"]) { background: #25352b; }
[data-theme="dark"] :is(.search-result, #add-form .place-suggestions button) { background: transparent; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, #add-form input:not([type="checkbox"]), #add-form select, #add-form textarea, #claim-form input, .community-form input:not([type="checkbox"]), .community-form select, .community-form textarea, .review-card input, .review-card textarea) { background: #171d19; color: var(--ink); border-color: #526157; }
[data-theme="dark"] :is(.search-input input, .city-search-field input) { background: transparent; }
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: #a2afa6; opacity: 1; }
[data-theme="dark"] :is(.primary, .header-add, .search-shell > button, .detail-actions a:not(.venue-site), .discovery-tabs button.active, .map-filter button.active) { background: #9cdbb2; color: #102419; border-color: #9cdbb2; }
[data-theme="dark"] :is(.primary:hover, .header-add:hover, .search-shell > button:hover, .detail-actions a:not(.venue-site):hover) { background: #c4efd2; color: #102419; }
[data-theme="dark"] :is(.header-add .icon, .search-shell > button .icon) { color: inherit; }
[data-theme="dark"] :is(.discovery-tabs button:not(.active), .map-filter button:not(.active), .city-card, .city-card:nth-child(2n), .detail-actions button, .detail-actions .venue-site, .review-reject) { background: transparent; color: var(--ink); border-color: #526157; }
[data-theme="dark"] :is(.discovery-tabs button:hover, .city-card:hover, .detail-actions button:hover) { background: #25352b; color: var(--ink); }
[data-theme="dark"] .city-card:hover .icon { color: var(--felt); }
[data-theme="dark"] :is(.spot-tags .spot-location, .spot-tags .venue-type) { color: #d0ded4; border-color: #526157; }
[data-theme="dark"] :is(.detail-title, .search-icon, .account-button, .search-input label, .detail-facts b) { color: var(--ink); }
[data-theme="dark"] :is(.brand small, .venue-copy p, .venue-meta, .list-foot > span, .map-bottom, .map-note, .spot-location, .spot-body > p, .spot-meta > b, .discovery-context, .city-card small, .footer-top > p, .footer-bottom, .coordinate-credit, .detail-title p, .detail-description, .detail-content > p, .detail-facts small, .detail-review small, .optional, .form-note, .dialog-heading > p:last-child, .community-dialog .dialog-heading > p:last-child, .photo-drop small, .photo-empty, .photo-attribution, .detail-source-note, .lookup-note, .lookup-attribution, .lookup-policy, .google-photo-source, .map-precision, .contributor-credit, .spot-contributor, .city-search-summary, .city-search-result small, .city-spot-count, .city-search-empty, .city-search-footnote, .tonight-intro, .community-footnote, .activity-empty p, .account-empty p, .account-note, .account-hero p:last-child, .account-footer, .player-card small, .account-venue p, .submission-card p, .public-player-hero > p:last-child, .playing-card p, .playing-card small, .player-details dd, .venue-community > p, .community-form label small, .community-form .check-label, .spot-thanks p, .latest-venue small, .latest-spot > p, .latest-spot time, .site-information p, .site-information .information-date) { color: #b8c4bc; }
[data-theme="dark"] .contributor-credit b { color: #e0eae3; }
[data-theme="dark"] :is(.spot-meta, .spot-image, .tonight-section, .footer-bottom, .account-tabs, .account-hero, .account-footer, .account-venue, .submission-card, .public-player-hero, .review-card, .player-details > div, .city-search-field, .latest-spot > p) { border-color: var(--line); }
[data-theme="dark"] :is(.account-tabs button, .detail-map-fallback) { color: #b8c4bc; }
[data-theme="dark"] .account-tabs button[aria-selected="true"] { color: var(--felt); }
[data-theme="dark"] .player-facts span { background: #25352b; }
[data-theme="dark"] .photo-placeholder-logo { mix-blend-mode: normal; border-radius: 50%; }
[data-theme="dark"] .venue-media > img.street-photo { background: #202622; }
[data-theme="dark"] .photo-credit { color: #d2dfd6; }
[data-theme="dark"] .photo-attribution a { color: var(--felt); }
[data-theme="dark"] .dialog-close { color: var(--ink); background: #252d28; border-color: var(--line); }
[data-theme="dark"] .dialog-close:hover { background: #354c3e; }
[data-theme="dark"] .form-error, [data-theme="dark"] .admin-message.error { color: #ffb5aa; }
[data-theme="dark"] .toast { background: #e0f0e5; color: #102419; }
[data-theme="dark"] .status-chip { background: #29332d; color: #d0ded4; }
[data-theme="dark"] .status-chip.approved { background: #1f4330; color: #b2e5c3; }
[data-theme="dark"] .status-chip.pending { background: #473b20; color: #f2d68d; }
[data-theme="dark"] .status-chip.rejected { background: #4a2d29; color: #ffc2b8; }
[data-theme="dark"] .profile-avatar { border-color: #202622; }
/* Provider maps and imagery retain their native colours and credits. */
[data-theme="dark"] .world-button { background: #fff; color: #111; }
[data-theme="dark"] .community-copy .primary { background: #fff; color: #111; }
[data-theme="dark"] .admin-header, [data-theme="dark"] .admin-login { background: #181b19; color: var(--ink); border-color: var(--line); }
[data-theme="dark"] :is(.admin-table th, .record-actions button, .admin-review button) { background: #25352b; color: #d2e9da; border-color: var(--line); }
[data-theme="dark"] :is(.admin-table td, .admin-review dl > div) { border-color: var(--line); }
[data-theme="dark"] :is(.admin-stat strong, .admin-overview-note h2) { color: var(--ink); }
[data-theme="dark"] :is(.admin-tag, .admin-stat small, .admin-table td small, .admin-review > p, .admin-review dt, .admin-overview-note p, .admin-empty p, .admin-photo p, .editor-note, .confirm-dialog > p, .admin-message) { color: #b8c4bc; }
[data-theme="dark"] :is(.record-actions button.danger, .admin-review button.danger) { background: #4a2d29; color: #ffc2b8; border-color: #80564e; }

@media (max-width: 560px) { .site-header:has(> .theme-toggle) { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: 12px; gap: 12px; } .admin-header { flex-wrap: wrap; } }
[data-theme="dark"] .admin-header > .theme-toggle { background: transparent; color: var(--ink); border-color: var(--line); }

[data-theme="dark"] .list-heading h3 > span { background: #25352b; color: #d2e9da; }
