.watch-libv2__filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 22px;min-width:0;color:var(--w-text,inherit);font-family:inherit}
.watch-libv2__search{display:flex;align-items:center;gap:9px;flex:0 1 340px;min-width:180px;max-width:100%;height:38px;padding:0 12px;border:1px solid rgba(var(--w-ink-rgb,255,255,255),.1);border-radius:12px;background:rgba(var(--w-ink-rgb,255,255,255),.035);color:inherit;transition:border-color .15s}
.watch-libv2__search:focus-within{border-color:rgba(var(--w-ink-rgb,255,255,255),.28)}
.watch-libv2__search svg{flex:0 0 16px;width:16px;height:16px;color:var(--w-muted,#888)}
.watch-libv2__search input{width:100%;min-width:0;min-height:36px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;color:inherit;font-family:inherit;font-size:13px;line-height:1.4;appearance:none;-webkit-appearance:none}
.watch-libv2__search input::placeholder{color:var(--w-muted,#888);opacity:1}
.watch-libv2__search input::-webkit-search-cancel-button{-webkit-appearance:none;width:14px;height:14px;cursor:pointer;background:currentColor;opacity:.45;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8M12 4l-8 8' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.watch-libv2__select{display:block;flex:0 0 160px;min-width:0;margin:0}.watch-libv2__select--sort{flex-basis:200px}
.watch-libv2__select[data-enhanced] select{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;opacity:0!important;pointer-events:none!important;clip:rect(0 0 0 0)!important;overflow:hidden!important}
.watch-libv2__select .watch-select{width:100%;position:relative}
.watch-libv2__select .watch-select__trigger{min-height:38px!important;height:38px!important;width:100%;margin:0!important;padding:8px 12px!important;border:1px solid rgba(var(--w-ink-rgb,255,255,255),.1)!important;border-radius:12px!important;background:rgba(var(--w-ink-rgb,255,255,255),.035)!important;color:inherit!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important}
.watch-libv2__select .watch-select__trigger:hover,.watch-libv2__select .watch-select.is-open .watch-select__trigger{border-color:rgba(var(--w-ink-rgb,255,255,255),.25)!important}
.watch-libv2__select .watch-select__menu{max-height:240px!important;padding:6px!important;gap:4px;background:var(--w-menu-surface,#181818)!important;border:1px solid rgba(var(--w-ink-rgb,255,255,255),.12)!important;border-radius:12px!important;box-shadow:0 12px 28px rgba(0,0,0,.16)!important;scrollbar-width:none!important;overscroll-behavior:contain;font-family:inherit!important;font-size:13px!important}
.watch-libv2__select .watch-select__menu::-webkit-scrollbar{display:none;width:0;height:0}
.watch-libv2__select .watch-select__option{min-height:38px!important;margin:0!important;padding:9px 12px!important;background:transparent!important;color:var(--w-text,inherit)!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;border-radius:8px!important}
.watch-libv2__select .watch-select__option:hover,.watch-libv2__select .watch-select__option:focus-visible{background:rgba(var(--w-ink-rgb,255,255,255),.07)!important;outline:none}
.watch-libv2__select .watch-select__option.is-selected{background:rgba(var(--w-ink-rgb,255,255,255),.11)!important}
.watch-libv2__filters [data-lib-hint]{flex-basis:100%;margin:0 2px;color:var(--w-muted,#888);font-size:12px;line-height:1.5}.watch-libv2__filters [data-lib-hint]:empty{display:none}
html[data-watch-theme=light] .watch-libv2__select .watch-select__menu,html[data-theme=light] .watch-libv2__select .watch-select__menu{background:#fafafa!important}
@media(max-width:980px){html body #watchLibraryV2App .watch-libv2__filters{order:2;flex-shrink:0}html body #watchLibraryV2App .watch-libv2__grid,html body #watchLibraryV2App #watchLibEmpty{order:3}}
@media(max-width:600px){.watch-libv2__filters{gap:8px;margin-bottom:16px}.watch-libv2__search{flex-basis:100%;height:42px;max-width:none}.watch-libv2__search input{font-size:16px;scroll-margin-top:90px}.watch-libv2__select,.watch-libv2__select--sort{flex:1 1 calc(50% - 4px);width:calc(50% - 4px)}.watch-libv2__select .watch-select__trigger{min-height:42px!important;height:42px!important}.watch-libv2__select .watch-select__menu{max-width:calc(100vw - 32px);min-width:100%}.watch-libv2__select .watch-select__option{min-height:42px!important}}

.watch-libv2__select .watch-select__trigger{gap:8px!important;text-align:left}
.watch-libv2__select .watch-select__chevron{width:12px!important;height:12px!important;flex:0 0 12px!important;opacity:.55}
.watch-libv2__select .watch-select__value{min-width:0;font-family:inherit!important;font-size:13px!important;font-weight:500!important}

@media(max-width:900px){
 html body #watchLibraryV2App .watch-libv2__filters{gap:6px 12px;margin-bottom:14px}
 html body #watchLibraryV2App .watch-libv2__search{flex-basis:100%;height:40px;min-width:0;border:0;border-radius:14px;background:rgba(var(--w-ink-rgb,255,255,255),.04);padding:0 12px}
 html body #watchLibraryV2App .watch-libv2__search input{font-size:16px;font-weight:400}
 html body #watchLibraryV2App .watch-libv2__select,html body #watchLibraryV2App .watch-libv2__select--sort{flex:1 1 0;width:auto}
 html body #watchLibraryV2App .watch-libv2__select .watch-select__trigger{height:40px!important;min-height:40px!important;padding:8px 2px!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;border-radius:0!important;color:var(--w-muted,#999)!important;font-weight:400!important}
 html body #watchLibraryV2App .watch-libv2__select .watch-select__value{font-size:12px!important;font-weight:400!important}
 .watch-library-filter-backdrop{position:fixed;inset:0;z-index:2147483190;background:#0006;border:0;padding:0;touch-action:none}
 html body .watch-library-filter-sheet.watch-mobile-bookmark-sheet{z-index:2147483200!important;transform:none!important;border:0!important;scrollbar-width:none!important;grid-template-columns:minmax(0,1fr);margin:0!important;max-height:calc(var(--watch-filter-height,100dvh) - 110px)!important;overscroll-behavior:contain;font-family:var(--watch-global-font,inherit)}
 html body .watch-library-filter-sheet .watch-library-filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0}
 html body .watch-library-filter-sheet .watch-select__option{display:flex;align-items:center;justify-content:space-between;min-height:48px!important;padding:12px!important;border:0;border-radius:13px;background:#ffffff05!important;color:#d4d4d9!important;font:400 14px/1.4 var(--watch-global-font,inherit);cursor:pointer;outline-offset:-2px}
 html body .watch-library-filter-sheet .watch-select__option.is-selected{background:#ffffff14!important;color:#fff!important;box-shadow:inset 0 0 0 1px #ffffff15}
 html body .watch-library-filter-sheet .watch-select__check{display:none}
 html body .watch-library-filter-sheet .is-selected .watch-select__check{display:block!important;width:18px;height:18px}
 html body .watch-library-filter-sheet .watch-select__check svg{display:block;width:18px;height:18px}
 html body .watch-library-filter-sheet .watch-select__option:focus-visible{outline:2px solid #ffffff70}
 html[data-watch-theme=light] body .watch-library-filter-sheet{background:#f5f5f7!important;color:#171717!important}
 html[data-watch-theme=light] body .watch-library-filter-sheet .watch-bookmark-sheet__title{color:#171717}
 html[data-watch-theme=light] body .watch-library-filter-sheet .watch-bookmark-sheet__head{border-color:#0000000a}
 html[data-watch-theme=light] body .watch-library-filter-sheet .watch-select__option{background:#00000005!important;color:#444!important}
 html[data-watch-theme=light] body .watch-library-filter-sheet .watch-select__option.is-selected{background:#0000000d!important;color:#111!important;box-shadow:inset 0 0 0 1px #00000010}
}

@media(max-width:900px){
 html body #watchLibraryV2App .watch-libv2__select .watch-select__trigger:focus-visible:not([aria-expanded="true"]){outline:2px solid rgba(var(--w-ink-rgb,255,255,255),.35)!important;outline-offset:2px}
 html body .watch-library-filter-sheet .watch-select__option{margin:0!important;min-height:52px!important;gap:9px;justify-content:flex-start;box-sizing:border-box;min-width:0;font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;font-size:13px!important;font-weight:400!important;line-height:1.2!important}
 html body .watch-library-filter-sheet .watch-select__label{font:inherit!important;min-width:0}
 html body .watch-library-filter-sheet .watch-select__option::before{content:"";display:block;flex:0 0 18px;width:18px;height:18px;background:currentColor;-webkit-mask:var(--watch-option-icon) center/contain no-repeat;mask:var(--watch-option-icon) center/contain no-repeat}
 html body .watch-library-filter-sheet [data-value="anime"]{--watch-option-icon:url('/templates/Watch/images/library-type-anime.svg?v=20261019-5')}
 html body .watch-library-filter-sheet [data-value="movie"]{--watch-option-icon:url('/templates/Watch/images/library-type-movie.svg?v=20261019-5')}
 html body .watch-library-filter-sheet [data-value="series"]{--watch-option-icon:url('/templates/Watch/images/library-type-series.svg?v=20261019-5')}
 html body .watch-library-filter-sheet [data-value="cartoon"]{--watch-option-icon:url('/templates/Watch/images/library-type-cartoon.svg?v=20261019-5')}
 html body .watch-library-filter-sheet :is([data-value="rating_desc"],[data-value="rating_asc"]){--watch-option-icon:url('/templates/Watch/images/sort-rating-signal.svg')}
 html body .watch-library-filter-sheet [data-value="rating_desc"]::before{transform:rotate(-90deg)}
 html body .watch-library-filter-sheet [data-value="rating_asc"]::before{transform:rotate(-90deg) scaleX(-1)}
 html body .watch-library-filter-sheet [data-value="date_desc"]{--watch-option-icon:url('/templates/Watch/images/sort-time-new.svg')}
 html body .watch-library-filter-sheet [data-value="date_asc"]{--watch-option-icon:url('/templates/Watch/images/sort-time-past.svg')}
 html body .watch-library-filter-sheet .watch-select__option .watch-select__check{display:none!important}
 html body .watch-library-filter-sheet .watch-select__check{opacity:1!important}
}

/* Mobile controls share the library status buttons' surface and geometry. */
@media(max-width:900px){
 html body #watchLibraryV2App .watch-library-pagination{order:4;flex:none;grid-column:1/-1;margin:12px 0 20px;padding:0;overflow-x:auto;scrollbar-width:none;-webkit-tap-highlight-color:transparent}
 html body #watchLibraryV2App .watch-library-pagination[hidden]{display:none!important}
 html body :is(.watch-library-filter-sheet,.watch-library-filter-sheet *,.watch-library-filter-backdrop,#watchLibraryV2App .watch-libv2__menuBtn,#watchLibraryV2App .watch-select__trigger){-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
 html body #watchLibraryV2App .watch-libv2__filters{gap:8px;margin-bottom:16px}
 html body #watchLibraryV2App .watch-libv2__search{height:46px;border:1px solid #ffffff08;border-radius:14px;background:var(--w-card,#1b1b1e)}
 html body #watchLibraryV2App .watch-libv2__select .watch-select__trigger{height:46px!important;min-height:46px!important;padding:10px!important;border:1px solid #ffffff08!important;border-radius:14px!important;background:var(--w-card,#1b1b1e)!important;color:var(--w-text,#bbb)!important;font-size:13px!important;font-weight:500!important}
 html body #watchLibraryV2App .watch-libv2__select .watch-select__value{font-size:13px!important;font-weight:500!important}
}

@media(max-width:900px){
 html:is([data-watch-theme="light"],[data-theme="light"]) body #watchLibraryV2App :is(.watch-libv2__menuBtn,.watch-libv2__search,.watch-libv2__select .watch-select__trigger){background:#f0f0f2!important;color:#171717!important;border-color:#00000008!important}
 html:is([data-watch-theme="light"],[data-theme="light"]) body #watchLibraryV2App .watch-libv2__menuBtn.is-active{background:#171717!important;color:#f5f5f5!important}
}
