*{box-sizing:border-box}body{margin:0;background:#0b1020;color:#f1f5ff;font:14px system-ui,Arial}button,input,select{font:inherit}button{background:#243353;color:#eef4ff;border:1px solid #3b4c6e;border-radius:8px;padding:9px 12px;cursor:pointer}button:hover,button.active{background:#315bd1}input,select{background:#151f35;color:#fff;border:1px solid #344360;border-radius:8px;padding:10px;min-width:0}header{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px 18px;background:#111b30;border-bottom:1px solid #2c3a54;flex-wrap:wrap}header strong{font-size:20px;color:#7bb2ff}nav,.header-right{display:flex;align-items:center;gap:6px;flex-wrap:wrap}main{display:grid;grid-template-columns:minmax(290px,35%) 1fr;height:calc(100vh - 70px);min-height:500px}aside{border-right:1px solid #31415b;display:flex;flex-direction:column;min-height:0;background:#10192b}.asidehead{padding:16px 14px 10px}.asidehead h2{margin:0 0 12px}.asidehead input{width:100%}#categories{overflow-y:auto;max-height:40%;padding:0 12px 8px}.category{margin:4px 0;border:1px solid #293955;border-radius:8px;overflow:hidden}.category button{display:flex;justify-content:space-between;width:100%;border:0;border-radius:0;text-align:left;background:#1b2a45}.category button.selected{background:#254d9d}.category .sub{padding:5px 10px;color:#aebdd4;font-size:12px}.listhead{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid #30405a;color:#c7d4e8}#items{overflow-y:auto;flex:1;padding:6px 10px 20px}.item{display:flex;align-items:center;gap:12px;padding:8px;border:0;border-bottom:1px solid #263550;border-radius:6px;background:transparent;width:100%;text-align:left}.item:hover,.item.current{background:#253b63}.item img{width:50px;height:62px;object-fit:cover;border-radius:5px;background:#1d2941}.item.live img{width:48px;height:42px;object-fit:contain}.item span{flex:1;overflow-wrap:anywhere}.item small{color:#a7b8d0}.watch{padding:16px;overflow:auto;min-width:0}.playerTop{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.playerTop strong{flex:1;min-width:150px;font-size:17px}.videoWrap{background:#000;aspect-ratio:16/9;width:100%;border-radius:10px;overflow:hidden}video{width:100%;height:100%;display:block}#playstatus{color:#9fb4d5}#detail{padding:12px 0}#detail button{margin:4px}#detail img{max-height:180px;max-width:120px;object-fit:cover;border-radius:7px;float:left;margin:0 14px 12px 0}#detail h2{margin:6px 0 12px}#detail:after{content:'';display:block;clear:both}details{border-top:1px solid #344360;margin-top:15px;padding-top:10px;color:#aabbd6}#login{max-width:580px;margin:28px auto;padding:24px;border:1px solid #33425e;border-radius:12px;background:#142038}#form{display:grid;gap:10px}.formactions{display:flex;gap:8px}#accountList{margin-top:14px} .saved{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #344360;padding:9px 0;gap:10px}.saved span{overflow-wrap:anywhere}.saved button{margin-left:5px}.empty{color:#aabbd6;padding:14px}.classic{background:#e9eef6;color:#142038}.classic header,.classic aside,.classic #login{background:#f8fafc;color:#142038}.classic button{background:#d9e3f1;color:#12243e}.classic .category button{background:#d6e1ef;color:#142038}.classic .item{color:#142038}.classic input,.classic select{background:#fff;color:#142038}@media(max-width:850px){main{grid-template-columns:1fr;height:auto}aside{height:58vh;border-right:0;border-bottom:1px solid #30405a}.watch{min-height:50vh}header{gap:8px}#categories{max-height:30%}}

/* v0.5: accordion categories + film/series poster browser */
main{grid-template-columns:minmax(260px,28%) minmax(0,1fr)}
main.threePane{grid-template-columns:minmax(220px,24%) minmax(240px,32%) minmax(350px,1fr)}
#categories{max-height:none;flex:1;overflow:auto;padding:8px 10px 20px}
.nested{padding:4px 4px 6px 12px;background:#10192b;max-height:55vh;overflow:auto}
.nested .item{padding:6px 4px;font-size:13px}
.nested .item img{width:35px;height:31px}
.browserPanel{border-right:1px solid #31415b;overflow:auto;padding:14px;background:#0d1729;min-width:0}
.browserPanel h2{font-size:16px;margin:0 0 12px}
.browserPanel #items{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;padding:0;overflow:visible}
.browserPanel .item{display:flex;flex-direction:column;align-items:stretch;border:1px solid #263550;padding:6px;text-align:left;gap:7px}
.browserPanel .item img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
.browserPanel .item span{font-size:12px;line-height:1.4}
.trackControls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.trackControls label{display:flex;align-items:center;gap:5px}.trackControls select{max-width:170px;padding:7px}
@media(max-width:1100px){main.threePane{grid-template-columns:minmax(190px,27%) 1fr}.threePane .watch{grid-column:2}.threePane .browserPanel{grid-column:2;grid-row:1;max-height:50vh}.threePane aside{grid-row:1/3}}
@media(max-width:700px){main,main.threePane{display:flex;flex-direction:column;height:auto}aside{height:40vh}.browserPanel{max-height:50vh}.watch{min-height:45vh}}

/* v0.6 themes: palette overrides; existing layouts and player retained */
.themeLabel,.doubleLabel{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}
.doubleLabel input{accent-color:#5c94ff;width:16px;height:16px}
.themeLabel select{max-width:150px;padding:7px}
body.amoled{background:#000;color:#eee}body.amoled header,body.amoled aside,body.amoled .browserPanel,body.amoled .nested,body.amoled #login{background:#080808;border-color:#292929}body.amoled button,body.amoled input,body.amoled select{background:#181818;color:#eee;border-color:#414141}body.amoled .category button{background:#141414;color:#fff}body.amoled .item:hover{background:#282828}
body.emerald{background:#061d1a;color:#e7fff6}body.emerald header,body.emerald aside,body.emerald .browserPanel,body.emerald .nested,body.emerald #login{background:#0c302a;border-color:#256455}body.emerald button,body.emerald input,body.emerald select{background:#145044;color:#fff;border-color:#287968}body.emerald .category button{background:#155044;color:#fff}body.emerald .item:hover{background:#1d6656}
body.purple{background:#160e27;color:#f8f0ff}body.purple header,body.purple aside,body.purple .browserPanel,body.purple .nested,body.purple #login{background:#27183e;border-color:#584078}body.purple button,body.purple input,body.purple select{background:#3d275e;color:#fff;border-color:#7454a2}body.purple .category button{background:#392357;color:#fff}body.purple .item:hover{background:#50366f}
body.sunset{background:#251414;color:#fff1e9}body.sunset header,body.sunset aside,body.sunset .browserPanel,body.sunset .nested,body.sunset #login{background:#3b2227;border-color:#81514b}body.sunset button,body.sunset input,body.sunset select{background:#66353b;color:#fff;border-color:#a66b57}body.sunset .category button{background:#62363d;color:#fff}body.sunset .item:hover{background:#7b474b}
body.classic .browserPanel,body.classic .nested{background:#f2f6fb;color:#142038}body.classic .item:hover{background:#c8d8ee}body.classic .themeLabel,body.classic .doubleLabel{color:#142038}

.subtitleTools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:12px;background:var(--panel,#182136);border-radius:10px;margin:10px 0;font-size:13px}.subtitleTools button,.subFile{cursor:pointer;border:1px solid #64748b;border-radius:7px;padding:7px;background:#22314b;color:white}.subFile input{display:none}.subtitleTools input[type=number]{padding:5px;border-radius:5px}.subtitleTools #subtitleStatus{width:100%;opacity:.85}

.subResults{display:flex;flex-direction:column;gap:6px;width:100%;max-height:220px;overflow:auto}.subResult{display:flex;align-items:center;gap:7px;border:1px solid #48566e;border-radius:7px;padding:6px}.subResult span{flex:1;overflow-wrap:anywhere}.subtitleTools input[type=color]{padding:2px;width:42px;height:32px}.subtitleTools input[type=range]{width:95px}.subtitleTools label{display:inline-flex;align-items:center;gap:5px}

.videoWrap{position:relative}#subtitleOverlay{position:absolute;bottom:12%;left:4%;width:92%;text-align:center;white-space:pre-line;pointer-events:none;line-height:1.35;font-weight:600;text-shadow:2px 2px 4px #000,-2px -2px 4px #000,0 0 7px #000;overflow-wrap:anywhere}
.stabilityTools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px;background:var(--panel,#152039);border-radius:8px;margin:8px 0}.stabilityTools label{display:flex;align-items:center;gap:5px}.stabilityTools select{max-width:90px}.stabilityTools #recoveryInfo{font-size:12px;opacity:.8}

/* v1.2.6: Search directly to the left of Live TV / Movies / Series tabs */
.topSearch{flex:0 1 270px;min-width:180px}.topSearch input{width:100%;padding:9px 12px}.asidehead{padding-bottom:12px}@media(max-width:950px){header{justify-content:flex-start}.topSearch{order:1;flex:1 1 240px}header nav{order:2}.header-right{order:3;width:100%}}

/* v1.2.7: content tabs to the left of search; preferences in a dropdown */
header{flex-wrap:nowrap;justify-content:space-between;gap:18px;position:relative;z-index:5}
.header-center{display:flex;align-items:center;gap:14px;flex:1;min-width:0;justify-content:center}
.header-center nav{display:flex;flex-wrap:nowrap;gap:6px;flex-shrink:0}
.header-center .topSearch{flex:1 1 260px;max-width:390px;min-width:160px;order:unset}
.header-right{width:auto;flex-shrink:0;order:unset}
.settingsMenu{border:0;margin:0;padding:0;position:relative;color:inherit}
.settingsMenu>summary{list-style:none;cursor:pointer;background:#243353;border:1px solid #3b4c6e;border-radius:8px;padding:10px 14px;color:#eef4ff;white-space:nowrap}
.settingsMenu>summary::-webkit-details-marker{display:none}
.settingsMenu[open]>summary{background:#315bd1}
.settingsPanel{position:absolute;right:0;top:calc(100% + 8px);width:min(320px,90vw);padding:16px;display:flex;flex-direction:column;gap:12px;background:#142038;border:1px solid #3b4c6e;border-radius:12px;box-shadow:0 12px 36px #0009;z-index:20}
.settingsPanel>label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.settingsPanel select{max-width:200px}
.settingsPanel .doubleLabel{justify-content:flex-start}
@media(max-width:1080px){header{flex-wrap:wrap}.header-center{order:3;flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}.header-right{margin-left:auto}.header-center .topSearch{max-width:none}}
@media(max-width:560px){.header-center nav{flex-wrap:wrap}.header-center .topSearch{flex-basis:100%}}

/* v1.2.8: tabs beside section title; search within package header; player immediately visible */
header{padding:8px 14px;min-height:48px}
.header-center{display:none}
.asidehead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 8px;flex-wrap:wrap}
.asidehead h2{margin:0;font-size:19px;white-space:nowrap}
.asidehead nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.asidehead nav button{padding:7px 8px;font-size:12px;white-space:nowrap}
.listhead{gap:8px;padding:8px 10px;flex-wrap:nowrap}
.listhead #count{white-space:nowrap;font-size:12px}
.listhead .topSearch{min-width:0;flex:1 1 auto;max-width:none;order:unset}
.listhead .topSearch input{width:100%;padding:7px 8px;font-size:12px}
.listhead #collapse{padding:7px 8px;white-space:nowrap;font-size:12px}
.watch{padding:9px 10px}
.playerTop{margin-bottom:4px;min-height:22px}
.playerTop strong{font-size:14px}
.playerTools{margin:0 0 5px;padding:0;border:0;background:#18243c;border-radius:7px}
.playerTools>summary{cursor:pointer;list-style:none;padding:6px 10px;font-size:12px;color:#c4d7fa}
.playerTools>summary::-webkit-details-marker{display:none}
.playerToolsBody{padding:4px 8px 8px;max-height:40vh;overflow:auto}
.playerQuickActions{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0}
.playerQuickActions button,.playerQuickActions select{padding:6px 8px}
.videoWrap{margin-top:0}
main{height:calc(100vh - 50px)}
@media(max-width:1100px){.asidehead nav button{font-size:11px;padding:6px}.listhead #collapse{font-size:11px}}

.videoContextMenu[hidden]{display:none!important}.videoContextMenu{position:fixed;z-index:99999;min-width:230px;max-width:min(330px,92vw);max-height:85vh;overflow:auto;padding:6px;background:#17243b;color:#f1f5ff;border:1px solid #53627b;border-radius:9px;box-shadow:0 12px 35px #0009}.contextHeading{font-size:11px;font-weight:700;color:#aabbd6;padding:8px 9px 4px;border-top:1px solid #3a4b66}.contextHeading:first-child{border-top:0}.videoContextMenu .contextAction{display:block;text-align:left;width:100%;border:0;border-radius:5px;padding:7px 9px;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:12px}.videoContextMenu .contextAction:hover,.videoContextMenu .contextAction:focus{background:#304a78}.videoContextMenu .contextAction:disabled{opacity:.42;cursor:not-allowed}

/* v1.3.0: film/dizi afisleri orta panelde bes sutun */
@media(min-width:1101px){main.threePane{grid-template-columns:minmax(205px,23%) minmax(390px,37%) minmax(330px,1fr)}.browserPanel #items{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.browserPanel{padding:9px}.browserPanel .item{padding:4px;min-width:0}.browserPanel .item span{font-size:11px;overflow-wrap:anywhere}}

/* v1.3.6: player settings below video, synopsis below poster */
.watch .videoWrap{margin-bottom:6px}
.watch .playerTools{margin:4px 0 8px}
#detail .movieSynopsis{clear:both;padding-top:8px;max-width:850px}
#detail .moviePlot{line-height:1.55;white-space:pre-line;margin:6px 0;color:inherit}
#detail .movieFacts{color:#9fb4d5;font-size:12px;margin:6px 0 10px}
#detail .movieSynopsis[hidden]{display:none}

/* v1.3.8: scrollable right-click menu, including many subtitle tracks */
.videoContextMenu{box-sizing:border-box;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y;}
.videoContextMenu .contextAction{min-height:32px;}

/* v1.5.8: compact, single-location player controls */
.compactPlayerBar{background:#18243c;border:1px solid #2a3c5a;border-radius:8px;padding:6px 8px;margin:5px 0 6px;display:grid;gap:5px}
.compactTop{display:flex;align-items:center;gap:6px;min-width:0}
#primaryPlaySlot:empty{display:none}
#compactActions{flex:1;min-width:0}
#compactActions .playerQuickActions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0}
.compactPlayerBar button,.compactPlayerBar select{padding:5px 8px;font-size:12px;min-height:29px}
.compactPlayerBar .primaryPlay{background:#2b60b7;border-color:#4d80d1;font-weight:700;white-space:nowrap}
#compactTracks .trackControls{margin:0;gap:6px}
#compactTracks .trackControls label{font-size:12px;gap:4px}
#compactTracks .trackControls select{max-width:140px;padding:5px}
#refreshTracks[hidden]{display:none!important}
#compactStability{margin:0;padding:0;border:0}
#compactStability>summary{display:inline-block;cursor:pointer;font-size:11px;color:#a8bddc;padding:3px 6px;list-style:none;border:1px solid #354766;border-radius:5px}
#compactStability>summary::-webkit-details-marker{display:none}
#compactStability .stabilityTools{padding:6px 2px 2px;margin:3px 0 0;background:transparent;gap:7px;font-size:12px}
#compactStability .stabilityTitle{display:none}
#compactStability .stabilityTools label{gap:4px}
#compactStability #recoveryInfo{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.playerToolsBody{max-height:34vh}
.playerToolsBody .subtitleTools{margin:5px 0;padding:8px;gap:6px}
.playerToolsBody .subtitleTools button{padding:5px 7px}
#detail button{font-size:12px;padding:6px 9px}
@media(max-width:750px){.compactTop{flex-wrap:wrap}#compactActions{flex-basis:100%}}

#subSyncInfo{font-size:11px;color:#b5c8e5;flex-basis:100%}#subSyncMark,#subSyncReset{white-space:nowrap}

/* v1.6.0: favori yıldızı ve dizi bölüm görünümü */
.browserPanel .item{position:relative;overflow:hidden;padding-bottom:35px!important}
.posterFavorite{position:absolute;bottom:4px;left:4px;right:4px;min-height:28px;display:flex;align-items:center;justify-content:center;background:#293c61;color:#fff;border:1px solid #6984b5;border-radius:6px;font-size:12px;font-weight:700;z-index:2;cursor:pointer}
.posterFavorite:hover,.posterFavorite:focus,.posterFavorite.isFavorite{background:#73542b;color:#fff0b0;outline:2px solid #e9b85d}
.browserPanel.seriesDrilldown #items{display:block!important}
.seriesNavigation{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.seriesNavigation button{font-size:14px;font-weight:700;padding:10px 13px}
.seriesNavigation strong{font-size:16px}
.seasonGroup{margin:8px 0;border:1px solid #435777;border-radius:9px;background:#18253f;padding:9px}
.seasonGroup>summary{font-size:15px;font-weight:700;cursor:pointer;padding:6px}
.episodeGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:10px}
.episodeButton{min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere}

/* PotPlayer active placeholder */
#potPlayerNotice:not([hidden]){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:240px;aspect-ratio:16/9;background:#0b111e;color:#e6ecf7;text-align:center;padding:20px;box-sizing:border-box;border-radius:8px}#potPlayerNotice span{font-size:13px;color:#aab9ce}#video[hidden]{display:none!important}

/* Latest server additions in the right-hand watch panel */
.recentPanel[hidden]{display:none!important}.recentPanel{margin:10px 0;padding:9px;border:1px solid #384765;border-radius:9px;background:rgba(13,24,43,.6)}
.recentPanel h3{font-size:13px;margin:0 0 9px}.recentItems{max-height:290px;overflow-y:auto;display:grid;gap:5px}.recentEntry{display:flex;align-items:center;gap:8px;text-align:left;padding:5px;border:1px solid #394b68;border-radius:6px;background:rgba(40,59,87,.5);color:inherit;cursor:pointer;width:100%}.recentEntry:hover{background:rgba(70,94,130,.7)}.recentEntry img{width:36px;height:48px;object-fit:cover;border-radius:4px}.recentEntry span{display:grid;gap:3px;min-width:0}.recentEntry strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentEntry small,.recentEmpty{font-size:11px;color:#b1c0d9}

/* Player controls above the video; reduce bottom panel height. */
.playerTop{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:34px}
#topPlayerControls{flex:1;min-width:0;display:flex;justify-content:flex-end}
#topPlayerControls .compactPlayerBar{width:auto;max-width:100%;margin:0;padding:3px 5px;border:0;background:transparent;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
#topPlayerControls .compactTop,#topPlayerControls #compactActions .playerQuickActions{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
#topPlayerControls #compactTracks{display:flex;gap:4px;align-items:center}
#topPlayerControls #compactStability{display:none}
#topPlayerControls button,#topPlayerControls select{padding:3px 5px;min-height:25px;font-size:11px}
.watch .videoWrap{margin-bottom:3px}
.settingsPanel .streamPrefs{display:grid;gap:7px;padding:9px 2px;border-top:1px solid #44546b;max-width:270px}
.settingsPanel .streamPrefs small{font-size:11px;line-height:1.4;opacity:.8}
@media(max-width:850px){.playerTop{align-items:flex-start}#topPlayerControls{justify-content:flex-start}.playerTop strong{width:100%}}

/* Header controls: single horizontal row aligned with Ayarlar. */
header{flex-wrap:nowrap!important;gap:10px!important;padding:5px 10px!important;min-height:44px!important}
header>strong{flex:0 0 auto;font-size:15px!important;white-space:nowrap}
header .header-center{flex:1 1 auto;min-width:0;display:flex;justify-content:flex-end;align-items:center;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
header .header-right{flex:0 0 auto;white-space:nowrap}
header .header-center .compactPlayerBar{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
header .header-center .compactTop,header .header-center #compactActions .playerQuickActions,header .header-center #compactTracks,header .header-center .trackControls{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important}
header .header-center #compactActions{flex:0 0 auto!important}
header .header-center #compactActions .playerQuickActions>*{flex:0 0 auto!important;white-space:nowrap!important}
header .header-center #compactTracks label{display:inline-flex!important;align-items:center!important;gap:4px!important;white-space:nowrap!important;font-size:11px!important}
header .header-center button,header .header-center select{min-height:26px!important;padding:3px 5px!important;font-size:11px!important;white-space:nowrap!important}
header .header-center #compactStability{display:none!important}
header .header-center #primaryPlaySlot:empty{display:none!important}
#topPlayerControls:empty{display:none!important}
.playerTop{min-height:0!important;margin-bottom:5px!important}
main{height:calc(100vh - 44px)!important}
@media(max-width:900px){header>strong{font-size:12px!important}header{gap:5px!important;padding:4px 6px!important}}


/* v5: Oynatıcı yazısının hemen sağından başlayan tek satır kontroller */
body,button,input,select,textarea{font-family:var(--worldpay-ui-font,system-ui,Arial,sans-serif)!important}
.playerTop{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:36px!important;margin-bottom:4px!important;overflow:visible!important}
.playerTop>strong{flex:0 0 auto!important;width:auto!important;white-space:nowrap!important}
#topPlayerControls{display:flex!important;flex:1 1 auto!important;min-width:0!important;justify-content:flex-start!important;align-items:center!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
#topPlayerControls .compactPlayerBar{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#topPlayerControls .compactTop,#topPlayerControls #compactActions .playerQuickActions,#topPlayerControls #compactTracks,#topPlayerControls .trackControls{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important}
#topPlayerControls #compactActions{flex:0 0 auto!important}
#topPlayerControls #compactActions .playerQuickActions>*{flex:0 0 auto!important;white-space:nowrap!important}
#topPlayerControls #compactTracks label{display:inline-flex!important;align-items:center!important;gap:4px!important;white-space:nowrap!important;font-size:11px!important}
#topPlayerControls button,#topPlayerControls select{min-height:26px!important;padding:3px 5px!important;font-size:11px!important;white-space:nowrap!important}
#topPlayerControls #compactStability{display:none!important}
header .header-center:empty{display:none!important}

/* Üst çubuk: kontroller sağ panelin Oynatıcı başlığı sol kenarından başlar */
header{position:relative!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;min-height:44px!important;padding:4px 10px!important;gap:8px!important}
header>strong{flex:0 0 auto!important;white-space:nowrap!important}
header .header-center{position:absolute!important;left:calc(35% + 16px)!important;right:86px!important;top:50%!important;transform:translateY(-50%)!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important}
header .header-right{margin-left:auto!important;flex:0 0 auto!important;z-index:2!important}
header .header-center .compactPlayerBar{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;width:max-content!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
header .header-center .compactTop,header .header-center #compactActions .playerQuickActions,header .header-center #compactTracks,header .header-center .trackControls{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important}
header .header-center #compactActions{flex:0 0 auto!important}
header .header-center .playerQuickActions>*{flex:0 0 auto!important;white-space:nowrap!important}
header .header-center label{display:inline-flex!important;align-items:center!important;gap:3px!important;white-space:nowrap!important;font-size:11px!important}
header .header-center button,header .header-center select{min-height:26px!important;padding:3px 5px!important;font-size:11px!important;white-space:nowrap!important}
header .header-center #compactStability{display:none!important}
#topPlayerControls:empty{display:none!important}
@media(max-width:1100px){header .header-center{left:calc(35% + 10px)!important}}

.qualityFamilyControls{display:inline-flex;align-items:center;gap:5px;min-width:0;margin-left:5px}
.qualityFamilyControls[hidden]{display:none!important}
.qualityFamilyControls select{max-width:175px;min-width:115px;font-size:11px;padding:4px}
.qualityFamilyState{font-size:10px;color:#a8bddc;white-space:nowrap}

/* Hesap yonetimi: kompakt kartlar ve geri donus */
#accountList{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:16px}
#accountList .accountCard{display:flex;flex-direction:column;gap:12px;align-items:stretch;padding:14px;border:1px solid #344765;border-radius:14px;background:rgba(112,145,207,.09);min-width:0}
#accountList .activeAccount{border-color:#5d88eb;background:rgba(60,100,194,.15)}
.accountIdentity{display:flex;align-items:center;gap:11px;min-width:0}
.accountBadge{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(86,124,205,.22);flex-shrink:0;font-size:22px}
.accountDescription{display:flex;flex-direction:column;gap:4px;min-width:0}
.accountDescription strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.accountDescription small{font-size:11px;color:#aabbd7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.accountActive{font-size:10px;color:#a6d4ff}
.accountActions{display:flex;gap:8px;justify-content:flex-end}
.accountActions button{font-size:12px;padding:7px 11px}
.backToPlayer{margin-top:14px;padding:10px 16px}

.loadMoreRecent{display:block;width:calc(100% - 16px);margin:12px 8px 20px;padding:13px 10px;border:1px solid #6079a5;border-radius:8px;background:#243c67;color:#fff;font-weight:600;cursor:pointer;grid-column:1/-1}
.loadMoreRecent:hover{background:#33558b}

.scanStatus{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;font-size:12px;color:#b5caeb}.scanStatus[hidden]{display:none!important}.scanStatus button{background:#2d4b80;color:white;border:1px solid #6580a9;border-radius:6px;padding:5px 9px;cursor:pointer}

.accountActions .accountEdit{border-color:#6489c3;background:#233b63;color:#fff}
.accountActions .accountEdit:hover{background:#31558b}

.homeNav{margin-left:18px;background:#1f2a43;color:#f4c25d;border:1px solid #455676;border-radius:7px;padding:8px 14px;cursor:pointer}
.cinemaHome[hidden]{display:none!important}.cinemaHome{background:#101016;color:#fff;min-height:calc(100vh - 46px);height:calc(100vh - 46px);overflow:auto;font-family:Arial,sans-serif}
.cinemaHome .homeHero{height:460px;min-height:340px;background-color:#252a34;background-size:cover;background-position:center 25%;display:flex;align-items:center}
.heroShade{padding:40px 4%;max-width:740px;text-shadow:0 2px 8px #000}.homeEyebrow{font-size:12px;color:#e6bd63;letter-spacing:2px;font-weight:700}
.heroShade h1{font-size:clamp(30px,4vw,56px);line-height:1.1;margin:14px 0}.heroShade p{font-size:15px;line-height:1.5;max-width:580px}
.homeHeroActions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.homeHeroActions button,.homeRowHead button{background:#f4f4f5;color:#111;border:0;border-radius:5px;padding:11px 17px;font-weight:bold;cursor:pointer}.homeHeroActions button:not(:first-child){background:#3d4047;color:white}
.homeRows{padding:14px 24px 40px}.homeRowHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.homeRowHead h2{font-size:21px}.homeRowHead button{background:#292f42;color:#fff;font-size:12px}
.homeStatus,.homeNote{color:#a7abb9;font-size:12px}.homePosters{display:flex;overflow-x:auto;gap:14px;padding:10px 0 24px;min-height:130px}.homePoster{flex:0 0 150px;min-width:150px;background:transparent;border:0;color:white;text-align:left;cursor:pointer;padding:0}.homePoster img{width:150px;height:215px;object-fit:cover;border-radius:7px}.homePoster span{display:block;font-weight:bold;font-size:13px;margin:7px 0 3px}.homePoster small{color:#b5bbc8}
body.cinemaActive main{display:none!important}

/* v5 Sinema gezinme: ana sayfa, TV, filmler, diziler, favoriler ve ayarlar */
header{gap:10px!important;min-height:58px!important;background:linear-gradient(100deg,#0c1425,#151522 65%,#191622)!important}
header>strong{font-size:16px!important;white-space:nowrap}
.cinemaNav{display:flex;gap:6px;align-items:center;flex:0 0 auto;min-width:0}
.cinemaNavBtn,.homeNav{margin:0!important;display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:9px 11px!important;min-height:35px;background:linear-gradient(180deg,#26314a,#172034)!important;border:1px solid #3b4761!important;border-radius:13px!important;color:#e7efff!important;font-weight:650;font-size:12px;white-space:nowrap;cursor:pointer;box-shadow:0 3px 9px #0003}
.cinemaNavBtn span{font-size:19px;color:#78a9ff;line-height:1}
.cinemaNavBtn[data-top-view="fav"] span{color:#ff6d9a}.cinemaNavBtn[data-top-view="live"] span{color:#ff6c8e}.cinemaNavBtn[data-top-view="series"] span{color:#c39aff}
.cinemaNavBtn:hover,.cinemaNavBtn.navSelected{background:linear-gradient(145deg,#2364e5,#183c8e)!important;border-color:#5294ff!important;box-shadow:0 0 17px #347dff55}
header .header-center{left:auto!important;right:102px!important;width:min(42vw,640px)!important;z-index:0!important}
header .header-right{z-index:3!important}
.settingsMenu>summary{list-style:none;display:flex;align-items:center;gap:7px;border:1px solid #455777;border-radius:13px;background:linear-gradient(180deg,#26314a,#18243a);padding:9px 12px;font-weight:700;cursor:pointer;white-space:nowrap}
.settingsMenu>summary::-webkit-details-marker{display:none}.settingsMenu>summary .navIcon{font-size:18px;color:#c9d7ff}
.settingsMenu[open]>summary{background:#2656a4;border-color:#7ca8f7}
.settingsPanel{z-index:100!important;box-shadow:0 18px 40px #0009;border-radius:14px!important}
.heroAutoStatus{font-size:12px;color:#d6e3ff;align-self:center;background:#121c30aa;padding:7px 10px;border-radius:20px}
.cinemaHome .homeHero{transition:background-image .45s ease;min-height:380px}
@media(max-width:1480px){.cinemaNavBtn{padding:8px!important;font-size:11px}header>strong{font-size:13px!important}header .header-center{width:min(30vw,430px)!important}}
@media(max-width:1050px){header{flex-wrap:wrap!important;height:auto!important}header .header-center{position:relative!important;transform:none!important;top:auto!important;right:auto!important;width:100%!important;order:4!important}.cinemaNav{overflow-x:auto;max-width:calc(100vw - 180px)}main{height:calc(100vh - 90px)!important}}

/* Ust cubuk: ayarlar sol, marka tam orta, gezinme markanin altinda degil ayni ust bantta */
header{display:grid!important;grid-template-columns:minmax(85px,1fr) auto minmax(85px,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:3px 12px!important;padding:7px 16px!important;min-height:92px!important}
header .header-right{grid-column:1!important;grid-row:1!important;justify-self:start!important;margin:0!important;z-index:12!important}
header .worldBrand{grid-column:2!important;grid-row:1!important;justify-self:center!important;text-align:center!important;font-size:clamp(22px,2.5vw,32px)!important;line-height:1.12!important;letter-spacing:1.4px!important;color:#f6d48d!important;text-shadow:0 0 18px rgba(255,191,73,.25)!important}
header .worldBrand small{display:block;font-size:9px;letter-spacing:2px;font-weight:600;color:#a9bfe6;margin-top:4px}
header .cinemaNav{grid-column:1/4!important;grid-row:2!important;justify-self:center!important;display:flex!important;gap:8px!important;justify-content:center!important;flex-wrap:wrap!important;max-width:100%!important;margin:0!important}
header .header-center{grid-column:3!important;grid-row:1!important;position:static!important;transform:none!important;left:auto!important;right:auto!important;top:auto!important;justify-self:end!important;max-width:100%!important;z-index:1!important}
header .settingsPanel{z-index:100!important}
header .homeNav{margin-left:0!important}
.cinemaHome{height:calc(100vh - 98px)!important}
main{height:calc(100vh - 98px)!important}
.homeLiveChannels .homeLiveCard{flex-basis:145px;min-width:145px;background:rgba(38,49,72,.7);border:1px solid #344c70;border-radius:12px;padding:10px}
.homeLiveChannels .homeLiveCard img{width:100%;height:92px;object-fit:contain;background:#151d2b;border-radius:9px}
.homeLiveChannels .homeLiveCard span{text-align:center}
@media(max-width:700px){header{grid-template-columns:75px 1fr 75px!important;padding:7px!important}header .worldBrand{font-size:20px!important}header .worldBrand small{font-size:7px!important;letter-spacing:.5px!important}header .cinemaNav{gap:3px!important}}

/* UST MENU v5.1: Ayarlar | Ana Sayfa..Favoriler | WORLDPAY | HLS.. */
header{
 display:grid!important;
 grid-template-columns:max-content max-content minmax(145px,1fr) minmax(0,48vw)!important;
 grid-template-rows:minmax(48px,auto)!important;
 align-items:center!important;column-gap:10px!important;row-gap:0!important;
 padding:5px 12px!important;min-height:56px!important;
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 overflow:visible!important;
}
header .header-right{grid-column:1!important;grid-row:1!important;justify-self:start!important;min-width:0!important}
header .cinemaNav{
 grid-column:2!important;grid-row:1!important;justify-self:start!important;
 display:flex!important;flex-wrap:nowrap!important;gap:5px!important;
 max-width:none!important;overflow:visible!important;
}
header .cinemaNavBtn{padding:8px 9px!important;font-size:11px!important;min-height:34px!important}
header .cinemaNavBtn span{font-size:16px!important}
header .worldBrand{
 grid-column:3!important;grid-row:1!important;justify-self:center!important;
 align-self:center!important;margin:0!important;min-width:0!important;
 text-align:center!important;font-size:clamp(17px,1.5vw,25px)!important;
 white-space:nowrap!important;letter-spacing:.4px!important;
}
header .worldBrand small{font-size:8px!important;letter-spacing:.7px!important}
header .header-center{
 grid-column:4!important;grid-row:1!important;justify-self:stretch!important;
 display:flex!important;position:relative!important;left:auto!important;right:auto!important;
 top:auto!important;transform:none!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 overflow-x:auto!important;overflow-y:hidden!important;
 scrollbar-width:none!important;scrollbar-color:transparent transparent!important;
 align-items:center!important;justify-content:flex-start!important;
 z-index:1!important;
}
header .header-center::-webkit-scrollbar{display:none!important;height:0!important}
header .header-center .compactPlayerBar{flex:0 0 max-content!important}
header .header-center button,header .header-center select{font-size:10px!important;padding:5px 6px!important}
header .settingsPanel{z-index:999!important}
html,body{max-width:100%;overflow-x:hidden}
.cinemaHome{height:calc(100vh - 56px)!important}
main{height:calc(100vh - 56px)!important}
@media(max-width:1550px){
 header{grid-template-columns:max-content max-content minmax(105px,1fr) minmax(0,39vw)!important;column-gap:6px!important;padding:5px 8px!important}
 header .cinemaNavBtn{font-size:10px!important;padding:7px!important;gap:4px!important}
 header .worldBrand{font-size:17px!important}
 header .worldBrand small{font-size:7px!important}
}
@media(max-width:1130px){
 header{grid-template-columns:max-content minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto!important;row-gap:6px!important}
 header .header-right{grid-column:1!important;grid-row:1!important}
 header .cinemaNav{grid-column:2/4!important;grid-row:1!important;justify-self:start!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}
 header .worldBrand{grid-column:1/3!important;grid-row:2!important;justify-self:center!important}
 header .header-center{grid-column:3!important;grid-row:2!important}
 .cinemaHome{height:calc(100vh - 100px)!important}
 main{height:calc(100vh - 100px)!important}
}

header .settingsMenu{position:relative!important;z-index:1500!important}
header .settingsPanel{position:fixed!important;top:65px!important;left:12px!important;right:auto!important;width:min(355px,calc(100vw - 24px))!important;max-height:calc(100dvh - 78px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;box-sizing:border-box!important;z-index:2000!important;scrollbar-width:thin!important;scrollbar-color:#7899c7 #17243a!important}
header:has(.settingsMenu[open]){z-index:1000!important}
.homeRowActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.homeRowActions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(145deg,#263f71,#182a4a)!important;border:1px solid #5679b5!important;border-radius:999px!important;color:#f3f7ff!important;padding:10px 16px!important;box-shadow:inset 0 1px #ffffff20,0 5px 18px #0005!important;font-weight:700!important;transition:filter .15s,transform .15s!important}
.homeRowActions button:hover{filter:brightness(1.3);transform:translateY(-1px)}
.homeRowActions button:last-child{background:linear-gradient(145deg,#51418b,#24355d)!important;border-color:#8d77dc!important}
.homeRowHead h2{display:flex;align-items:center;gap:8px;font-size:22px!important;text-shadow:0 2px 8px #0009}
@media(max-width:700px){.homeRowHead{align-items:flex-start;flex-direction:column}.homeRowActions button{padding:8px 12px!important}}

/* WORLDPAY 5 - büyük marka ve modern kaydırma alanları */
header .worldBrand{font-size:clamp(23px,1.95vw,32px)!important;font-weight:900!important;line-height:1.08!important;letter-spacing:.65px!important;text-shadow:0 2px 12px #f0b65b35!important}
header .worldBrand small{font-size:8px!important;line-height:1.5!important;letter-spacing:1.05px!important}
/* Dar ekranlarda marka alanına yer açarken kontrol düğmelerini kapatma. */
@media (min-width:1131px) and (max-width:1550px){header .worldBrand{font-size:clamp(20px,1.55vw,25px)!important}}
/* Canlı TV / Film / Dizi listeleri ve ana sayfadaki yatay afiş sıraları */
#categories,#items,.nested,.browserPanel,.homePosters,.homeLiveChannels,main aside,main .browserPanel{scrollbar-width:thin;scrollbar-color:#7099db #111d33;scroll-behavior:smooth}
#categories::-webkit-scrollbar,#items::-webkit-scrollbar,.nested::-webkit-scrollbar,.browserPanel::-webkit-scrollbar,.homePosters::-webkit-scrollbar,.homeLiveChannels::-webkit-scrollbar,main aside::-webkit-scrollbar{width:9px;height:9px}
#categories::-webkit-scrollbar-track,#items::-webkit-scrollbar-track,.nested::-webkit-scrollbar-track,.browserPanel::-webkit-scrollbar-track,.homePosters::-webkit-scrollbar-track,.homeLiveChannels::-webkit-scrollbar-track,main aside::-webkit-scrollbar-track{background:#111d33;border-radius:99px;border:2px solid #0b1425}
#categories::-webkit-scrollbar-thumb,#items::-webkit-scrollbar-thumb,.nested::-webkit-scrollbar-thumb,.browserPanel::-webkit-scrollbar-thumb,.homePosters::-webkit-scrollbar-thumb,.homeLiveChannels::-webkit-scrollbar-thumb,main aside::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#85b5ff,#355f9f);border:2px solid #111d33;border-radius:99px;min-height:32px}
#categories::-webkit-scrollbar-thumb:hover,#items::-webkit-scrollbar-thumb:hover,.nested::-webkit-scrollbar-thumb:hover,.browserPanel::-webkit-scrollbar-thumb:hover,.homePosters::-webkit-scrollbar-thumb:hover,.homeLiveChannels::-webkit-scrollbar-thumb:hover,main aside::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#b2d0ff,#4e82c9)}
#categories::-webkit-scrollbar-corner,#items::-webkit-scrollbar-corner,.homePosters::-webkit-scrollbar-corner{background:#111d33}

/* Daha hızlı ilk görünüm: resimlerin yüklenmesi yerleşimi değiştirmesin. */
.homePoster img{content-visibility:auto;object-fit:cover;background:#15223a}
.homePoster{contain:layout style}

/* Player toolbar - larger legible neon buttons, functional IDs unchanged */
#compactActions .playerQuickActions, .compactPlayerBar .playerQuickActions, .header-center .playerQuickActions{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important}
#compactActions button,#compactActions select,.compactPlayerBar button,.compactPlayerBar select,.header-center .playerQuickActions button,.header-center .playerQuickActions select{
 font-family:inherit!important;font-size:12px!important;font-weight:700!important;letter-spacing:.05px!important;
 min-height:36px!important;padding:7px 10px!important;border-radius:12px!important;
 color:#f7faff!important;background:linear-gradient(160deg,#263d68,#111d37 85%)!important;
 border:1px solid #5473a8!important;box-shadow:inset 0 1px 0 #ffffff25,0 3px 8px #0005!important;
 white-space:nowrap!important;transition:filter .18s,transform .18s,box-shadow .18s!important;
}
#compactActions button:hover,.compactPlayerBar button:hover,.header-center .playerQuickActions button:hover{filter:brightness(1.22)!important;transform:translateY(-1px)!important;box-shadow:0 4px 13px #3b82f650!important}
#openPotPlayer{background:linear-gradient(160deg,#145c49,#0b272c)!important;border-color:#32c994!important}
#openVlc{background:linear-gradient(160deg,#68401b,#302015)!important;border-color:#e8a145!important}
#openMpv{background:linear-gradient(160deg,#563276,#241737)!important;border-color:#b47ce4!important}
#openBrowser{background:linear-gradient(160deg,#1d5594,#102d52)!important;border-color:#5ca8ff!important}
#fullscreen{background:linear-gradient(160deg,#146b6c,#103337)!important;border-color:#38d7c6!important}
#retry{border-color:#8aa5d0!important}
#streamFormat{border-color:#9c7cff!important;min-width:85px!important}
#trackControls,.compactPlayerBar .trackControls{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important}
#trackControls label,.compactPlayerBar .trackControls label{font-size:12px!important;font-weight:700!important;white-space:nowrap!important;color:#dfeaff!important;gap:6px!important}
#trackControls select{font-size:12px!important;min-height:36px!important;max-width:150px!important}
#subtitleSelect{border-color:#e7b84d!important}
#compactActions,#compactTracks,.header-center{scrollbar-width:none!important}
#compactActions::-webkit-scrollbar,#compactTracks::-webkit-scrollbar,.header-center::-webkit-scrollbar{height:0!important;display:none!important}
@media(max-width:1500px){#compactActions button,.compactPlayerBar button,.header-center .playerQuickActions button{font-size:11px!important;padding:6px 8px!important;min-height:34px!important}#trackControls label{font-size:11px!important}}

/* v5: Logo kaldırıldı, sağ oynatıcı araçları sola alındı. */
header{display:grid!important;grid-template-columns:max-content max-content minmax(0,1fr)!important;grid-template-rows:auto!important;column-gap:9px!important;align-items:center!important;min-width:0!important;box-sizing:border-box!important;padding:5px 10px!important;overflow:visible!important}
header .worldBrand{display:none!important}
header .header-right{grid-column:1!important;grid-row:1!important}
header .cinemaNav{grid-column:2!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;max-width:100%!important;min-width:0!important;justify-self:start!important}
header .header-center{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-self:stretch!important;justify-content:flex-start!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important;scrollbar-width:none!important}
header .header-center::-webkit-scrollbar{display:none!important;height:0!important}
header .header-center .compactPlayerBar{flex:0 0 max-content!important}
@media(max-width:1130px){header{grid-template-columns:max-content minmax(0,1fr)!important;grid-template-rows:auto auto!important}header .header-right{grid-column:1!important;grid-row:1!important}header .cinemaNav{grid-column:2!important;grid-row:1!important;overflow-x:auto!important;scrollbar-width:none!important}header .header-center{grid-column:1/3!important;grid-row:2!important}header .header-center button{font-size:11px!important}}

/* Ana sayfa: sağlayıcı/hesap adı daha belirgin */
.homeEyebrow{font-size:clamp(16px,1.35vw,22px)!important;letter-spacing:1.1px!important;font-weight:850!important;line-height:1.35!important;display:block!important;text-shadow:0 2px 10px #000b!important}
#homeProviderName{color:#ffda86!important}

#homeComing .homePoster{border-color:#6d537f}#homeComing .homePoster:hover{border-color:#c49bf1;box-shadow:0 0 18px #b47aff30}

/* Ana sayfada iç kaydırma yerine tarayıcının ana sayfa kaydırmasını kullan. */
html{height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
body{height:auto!important;min-height:100vh!important;overflow-y:visible!important;overflow-x:hidden!important}
#cinemaHome.cinemaHome,#cinemaHome.cinemaHome:not([hidden]){height:auto!important;min-height:calc(100vh - 56px)!important;max-height:none!important;overflow:visible!important;overflow-x:clip!important;scrollbar-width:auto!important}
#cinemaHome .homeRows{height:auto!important;max-height:none!important;overflow:visible!important}
#cinemaHome::-webkit-scrollbar{display:none!important}

/* Ana sayfa afiş geçişinde ve liste yüklenirken kaydırma konumunu sabitle. */
html{overflow-anchor:none!important;scrollbar-gutter:stable!important}
body{overflow-anchor:none!important}
#cinemaHome{overflow-anchor:none!important}
#cinemaHome .homeHero{
 height:clamp(400px,36vw,540px)!important;min-height:0!important;max-height:540px!important;
 box-sizing:border-box!important;overflow:hidden!important;
 background-position:center center!important;background-repeat:no-repeat!important;
 background-size:cover!important;flex-shrink:0!important;
}
#cinemaHome .heroShade{box-sizing:border-box!important;max-height:100%!important;overflow:hidden!important}
#cinemaHome .homeHero h1{line-height:1.12!important;max-height:2.25em!important;overflow:hidden!important}
#cinemaHome #homeHeroPlot{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
#cinemaHome .homePosters{min-height:315px!important;align-items:flex-start!important;overflow-anchor:none!important}
#cinemaHome .homePoster{flex:0 0 150px!important;width:150px!important;min-width:150px!important;max-width:150px!important}
#cinemaHome .homePoster img{display:block!important;width:150px!important;height:215px!important;aspect-ratio:150/215!important;object-fit:cover!important}
#cinemaHome .homeStatus{min-height:18px!important;line-height:18px!important;margin-top:8px!important;margin-bottom:5px!important}
@media(max-width:700px){#cinemaHome .homeHero{height:420px!important}#cinemaHome .homeHero h1{font-size:clamp(27px,8vw,45px)!important}}

/* 15 saniyelik film geçişi / eşit boy üst gezinme ve Favoriler-HLS boşluğu */
header{column-gap:10px!important}
header .cinemaNav{gap:7px!important}
header .cinemaNav .cinemaNavBtn{min-height:40px!important;height:40px!important;padding:8px 12px!important;border-radius:13px!important;font-size:12px!important;box-sizing:border-box!important}
header .header-center{padding-left:18px!important;box-sizing:border-box!important}
@media(max-width:1250px){header .cinemaNav .cinemaNavBtn{padding:7px 9px!important;font-size:11px!important}header .header-center{padding-left:10px!important}}
@media(max-width:1130px){header .header-center{padding-left:0!important}}

/* Üst menüde zaten mevcut olan sekmeleri solda tekrarlama. */
main aside .asidehead nav[aria-label="İçerik sekmeleri"]{display:none!important}
main aside .asidehead{min-height:42px!important;padding-top:8px!important;padding-bottom:8px!important}
main aside .asidehead h2{margin:0!important}

/* Canli kanal logolari: film afisi kurallarini gecersiz kil, logonun tamamini goster. */
#cinemaHome #homeLive.homeLiveChannels .homeLiveCard{
  box-sizing:border-box!important;
  flex:0 0 150px!important;
  width:150px!important;min-width:150px!important;max-width:150px!important;
  padding:10px!important;overflow:hidden!important;
}
#cinemaHome #homeLive.homeLiveChannels .homeLiveCard img{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:116px!important;max-height:116px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
  padding:8px!important;
  border-radius:9px!important;
  background:#f3f5f9!important;
}
#cinemaHome #homeLive.homeLiveChannels .homeLiveCard span{
  display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;
  text-align:center!important;font-size:12px!important;line-height:1.35!important;
}

/* Hesap düzenleme ekranı: şifre görünürlüğü */
.passwordInputWrap{display:flex;align-items:stretch;gap:6px;min-width:0}
.passwordInputWrap #pass{flex:1;min-width:0;width:100%}
.passwordInputWrap #passwordToggle{flex:0 0 42px;min-width:42px;padding:4px 8px;cursor:pointer}

/* Bölüm yenileme ve varsayılan hesap */
#sectionRefresh{font-size:12px;padding:5px 9px;margin:5px 0 0;max-width:100%;white-space:nowrap}
.accountDefault{white-space:nowrap}

/* WORLDPAY v5.1 - Tasmasiz modern hesap kartlari */
#login{width:min(1120px,calc(100% - 32px))!important;max-width:1120px!important;box-sizing:border-box!important;margin-inline:auto!important}
#accountList{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important;gap:18px!important;align-items:stretch!important;width:100%!important;box-sizing:border-box!important}
#accountList .accountCard{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:20px!important;gap:20px!important;border-radius:20px!important;border:1px solid #365487!important;background:linear-gradient(145deg,#1d2c50,#14213d)!important;box-shadow:0 12px 28px #050b1a35!important;overflow:hidden!important}
#accountList .activeAccount{border-color:#8a55ff!important;box-shadow:inset 0 0 0 1px #8a55ff45,0 12px 30px #090d2640!important}
#accountList .accountIdentity{gap:14px!important;width:100%!important;min-width:0!important}
#accountList .accountBadge{width:54px!important;height:54px!important;border-radius:15px!important;background:linear-gradient(135deg,#164b9b,#6c2fd0)!important;font-size:25px!important}
#accountList .accountDescription{flex:1!important;min-width:0!important}
#accountList .accountDescription strong{font-size:16px!important;color:#fff!important}
#accountList .accountDescription small{font-size:12px!important;color:#adbfdf!important}
#accountList .accountActive{align-self:flex-start!important;border:1px solid #267c66!important;border-radius:999px!important;background:#0d4d42!important;color:#80f4c2!important;padding:3px 9px!important;font-size:11px!important}
#accountList .accountActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
#accountList .accountActions button{box-sizing:border-box!important;position:static!important;transform:none!important;margin:0!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:43px!important;padding:9px 7px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important;border-radius:11px!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important}
#accountList .accountActions button:first-child{background:#174e9d!important;border:1px solid #3989ed!important;color:#fff!important}
#accountList .accountActions .accountDefault{background:#32237d!important;border:1px solid #7354e5!important;color:#fff!important}
#accountList .accountActions .accountEdit{background:#164477!important;border:1px solid #3989ed!important;color:#fff!important}
#accountList .accountActions .accountDelete{background:#61203e!important;border:1px solid #d33d70!important;color:#fff!important}
#accountList .accountActions button:hover{filter:brightness(1.2)!important}
@media(max-width:520px){#login{width:calc(100% - 20px)!important}#accountList .accountCard{padding:15px!important}#accountList{grid-template-columns:minmax(0,1fr)!important}}

/* v5.2 compact account management */
#login{position:relative;max-width:1180px;width:calc(100% - 48px);margin:22px auto;padding:26px;border:1px solid #344b7a;border-radius:22px;background:linear-gradient(145deg,#111d36,#0a1428);box-sizing:border-box;min-height:650px;overflow:hidden}
#login:after{content:"";display:block;height:280px;margin-top:22px;border-radius:16px;background:linear-gradient(180deg,rgba(10,20,40,.05),rgba(10,20,40,.18)),url('iptv-dekor.jpg') center 55%/cover no-repeat;border:1px solid #29426d}
#loginTitle{margin:0 0 18px;text-align:center;font-size:28px;color:#c9a6ff}
#login #backToPlayer{display:inline-flex!important;align-items:center;gap:12px;position:absolute;left:24px;top:22px;border:1px solid #287cf4;background:#112c58;color:white;border-radius:12px;padding:12px 16px;font-weight:700}
#login #backToPlayer[hidden]{display:none!important}
#login #backToPlayer:after{content:'ESC';font-size:11px;padding:3px 6px;border:1px solid #8a9abb;border-radius:5px}
#login #accountList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
#login .accountCard{min-width:0;border-radius:16px;background:linear-gradient(145deg,#112344,#101a30);border:1px solid #38588d;padding:18px}
#login .accountCard.activeAccount{border-color:#9c4bff;box-shadow:0 0 0 1px #9c4bff,0 0 18px #6036d333}
#login .accountActions{width:100%}
#login .accountCard button{min-width:0;white-space:normal;overflow-wrap:anywhere}
#login #form{display:none;max-width:560px;margin:0 auto 16px;gap:10px;padding:20px;border:1px solid #3264a4;border-radius:16px;background:#101d36}
#login.formOpen #form{display:grid}
#login #status{max-width:600px;margin:8px auto;text-align:center}
#login .accountToolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 16px;min-height:42px}
#login .accountToolbar button{border-radius:11px;padding:12px 18px;background:linear-gradient(100deg,#1748ba,#7820d4);border:1px solid #8c54ed;color:white;font-weight:700;cursor:pointer}
#login .formactions button{flex:1;border-radius:10px;padding:12px;background:#244b91;color:#fff;border:1px solid #4b80ce}
#login .formactions button:first-child{background:linear-gradient(90deg,#164eb2,#6a2bc4)}
body.cinemaActive .homeRows{padding-top:4px}
body.cinemaActive .homeRowHead{margin-top:6px}
body.cinemaActive .homePosters{padding-top:6px;padding-bottom:8px}
body.cinemaActive .homePoster{flex-basis:170px;min-width:170px}
body.cinemaActive .homePoster img{width:170px;height:248px}
body.cinemaActive .homeLiveChannels .homeLiveCard{flex-basis:145px;min-width:145px}
@media(max-width:850px){#login #accountList{grid-template-columns:repeat(2,minmax(0,1fr))}#loginTitle{padding-top:60px}}
@media(max-width:580px){#login{width:calc(100% - 20px);padding:14px}#login #accountList{grid-template-columns:1fr}#login #backToPlayer{left:14px;top:14px}#login:after{height:170px}}


/* v5.3: visible IPTV artwork, full-width account management */
#login{max-width:1600px!important;width:calc(100% - 36px)!important;min-height:0!important;padding:28px!important;background:linear-gradient(160deg,#09152c,#101a35)!important}
#login #accountList{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:22px!important}
#login:after{content:""!important;display:block!important;height:clamp(260px,33vw,520px)!important;margin-top:26px!important;border:1px solid #3954a1!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(6,13,30,.05),rgba(6,13,30,.18)),url('iptv-dekor.jpg') center center/cover no-repeat!important;box-shadow:0 14px 38px #0008!important}
#login #backToPlayer{z-index:2}
#login .accountCard{background:linear-gradient(145deg,rgba(22,42,82,.96),rgba(10,20,44,.96))!important}
@media(max-width:1050px){#login #accountList{grid-template-columns:repeat(2,minmax(0,1fr))!important}#loginTitle{padding-top:58px!important}}
@media(max-width:650px){#login #accountList{grid-template-columns:1fr!important}#login{padding:15px!important;width:calc(100% - 16px)!important}#login:after{height:250px!important}}

/* v5.4: proper account-only artwork, visible add-account button */
#login{padding-top:82px!important}
#login #loginTitle{position:absolute;top:24px;left:25%;right:25%;padding:0!important;margin:0!important}
#login .accountToolbar{justify-content:flex-end!important;margin:10px 0 8px!important}
#login #newAccount{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(100deg,#145bce,#7525d3)!important;color:#fff!important;border:1px solid #8d60f5!important;border-radius:13px!important;padding:13px 21px!important;font-weight:700!important;cursor:pointer!important}
#login:after{background:linear-gradient(180deg,#08132b10,#08132b30),url('iptv-dekor.jpg') center/cover no-repeat!important;height:clamp(270px,32vw,480px)!important}
#login.formOpen #form{display:grid!important}
#login.formOpen #newAccount{display:none!important}
@media(max-width:850px){#login{padding-top:125px!important}#login #loginTitle{left:10px;right:10px;top:75px}}

/* WORLDPAY v5.5: accessible navigation, selected categories and channel rows */
.cinemaNavBtn, .settingsMenu>summary{font-size:16px!important;font-weight:750!important;min-height:46px!important}
.cinemaNavBtn span,.settingsMenu .navIcon{font-size:19px!important}
#categories .category>button{font-size:15px!important;font-weight:750!important;line-height:1.4!important;letter-spacing:.1px!important;border-radius:10px!important;transition:background .15s,border-color .15s,box-shadow .15s!important}
#categories .category>button.selected{background:linear-gradient(100deg,var(--accent,#2468df),#5736b7)!important;color:white!important;border-color:#7fbcff!important;box-shadow:inset 3px 0 #8feaff,0 0 0 1px #508bff80!important}
#categories .nested{background:linear-gradient(145deg,rgba(7,21,46,.93),rgba(26,34,64,.96))!important;border:1px solid #3a537e!important;border-radius:0 0 12px 12px!important;padding:6px!important}
#categories .nested .item{background:rgba(38,57,92,.55)!important;border-radius:7px!important;margin:2px 0!important;font-weight:600!important}
#categories .nested .item:hover,#categories .nested .item.current{background:linear-gradient(100deg,#23549f,#47318a)!important;color:#fff!important}
#contentSort{min-width:145px!important;max-width:185px!important;background:#1b2c50!important;color:#fff!important;border:1px solid #5879ba!important;border-radius:9px!important;padding:8px!important;font-weight:650!important}
.recentItems{overflow-x:auto!important;scrollbar-width:thin!important;scrollbar-color:#6599e9 #111f3a!important}
.recentItems::-webkit-scrollbar{height:9px!important}.recentItems::-webkit-scrollbar-thumb{background:#6599e9!important;border-radius:8px!important}
@media(max-width:900px){.cinemaNavBtn,.settingsMenu>summary{font-size:14px!important}#contentSort{max-width:135px!important}}

/* v5.6 wider settings, readable fields, theme-compatible parent controls */
.settingsPanel{width:min(470px,calc(100vw - 24px))!important;max-width:none!important;box-sizing:border-box!important;max-height:calc(100vh - 85px)!important;overflow-y:auto!important;overflow-x:hidden!important}
.settingsPanel label{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.settingsPanel select{max-width:100%!important;min-width:0!important}
.settingsPanel small{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important}
.parentPrefs{display:flex;flex-direction:column;gap:11px;border-top:1px solid #52658a;padding-top:15px;margin-top:4px}
.parentPrefs strong{font-size:18px;color:var(--accent,#89b9ff)}
.parentPrefs button{padding:11px;border-radius:9px;background:#2b3e66;color:white;border:1px solid #6484b7;cursor:pointer}
.parentPrefs label{display:flex;align-items:center;gap:9px;font-weight:650}
.parentPrefs input{width:17px;height:17px;flex-shrink:0}

/* v5.7 - top menu typography; overrides prior narrow-screen 10-12px rules */
header .cinemaNav .cinemaNavBtn,
header .cinemaNavBtn,
header .homeNav,
header .settingsMenu > summary {
 font-family:inherit!important;
 font-size:18px!important;
 font-weight:750!important;
 line-height:1.25!important;
 min-height:48px!important;
 height:auto!important;
 padding:11px 16px!important;
 gap:8px!important;
 white-space:nowrap!important;
 text-transform:none!important;
 letter-spacing:0!important;
 box-sizing:border-box!important;
}
header .cinemaNav .cinemaNavBtn span,
header .cinemaNavBtn span,
header .settingsMenu > summary .navIcon {font-size:21px!important;line-height:1!important}
header .cinemaNav {display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
@media(max-width:1250px){
 header .cinemaNav .cinemaNavBtn,header .cinemaNavBtn,header .settingsMenu>summary{font-size:17px!important;padding:10px 12px!important;min-height:46px!important}
}
@media(max-width:850px){
 header .cinemaNav{overflow-x:auto!important;scrollbar-width:thin!important;max-width:100%!important}
 header .cinemaNav .cinemaNavBtn,header .cinemaNavBtn,header .settingsMenu>summary{font-size:16px!important;flex-shrink:0!important}
}

/* v5.8.12: active selection remains visible after home-page navigation */
.item.current{outline:3px solid #ffd45a!important;outline-offset:-3px!important;box-shadow:0 0 0 2px rgba(255,212,90,.25),0 0 18px rgba(255,212,90,.3)!important;background:rgba(95,75,150,.32)!important;}
.item.current::after{content:"✓ SEÇİLİ";position:absolute;top:7px;left:7px;z-index:2;background:#ffd45a;color:#11192c;font-weight:900;font-size:11px;padding:4px 7px;border-radius:5px;pointer-events:none;}
.item.current{position:relative!important;}

/* v5.8.13 account-specific stream format */
.accountFormatLabel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;color:inherit}.accountFormatLabel select{min-width:150px;padding:8px;border-radius:8px;background:#181c30;color:#fff;border:1px solid #6570a0}

/* WORLDPAY 5.9.1 */
#compactTracks, #trackControls {display:none!important;}
select {color-scheme:dark;}
select option {background:#18263b!important;color:#f4f7ff!important;}
select option:checked {background:#245caa!important;color:#fff!important;}
.similarMovies {clear:both;width:100%;box-sizing:border-box;margin-top:16px;padding:12px;border:1px solid #384765;border-radius:10px;background:#101a2b;color:#eef3ff;}
.similarMovies h3 {margin:0 0 5px;font-size:16px;}.similarMovies p {margin:0 0 10px;font-size:12px;color:#b8c8e0;}
.similarMovieList {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;}
.similarMovieList button {display:flex;align-items:center;gap:8px;text-align:left;min-width:0;padding:6px;background:#1a2940;color:#f4f7ff;border:1px solid #405471;border-radius:8px;}
#detail .similarMovieList img {float:none;width:44px;height:64px;object-fit:cover;margin:0;flex:none;border-radius:4px;}
.similarMovieList span {overflow-wrap:anywhere;font-size:12px;}.similarMovieList small {display:block;color:#b8c8e0;margin-top:4px;}
