.sg-catalogue{--fp-bg:#1a1a2e;--fp-panel:#22233c;--fp-panel2:#292a46;--fp-line:#3a3b59;--fp-text:#f4f5ff;--fp-muted:#b4b7cd;--fp-accent:#b9ef78;--fp-ink:#171829;margin-top:38px}
.filter-main{width:min(1180px,calc(100% - 40px))}
.sg-filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;color:#515a58}
.sg-filter-mobile-open{display:none;align-items:center;gap:8px;border:0;border-radius:10px;padding:11px 15px;background:var(--fp-bg);color:var(--fp-text);font-weight:750;cursor:pointer}
.sg-filter-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--fp-accent);color:#18231b;font-size:12px;font-weight:900}
.sg-filter-layout{display:grid;grid-template-columns:290px minmax(0,1fr);align-items:start;gap:24px}
.sg-filter-panel{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding:20px;background:var(--fp-bg);border:1px solid var(--fp-line);border-radius:18px;color:var(--fp-text);box-shadow:0 18px 46px #0c0d1c24;scrollbar-color:#555675 transparent}
.sg-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--fp-line)}
.sg-filter-head h2{margin:0;color:var(--fp-text);font-size:19px;line-height:1.2;letter-spacing:-.35px}
.sg-filter-close{display:none;width:36px;height:36px;border:1px solid var(--fp-line);border-radius:50%;background:var(--fp-panel);color:var(--fp-text);font-size:21px;cursor:pointer}
.sg-filter-group{margin:0;padding:17px 0;border:0;border-bottom:1px solid var(--fp-line)}
.sg-filter-group legend{margin:0 0 11px;padding:0;color:var(--fp-text);font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.sg-filter-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sg-filter-check{position:relative;display:flex;align-items:center;gap:8px;min-width:0;color:#e5e7f4;font-size:13px;line-height:1.3;cursor:pointer}
.sg-filter-check input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--fp-accent)}
.sg-platform-badge{display:inline-flex;align-items:center;max-width:100%;padding:4px 7px;border-radius:6px;background:#353650;color:#fff;font-size:10px;line-height:1.2;font-weight:800;white-space:nowrap}
.sg-platform-badge--netflix{background:#d81e32}.sg-platform-badge--prime{background:#1476c6}.sg-platform-badge--disney{background:#142c66}.sg-platform-badge--canal{background:#333}.sg-platform-badge--apple{background:#656574}.sg-platform-badge--ocs{background:#6e46ab}.sg-platform-badge--arte{background:#e8c427;color:#191919}.sg-platform-badge--france{background:#273c93}
.sg-price-options{display:grid;gap:9px}
.sg-price-options label{display:flex;align-items:center;gap:9px;color:#e5e7f4;font-size:13px;cursor:pointer}
.sg-price-options input{margin:0;accent-color:var(--fp-accent)}
.sg-genre-chips{display:flex;flex-wrap:wrap;gap:7px}
.sg-genre-chip{position:relative;cursor:pointer}
.sg-genre-chip input{position:absolute;width:1px;height:1px;opacity:0}
.sg-genre-chip span{display:block;padding:6px 9px;border:1px solid #4a4b68;border-radius:999px;color:#e0e2f0;font-size:11px;line-height:1.25;transition:.15s}
.sg-genre-chip input:checked+span{border-color:var(--fp-accent);background:#d9f4b1;color:#1a251b;font-weight:800}
.sg-genre-chip input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.sg-year-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:var(--fp-muted);font-size:12px}
.sg-year-active{display:flex;align-items:center;gap:7px;color:#e7e8f1;font-size:12px}
.sg-year-active input{accent-color:var(--fp-accent)}
.sg-year-range{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.sg-year-range input[type=range]{width:100%;accent-color:var(--fp-accent)}
.sg-year-value{min-width:45px;text-align:right;color:var(--fp-accent);font-size:14px;font-weight:850}
.sg-rating{display:flex;gap:7px;flex-wrap:wrap}
.sg-rating label{cursor:pointer}
.sg-rating input{position:absolute;width:1px;height:1px;opacity:0}
.sg-rating span{display:block;padding:7px 9px;border:1px solid #4a4b68;border-radius:8px;color:#f8cf62;font-size:12px;white-space:nowrap}
.sg-rating input:checked+span{border-color:#f8cf62;background:#413a2a;color:#ffe69a;font-weight:800}
.sg-rating input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.sg-filter-actions{display:grid;gap:11px;padding-top:17px}
.sg-filter-apply{width:100%;border:0;border-radius:10px;padding:13px 14px;background:var(--fp-accent);color:#18231b;font-size:14px;font-weight:900;cursor:pointer;transition:transform .15s,background .15s}
.sg-filter-apply:hover{transform:translateY(-1px);background:#c9f795}
.sg-filter-reset{justify-self:center;border:0;background:none;color:#d4d6e5;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer}
.sg-filter-backdrop{display:none}
.sg-filter-results{min-width:0;padding:20px;border:1px solid #e2e4ed;border-radius:18px;background:#f8f8fb}
.sg-results-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.sg-results-top h2{margin:0;color:#202139;font-size:20px;letter-spacing:-.4px}
.sg-results-count{margin:0;color:#60647b;font-size:13px}
.sg-filtered-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sg-filtered-card{display:flex;gap:12px;min-width:0;padding:12px;border:1px solid #e4e5ed;border-radius:13px;background:white;box-shadow:0 5px 18px #1010280a}
.sg-filtered-poster{width:64px;height:90px;flex:0 0 64px;object-fit:cover;border-radius:7px;background:#252943}
.sg-filtered-info{min-width:0;align-self:center}
.sg-filtered-info h3{margin:0 0 3px;color:#22233a;font-size:15px;line-height:1.3}
.sg-filtered-meta{margin:0;color:#74788a;font-size:12px}
.sg-filtered-detail{margin:7px 0 0;color:#51556b;font-size:11px;line-height:1.45}
.sg-filtered-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.sg-filter-empty{grid-column:1/-1;padding:26px;border:1px dashed #b7b9c7;border-radius:12px;color:#53576b;text-align:center}
.sg-filter-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:900px){.filter-main{width:min(100% - 32px,740px)}.sg-filter-layout{grid-template-columns:minmax(0,1fr)}.sg-filter-mobile-open{display:inline-flex}.sg-filter-panel{position:fixed;z-index:1002;inset:0 auto 0 0;width:min(90vw,380px);height:100dvh;max-height:none;overflow-y:auto;border-radius:0 20px 20px 0;transform:translateX(-105%);transition:transform .24s ease;box-shadow:18px 0 55px #0006}.sg-filter-panel.is-open{transform:translateX(0)}.sg-filter-head{position:sticky;top:-20px;margin:-20px -20px 0;padding:17px 20px;background:var(--fp-bg);z-index:1}.sg-filter-close{display:block}.sg-filter-backdrop.is-open{display:block;position:fixed;z-index:1001;inset:0;background:#080914a8;backdrop-filter:blur(2px)}.sg-filter-results{padding:16px}}
@media(max-width:560px){.filter-main{width:calc(100% - 28px)}.sg-filtered-grid{grid-template-columns:1fr}.sg-results-top{align-items:flex-start;flex-direction:column}.sg-filter-results{padding:12px}.sg-filtered-card{padding:10px}.sg-catalogue{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.sg-filter-panel,.sg-filter-apply,.sg-genre-chip span{transition:none}}

body.sg-filter-lock{overflow:hidden}
