:root{font-family:"DM Sans",Segoe UI,sans-serif;color:#0b1838;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 70% 0,#fff 0,#f8fafc 45%,#f4f7fa 100%);font-size:15px}button,input,select{font:inherit;color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:linear-gradient(145deg,#102437,#0d1c2c 70%,#142a3d);padding:20px 10px;color:#edf6ff;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:flex-start;gap:12px;color:#fff;text-decoration:none;padding:0 12px 30px}.brand-icon{font-size:36px;line-height:1}.brand strong{font-size:27px;display:block;letter-spacing:-1px}.brand small{color:#c5d0dc;display:block;margin-top:3px}.nav-list{display:flex;flex-direction:column;gap:6px}.nav-list a,.sidebar-bottom>a{color:#dbe7f1;text-decoration:none;border-radius:10px;padding:14px 16px;font-size:17px;display:flex;gap:18px;align-items:center}.nav-list a span,.sidebar-bottom>a span{font-size:25px;width:26px}.nav-list a.active,.sidebar-bottom>a.active{background:#244f72;color:#fff}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:14px;padding:16px 12px 4px}.profile b{margin-left:auto;font-size:24px}.avatar{width:46px;height:46px;border-radius:50%;background:#718ca7;color:#fff;display:grid;place-items:center}.main-area{margin-left:255px;min-height:100vh}.topbar{height:70px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:17px;padding:10px 25px;background:rgba(255,255,255,.65);backdrop-filter:blur(12px);position:sticky;top:0;z-index:5}.header-search{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid #d5deea;border-radius:10px;background:#edf6ff;color:#005abc;text-decoration:none;font-weight:600;white-space:nowrap}.header-search:hover{background:#dcecff}.header-search:focus-visible{outline:3px solid #0877f9;outline-offset:3px}.header-search svg{flex-shrink:0}.mobile-brand{display:none}.page-content{padding:22px 24px 44px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}.page-heading h1{font-size:38px;letter-spacing:-1.5px;margin:0}.page-heading p{font-size:18px;color:#50698a;margin:2px 0}.heading-icon{font-size:34px;margin-right:15px}.primary-button{background:#0877f9;color:#fff;border:0;border-radius:11px;padding:13px 20px;box-shadow:0 8px 18px #0877f933}.hero{min-height:160px;background:linear-gradient(90deg,#0d2639e8 0%,#10283ab8 48%,#10283a22),url('../images/showkeeper-hero.png') center/cover;border-radius:12px;color:#fff;padding:35px 30px;display:flex;justify-content:space-between;align-items:center}.hero h1{font-size:36px;margin:0 0 8px}.hero p{font-size:17px;margin:0;color:#e4edf4}.hero em{font-family:Kalam,cursive;font-size:20px;text-align:center;line-height:1.35}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:21px}.section-heading a{color:#005abc}.continue-grid{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:16px}.media-card{background:#fff;border:1px solid #e1e7ee;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #10243b0a;min-width:0}.poster{height:210px;position:relative;display:flex;align-items:flex-end;padding:17px;color:#fff;overflow:hidden;background:linear-gradient(145deg,#182b41,#8a6655)}.poster:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#07121cdd 0%,transparent 60%),radial-gradient(circle at 72% 20%,#ffffff33,transparent 22%)}.poster strong{position:relative;text-transform:uppercase;text-align:center;width:100%;font-family:Georgia,serif;font-size:20px;text-shadow:0 2px 4px #000}.poster-kicker{display:none;position:absolute;z-index:2;top:10px;left:10px;padding:4px 8px;border-radius:7px;background:#385775;font-size:12px}.rating{position:absolute;z-index:2;top:9px;right:9px;background:#fff;color:#20314b;border-radius:6px;padding:4px 7px;font-size:12px}.poster-river,.poster-waterfront{background:linear-gradient(145deg,#548b85,#d39b73)}.poster-royals,.poster-villa{background:linear-gradient(145deg,#312e38,#b07b68)}.poster-you,.poster-night{background:linear-gradient(145deg,#08131e,#324b61)}.poster-younger,.poster-ginny,.poster-wedding{background:linear-gradient(145deg,#a14f72,#e59b7c)}.poster-lincoln,.poster-faithful{background:linear-gradient(145deg,#20354c,#c18b57)}.poster-sunset,.poster-christmas{background:linear-gradient(145deg,#e1b66e,#70404d)}.poster-community,.poster-shameless{background:linear-gradient(145deg,#3b6f85,#a25043)}.poster-alone,.poster-beach{background:linear-gradient(145deg,#132832,#6a8492)}.poster-bottle,.poster-father{background:linear-gradient(145deg,#53a1bd,#e4b46d)}.poster-window,.poster-residence{background:linear-gradient(145deg,#091625,#577087)}.poster-seasons,.poster-banks{background:linear-gradient(145deg,#276987,#d7a66a)}.poster-search1,.poster-search5,.poster-search9{background:linear-gradient(145deg,#5e1e16,#ed7c16)}.poster-search2,.poster-search6,.poster-search10{background:linear-gradient(145deg,#315c61,#9cc2b5)}.poster-search3,.poster-search7,.poster-search11{background:linear-gradient(145deg,#151d2d,#73627a)}.poster-search4,.poster-search8,.poster-search12{background:linear-gradient(145deg,#8a714f,#e6c998)}.media-copy{padding:10px}.media-title-row{display:flex;gap:5px;align-items:flex-start}.media-title-row h3{font-size:14px;margin:0;line-height:1.2;min-height:34px;flex:1}.media-title-row button{border:0;background:transparent;color:#315988;padding:0}.metadata,.detail,.release{font-size:12px;color:#5e7392;margin:3px 0}.status{display:inline-block;margin:5px 0;padding:5px 18px;border-radius:20px;font-size:12px;background:#e5efff;color:#0564d8}.status.waiting,.status.upcoming{background:#ffedb9;color:#a35b00}.status.finished,.status.watched{background:#cef7df;color:#087a36}.status.priority{background:#ffd4dc;color:#bf1738}.progress-label{display:flex;justify-content:space-between;font-size:12px;color:#556b88;margin-top:5px}.progress{height:5px;border-radius:10px;background:#dfe6ed;overflow:hidden}.progress i{height:100%;background:#1680f8;display:block;border-radius:10px}.stars{color:#ffb400;letter-spacing:1px}.stars span{color:#cdd4da}.dashboard-columns{display:grid;grid-template-columns:1fr 1.08fr;gap:18px;margin-top:20px}.panel{background:#fff;border:1px solid #e0e6ed;border-radius:12px;padding:10px 14px;box-shadow:0 4px 15px #17324c0a}.mini-row{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;padding:7px 0;border-bottom:1px solid #edf0f3}.mini-row:last-child{border:0}.mini-row div:nth-child(2){display:flex;flex-direction:column}.mini-row small{color:#607490}.mini-row>span{font-size:12px;color:#465e7d}.mini-art{height:54px;border-radius:6px;color:#fff;display:grid;place-items:center;font-weight:700;background:#31516f}.recent{margin-top:20px}.recent-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.recent-grid .poster{height:130px}.recent-grid .metadata,.recent-grid .detail,.recent-grid .release,.recent-grid .progress-label,.recent-grid .progress{display:none}.recent-grid .media-title-row h3{min-height:34px}.plus{background:#0877f9;color:#fff;border-radius:50%;display:inline-grid;place-items:center;width:28px;height:28px}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:15px 0 22px}.summary-card{border-radius:11px;padding:16px 20px;display:flex;align-items:center;gap:18px;border:1px solid #dbe8f7;background:#edf6ff}.summary-card.amber{background:#fff8e7}.summary-card.green{background:#ebfaf5}.summary-card.violet{background:#f5f1ff}.summary-icon{width:54px;height:54px;border-radius:50%;background:#1978f1;color:#fff;display:grid;place-items:center;font-size:27px}.amber .summary-icon{background:#f4c34f;color:#182034}.green .summary-icon{background:#44a58e}.violet .summary-icon{background:#7460e9}.summary-card b,.summary-card strong,.summary-card small{display:block}.summary-card strong{font-size:28px;line-height:1}.summary-card small{color:#607793;margin-top:4px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:14px 0}.pills,.filters,.search-tabs,.sort{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pills button,.search-tabs button{border:0;border-radius:24px;background:#eef2f6;padding:10px 23px;color:#354c6b}.pills button.active,.search-tabs button.active,.view.active{background:#0877f9;color:#fff}.sort button,.filters button{border:1px solid #d8e0e8;background:#fff;border-radius:8px;padding:10px 15px}.sort .view{font-size:20px;padding:7px 13px}.result-count{font-weight:600;color:#405978}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.media-card.compact{display:grid;grid-template-columns:108px 1fr;min-height:158px}.media-card.compact .poster{height:100%;min-height:158px;padding:9px}.media-card.compact .poster strong{font-size:15px}.poster-grid{grid-template-columns:repeat(6,1fr)}.poster-grid .poster{height:210px}.coming-grid{grid-template-columns:repeat(2,1fr)}.search-form{display:flex;gap:12px;max-width:850px;margin:-10px 0 25px}.search-input{height:48px;border:1px solid #ccd8e4;border-radius:10px;background:#fff;display:flex;align-items:center;padding:0 15px;flex:1}.search-input span{font-size:25px}.search-input input{border:0;outline:0;padding:0 15px;flex:1;font-weight:600}.search-input button{border:0;background:transparent;font-size:25px}.search-tabs{display:grid;grid-template-columns:repeat(5,1fr);max-width:770px}.search-tabs button{border-radius:9px}.search-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.search-grid .poster{height:195px}.search-grid .poster-kicker{display:block}.card-actions{display:flex;justify-content:space-around;margin-top:10px}.card-actions button{font-size:25px;border:0;background:#f1f4f7;border-radius:50%;width:37px;height:37px}.card-actions button:first-child{background:#0877f9;color:#fff}.card-actions small{display:block;font-size:10px;margin-top:3px;color:#354c6b}.settings-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.settings-categories>div{padding:15px 20px;border-radius:9px;background:#edf6ff;display:flex;align-items:center;gap:16px;font-size:30px}.settings-categories .amber{background:#fff8e7}.settings-categories .green{background:#ebfaf5}.settings-categories .violet{background:#f5f1ff}.settings-categories b,.settings-categories small{display:block;font-size:14px}.settings-categories small{font-weight:400;color:#526d8e;margin-top:3px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-card{background:#fff;border:1px solid #e1e7ee;border-radius:10px;padding:14px 18px}.settings-card h2{display:flex;gap:12px;margin:0 0 14px;font-size:23px;color:#086ef1}.settings-card h2 span{color:#0b1838;font-size:18px}.settings-card h2 small{display:block;color:#59708f;font-size:13px;font-weight:400}.profile-form{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center}.large-avatar{width:104px;height:104px;border-radius:50%;background:#6e89a7;color:#fff;display:grid;place-items:center;font-size:32px}.profile-form label{display:block;font-size:13px;margin-bottom:7px}.profile-form input,.select-row select{display:block;width:100%;border:1px solid #cbd7e4;border-radius:6px;padding:8px;margin-top:3px}.outline-button{color:#0067e7;background:#fff;border:1px solid #1681ff;border-radius:6px;padding:8px 13px}.toggle-row,.select-row,.provider-row,.action-row,.integration-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:11px 0}.toggle-row span,.action-row span,.integration-row span{flex:1}.toggle-row b,.toggle-row small,.action-row b,.action-row small,.integration-row b,.integration-row small{display:block}.toggle-row small,.action-row small,.integration-row small{font-size:12px;color:#657b98}.toggle-row{position:relative}.toggle-row input{position:absolute;opacity:0}.toggle-row i{width:44px;height:25px;background:#bdc6d1;border-radius:20px;position:relative;transition:.2s}.toggle-row i:after{content:"";position:absolute;width:19px;height:19px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 4px #0004;transition:.2s}.toggle-row input:checked+i{background:#0877f9}.toggle-row input:checked+i:after{transform:translateX(19px)}.select-row select{width:55%;margin:0}.provider-row>div{border:1px solid #d6dee8;border-radius:7px;padding:6px}.provider-row i{background:#f1f4f8;border-radius:12px;padding:4px 8px;font-size:11px;font-style:normal}.integration-row em,.action-row em{font-style:normal;background:#d9f7e9;color:#08784c;border-radius:20px;padding:8px 14px}.save-button{float:right}.loading-state,.empty-state{min-height:60vh;display:grid;place-content:center;text-align:center;color:#647892}.loading-state span{width:36px;height:36px;border-radius:50%;border:4px solid #dce7f3;border-top-color:#0877f9;animation:spin 1s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.boot-loader{height:100vh;display:grid;place-items:center;background:#102437;color:#fff;font-size:30px;font-weight:700}#blazor-error-ui{display:none}
@media(max-width:1100px){.sidebar{width:215px}.main-area{margin-left:215px}.poster-grid{grid-template-columns:repeat(3,1fr)}.continue-grid{grid-template-columns:repeat(3,1fr)}.continue-grid .media-card:nth-child(n+4){display:none}.recent-grid{grid-template-columns:repeat(3,1fr)}.summary-strip{grid-template-columns:repeat(2,1fr)}.search-grid{grid-template-columns:repeat(3,1fr)}.media-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{position:fixed;inset:auto 0 0;width:auto;height:64px;padding:5px;flex-direction:row}.brand,.sidebar-bottom{display:none}.nav-list{flex:1;flex-direction:row;justify-content:space-around}.nav-list a{font-size:0;padding:8px}.nav-list a span{font-size:24px}.main-area{margin-left:0;margin-bottom:64px}.topbar{padding:8px 15px}.mobile-brand{display:block;text-decoration:none;color:#102437;font-weight:700}.header-search{padding:10px;font-size:13px}.page-content{padding:18px 14px}.page-heading h1{font-size:30px}.page-heading{align-items:flex-start}.hero{min-height:180px}.hero h1{font-size:28px}.hero em{display:none}.continue-grid{grid-template-columns:repeat(2,1fr)}.dashboard-columns,.settings-grid{grid-template-columns:1fr}.recent-grid{grid-template-columns:repeat(2,1fr)}.summary-strip,.settings-categories{grid-template-columns:1fr 1fr}.summary-card{padding:12px}.summary-icon{width:44px;height:44px}.toolbar{align-items:flex-start;gap:10px}.sort{justify-content:flex-end}.media-grid,.coming-grid{grid-template-columns:1fr}.poster-grid,.search-grid{grid-template-columns:repeat(2,1fr)}.search-tabs{grid-template-columns:repeat(2,1fr)}.search-tabs button:last-child{display:none}.search-page .toolbar{display:block}.filters{margin-bottom:10px}.settings-categories small{display:none}.settings-categories>div{padding:12px}.profile-form{grid-template-columns:1fr}.large-avatar{margin:auto}.poster-grid .poster,.search-grid .poster{height:190px}}

/* Account dropdown in the top bar. Native popovers support outside-click and Escape dismissal. */
.profile-menu{flex-shrink:0}
.profile-menu-trigger{border:0;cursor:pointer;font-weight:600}
.profile-menu-trigger:hover{background:#526f8d}
.profile-menu-trigger:focus-visible{outline:3px solid #0877f9;outline-offset:3px}
.profile-menu-panel{position:fixed;inset:64px 25px auto auto;margin:0;width:240px;max-width:calc(100vw - 30px);padding:8px;border:1px solid #d5deea;border-radius:12px;background:#fff;color:#0b1838;box-shadow:0 12px 36px #10243726}
.profile-menu-name{padding:12px;font-weight:700;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;margin-bottom:4px}
.profile-menu-panel a,.profile-menu-panel button{display:block;width:100%;text-align:left;text-decoration:none;border:0;border-radius:7px;padding:11px 12px;color:#203d60;background:transparent;box-shadow:none;cursor:pointer;font:inherit}
.profile-menu-panel a:hover,.profile-menu-panel button:hover,.profile-menu-panel a:focus-visible,.profile-menu-panel button:focus-visible{background:#edf6ff;color:#005abc}
.search-input{min-width:0}.search-input input{min-width:0;width:100%}
@media(max-width:760px){.profile-menu-panel{right:15px}}

.streaming-service-picker { max-height: 320px; overflow-y: auto; padding-right: 10px; margin: 12px 0; }
.streaming-more { border: 0; padding: 4px 0; background: transparent; color: var(--primary, #0875e1); font: inherit; font-size: .85rem; text-align: left; text-decoration: underline; cursor: pointer; }
.streaming-more:focus-visible, .streaming-service-picker:focus-visible { outline: 2px solid #0875e1; outline-offset: 3px; }
