/* GRAUMAENLEIN.TV – Dark Mode finishing patch V1.3.4
   Dark only, no gameplay, maps, calendars, messenger JS, images or account data changed.
   CSS selectors based on the delivered project references; verify on live server. */

/* CALENDAR PAGE – upcoming tiles were left white by V1.3.3. */
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming,
html[data-gtv-theme="dark"] .gtv-cal .sc-paper,
html[data-gtv-theme="dark"] .gtv-cal .sc-schedule {
  background:#211a30 !important; color:#f4eeff !important;
  border-color:#4a3b5c !important;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-item,
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item {
  background:#2b223a !important; color:#eee5ff !important;
  border:1px solid #4c3b60 !important; border-radius:12px;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-item + .sc-upcoming-item,
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item + .sc-list-item {margin-top:5px;}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-detail strong,
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item h3 {color:#f5edff !important;}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-detail small,
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item p,
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-empty {color:#c8b9de !important;}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-item :is(.sc-tag,.sc-tag-irl,.sc-tag-dj),
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item :is(.sc-tag,.sc-tag-irl,.sc-tag-dj) {color:#fff !important;}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-item :is(a,.sc-calendar-icon,.sc-reminder),
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item a {color:#c99eff !important;}
html[data-gtv-theme="dark"] .gtv-cal .sc-panel-top h2 {color:#f4edff !important;}

/* HOMEPAGE – the separate 'Kommende Streams' panel (not .gtv-cal). */
html[data-gtv-theme="dark"] .panel.schedule .schedule-entry {
  background:#2b223a !important;color:#f1eaff !important;
  border:1px solid #4a3c59 !important;border-radius:11px;
}
html[data-gtv-theme="dark"] .panel.schedule .schedule-entry + .schedule-entry {margin-top:5px;}
html[data-gtv-theme="dark"] .panel.schedule .schedule-entry strong {color:#f4ecff !important;}
html[data-gtv-theme="dark"] .panel.schedule .schedule-entry p {color:#c3b5d7 !important;}
html[data-gtv-theme="dark"] .panel.schedule .schedule-entry a:not(.gtv-home-category) {color:#ca9fff !important;}
/* Preserve blue IRL / violet DJ category chips and all stream thumbnails. */

/* STREAM MAP – white surrounding area, labels and place cards. Globe stays untouched. */
html[data-gtv-theme="dark"] .sm-public,
html[data-gtv-theme="dark"] .sm-public .sm-world-wrap {
  background:#110e1b !important;color:#f1eaff !important;
}
html[data-gtv-theme="dark"] .sm-public .sm-section-intro h2,
html[data-gtv-theme="dark"] .sm-public .sm-list-top h2 {color:#f5eeff !important;}
html[data-gtv-theme="dark"] .sm-public .sm-section-intro p,
html[data-gtv-theme="dark"] .sm-public .sm-list-top span,
html[data-gtv-theme="dark"] .sm-public .sm-count span {color:#bdb1d2 !important;}
html[data-gtv-theme="dark"] .sm-public .sm-count strong {color:#b787ff !important;}
html[data-gtv-theme="dark"] .sm-public .sm-location-card {
  background:#282038 !important;color:#f1eaff !important;
  border-color:#504067 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.24) !important;
}
html[data-gtv-theme="dark"] .sm-public .sm-location-card:is(:hover,:focus-visible),
html[data-gtv-theme="dark"] .sm-public .sm-location-card.is-active {
  background:#35244e !important;border-color:#b580ff !important;
}
html[data-gtv-theme="dark"] .sm-public .sm-location-info strong {color:#f1e9ff !important;}
html[data-gtv-theme="dark"] .sm-public .sm-location-info small {color:#b9aaca !important;}
html[data-gtv-theme="dark"] .sm-public .sm-location-arrow {color:#c69cff !important;}
html[data-gtv-theme="dark"] .sm-public :is(.sm-empty,.sm-alert) {
  background:#241c35 !important;border-color:#645080 !important;color:#d2c5e5 !important;
}
html[data-gtv-theme="dark"] .sm-public .sm-empty strong {color:#f4ecff !important;}
/* Intentionally avoid styling .sm-hero, .sm-globe-panel, canvas and MapLibre. */

/* MESSENGER v2.0.x – BOTH friends panel AND separate chat window. */
html[data-gtv-theme="dark"] #gtvm-root {color:#eee5ff !important;}
html[data-gtv-theme="dark"] #gtvm-root :is(.gtvm-panel,.gtvm-window) {
  background:#211a30 !important;color:#f2eaff !important;
  border-color:#76569b !important;
}
html[data-gtv-theme="dark"] #gtvm-root :is(.gtvm-status,.gtvm-compose,.gtvm-typing,.gtvm-credit) {
  background:#261d36 !important;color:#e9dcff !important;
  border-color:#483754 !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-status label,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-credit {color:#c8b5e7 !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-status select {
  background:#332442 !important;color:#f0e6ff !important;border-color:#7757a0 !important;
}
html[data-gtv-theme="dark"] #gtvm-root #gtvm-friends,
html[data-gtv-theme="dark"] #gtvm-root #gtvm-friends.gtvm-is-empty {
  background:#1b1629 !important;color:#f1ebff !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-group-toggle,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-load-older {
  background:#2d233e !important;color:#d5b4ff !important;border-color:#4b385e !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-friend {
  background:#251d34 !important;color:#f0e9ff !important;border-color:#41334f !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-friend:is(:hover,:focus-visible) {background:#39274f !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-name,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-empty-title {color:#f6efff !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-mini-state,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-contact-status,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-empty-description {color:#bfaed5 !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-messages {background:#191525 !important;color:#efe6ff !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-msg:not(.mine) {
  background:#312541 !important;color:#f1e9ff !important;border-color:#514069 !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-msg.mine {
  background:#7543c6 !important;color:#fff !important;border-color:#9565ee !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-msg:not(.mine) .gtvm-meta {color:#c7b6df !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-typing-box {color:#bfa4e6 !important;}
html[data-gtv-theme="dark"] #gtvm-root :is(.gtvm-compose input,.gtvm-compose .gtvm-editor) {
  background:#211a2e !important;color:#f8f1ff !important;border-color:#9667cf !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-compose .gtvm-editor[data-empty="true"]:before {color:#bca9cf !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-emoji-btn {background:#3b2951 !important;color:#f5eaff !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-send {background:#8247d8 !important;color:#fff !important;}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-picker,
html[data-gtv-theme="dark"] #gtvm-root .gtvm-picker-groups {
  background:#251d33 !important;color:#e9e0fa !important;border-color:#775995 !important;
}
html[data-gtv-theme="dark"] #gtvm-root .gtvm-picker-tabs button:not(.selected),
html[data-gtv-theme="dark"] #gtvm-root .gtvm-emote-group-toggle {
  background:#32243f !important;color:#ead9ff !important;border-color:#544069 !important;
}
html[data-gtv-theme="dark"] #gtvm-root :is(.gtvm-emote-choice,.gtvm-empty) {
  background:#2e2440 !important;color:#e9e0fa !important;border-color:#544068 !important;
}
/* Keep purple title bars, sound/notification indicators, avatars and emoji images intact. */
