/* Dark-only finishing layer. Keep the dormant light theme independent. */
html[data-podly-theme=dark] body.community-page .community-side-links [data-circle-search-open] svg{display:block;width:19px;height:19px;margin:auto;color:var(--circle-blue)}
html[data-podly-theme=dark] body.community-page .community-post-foot :is(.community-reactions button,.community-playlist-add){border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important}
html[data-podly-theme=dark] body.community-page .community-post-foot :is(.community-reactions button,.community-playlist-add):is(:hover,[aria-pressed=true]){border:0!important;background:transparent!important;box-shadow:none!important}

html[data-podly-theme=dark] body.community-page .community-comments-dialog{background:#1b1b1b;border-color:#454545;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .community-comments{background:#1b1b1b;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .community-comments>header{background:#202020;border-color:#414141}
html[data-podly-theme=dark] body.community-page .community-comments>header span{color:var(--circle-blue)}
html[data-podly-theme=dark] body.community-page .community-comments>header>button{background:#292929;border:1px solid #4a4a4a;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .community-comments-list{background:#1b1b1b}
html[data-podly-theme=dark] body.community-page .community-comments-empty{background:transparent;border-color:transparent}
html[data-podly-theme=dark] body.community-page .community-comments-empty>span{background:#2b3a3b;color:var(--circle-accent)}
html[data-podly-theme=dark] body.community-page .community-comments-more{background:#1b1b1b;border-color:#414141;color:var(--circle-blue)}
html[data-podly-theme=dark] body.community-page .community-comment-form{background:#202020;border-color:#414141}
html[data-podly-theme=dark] body.community-page .community-comment-compose textarea{background:#171717;border:1px solid #555;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .community-comment-compose>button{background:#2b5260;border-color:#5aabba;box-shadow:none;color:#fff}
html[data-podly-theme=dark] body.community-page .community-comment-rules{color:#aab3bd}

html[data-podly-theme=dark] body.community-page .community-profile-stats button:hover{background:#292929;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .community-profile-stats button:focus-visible{background:#292929}

html[data-podly-theme=dark] body.community-page .playlist-studio{--pl-panel:#202020;--pl-line:#444;--pl-accent:#62d4ca;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page :is(.playlist-now,.playlist-queue,.playlist-list-card,.playlist-list-menu,.playlist-track,.playlist-library-dialog,.playlist-picker-dialog,.playlist-picker>header){background:#202020;background-image:none;border-color:#444;box-shadow:none;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page :is(.playlist-now.is-drive-mode,.playlist-now.is-mobile-open){background:#202020}
html[data-podly-theme=dark] body.community-page .playlist-list-card.active{border-color:var(--circle-accent)}
html[data-podly-theme=dark] body.community-page .playlist-track.current{background:#263534;border-color:#477a78}
html[data-podly-theme=dark] body.community-page .playlist-track.current .playlist-track-play{background:#2b4947;border-color:var(--circle-accent);color:#fff}
html[data-podly-theme=dark] body.community-page .playlist-track:not(.current):hover{background:#2b2b2b}
html[data-podly-theme=dark] body.community-page :is(.playlist-list-card:hover,.playlist-list-menu button:hover){background:#292929;border-color:#668c8c}
html[data-podly-theme=dark] body.community-page :is(.playlist-studio-head>button,.playlist-player-head button,.playlist-transport button:not(.playlist-play),.playlist-queue>header button,.playlist-track-actions button,.playlist-list-manage>button){background:#292929;border-color:#4a4a4a;color:#dce3e6;box-shadow:none}

html[data-podly-theme=dark] body.community-page .community-dialog.playlist-picker-dialog{background:#1b1b1b!important;background-image:none!important;border-color:#454545}
html[data-podly-theme=dark] body.community-page .playlist-picker{color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .playlist-picker>header{background:#202020;background-image:none;border-color:#414141}
html[data-podly-theme=dark] body.community-page .playlist-picker-heading :is(span,h2){color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .playlist-picker-heading span{color:var(--circle-accent)}
html[data-podly-theme=dark] body.community-page .playlist-picker-heading p,
html[data-podly-theme=dark] body.community-page .playlist-picker-list small,
html[data-podly-theme=dark] body.community-page .playlist-picker-create small{color:#adb7c0}
html[data-podly-theme=dark] body.community-page :is(.playlist-picker-heading>i,.playlist-picker-art,.playlist-picker-empty>i){background:#2b3a3b;background-image:none;border-color:#477a78;color:var(--circle-accent);box-shadow:none}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button{background:#252525;background-image:none;border-color:#484848;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button:hover{background:#303030;border-color:#668c8c}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button[aria-pressed=true]{background:#273a38;border-color:var(--circle-accent)}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button[aria-pressed=true]::before{background:var(--circle-accent)}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button>b{background:#303030;border-color:#505050;color:#dce3e6}
html[data-podly-theme=dark] body.community-page .playlist-picker-list>button[aria-pressed=true]>b{background:#244138;border-color:#4b9677;color:#a3eccb}
html[data-podly-theme=dark] body.community-page .playlist-picker-create{background:#222;border-color:#484848}
html[data-podly-theme=dark] body.community-page .playlist-picker-create input{background:#171717;border-color:#555;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .playlist-picker-create input::placeholder{color:#a1abb5}
html[data-podly-theme=dark] body.community-page .playlist-picker-create button{background:#2b5260;background-image:none;border-color:#5aabba;box-shadow:none;color:#fff}
html[data-podly-theme=dark] body.community-page .playlist-picker-close{background:#292929;border-color:#4a4a4a;color:#f4f4f4}
html[data-podly-theme=dark] body.community-page .playlist-picker>footer a{border-color:#414141;color:#c4d0d6}
html[data-podly-theme=dark] body.community-page .playlist-picker>footer a svg{color:var(--circle-accent)}

html[data-podly-theme=dark] body.dashboard-page .video-studio-dialog :is(.video-title-field,.video-editor-panel,.video-background-modes,.video-toggle-grid,.video-visualizer-controls,.video-logo-controls,.video-brand-position-control,.video-font-grid,.video-image-background-options,.video-solid-color-control,.video-solid-color-inputs){background:#222;background-image:none;border-color:#444;color:#f4f4f4;box-shadow:none}
html[data-podly-theme=dark] body.dashboard-page .video-studio-dialog :is(.video-title-field input,.video-layout-grid select,.video-visualizer-controls select,.video-logo-controls select,.video-brand-position-control select,.video-brand-select select,.video-solid-color-inputs input){background:#171717;border:1px solid #555;color:#f4f4f4;box-shadow:none}
html[data-podly-theme=dark] body.dashboard-page .video-studio-dialog :is(.video-image-background-options label,.video-visualizer-controls label,.video-logo-controls label,.video-brand-position-control label,.video-font-grid label>span,.video-brand-select){background:#262626;background-image:none;border-color:#484848;color:#e8edf0;box-shadow:none}
html[data-podly-theme=dark] body.dashboard-page .video-studio-dialog :is(input,select,button):focus-visible{outline:2px solid #62d4ca;outline-offset:2px}

/* Draft status stays distinct while the card and its actions share the library style. */
html[data-podly-theme=dark] body.dashboard-page #projects .library-card .card-status.draft{background:#223740;color:#8bd9e7}

@media(max-width:760px){
  html[data-podly-theme=dark] body.dashboard-page #settings .user-settings-mobile-nav{background:#202020;border-color:#444;box-shadow:none}
  html[data-podly-theme=dark] body.dashboard-page #settings .user-settings-mobile-nav :is(small,strong){color:#e4e9ef}
  html[data-podly-theme=dark] body.dashboard-page #settings .user-settings-mobile-nav select{background:#252525;border-color:#555;color:#f4f4f4}
  html[data-podly-theme=dark] body.dashboard-page .topbar .mobile-menu{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#e6edf2;font-size:0}
  html[data-podly-theme=dark] body.dashboard-page .topbar .mobile-menu:hover{background:transparent;color:#62d4ca}
  html[data-podly-theme=dark] body.dashboard-page .topbar .mobile-menu svg{display:block;width:24px;height:24px}
  html[data-podly-theme=dark] body.dashboard-page #projects .library-grid{grid-template-columns:minmax(0,1fr);justify-items:center;width:100%}
  html[data-podly-theme=dark] body.dashboard-page #projects .library-card{width:100%;max-width:520px;margin-inline:auto}
}
