/* CineFilm: compact catalog first, with a persistent library navigation. */
body.home-compact{--bg:#0b0f17;--surface:#151c27;--muted:#9ba8bb;--white:#f1f5fa;--accent:#a3dff3;--pink:#d7bb91;background:var(--bg);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:clip}
.home-compact .shell{max-width:1080px;padding:16px 20px calc(100px + env(safe-area-inset-bottom));margin:auto}
.home-compact .hero{padding:0 0 16px}
.home-compact .brand-row{gap:10px;min-height:36px}
.home-compact .brand{width:35px;height:35px;border-radius:10px;box-shadow:0 0 0 1px #ffffff10}
.home-compact .wordmark{font:750 18px/1.1 system-ui,sans-serif;letter-spacing:.3px}
.home-compact .brand-caption{display:block;margin-top:3px;font-size:10px;color:var(--muted);letter-spacing:.3px}
.home-menu-trigger{margin-left:auto;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff04;color:#a8b7c9}
.home-menu-trigger svg{width:20px;height:20px}
.home-compact .search-box{height:46px;padding:0 13px;gap:10px;border-radius:12px;background:#151d29;border:1px solid #ffffff12;box-shadow:none}
.home-compact .search-box svg{width:19px;height:19px;color:#8ba2ba}
.home-compact .search-box input{font-size:14px;padding:12px 0}
.home-compact .search-box input::placeholder{color:#8e9bae}
.home-compact .search-box:focus-within{border-color:#a3dff380;box-shadow:0 0 0 3px #a3dff30a}
.home-compact .filter-row{display:flex;align-items:center;gap:7px;margin:13px 0 20px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.home-compact .filter-row::-webkit-scrollbar{display:none}
.home-compact .filter-row>.chip{flex:0 0 auto;min-height:35px;padding:8px 17px;border-radius:9px;font-size:12px;line-height:1.2;color:#99a8bc;border-color:#ffffff0e;background:#ffffff02}
.home-compact .filter-row>.chip.active{background:#a3dff315;color:#bceaff;border-color:#a3dff340}
.home-compact .filter-row>.cf-purchases-button,.home-compact .search-panel>.extras-shortcuts,.home-compact .search-panel>.series-alert-manage,.home-compact #floating-search{display:none!important}
.home-compact .results-heading{margin:0 0 13px;align-items:center}
.home-compact .results>.sort-row{display:none}
.home-compact .results-heading h2{font:700 17px/1.3 system-ui,sans-serif;letter-spacing:-.2px}
.home-compact #count{font-size:11px;color:#748399}
.home-compact .grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:21px 15px}
.home-compact .poster{border-radius:10px;aspect-ratio:2/3;border:1px solid #ffffff0c;background:#151c27}
.home-compact .poster:after{inset:72% 0 0;background:linear-gradient(transparent,#070d19a8)}
.home-compact .poster-label{bottom:7px;left:6px;right:6px;gap:3px}
.home-compact .badge{font:600 8px/1.2 system-ui,sans-serif;padding:3px 4px;border-radius:4px;letter-spacing:0;background:#10151edb;border-color:#ffffff20;color:#edf3fa;backdrop-filter:none}
.home-compact .badge.new{background:#d9c49d;color:#252014;border-color:transparent}
.home-compact .card-title{font:550 12px/1.45 system-ui,sans-serif;letter-spacing:0;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.home-compact .card-action{display:none}
.home-compact footer{display:none}
.home-compact .more-row{margin:26px 0 0}
.home-compact .more-row p{font-size:11px}
.home-compact .reset{border-color:#a3dff330;background:#a3dff30e;color:#c6eafb}
.home-bottom-nav{position:fixed;z-index:10;left:0;right:0;bottom:0;background:#0c111af5;border-top:1px solid #ffffff0c;padding:7px 12px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}
.home-bottom-nav-inner{max-width:600px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.home-nav-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;border:0;border-radius:10px;background:transparent;color:#7f8da3;font:550 10px/1.2 system-ui,sans-serif;cursor:pointer}
.home-nav-button svg{width:22px;height:22px;stroke-width:1.7}
.home-nav-button.is-active{color:#b9eaff;background:#a3dff308}
.home-nav-button:hover{color:#d6e8fa}
.home-nav-button:focus-visible,.home-menu-trigger:focus-visible{outline:2px solid #a3dff3;outline-offset:2px}
.home-more-dialog{width:min(440px,calc(100% - 24px));padding:24px;max-height:calc(100dvh - 32px);overflow-y:auto;background:#101722;border:1px solid #ffffff18;border-radius:22px}
.home-more-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.home-more-heading h2{font:700 21px/1.2 system-ui,sans-serif;margin:0}
.home-more-close{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff12;border-radius:50%;background:#ffffff06;color:#bec9d9;font:24px/1 system-ui,sans-serif}
.home-more-group{margin:0 0 18px}
.home-more-group h3{font:650 10px/1.3 system-ui,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#75859c;margin:0 0 8px}
.home-more-item{display:flex;align-items:center;gap:11px;width:100%;border:0;border-bottom:1px solid #ffffff08;padding:13px 2px;background:transparent;color:#dce5f1;text-align:left;font:500 14px/1.4 system-ui,sans-serif}
.home-more-item>svg{width:19px;height:19px;flex-shrink:0;color:#a3dff3}
.home-more-item:after{content:'›';margin-left:auto;font-size:19px;color:#6d7b90}
.home-more-note{border-top:1px solid #ffffff0c;margin-top:19px;padding-top:17px}
.home-more-note strong{display:block;font-size:12px;font-weight:600;color:#c9dded;margin-bottom:5px}
.home-more-note p{font-size:11px;color:#7d8da2;line-height:1.6;margin:0}
.home-sort-slot .sort-row{display:flex;justify-content:space-between;gap:12px;margin:6px 0 0;padding:10px 0 0;color:#93a2b8;font-size:12px}
.home-sort-slot select{max-width:60%;color:#dce5f1;background:#182231;border:1px solid #ffffff12;border-radius:8px;padding:9px;font-size:12px}
.home-compact .cf-checkout-buy,.home-compact .cf-owned{background:#a3dff3!important;color:#0b1720!important}
@media(max-width:760px){.home-compact .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.home-compact .shell{padding:13px 14px calc(95px + env(safe-area-inset-bottom))}.home-compact .hero{padding-bottom:13px}.home-compact .brand{width:32px;height:32px;border-radius:9px}.home-compact .wordmark{font-size:17px}.home-compact .brand-caption{font-size:9px}.home-compact .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.home-compact .card-title{font-size:10.5px;line-height:1.45;margin-top:7px}.home-compact .poster{border-radius:8px}.home-compact .results-heading h2{font-size:16px}.home-compact .filter-row{margin-bottom:18px}.home-compact .filter-row>.chip{padding:8px 15px}.home-compact .badge{font-size:7px;padding:3px 4px}.home-more-dialog{padding:21px}}
@media(min-width:900px){.home-bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(650px,90%);border:1px solid #ffffff10;border-bottom:0;border-radius:17px 17px 0 0}.home-compact .shell{padding-top:23px}.home-compact .brand-row{max-width:100%}.home-compact .search-panel{max-width:100%}}
@media(prefers-reduced-motion:reduce){.home-compact *{scroll-behavior:auto!important}}
