.watch-mobile-search-tools,.watch-mobile-search-clear,.watch-mobile-search-filter{display:none;}
@media(max-width:900px){
  /* Hide the track on either search scroll container without changing overflow. */
  html body #watchSearchModal.watch-searchmodal--modern :is(.watch-searchmodal__body,.watch-searchmodal__results){
    scrollbar-width:none!important;scrollbar-gutter:auto!important;-ms-overflow-style:none;
  }
  html body #watchSearchModal.watch-searchmodal--modern :is(.watch-searchmodal__body,.watch-searchmodal__results)::-webkit-scrollbar{
    display:none!important;width:0!important;height:0!important;
  }
  html body #watchSearchModal.watch-searchmodal--modern{
    inset:0!important;bottom:calc(var(--watch-mobile-dock-offset,calc(var(--watch-mobile-nav-height,68px) + var(--watch-mobile-safe-bottom,0px))) - 16px)!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important;
    z-index:2147483000!important;background:#111113!important;backdrop-filter:none!important;transition:none!important;
  }
  html body #watchSearchModal.watch-searchmodal--modern:not(.is-open){display:none!important;pointer-events:none!important;}
  html body #watchSearchModal.watch-searchmodal--modern.is-open{display:flex!important;opacity:1!important;visibility:visible!important;}
  html body #watchSearchModal.watch-searchmodal--modern.is-open .watch-searchmodal__panel{opacity:1!important;visibility:visible!important;}
  html body #watchSearchModal.watch-searchmodal--modern :is(.watch-searchmodal__top,.watch-searchmodal__results,.watch-searchmodal__filters){transition:none!important;transform:none!important;will-change:auto!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__panel{
    position:fixed!important;inset:0!important;left:0!important;top:0!important;bottom:calc(var(--watch-mobile-dock-offset,calc(var(--watch-mobile-nav-height,68px) + var(--watch-mobile-safe-bottom,0px))) - 16px)!important;transform:none!important;
    width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;
    margin:0!important;padding:env(safe-area-inset-top,0px) 0 28px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;background:#111113!important;
    display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;transition:none!important;
  }
  html body #watchSearchModal .watch-searchmodal__overlay,
  html body #watchSearchModal .watch-searchmodal__topRight{display:none!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__top{
    display:flex!important;align-items:center!important;gap:0!important;flex:none!important;
    width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:12px 12px 0!important;
    height:52px!important;min-height:52px!important;padding:0 4px!important;border:1px solid #ffffff08!important;
    border-radius:16px!important;background:#1c1c1f!important;transform:none!important;
  }
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__panel .watch-searchmodal__top .watch-searchmodal__form{flex:1!important;min-width:0!important;width:auto!important;margin:0!important;transform:none!important;}
  html body #watchSearchModal #watchSearchInput{
    width:100%!important;height:44px!important;box-sizing:border-box!important;padding:0 12px!important;
    font-size:16px!important;line-height:normal!important;transform:none!important;zoom:1!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#f3f3f5!important;
  }
  html body #watchSearchModal #watchSearchInput:focus{font-size:16px!important;background:transparent!important;outline:none!important;box-shadow:none!important;}
  html body #watchSearchModal #watchSearchInput::placeholder{font-size:16px!important;color:#9999a1!important;opacity:1!important;}
  html body #watchSearchModal .watch-searchmodal__results:has(>.watch-searchmodal__hint:empty)::after{
    content:'Найдите фильм, сериал или человека. Для поиска профиля введите @username. Для поиска конкретного материала введите #ID.';
    display:block;padding:8px 4px;color:#909098;font-size:14px;line-height:1.6;max-width:320px;
  }
  html body #watchSearchModal .watch-searchmodal__mobileClose,
  html body #watchSearchModal .watch-mobile-search-clear{
    position:static!important;inset:auto!important;transform:none!important;display:flex!important;
    flex:none!important;align-items:center;justify-content:center;width:36px!important;height:44px!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#aaa;
    border-radius:10px;font-size:26px;cursor:pointer;
  }
  html body #watchSearchModal .watch-mobile-search-clear[hidden]{display:none!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__panel .watch-searchmodal__top .watch-searchmodal__mobileClose{
    display:none!important;
  }
  html body #watchSearchModal .watch-searchmodal__top .watch-mobile-search-filter{
    display:flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;
    position:relative;width:44px;height:50px!important;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    color:#ddd;font:inherit;font-size:12px;cursor:pointer;
  }
  html body #watchSearchModal .watch-searchmodal__top .watch-mobile-search-filter::before{
    content:'';position:absolute;left:0;top:13px;bottom:13px;width:1px;background:#ffffff0d;pointer-events:none;
  }
  #watchSearchModal .watch-mobile-search-filter svg{width:22px;height:22px;fill:#1c1c1f;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;}
  #watchSearchModal .watch-mobile-search-filter[aria-expanded=true]{color:#fff;}
  html body #watchSearchModal .watch-mobile-search-tools{
    position:absolute;top:8px;right:12px;display:none;align-items:center;justify-content:flex-end;gap:12px;padding:0;flex:none;z-index:2;
  }
  html body #watchSearchModal.watch-mobile-filters-open .watch-mobile-search-tools{display:flex;}
  #watchSearchModal .watch-mobile-search-tools button{
    min-height:40px;padding:0 8px;border:0;border-radius:10px;background:#ffffff0c;color:#ddd;font:inherit;font-size:14px;cursor:pointer;
  }
  #watchSearchModal .watch-mobile-search-reset{background:transparent!important;color:#999!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__body{
    display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;height:auto!important;
    grid-template-columns:none!important;overflow:auto!important;background:transparent!important;
  }
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__results{
    flex:1!important;order:2;min-height:0!important;height:auto!important;max-height:none!important;
    width:100%!important;padding:4px 12px 12px!important;box-sizing:border-box;overflow:visible!important;border:0!important;background:transparent!important;
  }
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters{
    display:none!important;order:1;flex:none!important;width:auto!important;max-height:none!important;min-height:0!important;
    position:relative!important;margin:10px 12px 2px!important;padding:14px!important;border:0!important;border-radius:14px!important;
    background:#ffffff06!important;overflow:visible!important;
  }
  html body #watchSearchModal.watch-mobile-filters-open .watch-searchmodal__filters{display:block!important;}
  html body #watchSearchModal .watch-searchmodal__filtersTitle{display:none!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-searchmodal__filterGroup:not(.watch-searchmodal__filterGroup--scroll){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px!important;margin:0 0 10px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-check{min-height:40px!important;font-size:15px!important;padding:0!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-check span{font-size:15px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-check span::before{width:24px!important;height:24px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-check span::after{left:9px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-check span{padding-left:34px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters .watch-searchmodal__filterLabel{font-size:15px!important;margin:10px 0 4px!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters>.watch-searchmodal__filterLabel:first-of-type{min-height:32px!important;margin:0 0 6px!important;padding-right:88px;display:flex;align-items:center;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters :is(.watch-searchmodal__yearSlider,.watch-searchmodal__ratingSlider){--watch-search-slider-center-y:24px;touch-action:none;user-select:none;-webkit-user-select:none;height:64px!important;min-height:64px!important;margin:0!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters input[type=range]{top:10px!important;height:28px!important;pointer-events:none!important;touch-action:none;}
  #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters input[type=range]::-webkit-slider-thumb{width:28px!important;height:28px!important;margin-top:-11px!important;pointer-events:none!important;}
  #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters input[type=range]::-moz-range-thumb{width:28px!important;height:28px!important;pointer-events:none!important;}
  html body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__filters :is(.watch-searchmodal__yearSliderValues,.watch-searchmodal__ratingSliderValues){left:14px!important;right:14px!important;font-size:14px!important;bottom:3px!important;pointer-events:none;}
  html.watch-search-open body #watchMobileNav{visibility:visible!important;pointer-events:auto!important;z-index:2147483100!important;}
  html.watch-search-open body #watchSearchBgBlurFx:not(.watch-settings-blur-active){display:none!important;}
  html.watch-search-open body .watch-support__trigger{display:none!important;}
  html[data-watch-theme=light] body #watchSearchModal.watch-searchmodal--modern,
  html[data-watch-theme=light] body #watchSearchModal.watch-searchmodal--modern .watch-searchmodal__panel{background:#f5f5f7!important;}
  html[data-watch-theme=light] body #watchSearchModal .watch-searchmodal__top{background:#eaeaed!important;border-color:#00000008!important;}
  html[data-watch-theme=light] body #watchSearchModal #watchSearchInput{background:transparent!important;}
  html[data-watch-theme=light] body #watchSearchModal #watchSearchInput{color:#202026!important;}
  html[data-watch-theme=light] body #watchSearchModal .watch-mobile-search-tools button{background:#00000009;color:#333;}
  html[data-watch-theme=light] body #watchSearchModal .watch-searchmodal__top .watch-mobile-search-filter{color:#333;}
  html[data-watch-theme=light] body #watchSearchModal .watch-searchmodal__top .watch-mobile-search-filter::before{background:#0000000d;}
  html[data-watch-theme=light] body #watchSearchModal .watch-mobile-search-filter svg{fill:#eaeaed;}
}


