/* Monochrome capsule controls, desktop template only.
   Legacy refinement rules use six :root selectors and !important. */
html body { --capsule-text:#e4e5e9; --capsule-muted:#b9bcc4; --capsule-hover:rgba(255,255,255,.10); --capsule-edge:rgba(255,255,255,.16); --capsule-dot:#fff; }
html[data-theme=light] body { --capsule-text:#26313d; --capsule-muted:#596574; --capsule-hover:rgba(255,255,255,.32); --capsule-edge:rgba(38,49,61,.14); --capsule-dot:#34404c; }
html:root:root:root:root:root:root:root body :is(.catalog-chip,.filter-tag,.smart-filter__choice,.smart-filter__root,.catalog-sort-pill,.result-sort-option,.smart-results__sort-btn) {
 color:var(--capsule-text)!important; background:transparent!important; border-color:transparent!important; border-radius:999px!important; box-shadow:none!important;
 transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}
html:root:root:root:root:root:root:root body :is(.catalog-chip,.filter-tag,.smart-filter__choice,.smart-filter__root,.catalog-sort-pill,.result-sort-option,.smart-results__sort-btn):hover { background:var(--capsule-hover)!important; }
html:root:root:root:root:root:root:root body :is(.catalog-chip,.filter-tag,.smart-filter__choice,.smart-filter__root,.catalog-sort-pill,.result-sort-option,.smart-results__sort-btn).is-active {
 background:#fff!important; color:#191c22!important; border-color:transparent!important; box-shadow:0 1px 2px rgba(0,0,0,.08),0 3px 9px rgba(0,0,0,.08)!important;
}
html:root:root:root:root:root:root:root body :is(.catalog-sort-pill,.result-sort-option).is-active::after { color:#41454e!important; }
html:root:root:root:root:root:root:root body :is(.catalog-recommend-btn,.search-random-picker-btn,.catalog-sortbar__reset) {
 color:var(--capsule-text)!important; background:var(--capsule-hover)!important; border-color:var(--capsule-edge)!important; border-radius:999px!important; box-shadow:none!important;
}
html:root:root:root:root:root:root:root body :is(.catalog-chip,.filter-tag,.smart-filter__choice,.smart-filter__root,.catalog-sort-pill,.result-sort-option,.smart-results__sort-btn,.catalog-recommend-btn,.media-card__btn,.home-card__action):focus-visible {
 outline:2px solid var(--capsule-text)!important; outline-offset:3px;
}
html:root:root:root:root:root:root:root body :is(.media-card__btn--play,.home-card__action--play) {
 background:#fff!important; color:#191c22!important; border:1px solid rgba(255,255,255,.7)!important; border-radius:999px!important; box-shadow:0 2px 8px rgba(0,0,0,.12)!important;
}
html:root:root:root:root:root:root:root body :is(.media-card__btn--play,.home-card__action--play):hover { background:#e9eaed!important; color:#111318!important; }
html:root:root:root:root:root:root:root body :is(.media-card__btn--detail,.home-card__action--detail) { color:#fff!important; background:rgba(20,23,29,.58)!important; border-color:rgba(255,255,255,.26)!important; border-radius:999px!important; }
html:root:root:root:root:root:root:root body .zdt-indicators button span { background:var(--capsule-muted)!important; box-shadow:none!important; }
html:root:root:root:root:root:root:root body .zdt-indicators button[aria-pressed=true] span { background:var(--capsule-dot)!important; box-shadow:none!important; }
html:root:root:root:root:root:root:root body .banner__dot.is-active { background:#fff!important; box-shadow:none!important; }
@media (prefers-reduced-motion:reduce) {
 html body :is(.catalog-chip,.filter-tag,.smart-filter__choice,.smart-filter__root,.catalog-sort-pill,.result-sort-option,.smart-results__sort-btn) { transition:none; }
}
/* Remaining homepage, catalog and account controls. */
html:root:root:root:root:root:root:root body .section__title::before { background:var(--capsule-text)!important; opacity:.72; }
html:root:root:root:root:root:root:root body :is(.smart-filter__submit,.home-quick-filter__submit) { background:#fff!important; color:#191c22!important; border-color:transparent!important; border-radius:999px!important; box-shadow:0 2px 8px rgba(0,0,0,.10)!important; }
html:root:root:root:root:root:root:root body :is(.smart-filter__submit,.home-quick-filter__submit):hover { background:#e9eaed!important; }
html:root:root:root:root:root:root:root body .card-favorite-btn:hover { color:var(--capsule-text)!important; background:var(--capsule-hover)!important; border-color:var(--capsule-edge)!important; }
html:root:root:root:root:root:root:root body .card-favorite-btn.is-active { background:#fff!important; color:#191c22!important; border-color:transparent!important; box-shadow:0 2px 6px rgba(0,0,0,.12)!important; border-radius:999px!important; }
html:root:root:root:root:root:root:root body .zdt-item.is-active .zdt-cover { box-shadow:0 0 0 2px var(--capsule-text),0 10px 30px rgba(0,0,0,.26)!important; }
html:root:root:root:root:root:root:root body .pagination__btn { color:var(--capsule-text)!important; background:var(--capsule-hover)!important; border-color:var(--capsule-edge)!important; border-radius:999px!important; box-shadow:none!important; }
html:root:root:root:root:root:root:root body .pagination__btn.is-active { color:#191c22!important; background:#fff!important; border-color:transparent!important; box-shadow:0 2px 8px rgba(0,0,0,.10)!important; }
html:root:root:root:root:root:root:root body .account-theme-toggle { background:#737983!important; }
html:root:root:root:root:root:root:root body .account-theme-toggle:checked { background:#fff!important; }
html:root:root:root:root:root:root:root body .account-theme-toggle:checked::after { background:#343840!important; }
html:root:root:root:root:root:root:root body .smart-filter-popover__option { color:var(--capsule-text)!important; background:var(--capsule-hover)!important; border-color:transparent!important; border-radius:999px!important; box-shadow:none!important; }
html:root:root:root:root:root:root:root body .smart-filter-popover__option:hover { border-color:var(--capsule-edge)!important; }
html:root:root:root:root:root:root:root body .smart-filter-popover__option.is-active { color:#191c22!important; background:#fff!important; border-color:transparent!important; box-shadow:0 1px 5px rgba(0,0,0,.10)!important; }
html:root:root:root:root:root:root:root body .smart-filter-popover__search:focus-within { border-color:var(--capsule-text)!important; box-shadow:0 0 0 1px var(--capsule-edge)!important; }
html:root:root:root:root:root:root:root body :is(.card-favorite-btn,.smart-filter__submit,.pagination__btn,.account-theme-toggle,.smart-filter-popover__option):focus-visible { outline:2px solid var(--capsule-text)!important; outline-offset:3px; }
html:root:root:root:root:root:root:root body .home-quick-filter__select:is(.is-open,:focus-visible) { border-color:var(--capsule-text)!important; box-shadow:0 0 0 1px var(--capsule-edge)!important; outline:none!important; }
html:root:root:root:root:root:root:root body .zj-filter-icon { filter:grayscale(1)!important; }
html:root:root:root:root:root:root:root body .smart-filter__icon { color:var(--capsule-text)!important; background:var(--capsule-hover)!important; border-color:var(--capsule-edge)!important; }
html:root:root:root:root:root:root:root body .catalog-card__bookmark.card-favorite-btn { position:relative; top:auto; right:auto; flex:0 0 30px; }
html:root:root:root:root:root:root:root[data-theme=dark] body :is(.catalog-chip.is-active,.filter-tag.is-active,.smart-filter__choice.is-active,.smart-filter__root.is-active,.catalog-sort-pill.is-active,.result-sort-option.is-active,.smart-results__sort-btn.is-active,.smart-filter-popover__option.is-active,.pagination__btn.is-active,.smart-filter__submit,.home-quick-filter__submit,.card-favorite-btn.is-active) {
 background:rgba(255,255,255,.17)!important; color:#f1f2f5!important; border-color:rgba(255,255,255,.14)!important; box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
html:root:root:root:root:root:root:root[data-theme=dark] body :is(.catalog-sort-pill,.result-sort-option).is-active::after { color:#e1e3e8!important; }
