/* GRAUMAENLEIN.TV Theme V1.0.0 – additive skin, original imagery untouched. */
html[data-gtv-theme="light"]{color-scheme:light}
/* Header control (both themes). */
.gtv-theme-toggle{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  flex:0 0 auto;border:1px solid #ddd3f4;border-radius:10px;padding:9px 11px;
  background:#f5efff;color:#5420aa;font:800 12px/1.2 'DM Sans',Arial,sans-serif;
  white-space:nowrap;cursor:pointer;transition:background .18s,transform .18s,border-color .18s;
}
.gtv-theme-toggle:hover{background:#eadbff;border-color:#ba8af1;transform:translateY(-1px)}
.gtv-theme-toggle:focus-visible{outline:3px solid #ac65fc;outline-offset:3px}
.gtv-theme-toggle svg{width:17px;height:17px;flex:0 0 17px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.gtv-theme-toggle .gtv-theme-sun{display:none}
.gtv-theme-toggle.is-dark .gtv-theme-sun{display:block}
.gtv-theme-toggle.is-dark .gtv-theme-moon{display:none}
/* Silent success messages remain screenreader-accessible; failures are visible. */
.gtv-theme-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.gtv-theme-status.gtv-theme-error{position:fixed!important;z-index:5000!important;top:85px;right:15px;left:auto;width:min(390px,calc(100vw - 30px))!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;line-height:1.35;padding:12px 15px;background:#352144;color:#fff;border:1px solid #cc8dff;border-radius:11px;box-shadow:0 14px 44px #0008;font-size:12px;font-weight:700}
@media(max-width:1180px){.gtv-theme-toggle{padding:9px;min-width:38px}.gtv-theme-text{display:none}}
@media(max-width:550px){.gtv-theme-toggle{min-width:36px;padding:8px 7px}}
@media(prefers-reduced-motion:reduce){.gtv-theme-toggle{transition:none}}

/* Original light site is the default: deliberately no global light overrides. */
html[data-gtv-theme="dark"] {
  color-scheme:dark;
  --ink:#f2edff;
  --muted:#b8b0ca;
  --border:#37304b;
  --shadow:0 11px 35px rgba(0,0,0,.20);
  --gtv-surface:#1b152a;
  --gtv-surface-2:#241b36;
  --gtv-line:#383049;
  --gtv-text:#f2edff;
  --gtv-secondary:#bcb3d2;
}
html[data-gtv-theme="dark"] body{background:#100d1b;color:var(--gtv-text)}
html[data-gtv-theme="dark"] .site-header{background:#181127;color:#f2edff;box-shadow:0 2px 12px #06040f80}
html[data-gtv-theme="dark"] .brand small{color:#b7accf}
html[data-gtv-theme="dark"] .main-nav a{color:#f1ebff}
html[data-gtv-theme="dark"] .main-nav a:hover{background:#33224c;color:#d9b8ff}
html[data-gtv-theme="dark"] .main-nav .nav-active{color:#fff;background:linear-gradient(130deg,#a13afd,#5b14eb)}
html[data-gtv-theme="dark"] .search-btn,
html[data-gtv-theme="dark"] .menu-toggle{color:#f3eaff}
html[data-gtv-theme="dark"] .search-bar{background:#21182f;border-color:#433654}
html[data-gtv-theme="dark"] .gtv-theme-toggle{background:#312044;border-color:#77519f;color:#f1e0ff}
html[data-gtv-theme="dark"] .gtv-theme-toggle:hover{background:#452960;border-color:#bc88fd}
html[data-gtv-theme="dark"] .nav-login-btn:not(.nav-active){color:#fff}

/* Content cards: only page chrome; never filter or replace photos, videos or hero imagery. */
html[data-gtv-theme="dark"] :is(
  .panel,.irl-empty,.irl-search,.irl-sort,.irl-per-page,.irl-pages a:not(.is-current),
  .calendar-panel,.calendar-card,.calendar-toolbar,.calendar-sidebar,.calendar-container,
  .stream-calendar-card,.stream-calendar-panel,.gtv-calendar-card,
  .community-panel,.community-card:not(.profile-card),
  .magazine-card,.magazin-card,.post-card,.article-card,.game-card,.widget-card,
  .gtv-blocks-widget,.gtv-blocks-leaderboard
){background:var(--gtv-surface);border-color:var(--gtv-line);color:var(--gtv-text)}
html[data-gtv-theme="dark"] .feature-card-copy{
  background:linear-gradient(105deg,#221a33 0%,#221a33f9 70%,#221a33cb 100%);
  color:#f7f2ff;
}
html[data-gtv-theme="dark"] .feature-card-copy p{color:#b9b0ce}
html[data-gtv-theme="dark"] :is(.section-heading,.section-heading h2,.heading-main,.irl-section-title h2,.irl-title-start h2){color:#f5f0ff}
html[data-gtv-theme="dark"] :is(.irl-title-start p,.irl-range,.irl-empty p,.muted,.section-subtitle){color:#b7accb}
html[data-gtv-theme="dark"] .irl-total{background:#322044;border-color:#58406e;color:#d3a9ff}
html[data-gtv-theme="dark"] .irl-search-icon{color:#d8c6ff}
html[data-gtv-theme="dark"] .irl-sort span{color:#ac9dbc}
html[data-gtv-theme="dark"] .irl-sort select,
html[data-gtv-theme="dark"] .irl-per-page{color:#eee6ff}
html[data-gtv-theme="dark"] .irl-apply{background:#5e2c99;color:#fff}
html[data-gtv-theme="dark"] .irl-dots{color:#aa9dbc}
html[data-gtv-theme="dark"] .irl-pages a:not(.is-current){color:#e9dbff}

/* Forms, login dropdown, selector shells and subtle borders. */
html[data-gtv-theme="dark"] :is(
  .modal,.login-dropdown-anchor .login-dialog,.login-modal .login-dialog,
  .login-panel,.site-welcome,.search-bar input,.login-field input,
  #login-panel-register .login-field input,
  select,textarea,input[type="text"],input[type="search"],input[type="email"],input[type="date"],
  input[type="password"]
){background-color:#231a33;color:#f0eaff;border-color:#544264}
html[data-gtv-theme="dark"] :is(input,textarea)::placeholder{color:#a99bbd;opacity:1}
html[data-gtv-theme="dark"] .site-welcome{color:#f3ebff}
html[data-gtv-theme="dark"] .site-welcome span{color:#baadd2}
html[data-gtv-theme="dark"] .site-privacy-hint{color:#b5aacd}
html[data-gtv-theme="dark"] .login-dropdown-anchor .login-tab:not(.is-active){color:#cfc3e6}
html[data-gtv-theme="dark"] .login-dropdown-anchor .login-tab.is-active{color:#fff}
html[data-gtv-theme="dark"] .site-admin-link:not(:hover){background:#352149;border-color:#684597;color:#dfb7ff!important}
html[data-gtv-theme="dark"] .pill,
html[data-gtv-theme="dark"] .mini-arrow{background:#342347;color:#ead9ff;border-color:#64447f}
html[data-gtv-theme="dark"] .vote-options button{background:#2f2245;color:#eee4ff;border-color:#634d7b}

/* Don't recolor photographic banners, status badges, color-coded IRL/DJ pills, overlays, or game fields. */
@media(max-width:980px){
  html[data-gtv-theme="dark"] .main-nav.open{background:#20182e;border-color:#3e3155}
}

/* Public Streamkalender: existing .gtv-cal component, without changing IRL/DJ colors. */
html[data-gtv-theme="dark"] .gtv-cal{
  --sc-ink:#f0eaff;--sc-muted:#b7accb;--sc-border:#3a324a;
  --sc-blue-light:#2a294d;background:#100d1b;color:#eee9f8;
}
html[data-gtv-theme="dark"] .gtv-cal :is(
  .sc-paper,.sc-tabs,.sc-date-controls a,.sc-filter-bar,.sc-filter-bar a:not(.is-selected),
  .sc-time-header,.sc-time-body,.sc-time-rail,.sc-month-head,.sc-calendar-footer,
  .sc-month-day.is-out,.sc-vacation
){background:#1b152a;color:#efe7ff;border-color:#3d3451}
html[data-gtv-theme="dark"] .gtv-cal :is(
  .sc-panel-top h2,.sc-upcoming-detail strong,.sc-schedule-toolbar h2,
  .sc-time-heading,.sc-month-heading,.sc-month-day-number
){color:#f5efff}
html[data-gtv-theme="dark"] .gtv-cal :is(
  .sc-upcoming-detail small,.sc-upcoming-empty,.sc-upcoming-empty small,
  .sc-calendar-footer,.sc-schedule-toolbar p
){color:#b8accf}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-upcoming-item,.sc-reminder){border-color:#423650}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-time-heading.today,.sc-month-day.is-today){background:#342444;color:#fff}
html[data-gtv-theme="dark"] .gtv-cal .sc-holiday-banner{background:#362b24;color:#ffdda1;border-color:#795a29}

/* BEGIN GTV_BLOCKS_SHELL_DARK_V1_3_1 */
/* GTV Blocks Dark Mode V1.3.1 – PARENT PAGE only.
   Embedded game's V1.3.0 dark stylesheet remains unchanged.
   Scope to the existing homepage data-gtv-theme switch. */
html[data-gtv-theme="dark"] .gtv-blocks-module-page {
  background: #100d1b;
  color: #f2edff;
}
html[data-gtv-theme="dark"] #gtv-blocks-game-frame {
  background: #100e1e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
html[data-gtv-theme="dark"] .gtv-blocks-module-intro {
  background: #1b152a;
  color: #f2edff;
  border-color: #3c3050;
}
html[data-gtv-theme="dark"] .gtv-blocks-module-intro h1 {
  color: #f2edff;
}
html[data-gtv-theme="dark"] .gtv-blocks-module-intro a {
  color: #caa7ff;
}
/* Compact "GTV Blocks" tile under Spiele on the homepage. */
html[data-gtv-theme="dark"] .gtv-blocks-mini {
  background: #211a33;
  color: #f3ecff;
  border-color: #423355;
}
html[data-gtv-theme="dark"] .gtv-blocks-mini:hover,
html[data-gtv-theme="dark"] .gtv-blocks-mini:focus-visible {
  background: #2c2045;
  border-color: #9563d3;
}
html[data-gtv-theme="dark"] .gtv-blocks-mini strong {
  color: #f3ecff;
}
html[data-gtv-theme="dark"] .gtv-blocks-mini-arrow {
  color: #c9a0ff;
}
/* Sidebar leaderboard when embedded in the normal website layout. */
html[data-gtv-theme="dark"] .gtv-blocks-user,
html[data-gtv-theme="dark"] .gtv-blocks-points,
html[data-gtv-theme="dark"] .gtv-blocks-rank-head h4 {
  color: #f3ecff;
}
html[data-gtv-theme="dark"] .gtv-blocks-leaderboard-list li {
  border-bottom-color: #3e3153;
}
html[data-gtv-theme="dark"] .gtv-blocks-leaderboard-note {
  color: #b9afd0;
}
html[data-gtv-theme="dark"] .gtv-blocks-ranking-link,
html[data-gtv-theme="dark"] .gtv-blocks-rank-head > span {
  color: #c49dff;
}
/* END GTV_BLOCKS_SHELL_DARK_V1_3_1 */

/* BEGIN GTV_PROFILE_COMMUNITY_DARKMODE_V1_3_2 */
/* GRAUMAENLEIN.TV · PROFILE + COMMUNITY + FRIENDS DARK V1.3.2
 * Additional night palette for public-facing profile, edit, gallery, friendships.
 * No Light-Mode overrides, no photo or banner image changes.
 * Sources: historical Profile Premium V4/V5/V5.3, Community V4,
 * Friendship Center V7.8 and notifications V7.10.
 */
html[data-gtv-theme="dark"] body.profile-page,
html[data-gtv-theme="dark"] body.community-page,
html[data-gtv-theme="dark"] body.friends-page {
  background: #100d1b;
  color: #f2edff;
}
/* Header of public profile: keep the cover image exactly as uploaded. */
html[data-gtv-theme="dark"] .profile-page .pt-identity,
html[data-gtv-theme="dark"] .profile-page .pt-tabs {
  background: #1d172c;
  border-color: #403450;
  color: #f3edff;
}
html[data-gtv-theme="dark"] .profile-page .pt-identity h1 {color:#f6f0ff}
html[data-gtv-theme="dark"] .profile-page .pt-tagline,
html[data-gtv-theme="dark"] .profile-page .pt-member-since {color:#b7aecf}
html[data-gtv-theme="dark"] .profile-page .pt-tabs a {color:#c6badb}
html[data-gtv-theme="dark"] .profile-page .pt-tabs a:hover,
html[data-gtv-theme="dark"] .profile-page .pt-tabs a.active {color:#d6acff}
html[data-gtv-theme="dark"] .profile-page .pt-chips span {
  background:#362448;color:#dfc1ff;
}
html[data-gtv-theme="dark"] .profile-page .pt-avatar-frame {
  border-color:#21182f;
}
/* Profile overview, info boxes, friends, photo gallery and editor. */
html[data-gtv-theme="dark"] .profile-page .pt-card,
html[data-gtv-theme="dark"] .profile-page .pt-side .pt-social-v53 {
  background:#211a30;
  border-color:#41344f;
  color:#f2ecff;
  box-shadow:0 8px 25px #08040f36;
}
html[data-gtv-theme="dark"] .profile-page .pt-card h2,
html[data-gtv-theme="dark"] .profile-page .pt-side .pt-social-v53 h2,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-upload-text strong,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-empty strong,
html[data-gtv-theme="dark"] .profile-page .pt-manager-subheading,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-manager-subtitle {
  color:#f5efff;
}
html[data-gtv-theme="dark"] .profile-page .pt-bio,
html[data-gtv-theme="dark"] .profile-page .pt-muted,
html[data-gtv-theme="dark"] .profile-page .pt-side dt,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-empty p,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-upload-text span,
html[data-gtv-theme="dark"] .profile-page .pt-upload-status,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-upload-actions small,
html[data-gtv-theme="dark"] .profile-page .pt-banner-picker .pt-banner-tip,
html[data-gtv-theme="dark"] .profile-page .pt-image-upload span,
html[data-gtv-theme="dark"] .profile-page .pt-image-upload small,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-caption {
  color:#bbb0ce;
}
html[data-gtv-theme="dark"] .profile-page .pt-side dd {color:#f1eaff}
html[data-gtv-theme="dark"] .profile-page .pt-side dt,
html[data-gtv-theme="dark"] .profile-page .pt-side dd,
html[data-gtv-theme="dark"] .profile-page .pt-social,
html[data-gtv-theme="dark"] .profile-page .pt-card-top,
html[data-gtv-theme="dark"] .profile-page .pt-manager-subheading {
  border-color:#40334f;
}
html[data-gtv-theme="dark"] .profile-page :is(
  .pt-gallery-empty,.pt-gallery-uploader,.pt-image-upload,
  .pt-manager-empty,.pt-gallery-limit,.pt-editor .pt-reset-banner
) {
  background:#2a213b;
  border-color:#59446e;
  color:#dfd4f0;
}
html[data-gtv-theme="dark"] .profile-page .pt-gallery-count,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-empty>span,
html[data-gtv-theme="dark"] .profile-page .pt-gallery-file-button,
html[data-gtv-theme="dark"] .profile-page .pt-manager-public-link {
  background:#392750;
  border-color:#624781;
  color:#dfbcff;
}
html[data-gtv-theme="dark"] .profile-page .pt-editor label {color:#ddd1f1}
html[data-gtv-theme="dark"] .profile-page .pt-editor :is(input:not([type="checkbox"]):not([type="file"]),textarea,select),
html[data-gtv-theme="dark"] .profile-page .pt-editor input[type="file"] {
  background:#2d233e;
  border-color:#5c4972;
  color:#f3edff;
}
html[data-gtv-theme="dark"] .profile-page .pt-editor :is(input,textarea)::placeholder {color:#b2a5c4}
html[data-gtv-theme="dark"] .profile-page .pt-side .pt-social-v53 a.pt-social-v53-channel {
  background:#30253f;
  border-color:#5c486e;
  color:#f2eaff!important;
}
html[data-gtv-theme="dark"] .profile-page .pt-side .pt-social-v53 a.pt-social-v53-channel:hover {
  background:#3c2c54;
  border-color:#9668cd;
}
html[data-gtv-theme="dark"] .profile-page .pt-user-gallery .pt-personal-photo {
  background:#332749;
}
html[data-gtv-theme="dark"] .profile-page .pt-alert {
  background:#402631;color:#ffdbe0;border-color:#805060;
}
html[data-gtv-theme="dark"] .profile-page .pt-good {
  background:#153b30;color:#b8f4d6;border-color:#30725b;
}
/* Community directory: don't cover photos, profile image art or the hero. */
html[data-gtv-theme="dark"] .community-page :is(
  .cm-count,.cm-search,.cm-card,.cm-empty,.cm-pagination a,
  .cm-note,.cm-inbox,.cm-suggestions
){background:#211a30;border-color:#40334f;color:#f0e9ff}
html[data-gtv-theme="dark"] .community-page :is(
  .cm-head h2,.cm-card h3 a,.cm-empty h3,.cm-inbox-heading h3,
  .cm-invite-name strong,.cm-suggest-info strong
){color:#f2ebff}
html[data-gtv-theme="dark"] .community-page :is(
  .cm-subtitle,.cm-count,.cm-search label,.cm-handle,.cm-tagline,
  .cm-card-bottom>span,.cm-note,.cm-empty p,.cm-inbox-heading p,
  .cm-invite-name small,.cm-suggest-info small,.cm-suggest-empty
){color:#bfb3d3}
html[data-gtv-theme="dark"] .community-page :is(.cm-card-bottom,.cm-invite){border-color:#41354e}
html[data-gtv-theme="dark"] .community-page .cm-search :is(input,.cm-search-field input) {
  background:#2d233e;color:#f1ebff;border-color:#5a456e;
}
html[data-gtv-theme="dark"] .community-page .cm-search input::placeholder{color:#a99abe}
html[data-gtv-theme="dark"] .community-page .cm-tags span{background:#392750;color:#d5b4ff}
html[data-gtv-theme="dark"] .community-page .cm-suggest-item {color:#f1eaff!important}
html[data-gtv-theme="dark"] .community-page .cm-suggest-item:hover,
html[data-gtv-theme="dark"] .community-page .cm-suggest-item.cm-suggest-active,
html[data-gtv-theme="dark"] .community-page .cm-suggest-all,
html[data-gtv-theme="dark"] .community-page .cm-invite-buttons .cm-reject {
  background:#382749;color:#dab8ff!important;
}
html[data-gtv-theme="dark"] .community-page .cm-pagination a{color:#d8b6ff}
/* Friend center and notifications, including friend requests and empty states. */
html[data-gtv-theme="dark"] .friends-page :is(
  .fr-tabs a,.fr-person,.fr-empty,.fr-notice,.fr-notice.is-unread,
  .fr-mark-read button
){background:#211a30;border-color:#43354f;color:#eee7ff}
html[data-gtv-theme="dark"] .friends-page .fr-notice.is-unread {
  border-color:#8f5bc9;
  box-shadow:inset 4px 0 #9b58f5,0 8px 25px #05020836;
}
html[data-gtv-theme="dark"] .friends-page :is(
  .fr-intro h1,.fr-heading h2,.fr-name a,.fr-notice-text strong
){color:#f5efff}
html[data-gtv-theme="dark"] .friends-page :is(
  .fr-intro p,.fr-heading p,.fr-name span,.fr-empty,
  .fr-notice-text>span,.fr-notice-text strong a
){color:#bdb1d1}
html[data-gtv-theme="dark"] .friends-page .fr-notice-text strong a{color:#d6b0ff}
html[data-gtv-theme="dark"] .friends-page :is(.fr-muted,.fr-view,.fr-tabs b) {
  background:#3b2b4f;color:#e5d1ff;
}
html[data-gtv-theme="dark"] .friends-page .fr-danger {
  background:#4a2838;color:#ffd9e4;
}
html[data-gtv-theme="dark"] .friends-page .fr-mark-read button:hover {
  background:#352747;border-color:#9a6bcd;
}
html[data-gtv-theme="dark"] .friends-page .fr-good{background:#153b30;color:#b8f4d6}
html[data-gtv-theme="dark"] .friends-page .fr-alert{background:#442630;color:#ffcad1}
/* Use familiar purple focus affordance and honor users who disable animations. */
html[data-gtv-theme="dark"] :is(.profile-page,.community-page,.friends-page) :is(a,button,input,textarea,select):focus-visible {
  outline-color:#b77cff;
}
/* END GTV_PROFILE_COMMUNITY_DARKMODE_V1_3_2 */

/* BEGIN GTV_CALENDAR_LOGIN_DARKMODE_V1_3_3 */
/* GRAUMAENLEIN.TV · Kalender + Login-Hinweise Dark V1.3.3
   Purely additive and active only under the site's stored dark theme.
   Based on the documented public calendar .gtv-cal / .sc-* and site-auth-message markup.
   Intentionally does not change hero photos, streaming category badges, event contents,
   dates, account operations, or the existing Light Mode. */

/* Public calendar surrounding surface and main panels. */
html[data-gtv-theme="dark"] .gtv-cal {
  --sc-ink:#f4eeff;--sc-muted:#bdb1d3;--sc-border:#403450;
  background:#100d1b;color:#eee8fb;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming,
html[data-gtv-theme="dark"] .gtv-cal .sc-schedule,
html[data-gtv-theme="dark"] .gtv-cal .sc-paper {
  background:#211a30;color:#f1ebff;
  border-color:#413450;
  box-shadow:0 9px 24px rgba(0,0,0,.15);
}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-panel-top h2,.sc-schedule-title h2,.sc-list-item h3,.sc-upcoming-detail strong) {
  color:#f4eeff;
}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-upcoming-detail small,.sc-upcoming-empty,.sc-upcoming-empty small,.sc-list-top,.sc-list-item p,.sc-list-empty) {
  color:#bdb1d0;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-upcoming-item,
html[data-gtv-theme="dark"] .gtv-cal .sc-list-item {
  border-color:#40334f;
}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-panel-top a,.sc-list-link,.sc-reminder,.sc-calendar-footer a) {
  color:#c594ff;
}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-panel-top a,.sc-list-link,.sc-reminder,.sc-calendar-footer a):hover {
  color:#e3c9ff;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-eyebrow-blue {color:#bb88fa;}

/* Week/month/list tabs; keep active selection recognizable. */
html[data-gtv-theme="dark"] .gtv-cal .sc-tabs {background:#30253f;border-color:#4e3e63;}
html[data-gtv-theme="dark"] .gtv-cal .sc-tabs a:not(.is-active) {color:#d8ccec;}
html[data-gtv-theme="dark"] .gtv-cal .sc-tabs a:not(.is-active):hover {background:#403152;color:#fff;}
html[data-gtv-theme="dark"] .gtv-cal .sc-tabs a.is-active {color:#fff;}
html[data-gtv-theme="dark"] .gtv-cal .sc-date-controls a {
  background:#2f243f;color:#f0e7ff;border-color:#57436c;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-date-controls a:hover {background:#433053;color:#fff;}
html[data-gtv-theme="dark"] .gtv-cal .sc-filter-bar {
  background:#241b34;border-color:#42334f;color:#bfb3d5;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-filter-bar > span {color:#b6a9cb;}
html[data-gtv-theme="dark"] .gtv-cal .sc-filter-bar a:not(.is-selected) {
  background:#322641;border-color:#483555;color:#d6cae9;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-filter-bar a:not(.is-selected):hover {
  background:#433153;color:#fff;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-filter-bar a.is-selected {
  background:#47306b;border-color:#77519e;color:#f0dcff;
}

/* Week grid – dark backgrounds with legible hour lines and current day. */
html[data-gtv-theme="dark"] .gtv-cal .sc-time-header,
html[data-gtv-theme="dark"] .gtv-cal .sc-month-head {
  background:#292138;color:#cbbfe0;border-color:#44354f;
}
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-time-heading,.sc-timezone,.sc-time-rail>span) {color:#bfb1d3;}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-heading {border-color:#493b57;}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-heading.today {
  background:#42305d;color:#f3eaff;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-body,
html[data-gtv-theme="dark"] .gtv-cal .sc-time-rail {
  background:#1d172b;color:#c3b6d7;border-color:#443653;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-day {
  background-color:#211a30;border-color:#403450;
  background-image:repeating-linear-gradient(to bottom,#3c314b 0px,#3c314b 1px,transparent 1px,transparent var(--sc-hour));
}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-day.is-today {background-color:#2b213b;}

/* Preserve event category distinction with darker, high-contrast event tiles. */
html[data-gtv-theme="dark"] .gtv-cal .sc-time-event:not(.dj) {
  background:#372652;border-color:#6d4aa7;border-left-color:#a46ef5;color:#eadcff;
  box-shadow:0 3px 12px #08040f44;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-event.dj {
  background:#4b2446;border-color:#a65b96;border-left-color:#d77ac1;color:#ffe2f8;
  box-shadow:0 3px 12px #08040f44;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-time-event :is(strong,.sc-event-hours) {color:inherit;}

/* Month view and day tiles. */
html[data-gtv-theme="dark"] .gtv-cal .sc-month-day {
  background:#211a30;color:#f1eaff;border-color:#40334e;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-month-day.is-out {background:#171323;color:#857994;}
html[data-gtv-theme="dark"] .gtv-cal .sc-month-day.is-today {background:#39284f;color:#f2e5ff;}
html[data-gtv-theme="dark"] .gtv-cal .sc-month-number {color:inherit;}
html[data-gtv-theme="dark"] .gtv-cal .sc-month-event:not(.dj) {
  background:#3d2a59;color:#e1ccff;border-left-color:#a66bef;
}
html[data-gtv-theme="dark"] .gtv-cal .sc-month-event.dj {
  background:#4a2849;color:#ffd8f3;border-left-color:#d67abc;
}

/* List view dates, controls and footer. */
html[data-gtv-theme="dark"] .gtv-cal .sc-event-list {background:#211a30;}
html[data-gtv-theme="dark"] .gtv-cal .sc-datebox {background:#3b2951;color:#e9d4ff;border-color:#674580;}
html[data-gtv-theme="dark"] .gtv-cal .sc-datebox :is(strong,small) {color:inherit;}
html[data-gtv-theme="dark"] .gtv-cal .sc-calendar-footer {
  background:#241c33;color:#bdb1d3;border-color:#433450;
}
/* Holiday styling remains amber but never bright-white. */
html[data-gtv-theme="dark"] .gtv-cal :is(.sc-vacation,.sc-holiday-banner) {
  background:#3d2c25;color:#f6d39d;border-color:#775632;
}

/* Public site's flash messages in the login box; dark semantic success/error colors. */
html[data-gtv-theme="dark"] .site-auth-message.is-success {
  background:#173c31;color:#bdf4da;border-color:#398369;
}
html[data-gtv-theme="dark"] .site-auth-message.is-error {
  background:#482633;color:#ffced8;border-color:#8f5265;
}
/* END GTV_CALENDAR_LOGIN_DARKMODE_V1_3_3 */
