/* GENERATED przez tools/make_dark.php (2.54.0): wersja ciemna TV Mrągowo. Nie edytować ręcznie: zmiany w CSS platformy, potem generator.
   Tokeny ciemne są na końcu tokens.css (html[data-tvm-theme="dark"]); tu tylko nadpisania jasnych teł i ciemnych napisów zapisanych na sztywno. */
/* z shell.css */
:where(html[data-tvm-theme="dark"]) .tvm-main{--tvm-subtitle:var(--tvm-paper-muted);--tvm-link:var(--tvm-dk-teal)}
/* z components.css */
:where(html[data-tvm-theme="dark"]) .tvm-consent-dialog{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-consent-dialog__actions button{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-consent-dialog a{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-legal__meta{color:var(--tvm-paper-muted,var(--tvm-paper-muted))}
:where(html[data-tvm-theme="dark"]) .tvm-legal__table th{background:var(--tvm-paper-surface,var(--tvm-paper-surface))}
/* z home.css */
:where(html[data-tvm-theme="dark"]) .tvm-section--series,:where(html[data-tvm-theme="dark"]) .tvm-section--podcasts,:where(html[data-tvm-theme="dark"]) .tvm-section--history,:where(html[data-tvm-theme="dark"]) .tvm-section--region{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-section--stories,:where(html[data-tvm-theme="dark"]) .tvm-section--interviews{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-year-line a:hover,:where(html[data-tvm-theme="dark"]) .tvm-year-line a:focus-visible{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-section--collections{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-section--network-latest{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-network-video__media{background:var(--tvm-paper-surface)}
:where(html[data-tvm-theme="dark"]) .tvm-network-video__fallback{background:linear-gradient(145deg,var(--tvm-paper-surface),#dbe8e5)}
:where(html[data-tvm-theme="dark"]) .tvm-home-live{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-section--social{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-social-card__play{background:rgba(16,37,40,.92)}
/* z content.css */
:where(html[data-tvm-theme="dark"]) .tvm-information-next{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-save-action{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-video-tags a{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-information-hero{background:radial-gradient(circle at 78% 20%, rgba(43,199,184,.11), transparent 31%),
        linear-gradient(135deg, var(--tvm-paper-soft), var(--tvm-paper-soft) 62%, var(--tvm-paper))}
:where(html[data-tvm-theme="dark"]) .tvm-info-facts article{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-sibling-feed__empty{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-region-place{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-region-place:hover,:where(html[data-tvm-theme="dark"]) .tvm-region-place:focus-visible{background:var(--tvm-paper-surface)}
:where(html[data-tvm-theme="dark"]) .tvm-region-place small{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-region-place i{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-region-place.is-growing{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-source-note,:where(html[data-tvm-theme="dark"]) .tvm-license-note{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-source-note a,:where(html[data-tvm-theme="dark"]) .tvm-license-note a{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-film-school > li > span{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-preferred-source{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-preferred-source__button{background:var(--tvm-paper)}
/* z archive.css */
:where(html[data-tvm-theme="dark"]) .tvm-catalog-shortcuts a:hover,:where(html[data-tvm-theme="dark"]) .tvm-catalog-shortcuts a:focus-visible{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-filter-panel input,:where(html[data-tvm-theme="dark"]) .tvm-filter-panel select,:where(html[data-tvm-theme="dark"]) .tvm-search-page__form input{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-filter-panel option{color:var(--tvm-paper-ink)}
/* z socials.css */
:where(html[data-tvm-theme="dark"]) .tvm-socials-page{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-socials-hero{background:var(--tvm-paper-soft)}
:where(html[data-tvm-theme="dark"]) .tvm-socials-empty{background:var(--tvm-paper-soft)}
/* z bands.css */
:where(html[data-tvm-theme="dark"]) .tvm-band--light{--tvm-band-bg:var(--tvm-paper)}
/* z chrome.css */
:where(html[data-tvm-theme="dark"]) .tvm-prefooter{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-prefooter .tvm-kicker{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-contact-form input,:where(html[data-tvm-theme="dark"]) .tvm-contact-form select,:where(html[data-tvm-theme="dark"]) .tvm-contact-form textarea{background:rgba(16,37,40,.96);color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-contact-form__notice.is-ok{background:var(--tvm-paper-surface-2);color:var(--tvm-dk-teal)}
html[data-tvm-theme="dark"] .tvm-contact-form__notice.is-error{color:#8b1d24}
:where(html[data-tvm-theme="dark"]) .tvm-team-card{background:var(--tvm-paper, var(--tvm-paper))}
:where(html[data-tvm-theme="dark"]) .tvm-team-card__copy small{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-idcard__logo{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__search{background:var(--tvm-paper);color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__search input{color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__index{background:var(--tvm-paper-soft, var(--tvm-paper-soft))}
:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__list b{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__point:hover > span,:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__point:focus-visible > span,:where(html[data-tvm-theme="dark"]) .tvm-region-atlas__point.is-active > span{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-channel{background:var(--tvm-paper, var(--tvm-paper))}
html[data-tvm-theme="dark"] .tvm-channel-hero__actions a.is-primary{color:#042b2d}
:where(html[data-tvm-theme="dark"]) .tvm-place-profile__facts{background:var(--tvm-paper-soft, var(--tvm-paper-soft))}
@media (max-width: 760px){
:where(html[data-tvm-theme="dark"]) .is-clamped::after{background:linear-gradient(transparent, var(--tvm-band-bg, var(--tvm-paper, var(--tvm-paper))))}
}
@media (max-width: 760px){
:where(html[data-tvm-theme="dark"]) [data-tvm-clamp].is-clamped > .tvm-clamp-toggle{background:var(--tvm-band-bg, var(--tvm-paper, var(--tvm-paper)))}
}
@media (max-width: 980px){
:where(html[data-tvm-theme="dark"]) .tvm-swipe-hint{color:var(--tvm-paper-muted)}
}
:where(html[data-tvm-theme="dark"]) .tvm-ip{--ip-card:var(--tvm-paper-soft);--ip-link:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-ip.tvm-ip--paper{--tvm-band-bg:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-ip.tvm-ip--mist{--tvm-band-bg:var(--tvm-paper-surface);--ip-card:var(--tvm-paper)}
html[data-tvm-theme="dark"] .tvm-ip__steps > li::before{color:#042b2d}
html[data-tvm-theme="dark"] .tvm-ip .tvm-ip-btn{color:#042b2d}
html[data-tvm-theme="dark"] .tvm-ip .tvm-ip-btn:hover{color:#042b2d}
@media (min-width: 761px){
html[data-tvm-theme="dark"] .tvm-ip .tvm-film-school > li > span{color:#042b2d}
}
:where(html[data-tvm-theme="dark"]) .tvm-spot--mist{--spot-bg:var(--tvm-paper-surface);--spot-frame:var(--tvm-paper-surface);--spot-muted:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-spot--paper{--spot-bg:var(--tvm-paper);--spot-frame:var(--tvm-paper-soft);--spot-muted:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-band.tvm-band--light.tvm-band--mist{--tvm-band-bg:var(--tvm-paper-surface)}
:where(html[data-tvm-theme="dark"]) .tvm-home-channels__lead{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-home-channels__item > a{background:var(--tvm-paper)}
html[data-tvm-theme="dark"] .tvm-tier-chip--group{color:#05222b}
html[data-tvm-theme="dark"] .tvm-tier-chip--partner{color:#3a2905}
html[data-tvm-theme="dark"] .tvm-chsite__logo{color:#05222b}
html[data-tvm-theme="dark"] .tvm-chsite__btn.is-main{color:#05222b}
:where(html[data-tvm-theme="dark"]) .tvm-chsite__nav{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-chsite__nav a.is-active{color:var(--tvm-dk-teal)}
html[data-tvm-theme="dark"] .tvm-chsite__soon-icon{color:#05222b}
:where(html[data-tvm-theme="dark"]) .tvm-chsite__contact li > span:first-child{color:var(--tvm-dk-teal)}
html[data-tvm-theme="dark"] .tvm-platform a.tvm-live-call--icon{color:#241a02}
html[data-tvm-theme="dark"] .tvm-live-call__icon{color:#241a02}
:where(html[data-tvm-theme="dark"]) .tvm-home-project__logo{background:var(--tvm-paper)}
html[data-tvm-theme="dark"] .tvm-platform a.tvm-home-project__btn.is-primary{color:#042b2d}
:where(html[data-tvm-theme="dark"]) .tvm-consent-bar{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-consent-bar a{color:var(--tvm-dk-teal)}
/* z supporters.css */
:where(html[data-tvm-theme="dark"]) .tvm-supporter-logo{background:var(--tvm-paper);color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-band--light .tvm-supporters-band__more{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-adband__more:hover{border-color:var(--tvm-paper-line-strong)}
/* z app-install.css */
html[data-tvm-theme="dark"] .tvm-app-btn{color:#042b2d !important}
html[data-tvm-theme="dark"] .tvm-app-btn:hover,html[data-tvm-theme="dark"] .tvm-app-btn:focus-visible{color:#042b2d !important}
:where(html[data-tvm-theme="dark"]) .tvm-appband__more:hover,:where(html[data-tvm-theme="dark"]) .tvm-appband__more:focus-visible{border-color:var(--tvm-paper-line-strong)}
html[data-tvm-theme="dark"] .tvm-appshot figcaption{color:#042b2d}
:where(html[data-tvm-theme="dark"]) .tvm-app-card--rich{background:var(--tvm-paper-soft)}
html[data-tvm-theme="dark"] .tvm-app-card__perks li::before{color:#042b2d}
html[data-tvm-theme="dark"] .tvm-app-toast__act{color:#042b2d}
/* z news.css */
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-single{background:var(--tvm-paper);color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosities-home{color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosities-home__head p:last-child,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive__intro p:last-child{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-card__copy small,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-rail small{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive .tvm-breadcrumbs,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-single .tvm-breadcrumbs{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive .tvm-breadcrumbs a:hover,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive .tvm-breadcrumbs a:focus-visible,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-single .tvm-breadcrumbs a:hover,:where(html[data-tvm-theme="dark"]) .tvm-curiosity-single .tvm-breadcrumbs a:focus-visible{color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-archive__intro > p:last-of-type{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-card{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-card__copy > span{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-pagination a{color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-empty{background:radial-gradient(circle at 95% 0, rgba(17, 91, 86, .055), transparent 32%),
        rgba(16,37,40,.74)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-single__lead{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-article__body{color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-article__body a{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-source{background:rgba(16,37,40,.72)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-source__identity > span{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-source a{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-meta__facts small{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosities-home{background:var(--tvm-paper-surface)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-card__source{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-curiosity-rail article{background:rgba(16,37,40,.78)}
:where(html[data-tvm-theme="dark"]) .tvm-news-home{background:var(--tvm-paper);color:var(--tvm-paper-ink)}
:where(html[data-tvm-theme="dark"]) .tvm-news-home__head p:last-child{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-news-home__head > a{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card{background:var(--tvm-paper)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card__media{background:var(--tvm-paper-surface)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card__fallback{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card__copy small{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card__copy > span{color:var(--tvm-paper-muted)}
:where(html[data-tvm-theme="dark"]) .tvm-news-remote-card__copy i{color:var(--tvm-dk-teal)}
:where(html[data-tvm-theme="dark"]) .tvm-story-thread__link span{color:var(--tvm-accent, var(--tvm-dk-teal))}
:where(html[data-tvm-theme="dark"]) .tvm-text-faq__item summary::after{color:var(--tvm-accent, var(--tvm-dk-teal))}
:where(html[data-tvm-theme="dark"]) .tvm-text-tags a:hover{color:var(--tvm-accent, var(--tvm-dk-teal))}
/* ręczne poprawki (tools/dark_extra.css) */
/* Ręczne poprawki wersji ciemnej (2.54.0), dopisywane przez make_dark.php na końcu dark.css. Wynik audytu kontrastu na Local. */

/* Kolory poziomów kanałów (plakietki, „Materiały wkrótce”): jaśniejsze odcienie na ciemnym papierze; w ciemnych pasach jak dotąd. */
html[data-tvm-theme="dark"] .tvm-channel { --ch: #5fd3c8; --ch-soft: rgba(95, 211, 200, .14); }
html[data-tvm-theme="dark"] .tvm-channel--regional { --ch: #5fd3c8; --ch-soft: rgba(95, 211, 200, .14); }
html[data-tvm-theme="dark"] .tvm-channel--owned { --ch: #79c4ea; --ch-soft: rgba(121, 196, 234, .15); }
html[data-tvm-theme="dark"] .tvm-channel--group { --ch: #5fd3c8; --ch-soft: rgba(95, 211, 200, .15); }
html[data-tvm-theme="dark"] .tvm-channel--partner { --ch: #e3b85a; --ch-soft: rgba(227, 184, 90, .16); }
html[data-tvm-theme="dark"] .tvm-channel--sponsor { --ch: #ec9a68; --ch-soft: rgba(236, 154, 104, .15); }
html[data-tvm-theme="dark"] .tvm-channel--official { --ch: #8db8f2; --ch-soft: rgba(141, 184, 242, .15); }
html[data-tvm-theme="dark"] .tvm-channel--public { --ch: #b3c0d2; --ch-soft: rgba(179, 192, 210, .14); }
html[data-tvm-theme="dark"] .tvm-channel--archive { --ch: #d2b48c; --ch-soft: rgba(210, 180, 140, .14); }
html[data-tvm-theme="dark"] .tvm-band--dark :is(.tvm-channel__role, .tvm-home-channels__role) { color: #042b2d; }

/* Przyciski obrysowe: napis z tokenu jak w jasnej wersji (przypięty ciemny napis turkusowych przycisków ich nie dotyczy). */
html[data-tvm-theme="dark"] .tvm-ip .tvm-ip-btn--ghost,
html[data-tvm-theme="dark"] .tvm-ip .tvm-ip-btn--ghost:hover { color: var(--tvm-ink); }

/* Pełne tło w kolorze kanału (awatar bez logo, przyciski „Otwórz kanał”, „Kanał na YouTube”): ciemny napis na jasnym kolorze. */
html[data-tvm-theme="dark"] :is(.tvm-channel__avatar, .tvm-channel-hero__avatar, .tvm-channel-about__logo, .tvm-home-channels__avatar, .tvm-chrich__logo, .tvm-chrich__box-logo),
html[data-tvm-theme="dark"] :is(.tvm-channel__avatar, .tvm-channel-hero__avatar, .tvm-channel-about__logo, .tvm-home-channels__avatar, .tvm-chrich__logo, .tvm-chrich__box-logo) b,
html[data-tvm-theme="dark"] .tvm-channel-about__links a.is-primary,
html[data-tvm-theme="dark"] .tvm-home-channels__actions a.is-primary { color: #042b2d; }

/* Białe podkłady, które zostają białe: logo w legitymacji, przycisk „play” na kartach Shorts. */
html[data-tvm-theme="dark"] .tvm-idcard__logo { background: #ffffff; }
html[data-tvm-theme="dark"] .tvm-social-card__play { background: rgba(255, 255, 255, .92); }

/* Karty ciekawostek w ciemnym pasie mają tło karty z jasnej wersji (teraz ciemne): napisy jasne. */
html[data-tvm-theme="dark"] .tvm-band--dark .tvm-curiosity-card .tvm-curiosity-card__copy strong { color: var(--tvm-paper-ink); }
html[data-tvm-theme="dark"] .tvm-band--dark .tvm-curiosity-card .tvm-curiosity-card__copy i { color: var(--tvm-dk-teal); }
