:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c1c1e;background:#fff;font-synthesis:none;--red:#ff343d;--muted:#858589;--line:#e8e8eb;--panel:#f6f6f8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:default}a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #ff8a8f;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #ff8a8f;outline-offset:1px}[hidden]{display:none!important}.icon{width:22px;height:22px;flex:none;vertical-align:middle}.muted,.fine-print,.hint,.section-hint{color:var(--muted)}.fine-print{font-size:12px;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.primary,.secondary{padding:11px 17px;border-radius:22px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:var(--red);color:white}.secondary{background:#efeff2;color:#333}.text-button{color:var(--red);font-size:13px;padding:6px 0;display:inline-flex;align-items:center;gap:5px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:6px;border-radius:50%;background:#efeff1;flex:none}.icon-button.small{width:26px;height:26px;padding:4px;background:none}.icon-button.small .icon{width:18px;height:18px}.sidebar{position:fixed;inset:0 auto 0 0;width:265px;background:var(--panel);border-right:1px solid var(--line);padding:0 10px 20px;display:flex;flex-direction:column;z-index:3;overflow:auto}.sidebar-brand{height:65px;display:flex;align-items:center;gap:12px;padding:0 8px;border-bottom:1px solid var(--line);margin:0 -10px 6px;padding-left:19px;padding-right:19px}.sidebar-brand strong{flex:1;text-align:center;font-size:15px}.sidebar-brand .icon-button{background:white;border:1px solid #dedee2}.nav-row{display:flex;align-items:center;gap:10px;min-height:40px;width:100%;padding:8px 10px;border-radius:8px;text-align:left;font-size:14px}.nav-row .icon{color:#8b8b91}.nav-row>span:not(.nav-count){flex:1}.nav-row.selected{background:var(--red);color:white}.nav-row.selected .icon{color:white}.nav-row.active-search{background:#e9e9ee}.nav-count{font-size:11px;opacity:.65}.nav-section-label{color:#85858a;font-size:11px;font-weight:600;margin:26px 6px 9px}.collection-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.collection-thumb{width:19px;height:28px;object-fit:cover;border-radius:2px;margin-left:4px}.collection-row{padding-left:18px}.sidebar-settings{margin-top:auto}.workspace{margin-left:265px;min-height:100vh}.topbar{height:65px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:#ffffffed;position:sticky;top:0;z-index:2;backdrop-filter:blur(20px)}.topbar h1{font-size:14px;margin:0;font-weight:600}.mobile-back,.mobile-settings,.mobile-nav{display:none}.featured-strip{display:flex;gap:17px;overflow:auto;padding:0 18px 18px;background:linear-gradient(white,#efeff0);height:177px}.featured-card{position:relative;flex:none;width:265px;height:149px;border-radius:17px;overflow:hidden;background:#17191b;padding:0;box-shadow:0 7px 12px #0002;text-align:left;color:white}.featured-card img{width:100%;height:100%;object-fit:cover}.featured-card:after{content:"";position:absolute;inset:20% 0 0;background:linear-gradient(transparent,#000c)}.featured-card>span{position:absolute;bottom:18px;left:18px;right:14px;z-index:1;display:flex;flex-direction:column}.featured-card small{font-size:9px;color:#ddd;font-weight:700}.featured-card strong{font-size:16px;line-height:1.2}.library-body{padding:13px 18px 40px}.library-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px}.status-tabs{display:flex;gap:9px;align-items:center;flex:1}.status-tabs button{padding:8px 11px;border-radius:19px;font-size:12px;font-weight:600;white-space:nowrap}.status-tabs button.active{background:var(--red);color:white}.toolbar-more{width:27px;height:27px;color:var(--red)}.movie-section{margin-bottom:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.section-heading h2{margin:0;font-size:16px;letter-spacing:-.2px}.section-heading>.muted{font-size:12px}.poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:27px 18px}.upcoming-row{display:flex;overflow-x:auto;gap:18px;padding-bottom:5px;scroll-snap-type:x proximity}.upcoming-row .movie-card{width:125px;flex:0 0 125px;scroll-snap-align:start}.movie-card{min-width:0}.movie-open{padding:0;display:block;text-align:left;width:100%}.poster{aspect-ratio:2/3;border-radius:13px;overflow:hidden;background:linear-gradient(145deg,#e7e7eb,#cccdd3);box-shadow:inset 0 0 0 1px #00000012}.poster img{width:100%;height:100%;object-fit:cover;display:block}.missing-poster{display:flex;align-items:center;justify-content:center}.missing-poster .icon{color:white;width:40px;height:40px}.movie-title{font-size:12px;line-height:1.3;font-weight:550;margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:.05px}.movie-date{font-size:11px;color:var(--muted);line-height:1.35;margin-top:3px;min-height:15px}.card-availability{display:block;width:100%;text-align:left;padding:0}.availability-caption{display:block;font-size:10px;color:#74747b;line-height:1.35;margin:5px 0;min-height:14px}.badge-rail{display:flex;align-items:center;gap:4px}.badge{width:24px;height:24px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none;background:#efeff1}.badge img{width:100%;height:100%;object-fit:cover}.badge .icon{width:14px;height:14px}.status-badge.watchlist{background:#ffeded;color:#e6333b}.status-badge.watched{background:#e7f4ec;color:#358458}.status-badge.up_next{background:#fff2dc;color:#bd8419}.overflow-badge{font-size:10px;font-weight:600}.provider-badge>span{font-size:9px}.queue-actions{display:flex;align-items:center;font-size:10px;color:var(--muted);margin-top:5px}.queue-actions>span{flex:1}.filter-panel{padding:16px;background:var(--panel);border-radius:14px;margin-bottom:22px}.search-field{display:flex;align-items:center;gap:9px;border-radius:11px;background:#eeeef1;padding:9px 12px}.search-field .icon{color:#73737a;width:19px;height:19px}.search-field input{width:100%;min-width:0;border:0;background:transparent;padding:2px;font-size:14px;color:inherit;outline:none}.filter-options{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.filter-options label{flex:1;min-width:140px}label>span:first-child{display:block;font-size:12px;margin-bottom:5px;color:#77777e}input:not([type=checkbox]):not([type=file]),select,textarea{max-width:100%}select,textarea,.editor-content input,.watch-event input{width:100%;padding:10px 11px;border:1px solid #dedee3;border-radius:9px;background:white;color:inherit;font-size:14px}textarea{resize:vertical;line-height:1.5}.section-hint{font-size:13px;line-height:1.5}.page-body{padding:24px;max-width:1500px;margin:auto}.catalog-search{max-width:640px;margin-bottom:12px}.add-result{font-size:10px;color:var(--red);display:flex;align-items:center;gap:3px;padding:8px 0}.add-result .icon{width:13px;height:13px}.load-more{text-align:center;padding:30px}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state>.icon{width:43px;height:43px;color:#c3c3c9}.empty-state h2{font-size:20px;color:#36363a;margin:15px 0 8px}.empty-state p{font-size:14px;line-height:1.5;max-width:380px;margin:0 auto 20px}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:25px}.collection-card{padding:0;text-align:left}.collection-covers{display:flex;overflow:hidden;aspect-ratio:1.6;border-radius:15px;background:#eeeef1;margin-bottom:11px;align-items:center;justify-content:center}.collection-covers img{height:100%;width:25%;object-fit:cover;flex:1}.collection-covers>.icon{width:45px;height:45px;color:#bbb}.collection-card strong{display:block;font-size:16px}.collection-card>span:last-child{display:block;color:var(--muted);font-size:12px;margin-top:4px}.settings-page{max-width:950px}.settings-section{padding:4px 0 27px;margin-bottom:23px;border-bottom:1px solid var(--line)}.settings-section h2{font-size:19px;margin:0 0 12px}.settings-section p{font-size:13px;line-height:1.5}.settings-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 0}.settings-row strong{font-size:14px}.settings-row p{margin:5px 0;color:var(--muted)}.settings-row .secondary{flex:none}.provider-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:8px;max-height:350px;overflow:auto;margin:15px 0}.provider-choice{display:flex;align-items:center;gap:8px;padding:8px;background:var(--panel);border-radius:10px;cursor:pointer}.provider-choice img{width:27px;height:27px;border-radius:6px}.provider-choice span{font-size:12px}.provider-choice input,.check-chip input{accent-color:var(--red)}.file-button input{display:none}.sync-state{display:flex;gap:12px;align-items:baseline}.sync-state strong{font-size:14px}.sync-dot{width:9px;height:9px;border-radius:50%;background:#bcbcc3;flex:none}.sync-dot.ok{background:#49a676}.sync-dot.error{background:#eb8d39}.error-text,.danger{color:#cf323c}.removed-list{max-height:350px;overflow:auto}.removed-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.removed-row>img{width:32px;height:48px;object-fit:cover;border-radius:4px}.removed-row>div{flex:1}.removed-row strong,.removed-row span{display:block;font-size:13px}.removed-row span{font-size:11px;color:var(--muted);margin-top:5px}.attribution{text-align:center;color:var(--muted);font-size:11px;line-height:1.5}.import-preview{background:var(--panel);padding:18px;border-radius:12px}.import-preview pre{white-space:pre-wrap;font-size:12px}dialog{border:0;border-radius:22px;padding:0;width:min(900px,calc(100% - 40px));max-height:90dvh;box-shadow:0 20px 80px #0003;color:inherit;background:white}dialog::backdrop{background:#15151c66;backdrop-filter:blur(6px)}.dialog-toolbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fffffff2;backdrop-filter:blur(20px);z-index:1;min-height:59px}.dialog-toolbar>span{font-size:12px;color:var(--muted)}.dialog-toolbar h2{font-size:18px;margin:0}.detail-layout{padding:24px;display:grid;grid-template-columns:190px 1fr;gap:28px}.detail-identity>.poster{width:100%;max-width:190px}.detail-heading h1{font-size:24px;line-height:1.15;letter-spacing:-.5px;margin:16px 0 8px}.detail-heading p{font-size:12px;line-height:1.5}.trailer-link{display:inline-flex;gap:6px;align-items:center;font-size:13px;line-height:1.4;margin:8px 0}.trailer-link .icon{width:17px;height:17px}.detail-section{padding:20px 0;border-bottom:1px solid var(--line)}.detail-section h2{font-size:17px;margin:0 0 12px}.detail-section .section-heading h2{margin:0}.detail-fields{display:flex;gap:14px}.detail-fields label{flex:1}.offer-summary{font-size:14px;font-weight:600;display:flex;gap:10px;align-items:center}.region-label{font-weight:400;font-size:10px;color:var(--muted);border:1px solid #ddd;border-radius:4px;padding:2px 4px}.offer-group{margin:18px 0}.offer-group h3{font-size:11px;color:var(--muted);font-weight:500;margin:0 0 8px}.provider-list{display:flex;flex-wrap:wrap;gap:7px}.provider-item{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:8px;color:inherit;font-size:12px}.provider-item.my-provider{border-color:#f1b7bb;background:#fff9f9}.provider-item>.icon{width:12px;height:12px;color:var(--muted)}.provider-item small{font-size:9px;color:var(--red)}.provider-credit{font-size:11px;line-height:1.6;color:var(--muted)}.provider-credit .icon{width:11px;height:11px}.inline-notice{padding:10px;background:#fff3df;border-radius:9px;font-size:12px;color:#866026}.collection-checks{display:flex;flex-wrap:wrap;gap:8px}.check-chip{display:flex;gap:5px;align-items:center;font-size:12px;background:var(--panel);border-radius:16px;padding:7px 10px}.watch-event{display:flex;gap:8px;margin:8px 0;align-items:center}.watch-event label{flex:1;min-width:0}.watch-event select,.watch-event input{font-size:12px}.detail-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:22px}.save-feedback{font-size:12px;text-align:right}.small-dialog{max-width:450px}.editor-content{padding:22px;display:grid;gap:20px}.editor-content p{margin:0}.editor-actions{display:flex;justify-content:space-between;gap:12px}.auth-screen{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 38%,#fff4f4,white 65%);padding:30px}.auth-card{text-align:center;max-width:370px}.auth-card h1{font-size:38px;letter-spacing:-1.5px;margin:18px 0 4px}.auth-card p{font-size:15px;line-height:1.6}.auth-card #auth-message{font-size:13px;margin:28px 0 18px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:#242429f2;color:white;font-size:13px;line-height:1.5;border-radius:16px;padding:12px 20px;max-width:calc(100% - 40px);z-index:20;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px;padding:70px;color:var(--muted)}.spinner{height:20px;width:20px;border:2px solid #ddd;border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.sidebar{width:300px}.workspace{margin-left:300px}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}}
@media(max-width:800px){.sidebar{width:215px}.workspace{margin-left:215px}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}.detail-layout{grid-template-columns:145px 1fr;gap:20px}.settings-row{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:600px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:calc(74px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;justify-content:space-between;background:#f4f4f6e6}.topbar h1{font-size:19px}.mobile-back,.mobile-settings{display:inline-flex;width:42px;height:42px;background:#ffffff99;border:1px solid #dcdce1}.mobile-settings{background:none;border:0}.library-body{padding:15px 20px 140px}.library-toolbar{margin:0 0 27px;gap:5px}.status-tabs{gap:3px}.status-tabs button{font-size:14px;padding:10px 12px}.toolbar-more{width:30px;height:30px}.featured-strip{height:107px;padding:0 20px 12px;gap:12px}.featured-card{height:94px;width:168px;border-radius:12px}.featured-card>span{left:12px;bottom:10px}.featured-card strong{font-size:12px}.featured-card small{font-size:8px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:21px;letter-spacing:-.5px}.section-heading .text-button{font-size:14px}.poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 11px}.upcoming-row{gap:11px;margin-right:-20px;padding-right:20px}.upcoming-row .movie-card{width:calc((100vw - 51px)/2);flex-basis:calc((100vw - 51px)/2)}.poster{border-radius:18px}.movie-title{font-size:13px;line-height:1.3;margin-top:8px}.movie-date{font-size:12px;min-height:17px;margin-top:4px}.availability-caption{font-size:10px;margin:5px 0}.badge{width:24px;height:24px}.movie-section{margin-bottom:31px}.mobile-nav{position:fixed;left:20px;right:20px;bottom:calc(13px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:20px;z-index:4;pointer-events:none}.mobile-segments,.mobile-search{pointer-events:auto;background:#eeeeeec9;backdrop-filter:blur(24px) saturate(130%);box-shadow:inset 0 0 0 1px #ffffffb0,0 4px 18px #0002;border-radius:42px}.mobile-segments{display:flex;padding:5px;width:235px}.mobile-segments button{border-radius:34px;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:8px 12px;font-size:11px;font-weight:600}.mobile-segments button.active{background:#00000013}.mobile-segments .icon{width:26px;height:26px}.mobile-search{width:68px;height:68px;flex:none;display:flex;align-items:center;justify-content:center;color:#111}.mobile-search .icon{width:29px;height:29px}.mobile-search.active{background:#ffdcdcdd}.page-body{padding:22px 20px 140px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}.collection-card strong{font-size:15px}.collection-covers{aspect-ratio:1.2}.settings-row{gap:10px}.settings-section{margin-bottom:18px}.provider-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:400px}.provider-choice{gap:6px;padding:6px}.provider-choice span{font-size:11px}.provider-choice img{width:24px;height:24px}.filter-panel{padding:12px}.filter-options{gap:10px}.filter-options label{min-width:100px}.filter-options select{font-size:12px;padding:8px}.toast{bottom:calc(105px + env(safe-area-inset-bottom));width:max-content}dialog{width:100%;max-width:none;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);margin:auto 0 0;border-radius:23px 23px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog-toolbar{padding:12px 20px}.detail-layout{display:block;padding:20px}.detail-identity{display:flex;align-items:center;gap:20px;padding-bottom:15px}.detail-identity>.poster{width:90px;flex:none;border-radius:10px}.detail-heading h1{font-size:25px;margin:0 0 8px}.detail-heading p{margin:8px 0}.detail-content{width:100%}.detail-fields{margin:10px 0}.detail-section h2{font-size:20px}.detail-footer .text-button{font-size:12px}.detail-footer .primary{font-size:13px}.small-dialog{width:calc(100% - 24px);margin:auto 12px;max-width:none;border-radius:22px}.watch-event{gap:6px}.watch-event input{min-width:0}.empty-state{padding:45px 10px}.empty-state h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.rating-field{border:0;padding:0;margin:20px 0}.rating-field legend{font-size:13px;color:var(--muted);margin-bottom:10px}.rating-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rating-choice{position:relative;min-width:0;cursor:pointer;padding:0;border:0;background:none}.rating-choice>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100px;padding:12px 5px;border:2px solid var(--line);border-radius:14px;background:white;text-align:center}.rating-choice>span>span{font-size:27px}.rating-choice strong{font-size:12px;line-height:1.3}.rating-choice input{position:absolute;opacity:0;width:1px;height:1px}.rating-choice input:checked+span{border-color:var(--red);background:#fff0f0}.rating-choice:focus-visible>span,.rating-choice input:focus-visible+span{outline:3px solid var(--red);outline-offset:2px}.rating-choice:hover>span{border-color:var(--red)}.rating-choice:disabled{opacity:.5;cursor:wait}.rating-queue{text-align:center;gap:10px}.rating-queue>.poster{width:130px;margin:0 auto}.rating-queue h2{margin:8px 0 0;font-size:23px}.rating-queue .rating-choices{margin-top:12px}.rating-error{color:#a62332;font-size:13px;min-height:18px}.movie-rating{font-size:16px;margin-top:5px}

.tonight{padding:18px clamp(14px,3vw,30px);margin:12px clamp(10px,2vw,24px);border-radius:18px;background:#221a1e;color:#fff8f4}
.tonight header h2{font-size:1.45rem;margin:0}
.tonight header p,.tonight .muted{color:#e1ced1;margin:4px 0 12px}
.tonight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:10px}
.tonight-card{background:#3c2d33;color:#fff8f4;display:flex;align-items:center;gap:10px;border:0;border-radius:10px;padding:8px;text-align:left}
.tonight-card img,.tonight-card .poster-placeholder{width:48px;height:72px;object-fit:cover;border-radius:4px}
.tonight-card small{display:block;color:#eadbdc;margin-top:3px}
.tonight-card small:empty{display:none}
.rating-queue button{min-height:44px}


/* A pocket film library */
@media(max-width:600px){
body{background:#f8f7f4;color:#252422;font-family:-apple-system,BlinkMacSystemFont,sans-serif}
.topbar{padding:20px 22px 12px;background:#f8f7f4;border:0}
.topbar h1{font-size:32px;letter-spacing:-1.2px;font-weight:750}
.tonight{background:transparent;color:#252422;border-radius:0;padding:12px 0 22px;margin:0 22px;border-bottom:1px solid #ddd9d2}
.tonight header h2{font-size:22px;letter-spacing:-.7px}
.tonight header p,.tonight .muted{color:#706c65;font-size:13px}
.tonight-grid{scrollbar-width:none;display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x proximity;padding:4px 0 10px}
.tonight-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;background:none;color:inherit;padding:0;border-radius:0;flex:0 0 124px;scroll-snap-align:start}
.tonight-card img,.tonight-card .poster-placeholder{width:124px;height:186px;border-radius:5px;box-shadow:0 4px 12px #211b151a}
.tonight-card strong{display:block;margin-top:10px;font-size:14px;line-height:1.25}
.tonight-card small{color:#777068;font-size:11px;line-height:1.5}
.library-body{padding:18px 22px 110px}
.status-tabs{border-bottom:1px solid #ddd9d2;gap:18px}
.status-tabs button{background:transparent!important;border-radius:0;padding:12px 0;min-height:44px;color:#77716a;font-size:14px}
.status-tabs button.active{color:#a93625;border-bottom:2px solid #a93625}
.poster-grid{gap:26px 16px}
.poster{border-radius:5px}
.movie-title{font-size:15px;font-weight:650}
.movie-date,.availability-caption{font-size:12px;color:#706c65}
.section-heading h2{font-size:21px;letter-spacing:-.5px}
.mobile-nav{left:0;right:0;bottom:0;gap:0;padding:8px 22px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #dedad2;background:#f8f7f4f5;backdrop-filter:blur(20px)}
.mobile-segments,.mobile-search{background:transparent;border-radius:0;box-shadow:none}
.mobile-segments{flex:1;padding:0;width:auto}
.mobile-segments button{border-radius:8px;padding:5px 12px;min-height:48px}
.mobile-search{height:48px;width:64px}
.mobile-segments button.active{background:transparent;color:#a93625}
#rating-dialog{border-radius:22px 22px 0 0;background:#f8f7f4}
.rating-queue>.poster{width:150px;border-radius:5px}
.rating-queue h2{font-size:27px;letter-spacing:-.7px}
.rating-choice>span{border:1px solid #d8d3ca;background:#fffdfa;border-radius:12px;min-height:88px}
input,select,textarea{font-size:16px!important}
}

@media(max-width:600px){.tonight-grid::-webkit-scrollbar{display:none}.tonight-card small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tonight-card img{display:block;flex-shrink:0}}

/* Movie editor: a quiet sheet with one persistent save action. */
#movie-dialog{width:min(820px,calc(100% - 48px));border-radius:16px;background:#fffdfa}
#movie-dialog .movie-toolbar{background:#fffdfaf5;padding:12px 24px;gap:16px;z-index:3}
.movie-toolbar #save-feedback{flex:1;text-align:right;font-size:12px;color:var(--muted)}
.movie-save{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:9px 16px;border-radius:8px;font-size:13px}
#movie-dialog .detail-layout{padding:32px;grid-template-columns:160px minmax(0,1fr);gap:36px}
#movie-dialog .detail-identity>.poster{border-radius:6px;box-shadow:0 5px 18px #211b1515}
#movie-dialog .detail-heading h1{font-size:25px;line-height:1.18;letter-spacing:-.65px;margin:20px 0 8px}
#movie-dialog .detail-heading p{font-size:12px;color:#80786e}
.movie-links{display:flex;gap:6px;margin-top:12px}.movie-links .icon-button{border:1px solid #e8e2d8;border-radius:50%}
.movie-status{display:flex;padding:0;margin:0 0 20px;border:0;border-bottom:1px solid #e5e0d7;gap:18px;min-width:0}
.movie-status label{position:relative;cursor:pointer;min-width:0}.movie-status input{position:absolute;opacity:0;width:1px;height:1px}
.movie-status label>span{display:flex;gap:6px;align-items:center;min-height:48px;font-size:12px;color:#847c73;border-bottom:2px solid transparent}
.movie-status .icon{width:16px;height:16px}.movie-status input:checked+span{border-color:#a93625;color:#a93625}
.movie-status input:focus-visible+span{outline:2px solid #a93625;outline-offset:3px}
.movie-alert-row{display:flex;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.movie-alert-row>label{display:flex;align-items:center;gap:7px;font-size:12px;color:#655e56}.movie-alert-row .icon{width:17px;height:17px}
.movie-alert-row select{width:auto;min-width:112px;padding:8px 28px 8px 10px;border-color:#e5e0d7;background:transparent;font-size:13px;border-radius:7px}
.movie-alert-row select:disabled{opacity:.45}.alert-hint{font-size:11px;color:#8a8177}
#movie-dialog .detail-section{padding:20px 0 24px;border-color:#e5e0d7}
#movie-dialog .detail-section h2{font-size:15px;font-weight:650;letter-spacing:-.2px}
#movie-dialog .section-heading{margin-bottom:10px}.movie-offers>.section-heading .icon-button{width:32px;height:32px}
#movie-dialog .offer-group{margin:14px 0}.movie-offers .offer-group h3{font-size:11px;margin-bottom:8px;color:#81776d}
#movie-dialog .provider-list{gap:6px}.movie-offers .provider-item{font-size:11px;padding:6px 8px 6px 6px;border-radius:7px;border-color:#ebe5dd;background:#fffefa;max-width:100%}
.movie-offers .provider-item span{overflow-wrap:anywhere}.movie-offers .provider-badge{width:23px;height:23px;flex:none;border-radius:5px}
#movie-dialog .provider-credit{font-size:10px;margin-top:18px;color:#968b7e}
.movie-fold{border-bottom:1px solid #e5e0d7}.movie-fold summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:58px;font-size:13px}
.movie-fold summary::-webkit-details-marker{display:none}.movie-fold summary>.icon{width:17px;height:17px;color:#8a8073}
.movie-fold summary>span{flex:1}.movie-fold summary>small{font-size:11px;color:#8a8073}.movie-fold summary>.icon:last-child{width:14px;height:14px}
.movie-fold[open] summary>.icon:last-child{transform:rotate(90deg)}.fold-content{padding:0 0 20px}.fold-content textarea{background:#fffefa;border-color:#e5e0d7;font-size:14px}
#movie-dialog .collection-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;max-height:260px;overflow:auto;margin-top:10px}
#movie-dialog .check-chip{background:none;border-radius:0;font-size:12px;min-height:40px;padding:6px;line-height:1.3}
#movie-dialog .check-chip[hidden]{display:none}.collection-search{width:100%;font-size:13px}
#movie-dialog .detail-footer{padding:16px 0 0;justify-content:flex-end}.movie-rating-field .rating-choice>span{min-height:56px;padding:8px}.movie-rating-field .rating-choice strong{display:none}.movie-rating-field .rating-choice>span>span{font-size:23px}
@media(max-width:600px){
#movie-dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 8px);border-radius:18px 18px 0 0}
#movie-dialog .movie-toolbar{padding:12px 20px}.movie-save{min-height:42px}
#movie-dialog .detail-layout{display:block;padding:24px}
#movie-dialog .detail-identity{gap:20px;padding-bottom:22px;align-items:center}
#movie-dialog .detail-identity>.poster{width:88px;max-width:88px}
#movie-dialog .detail-heading h1{font-size:24px;margin:0 0 7px}
#movie-dialog .detail-heading p{margin:6px 0}.movie-links{margin-top:8px}
.movie-status{justify-content:space-between;gap:10px}.movie-status label>span{font-size:13px;min-height:50px}
.movie-alert-row{gap:10px}.alert-hint{font-size:11px}.movie-alert-row select{font-size:16px}
#movie-dialog .collection-checks{grid-template-columns:1fr}
}
.movie-rating-field .rating-choice strong{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.plex-badge{background:#262626;color:#e5a00d;flex:none}.plex-badge>.icon{width:19px;height:19px}.plex-owned{display:flex;align-items:center;gap:10px;margin:4px 0 20px;padding:12px 0;border-bottom:1px solid #e5e0d7}.plex-owned strong{font-size:14px;font-weight:650}
