|
|
|
@@ -0,0 +1,957 @@
|
|
|
|
|
/* Media Server interface refresh */
|
|
|
|
|
|
|
|
|
|
/* top navigation */
|
|
|
|
|
#mediaPrimaryNav{
|
|
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
gap:8px;
|
|
|
|
|
min-width:0;
|
|
|
|
|
flex-wrap:wrap;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-dropdown{position:relative}
|
|
|
|
|
.top-nav-dropdown>summary{
|
|
|
|
|
list-style:none;
|
|
|
|
|
cursor:pointer;
|
|
|
|
|
user-select:none;
|
|
|
|
|
border:1px solid #4a4d54;
|
|
|
|
|
background:#303236;
|
|
|
|
|
color:#eee;
|
|
|
|
|
border-radius:6px;
|
|
|
|
|
padding:9px 13px;
|
|
|
|
|
font:inherit;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-dropdown>summary::-webkit-details-marker{display:none}
|
|
|
|
|
.top-nav-dropdown>summary::after{content:" ▾";opacity:.65}
|
|
|
|
|
.top-nav-dropdown.active>summary{border-color:#626873;background:#383b41}
|
|
|
|
|
.top-nav-menu{
|
|
|
|
|
position:absolute;
|
|
|
|
|
z-index:1000;
|
|
|
|
|
top:calc(100% + 6px);
|
|
|
|
|
left:0;
|
|
|
|
|
min-width:205px;
|
|
|
|
|
padding:6px;
|
|
|
|
|
background:#202226;
|
|
|
|
|
border:1px solid #44484f;
|
|
|
|
|
border-radius:8px;
|
|
|
|
|
box-shadow:0 14px 36px #000a;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-menu button{
|
|
|
|
|
display:block;
|
|
|
|
|
width:100%;
|
|
|
|
|
text-align:left;
|
|
|
|
|
padding:9px 11px;
|
|
|
|
|
border:0;
|
|
|
|
|
background:transparent;
|
|
|
|
|
color:#e8e8e8;
|
|
|
|
|
border-radius:5px;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-menu button:hover,.top-nav-menu button:focus{background:#34373d}
|
|
|
|
|
.top-nav-action{
|
|
|
|
|
border:1px solid #4a4d54;
|
|
|
|
|
background:#303236;
|
|
|
|
|
color:#eee;
|
|
|
|
|
border-radius:6px;
|
|
|
|
|
padding:9px 12px;
|
|
|
|
|
font:inherit;
|
|
|
|
|
cursor:pointer;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-action.primary{background:#28679c;border-color:#3784c3}
|
|
|
|
|
.top-nav-context-title{
|
|
|
|
|
max-width:220px;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
|
white-space:nowrap;
|
|
|
|
|
font-weight:700;
|
|
|
|
|
padding:0 4px;
|
|
|
|
|
}
|
|
|
|
|
.top-nav-sort .library-sort-controls{margin:0}
|
|
|
|
|
.top-nav-sort .library-sort-label{font-size:0}
|
|
|
|
|
.top-nav-sort .library-sort-label::before{content:"Sort";font-size:12px;color:#bbb}
|
|
|
|
|
.media-account-nav{display:inline-flex;align-items:center;gap:7px;margin-left:2px}
|
|
|
|
|
.media-account-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c8ccd2}
|
|
|
|
|
|
|
|
|
|
/* home */
|
|
|
|
|
.media-home{width:100%}
|
|
|
|
|
.media-home-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}
|
|
|
|
|
.media-home-heading h2{margin:0 0 4px;font-size:26px}
|
|
|
|
|
.home-loading{padding:38px 0;color:#999}
|
|
|
|
|
.home-module-grid{
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-columns:repeat(3,minmax(0,1fr));
|
|
|
|
|
gap:16px;
|
|
|
|
|
}
|
|
|
|
|
.home-module-card{
|
|
|
|
|
position:relative;
|
|
|
|
|
min-height:205px;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
border:1px solid #3c4047;
|
|
|
|
|
border-radius:12px;
|
|
|
|
|
background:#222428;
|
|
|
|
|
cursor:pointer;
|
|
|
|
|
isolation:isolate;
|
|
|
|
|
box-shadow:0 8px 24px #0003;
|
|
|
|
|
transition:transform .13s ease,border-color .13s ease,box-shadow .13s ease;
|
|
|
|
|
}
|
|
|
|
|
.home-module-card:hover,.home-module-card:focus-visible{
|
|
|
|
|
transform:translateY(-2px);
|
|
|
|
|
border-color:#626975;
|
|
|
|
|
box-shadow:0 12px 30px #0005;
|
|
|
|
|
outline:none;
|
|
|
|
|
}
|
|
|
|
|
.library-mosaic{
|
|
|
|
|
position:absolute;
|
|
|
|
|
inset:0;
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-columns:repeat(3,1fr);
|
|
|
|
|
grid-template-rows:repeat(2,1fr);
|
|
|
|
|
gap:2px;
|
|
|
|
|
background:#161719;
|
|
|
|
|
}
|
|
|
|
|
.library-mosaic-cell{overflow:hidden;background:#1a1c1f;min-width:0}
|
|
|
|
|
.library-mosaic-cell img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.9) contrast(1.03)}
|
|
|
|
|
.library-mosaic-cell.image-failed::after{content:"";display:block;width:100%;height:100%;background:linear-gradient(135deg,#25282d,#17191c)}
|
|
|
|
|
.library-mosaic-empty{display:grid;place-items:center;background:radial-gradient(circle at 20% 10%,#33455d,#17191d 72%)}
|
|
|
|
|
.library-mosaic-empty span{font-size:28px;font-weight:800;letter-spacing:.12em;color:#ffffff18}
|
|
|
|
|
.tube-module .library-mosaic-empty{background:radial-gradient(circle at 20% 20%,#5a2b2b,#18191c 70%)}
|
|
|
|
|
.iptv-module .library-mosaic-empty{background:radial-gradient(circle at 20% 20%,#24543a,#18191c 70%)}
|
|
|
|
|
.home-module-shade{position:absolute;inset:0;background:linear-gradient(to bottom,#0001 5%,#0007 54%,#090a0ceF 100%);z-index:1}
|
|
|
|
|
.home-module-content{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:18px}
|
|
|
|
|
.home-module-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
|
|
|
|
|
.home-module-heading h3{margin:0;font-size:22px;text-shadow:0 2px 8px #000}
|
|
|
|
|
.home-module-subtitle{margin-top:6px;color:#d0d3d7;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
|
|
|
.home-module-count{margin-top:4px;color:#aeb4bb;font-size:12px}
|
|
|
|
|
|
|
|
|
|
/* reduce dead space around the app */
|
|
|
|
|
#content{max-width:1680px;margin-inline:auto}
|
|
|
|
|
#toolbar:empty{display:none}
|
|
|
|
|
#breadcrumb:empty{display:none}
|
|
|
|
|
|
|
|
|
|
/* make existing content cards a little denser */
|
|
|
|
|
.media-grid,.show-grid{gap:12px}
|
|
|
|
|
.media-card,.show-card,.season-card{min-width:0}
|
|
|
|
|
|
|
|
|
|
@media (max-width:1100px){
|
|
|
|
|
.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width:760px){
|
|
|
|
|
header{height:auto!important;min-height:56px;flex-wrap:wrap;gap:8px;padding:8px 10px!important}
|
|
|
|
|
#mediaPrimaryNav{order:2;width:100%;gap:6px}
|
|
|
|
|
#searchForm{order:3;width:100%;display:flex!important;gap:6px}
|
|
|
|
|
#searchForm input{min-width:0;flex:1}
|
|
|
|
|
.media-account-nav{margin-left:auto}
|
|
|
|
|
.media-account-name{display:none}
|
|
|
|
|
.top-nav-context-title{order:-1;flex:1;max-width:none;width:100%;padding:2px 0 4px;font-size:14px}
|
|
|
|
|
.top-nav-sort{flex:1 1 100%}
|
|
|
|
|
.top-nav-sort .library-sort-controls{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}
|
|
|
|
|
.top-nav-sort select{width:100%;min-width:0}
|
|
|
|
|
.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
|
|
|
|
|
.home-module-card{min-height:165px;border-radius:9px}
|
|
|
|
|
.home-module-content{padding:12px}
|
|
|
|
|
.home-module-heading h3{font-size:18px}
|
|
|
|
|
.library-mosaic{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}
|
|
|
|
|
#content{padding-inline:10px!important}
|
|
|
|
|
.media-grid,.show-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
|
|
|
|
|
.media-actions{display:flex;flex-wrap:wrap;gap:5px}
|
|
|
|
|
.media-actions>*{flex:1 1 auto}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width:480px){
|
|
|
|
|
.home-module-grid{grid-template-columns:1fr}
|
|
|
|
|
.home-module-card{min-height:150px}
|
|
|
|
|
#mediaPrimaryNav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown>summary,#mediaPrimaryNav>.top-nav-action{width:100%;text-align:center}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav{grid-column:1/-1;justify-content:flex-end}
|
|
|
|
|
.media-primary-nav-library{grid-template-columns:repeat(2,minmax(0,1fr))!important}
|
|
|
|
|
.media-primary-nav-library .top-nav-context-title,.media-primary-nav-library .top-nav-sort,.media-primary-nav-library .media-account-nav{grid-column:1/-1}
|
|
|
|
|
.media-grid,.show-grid{grid-template-columns:1fr!important}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* v2: cinematic in-library cards */
|
|
|
|
|
.cinematic-media-card{
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
border-radius:12px;
|
|
|
|
|
background:#202226;
|
|
|
|
|
border:1px solid #3b3f46;
|
|
|
|
|
box-shadow:0 6px 18px #0003;
|
|
|
|
|
transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
|
|
|
|
|
}
|
|
|
|
|
.cinematic-media-card:hover{transform:translateY(-2px);border-color:#5d6570;box-shadow:0 10px 26px #0005}
|
|
|
|
|
.cinematic-thumbnail{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0e0f11}
|
|
|
|
|
.cinematic-thumbnail .media-thumbnail{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease,filter .2s ease}
|
|
|
|
|
.cinematic-media-card:hover .media-thumbnail{transform:scale(1.025);filter:brightness(1.05)}
|
|
|
|
|
.cinematic-title{position:absolute;z-index:4;left:0;right:0;bottom:0;padding:34px 12px 10px;background:linear-gradient(to bottom,transparent,#090a0ce8);display:grid;gap:2px;pointer-events:none}
|
|
|
|
|
.cinematic-title strong{font-size:15px;line-height:1.2;text-shadow:0 2px 5px #000;white-space:normal}
|
|
|
|
|
.cinematic-title span{font-size:11px;color:#c7cbd1}
|
|
|
|
|
.cinematic-meta{display:flex!important;gap:8px!important;justify-content:space-between!important;padding:9px 11px 2px!important;color:#9298a1!important;font-size:11px!important}
|
|
|
|
|
.cinematic-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
.cinematic-media-card .media-actions{padding:8px 10px 11px;margin:0}
|
|
|
|
|
|
|
|
|
|
/* v2: floating local/IPTV player */
|
|
|
|
|
#playerOverlay.active{align-items:initial!important;justify-content:initial!important}
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen){
|
|
|
|
|
resize:both;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
min-width:420px;
|
|
|
|
|
min-height:300px;
|
|
|
|
|
max-width:calc(100vw - 12px);
|
|
|
|
|
max-height:calc(100vh - 12px);
|
|
|
|
|
display:flex;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
}
|
|
|
|
|
#playerWindow.floating-player-positioned:not(:fullscreen){position:fixed!important;margin:0!important;transform:none!important;z-index:10001}
|
|
|
|
|
#playerWindow.floating-player-window #mediaPlayerFrame{width:100%!important;min-height:0;flex:1 1 auto;object-fit:contain;background:#000}
|
|
|
|
|
.floating-player-handle{cursor:move;touch-action:none;user-select:none}
|
|
|
|
|
.floating-player-handle button,.floating-player-handle a{cursor:pointer}
|
|
|
|
|
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen){resize:none!important;position:relative!important;left:auto!important;top:auto!important;width:calc(100vw - 12px)!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;margin:6px!important}
|
|
|
|
|
#playerWindow.floating-player-window #mediaPlayerFrame{aspect-ratio:16/9;flex:none}
|
|
|
|
|
.floating-player-handle{cursor:default}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Unified persistent floating player */
|
|
|
|
|
#playerOverlay.persistent-player-overlay,
|
|
|
|
|
#playerOverlay.persistent-player-overlay.active{
|
|
|
|
|
pointer-events:none!important;
|
|
|
|
|
background:transparent!important;
|
|
|
|
|
align-items:initial!important;
|
|
|
|
|
justify-content:initial!important;
|
|
|
|
|
}
|
|
|
|
|
#playerOverlay.persistent-player-overlay #playerWindow{pointer-events:auto!important}
|
|
|
|
|
body.player-open{overflow:auto!important}
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen){
|
|
|
|
|
resize:none!important;overflow:hidden;min-width:360px;min-height:220px;
|
|
|
|
|
max-width:calc(100vw - 8px);max-height:calc(100vh - 8px);
|
|
|
|
|
display:flex;flex-direction:column;box-sizing:border-box;
|
|
|
|
|
box-shadow:0 18px 60px #0009,0 3px 12px #0008
|
|
|
|
|
}
|
|
|
|
|
#playerWindow.floating-player-positioned:not(:fullscreen){
|
|
|
|
|
position:fixed!important;margin:0!important;transform:none!important;z-index:10001!important
|
|
|
|
|
}
|
|
|
|
|
#playerWindow.floating-player-window #mediaPlayerFrame{
|
|
|
|
|
width:100%!important;min-height:0;flex:1 1 auto;object-fit:contain;background:#000
|
|
|
|
|
}
|
|
|
|
|
.floating-player-handle{cursor:move;touch-action:none;user-select:none;flex:0 0 auto}
|
|
|
|
|
.floating-player-handle button,.floating-player-handle a,.floating-player-handle input,.floating-player-handle select{cursor:pointer}
|
|
|
|
|
#playerWindow.player-minimized:not(:fullscreen){min-width:280px!important;min-height:0!important;height:auto!important;max-height:64px!important}
|
|
|
|
|
#playerWindow.player-minimized #mediaPlayerFrame,#playerWindow.player-minimized #playerPlaybackStatus{display:none!important}
|
|
|
|
|
#playerWindow.player-minimized .floating-player-handle{min-height:46px}
|
|
|
|
|
.player-resize-handle{position:absolute;z-index:30;display:block;pointer-events:auto;touch-action:none}
|
|
|
|
|
.player-resize-n{top:-4px;left:10px;right:10px;height:10px;cursor:n-resize}
|
|
|
|
|
.player-resize-ne{top:-5px;right:-5px;width:14px;height:14px;cursor:ne-resize}
|
|
|
|
|
.player-resize-e{top:10px;right:-4px;bottom:10px;width:10px;cursor:e-resize}
|
|
|
|
|
.player-resize-se{right:-5px;bottom:-5px;width:16px;height:16px;cursor:se-resize}
|
|
|
|
|
.player-resize-s{left:10px;right:10px;bottom:-4px;height:10px;cursor:s-resize}
|
|
|
|
|
.player-resize-sw{left:-5px;bottom:-5px;width:14px;height:14px;cursor:sw-resize}
|
|
|
|
|
.player-resize-w{top:10px;left:-4px;bottom:10px;width:10px;cursor:w-resize}
|
|
|
|
|
.player-resize-nw{top:-5px;left:-5px;width:14px;height:14px;cursor:nw-resize}
|
|
|
|
|
#playerWindow.player-minimized .player-resize-handle,#playerWindow:fullscreen .player-resize-handle{display:none!important}
|
|
|
|
|
#playerWindow:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;left:0!important;top:0!important;margin:0!important;display:flex!important;flex-direction:column!important;background:#000!important}
|
|
|
|
|
#playerWindow:fullscreen #mediaPlayerFrame{flex:1 1 auto!important;min-height:0!important}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
#playerOverlay.persistent-player-overlay.active{display:block!important}
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen){
|
|
|
|
|
position:fixed!important;left:6px!important;right:6px!important;bottom:6px!important;top:auto!important;
|
|
|
|
|
width:calc(100vw - 12px)!important;height:auto!important;min-width:0!important;min-height:0!important;
|
|
|
|
|
max-width:none!important;max-height:72vh!important;margin:0!important;resize:none!important;z-index:10001!important
|
|
|
|
|
}
|
|
|
|
|
#playerWindow.floating-player-window #mediaPlayerFrame{width:100%!important;aspect-ratio:16/9;max-height:55vh;flex:none!important}
|
|
|
|
|
#playerWindow.player-minimized:not(:fullscreen){left:6px!important;right:6px!important;bottom:6px!important;width:calc(100vw - 12px)!important;max-height:58px!important}
|
|
|
|
|
.floating-player-handle{cursor:default!important}.player-resize-handle{display:none!important}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Media intelligence controls */
|
|
|
|
|
.tile-playback-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px 10px 2px}
|
|
|
|
|
.tile-playback-option{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:11px;color:#aeb4bd}
|
|
|
|
|
.tile-playback-option>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#777f8a}
|
|
|
|
|
.tile-playback-option select{width:100%;min-width:0;padding:6px 7px;border-radius:7px;background:#11161d;color:#e7ebef;border:1px solid #313943}
|
|
|
|
|
.tile-playback-readonly strong{font-size:12px;color:#d9dee5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
.scan-mode-label{display:flex;align-items:center;gap:8px;margin-left:auto;color:#b8bec7;font-size:12px}
|
|
|
|
|
.scan-mode-label select{padding:7px 9px}
|
|
|
|
|
@media(max-width:620px){
|
|
|
|
|
.tile-playback-selectors{grid-template-columns:1fr}
|
|
|
|
|
.scan-selection-tools{flex-wrap:wrap}
|
|
|
|
|
.scan-mode-label{width:100%;margin-left:0;justify-content:space-between}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ============================================================
|
|
|
|
|
Local audio + Tube player hotfix
|
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
|
|
.youtube-player-overlay{
|
|
|
|
|
position:fixed;
|
|
|
|
|
inset:0;
|
|
|
|
|
z-index:10000;
|
|
|
|
|
display:none;
|
|
|
|
|
pointer-events:none;
|
|
|
|
|
background:transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-overlay.active{
|
|
|
|
|
display:block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window{
|
|
|
|
|
pointer-events:auto;
|
|
|
|
|
position:fixed;
|
|
|
|
|
left:50%;
|
|
|
|
|
top:50%;
|
|
|
|
|
transform:translate(-50%,-50%);
|
|
|
|
|
width:min(900px,calc(100vw - 32px));
|
|
|
|
|
height:min(560px,calc(100vh - 32px));
|
|
|
|
|
min-width:360px;
|
|
|
|
|
min-height:220px;
|
|
|
|
|
max-width:calc(100vw - 8px);
|
|
|
|
|
max-height:calc(100vh - 8px);
|
|
|
|
|
display:flex;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
resize:both;
|
|
|
|
|
background:#18191b;
|
|
|
|
|
border:1px solid #4a4d51;
|
|
|
|
|
border-radius:10px;
|
|
|
|
|
box-shadow:0 18px 60px #0009,0 3px 12px #0008;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window.youtube-floating-positioned{
|
|
|
|
|
transform:none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-header{
|
|
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
gap:12px;
|
|
|
|
|
padding:9px 12px;
|
|
|
|
|
cursor:move;
|
|
|
|
|
user-select:none;
|
|
|
|
|
touch-action:none;
|
|
|
|
|
flex:0 0 auto;
|
|
|
|
|
background:#232426;
|
|
|
|
|
border-bottom:1px solid #3d4044;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-title{
|
|
|
|
|
flex:1 1 auto;
|
|
|
|
|
min-width:0;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
|
white-space:nowrap;
|
|
|
|
|
font-weight:700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-actions{
|
|
|
|
|
display:flex;
|
|
|
|
|
gap:7px;
|
|
|
|
|
flex:0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window video{
|
|
|
|
|
width:100%;
|
|
|
|
|
min-height:0;
|
|
|
|
|
flex:1 1 auto;
|
|
|
|
|
object-fit:contain;
|
|
|
|
|
background:#000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window.youtube-player-minimized{
|
|
|
|
|
min-width:280px;
|
|
|
|
|
min-height:0;
|
|
|
|
|
height:auto!important;
|
|
|
|
|
max-height:60px;
|
|
|
|
|
resize:none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window.youtube-player-minimized video{
|
|
|
|
|
display:none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window:fullscreen{
|
|
|
|
|
left:0!important;
|
|
|
|
|
top:0!important;
|
|
|
|
|
width:100vw!important;
|
|
|
|
|
height:100vh!important;
|
|
|
|
|
max-width:none!important;
|
|
|
|
|
max-height:none!important;
|
|
|
|
|
transform:none!important;
|
|
|
|
|
resize:none!important;
|
|
|
|
|
border-radius:0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
.youtube-player-window,
|
|
|
|
|
.youtube-player-window.youtube-floating-positioned{
|
|
|
|
|
left:6px!important;
|
|
|
|
|
right:6px!important;
|
|
|
|
|
bottom:6px!important;
|
|
|
|
|
top:auto!important;
|
|
|
|
|
transform:none!important;
|
|
|
|
|
width:calc(100vw - 12px)!important;
|
|
|
|
|
height:auto!important;
|
|
|
|
|
min-width:0!important;
|
|
|
|
|
min-height:0!important;
|
|
|
|
|
max-height:72vh!important;
|
|
|
|
|
resize:none!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-window video{
|
|
|
|
|
aspect-ratio:16/9;
|
|
|
|
|
flex:none;
|
|
|
|
|
max-height:55vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.youtube-player-header{
|
|
|
|
|
cursor:default;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.youtube-card-actions{display:flex;gap:6px;flex-wrap:wrap}
|
|
|
|
|
.youtube-card-actions button{flex:1 1 auto}
|
|
|
|
|
.cache-jobs-area{display:grid;gap:8px}
|
|
|
|
|
.cache-job-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,320px);gap:14px;align-items:center;padding:9px 11px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:rgba(255,255,255,.025)}
|
|
|
|
|
.cache-job-main{display:flex;flex-direction:column;min-width:0}
|
|
|
|
|
.cache-job-main strong,.cache-job-main span,.cache-job-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
.cache-job-main span,.cache-job-main small{opacity:.72}
|
|
|
|
|
.cache-job-progress{display:grid;grid-template-columns:minmax(100px,1fr) 42px;gap:8px;align-items:center}
|
|
|
|
|
@media(max-width:760px){.cache-job-row{grid-template-columns:1fr}.cache-job-progress{grid-template-columns:1fr 42px}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cache-job-toolbar{
|
|
|
|
|
display:flex;
|
|
|
|
|
gap:8px;
|
|
|
|
|
flex-wrap:wrap;
|
|
|
|
|
margin:0 0 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cache-job-row{
|
|
|
|
|
grid-template-columns:minmax(0,1fr) minmax(180px,320px) auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cache-job-actions{
|
|
|
|
|
display:flex;
|
|
|
|
|
gap:6px;
|
|
|
|
|
flex-wrap:wrap;
|
|
|
|
|
justify-content:flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cache-live-indicator{
|
|
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
gap:7px;
|
|
|
|
|
font-weight:700;
|
|
|
|
|
letter-spacing:.06em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cache-live-dot{
|
|
|
|
|
width:9px;
|
|
|
|
|
height:9px;
|
|
|
|
|
border-radius:50%;
|
|
|
|
|
background:currentColor;
|
|
|
|
|
animation:kronic-live-pulse 1.1s ease-in-out infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes kronic-live-pulse{
|
|
|
|
|
0%,100%{opacity:.35;transform:scale(.8)}
|
|
|
|
|
50%{opacity:1;transform:scale(1.15)}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
.cache-job-row{
|
|
|
|
|
grid-template-columns:1fr !important;
|
|
|
|
|
}
|
|
|
|
|
.cache-job-actions{
|
|
|
|
|
justify-content:flex-start;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.music-import-jobs{
|
|
|
|
|
display:grid;
|
|
|
|
|
gap:8px;
|
|
|
|
|
margin:10px 0 16px;
|
|
|
|
|
}
|
|
|
|
|
.music-import-job-toolbar{
|
|
|
|
|
display:flex;
|
|
|
|
|
align-items:center;
|
|
|
|
|
justify-content:space-between;
|
|
|
|
|
gap:10px;
|
|
|
|
|
}
|
|
|
|
|
.music-import-job{
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-columns:minmax(0,1fr) auto;
|
|
|
|
|
gap:12px;
|
|
|
|
|
align-items:center;
|
|
|
|
|
padding:9px 11px;
|
|
|
|
|
border:1px solid rgba(255,255,255,.10);
|
|
|
|
|
border-radius:7px;
|
|
|
|
|
background:rgba(255,255,255,.025);
|
|
|
|
|
}
|
|
|
|
|
.music-import-job-counts{
|
|
|
|
|
white-space:nowrap;
|
|
|
|
|
opacity:.75;
|
|
|
|
|
}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
.music-import-job{grid-template-columns:1fr}
|
|
|
|
|
.music-import-job-counts{white-space:normal}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.twitch-page{
|
|
|
|
|
display:grid;
|
|
|
|
|
gap:16px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-page-heading{
|
|
|
|
|
display:flex;
|
|
|
|
|
justify-content:space-between;
|
|
|
|
|
gap:12px;
|
|
|
|
|
align-items:center;
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-grid{
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
|
|
|
|
|
gap:12px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-card{
|
|
|
|
|
border:1px solid rgba(255,255,255,.12);
|
|
|
|
|
border-radius:8px;
|
|
|
|
|
padding:12px;
|
|
|
|
|
background:rgba(255,255,255,.025);
|
|
|
|
|
display:grid;
|
|
|
|
|
gap:12px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-card.is-live{
|
|
|
|
|
border-color:rgba(255,255,255,.24);
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-header{
|
|
|
|
|
display:flex;
|
|
|
|
|
justify-content:space-between;
|
|
|
|
|
gap:12px;
|
|
|
|
|
align-items:flex-start;
|
|
|
|
|
}
|
|
|
|
|
.twitch-live-badge{
|
|
|
|
|
font-size:.75rem;
|
|
|
|
|
font-weight:800;
|
|
|
|
|
letter-spacing:.08em;
|
|
|
|
|
border:1px solid currentColor;
|
|
|
|
|
border-radius:999px;
|
|
|
|
|
padding:3px 7px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-title{
|
|
|
|
|
min-height:2.5em;
|
|
|
|
|
font-weight:650;
|
|
|
|
|
}
|
|
|
|
|
.twitch-quality-row{
|
|
|
|
|
display:flex;
|
|
|
|
|
justify-content:space-between;
|
|
|
|
|
align-items:center;
|
|
|
|
|
gap:10px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-quality-row select{
|
|
|
|
|
max-width:160px;
|
|
|
|
|
}
|
|
|
|
|
.twitch-channel-actions{
|
|
|
|
|
display:flex;
|
|
|
|
|
gap:7px;
|
|
|
|
|
flex-wrap:wrap;
|
|
|
|
|
}
|
|
|
|
|
.twitch-recording-row{
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-columns:minmax(0,1fr) auto;
|
|
|
|
|
gap:12px;
|
|
|
|
|
align-items:center;
|
|
|
|
|
border:1px solid rgba(255,255,255,.10);
|
|
|
|
|
border-radius:7px;
|
|
|
|
|
padding:9px 11px;
|
|
|
|
|
margin:7px 0;
|
|
|
|
|
background:rgba(255,255,255,.025);
|
|
|
|
|
}
|
|
|
|
|
.twitch-recording-row>div:first-child{
|
|
|
|
|
min-width:0;
|
|
|
|
|
display:flex;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
}
|
|
|
|
|
.twitch-recording-row small{
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
|
white-space:nowrap;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
min-width:420px;
|
|
|
|
|
}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
.twitch-recording-row{
|
|
|
|
|
grid-template-columns:1fr;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
min-width:0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Twitch player: force the floating window to be visibly present above the page. */
|
|
|
|
|
.twitch-player-overlay{
|
|
|
|
|
position:fixed !important;
|
|
|
|
|
inset:0 !important;
|
|
|
|
|
display:none;
|
|
|
|
|
visibility:hidden;
|
|
|
|
|
opacity:0;
|
|
|
|
|
z-index:9999 !important;
|
|
|
|
|
pointer-events:none;
|
|
|
|
|
background:rgba(0,0,0,.35);
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay.open{
|
|
|
|
|
display:block !important;
|
|
|
|
|
visibility:visible !important;
|
|
|
|
|
opacity:1 !important;
|
|
|
|
|
pointer-events:auto !important;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
position:absolute !important;
|
|
|
|
|
left:4vw !important;
|
|
|
|
|
right:4vw !important;
|
|
|
|
|
top:7vh !important;
|
|
|
|
|
bottom:7vh !important;
|
|
|
|
|
width:auto !important;
|
|
|
|
|
height:auto !important;
|
|
|
|
|
min-width:420px;
|
|
|
|
|
min-height:300px;
|
|
|
|
|
display:flex !important;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
background:#151515;
|
|
|
|
|
border:1px solid rgba(255,255,255,.16);
|
|
|
|
|
border-radius:8px;
|
|
|
|
|
overflow:hidden;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-header{
|
|
|
|
|
flex:0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-video-wrap{
|
|
|
|
|
flex:1 1 auto;
|
|
|
|
|
min-height:0;
|
|
|
|
|
background:#000;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay video{
|
|
|
|
|
display:block !important;
|
|
|
|
|
width:100% !important;
|
|
|
|
|
height:100% !important;
|
|
|
|
|
min-height:240px;
|
|
|
|
|
object-fit:contain;
|
|
|
|
|
background:#000;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay.minimized{
|
|
|
|
|
inset:auto 18px 18px auto !important;
|
|
|
|
|
width:480px !important;
|
|
|
|
|
height:300px !important;
|
|
|
|
|
background:transparent;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay.minimized .youtube-player-window{
|
|
|
|
|
position:static !important;
|
|
|
|
|
width:100% !important;
|
|
|
|
|
height:100% !important;
|
|
|
|
|
min-width:0;
|
|
|
|
|
min-height:0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Twitch home-card visual identity without requiring remote artwork. */
|
|
|
|
|
.twitch-module .home-module-mosaic{
|
|
|
|
|
background:
|
|
|
|
|
linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.01));
|
|
|
|
|
}
|
|
|
|
|
.twitch-module .home-module-mosaic:empty::before,
|
|
|
|
|
.twitch-module .home-module-mosaic.no-images::before{
|
|
|
|
|
content:"Twitch";
|
|
|
|
|
display:grid;
|
|
|
|
|
place-items:center;
|
|
|
|
|
width:100%;
|
|
|
|
|
height:100%;
|
|
|
|
|
min-height:150px;
|
|
|
|
|
font-size:2rem;
|
|
|
|
|
font-weight:800;
|
|
|
|
|
letter-spacing:.04em;
|
|
|
|
|
opacity:.75;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
left:2vw !important;
|
|
|
|
|
right:2vw !important;
|
|
|
|
|
top:5vh !important;
|
|
|
|
|
bottom:5vh !important;
|
|
|
|
|
min-width:0;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay.minimized{
|
|
|
|
|
width:calc(100vw - 20px) !important;
|
|
|
|
|
height:240px !important;
|
|
|
|
|
right:10px !important;
|
|
|
|
|
bottom:10px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Twitch floating player drag/resize */
|
|
|
|
|
.twitch-player-overlay{
|
|
|
|
|
background:transparent !important;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
resize:none !important;
|
|
|
|
|
overflow:hidden !important;
|
|
|
|
|
box-shadow:0 12px 38px rgba(0,0,0,.45);
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-header{
|
|
|
|
|
user-select:none;
|
|
|
|
|
touch-action:none;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-resize-handle{
|
|
|
|
|
position:absolute;
|
|
|
|
|
right:0;
|
|
|
|
|
bottom:0;
|
|
|
|
|
width:22px;
|
|
|
|
|
height:22px;
|
|
|
|
|
cursor:nwse-resize;
|
|
|
|
|
z-index:20;
|
|
|
|
|
touch-action:none;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-resize-handle::after{
|
|
|
|
|
content:"";
|
|
|
|
|
position:absolute;
|
|
|
|
|
right:5px;
|
|
|
|
|
bottom:5px;
|
|
|
|
|
width:9px;
|
|
|
|
|
height:9px;
|
|
|
|
|
border-right:2px solid rgba(255,255,255,.65);
|
|
|
|
|
border-bottom:2px solid rgba(255,255,255,.65);
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay.minimized .twitch-player-resize-handle{
|
|
|
|
|
display:none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Keep Twitch drag bar reachable and above the video surface. */
|
|
|
|
|
.twitch-player-overlay .youtube-player-header{
|
|
|
|
|
position:relative !important;
|
|
|
|
|
z-index:30 !important;
|
|
|
|
|
flex:0 0 auto !important;
|
|
|
|
|
min-height:44px;
|
|
|
|
|
background:#1d1d1d !important;
|
|
|
|
|
border-bottom:1px solid rgba(255,255,255,.14);
|
|
|
|
|
cursor:move !important;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-video-wrap{
|
|
|
|
|
position:relative;
|
|
|
|
|
z-index:1;
|
|
|
|
|
}
|
|
|
|
|
.twitch-player-overlay .youtube-player-window{
|
|
|
|
|
max-width:calc(100vw - 24px) !important;
|
|
|
|
|
max-height:calc(100vh - 24px) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Critical Twitch geometry override:
|
|
|
|
|
YouTube's window uses translate(-50%,-50%) for centered positioning.
|
|
|
|
|
Twitch uses explicit pixel left/top coordinates, so that transform must
|
|
|
|
|
never apply or it shifts the window half its own size off-screen. */
|
|
|
|
|
.twitch-player-overlay .youtube-player-window,
|
|
|
|
|
.twitch-player-overlay.open .youtube-player-window,
|
|
|
|
|
.twitch-player-overlay .youtube-player-window.youtube-floating-positioned{
|
|
|
|
|
transform:none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Compact collapsible YouTube history/results */
|
|
|
|
|
.youtube-collapsible { border: 1px solid #393e45; border-radius: 9px; padding: 0; overflow: hidden; }
|
|
|
|
|
.youtube-collapsible > summary { display: flex; cursor: pointer; align-items: center; gap: 10px; padding: 13px 15px; font-size: 16px; font-weight: 700; list-style: none; user-select: none; background: #24272b; }
|
|
|
|
|
.youtube-collapsible > summary::-webkit-details-marker { display: none; }
|
|
|
|
|
.youtube-collapsible > summary::before { content: "▸"; color: #a4b3c5; }
|
|
|
|
|
.youtube-collapsible[open] > summary::before { content: "▾"; }
|
|
|
|
|
.youtube-section-count { font-size: 12px; color: #a8afb9; font-weight: 400; margin-left: auto; }
|
|
|
|
|
.youtube-collapsible > .youtube-card-grid, .youtube-collapsible > .loading { padding: 12px; }
|
|
|
|
|
|
|
|
|
|
/* Library-specific artwork preference in Manage Libraries */
|
|
|
|
|
.artwork-library-setting{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#c8cdd4}
|
|
|
|
|
.artwork-library-setting select{max-width:210px;background:#202329;color:#eee;border:1px solid #4a4d54;border-radius:6px;padding:8px}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Kronic mobile touch interface: no duplicate frontend, no native-video gesture interception. */
|
|
|
|
|
.kronic-mobile-player-tools{display:none}
|
|
|
|
|
@media (max-width:760px){
|
|
|
|
|
html,body{max-width:100%;overflow-x:hidden}
|
|
|
|
|
body{overscroll-behavior-x:none}
|
|
|
|
|
button,select,input[type="button"],.top-nav-dropdown>summary{min-height:44px}
|
|
|
|
|
button,select,.media-card,.show-card,.season-card,.home-module-card{-webkit-tap-highlight-color:transparent}
|
|
|
|
|
.topbar,.topbar-left,.main-nav,.toolbar{min-width:0;max-width:100%}
|
|
|
|
|
.topbar{gap:8px;padding:8px 10px}
|
|
|
|
|
.topbar-left{flex-wrap:wrap;gap:8px}
|
|
|
|
|
.search-form,.search-form input{min-width:0;max-width:100%;width:100%}
|
|
|
|
|
#mediaPrimaryNav .top-nav-menu{max-width:calc(100vw - 24px)}
|
|
|
|
|
.media-actions,.tile-playback-selectors{gap:8px}
|
|
|
|
|
.tile-playback-selectors select{min-width:0;width:100%;font-size:14px}
|
|
|
|
|
.media-actions button,.media-actions a,.iptv-channel-actions button,.youtube-card-actions button{min-height:44px}
|
|
|
|
|
.music-track-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
|
|
|
.kronic-mobile-player-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap;flex-shrink:0}
|
|
|
|
|
.kronic-mobile-player-tools button,.kronic-mobile-resize-grip{height:44px;min-width:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #515a68;border-radius:7px;background:#30343b;color:#fff;font-size:17px;touch-action:none}
|
|
|
|
|
.kronic-mobile-resize-grip{cursor:ew-resize;user-select:none;font-size:23px;min-width:48px}
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen),
|
|
|
|
|
#playerWindow.floating-player-positioned:not(:fullscreen){
|
|
|
|
|
width:min(var(--kronic-mobile-player-width,95vw),100vw)!important;
|
|
|
|
|
left:50%!important;right:auto!important;transform:translateX(-50%)!important;
|
|
|
|
|
bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;
|
|
|
|
|
top:auto!important;height:auto!important;max-width:100vw!important;max-height:85dvh!important;
|
|
|
|
|
min-height:0!important;position:fixed!important;margin:0!important;
|
|
|
|
|
}
|
|
|
|
|
#playerWindow.floating-player-window #mediaPlayerFrame{width:100%!important;max-height:calc(85dvh - 110px)!important;aspect-ratio:16/9}
|
|
|
|
|
#playerWindow .player-header{flex-wrap:wrap;gap:6px;padding:6px 8px}
|
|
|
|
|
#playerWindow .player-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
|
|
|
|
|
#playerWindow.player-minimized:not(:fullscreen){width:min(var(--kronic-mobile-player-width,95vw),100vw)!important;max-height:64px!important}
|
|
|
|
|
#playerWindow.player-minimized .kronic-mobile-player-tools{display:none}
|
|
|
|
|
.youtube-player-overlay.active{pointer-events:none;background:transparent}
|
|
|
|
|
.youtube-player-overlay.active .youtube-player-window{pointer-events:auto}
|
|
|
|
|
.youtube-player-overlay .youtube-player-window:not(:fullscreen),
|
|
|
|
|
.youtube-player-overlay .youtube-player-window.youtube-floating-positioned:not(:fullscreen){
|
|
|
|
|
width:min(var(--kronic-mobile-player-width,95vw),100vw)!important;
|
|
|
|
|
left:50%!important;right:auto!important;top:auto!important;
|
|
|
|
|
bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;
|
|
|
|
|
transform:translateX(-50%)!important;position:fixed!important;
|
|
|
|
|
height:auto!important;max-height:85dvh!important;max-width:100vw!important;border-radius:9px;
|
|
|
|
|
}
|
|
|
|
|
.youtube-player-header{padding:6px!important;flex-wrap:wrap;gap:6px}
|
|
|
|
|
.youtube-player-actions{display:flex;gap:5px;flex-wrap:wrap}
|
|
|
|
|
.youtube-player-header button{min-height:44px}
|
|
|
|
|
.youtube-player-window video{width:100%;max-height:calc(85dvh - 116px);height:auto;aspect-ratio:16/9}
|
|
|
|
|
.youtube-player-window.youtube-player-minimized .kronic-mobile-player-tools{display:none}
|
|
|
|
|
#playerWindow:fullscreen,#youtubePlayerWindow:fullscreen{width:100vw!important;height:100dvh!important;left:0!important;top:0!important;bottom:0!important;transform:none!important;border-radius:0!important}
|
|
|
|
|
#playerWindow:fullscreen .kronic-mobile-player-tools,#youtubePlayerWindow:fullscreen .kronic-mobile-player-tools{display:none}
|
|
|
|
|
}
|
|
|
|
|
@media (max-width:420px){
|
|
|
|
|
.kronic-mobile-player-tools{width:100%;justify-content:flex-end}
|
|
|
|
|
#playerWindow .player-title,.youtube-player-title{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
.youtube-player-actions{width:100%}
|
|
|
|
|
.youtube-player-actions button{flex:1 1 auto}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Kronic compact navigation, two-up mobile galleries, and full-screen touch video */
|
|
|
|
|
#kronicSiteBack{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(9px,env(safe-area-inset-right));z-index:4000;width:43px;height:43px;padding:0;border-radius:10px;background:#2c343d;border:1px solid #657082;color:#fff;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 3px 12px #0008}
|
|
|
|
|
body:has(#playerOverlay.active) #kronicSiteBack,body:has(#youtubePlayerOverlay.active) #kronicSiteBack{display:none!important}
|
|
|
|
|
#mediaPrimaryNav{padding-right:48px;gap:6px}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown>summary{padding:8px 11px}
|
|
|
|
|
.kronic-video-back{display:none}
|
|
|
|
|
.kronic-music-tools{border:1px solid #434850;background:#25282d;border-radius:9px;margin:10px 0;overflow:hidden}
|
|
|
|
|
.kronic-music-tools>summary{cursor:pointer;padding:13px 15px;min-height:44px;font-weight:650;list-style:none}
|
|
|
|
|
.kronic-music-tools>summary::-webkit-details-marker{display:none}
|
|
|
|
|
.kronic-music-tools>summary:after{content:' ▾';float:right;color:#9ca7b4}
|
|
|
|
|
.kronic-music-tools[open]>summary:after{content:' ▴'}
|
|
|
|
|
.kronic-music-tools>form,.kronic-music-tools>.muted,.kronic-music-tools>.music-import-jobs,.kronic-music-tool-content{margin:8px 12px 14px}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
#mediaPrimaryNav{display:flex!important;flex-wrap:nowrap!important;align-items:center;width:100%;overflow:visible;padding-right:47px}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown{min-width:0;flex:1 1 0}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown>summary{font-size:12px;white-space:nowrap;text-align:center!important;padding:10px 4px}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav{grid-column:auto!important;flex:0 0 auto;margin-left:auto}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav .media-account-name{display:none}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav .top-nav-dropdown>summary{font-size:12px;padding:10px 6px}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-context-title{display:none}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort{flex:0 0 100%;order:2}
|
|
|
|
|
.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
|
|
|
|
|
.home-module-card{min-height:132px!important;border-radius:9px}
|
|
|
|
|
.home-module-content{padding:9px!important}
|
|
|
|
|
.home-module-heading h3{font-size:15px!important;line-height:1.1}
|
|
|
|
|
.home-module-subtitle,.home-module-count{font-size:10px!important;white-space:normal}
|
|
|
|
|
.media-grid,.show-grid,.season-grid,.music-track-grid,.youtube-card-grid,.iptv-channel-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
|
|
|
|
|
.media-card,.show-card,.season-card,.youtube-card,.music-track-card{min-width:0!important}
|
|
|
|
|
.cinematic-title{padding:19px 7px 5px!important}
|
|
|
|
|
.cinematic-title strong{font-size:12px!important}
|
|
|
|
|
.media-actions{gap:4px!important;padding:5px!important}
|
|
|
|
|
.media-actions button,.media-actions select{font-size:11px!important;min-width:0!important;padding:6px 3px!important}
|
|
|
|
|
.iptv-snapshot-card .iptv-channel-body strong{font-size:12px!important}
|
|
|
|
|
.music-track-body{padding:7px!important;font-size:12px}
|
|
|
|
|
.youtube-card-body{padding:7px!important}
|
|
|
|
|
.youtube-card-title{font-size:12px!important}
|
|
|
|
|
/* A phone video occupies the entire viewport; no drag/resize interference. */
|
|
|
|
|
#playerOverlay.active,#youtubePlayerOverlay.active{position:fixed!important;inset:0!important;z-index:15000!important;background:#000!important;pointer-events:auto!important;padding:0!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important}
|
|
|
|
|
#playerWindow.floating-player-window:not(:fullscreen),#playerWindow.floating-player-positioned:not(:fullscreen),
|
|
|
|
|
#youtubePlayerWindow.youtube-player-window:not(:fullscreen),#youtubePlayerWindow.youtube-floating-positioned:not(:fullscreen){position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;transform:none!important;width:100vw!important;height:100dvh!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;margin:0!important;display:flex!important;flex-direction:column!important;background:#000!important}
|
|
|
|
|
#playerWindow .player-header,#youtubePlayerWindow .youtube-player-header{min-height:54px!important;max-height:none!important;padding:6px 58px 6px 9px!important;position:relative;flex:0 0 auto}
|
|
|
|
|
.kronic-video-back{display:flex!important;align-items:center;justify-content:center;position:absolute;right:7px;top:5px;z-index:80;width:45px;height:44px;font-size:27px;border-radius:9px;background:#343940;border:1px solid #616975;color:white;cursor:pointer}
|
|
|
|
|
#playerWindow #mediaPlayerFrame{display:block!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;width:100%!important;height:100%!important;aspect-ratio:auto!important}
|
|
|
|
|
#youtubePlayerWindow #youtubeVideoElement{flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:100%!important;width:100%!important;object-fit:contain!important}
|
|
|
|
|
.kronic-mobile-player-tools,.player-resize-handle{display:none!important}
|
|
|
|
|
body.player-open{overflow:hidden!important}
|
|
|
|
|
}
|
|
|
|
|
@media(max-width:480px){
|
|
|
|
|
.home-module-grid,.media-grid,.show-grid,.season-grid,.music-track-grid,.youtube-card-grid,.iptv-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
|
|
|
|
|
#mediaPrimaryNav{display:flex!important;grid-template-columns:none!important}
|
|
|
|
|
#content{padding-inline:5px!important}
|
|
|
|
|
.page-container{padding:9px!important}
|
|
|
|
|
.home-module-card{min-height:122px!important}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* UI correction: remove navigation collisions and use an expandable icon search. */
|
|
|
|
|
#kronicSiteBack{right:max(8px,env(safe-area-inset-right))!important;top:calc(env(safe-area-inset-top,0px) + 8px)!important;z-index:11002!important}
|
|
|
|
|
#kronicSiteSearch{position:fixed;right:calc(max(8px,env(safe-area-inset-right)) + 51px);top:calc(env(safe-area-inset-top,0px) + 8px);z-index:11002;width:43px;height:43px;padding:0;border-radius:10px;background:#2c343d;border:1px solid #657082;color:#fff;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 3px 12px #0008}
|
|
|
|
|
body:has(#playerOverlay.active) #kronicSiteSearch,body:has(#youtubePlayerOverlay.active) #kronicSiteSearch{display:none!important}
|
|
|
|
|
#searchForm.kronic-search-popover{display:none!important;position:fixed!important;right:max(8px,env(safe-area-inset-right));top:calc(env(safe-area-inset-top,0px) + 60px);z-index:11003;width:min(440px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;padding:9px!important;background:#25282d!important;border:1px solid #555d68!important;border-radius:10px;box-shadow:0 10px 30px #000b;gap:7px!important;align-items:center!important;flex-direction:row!important}
|
|
|
|
|
#searchForm.kronic-search-popover.kronic-search-open{display:flex!important}
|
|
|
|
|
#searchForm.kronic-search-popover #searchInput{flex:1!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;height:44px}
|
|
|
|
|
#searchForm.kronic-search-popover button{flex:0 0 46px!important;width:46px!important;min-width:46px!important;height:44px!important;font-size:24px;padding:0!important}
|
|
|
|
|
#mediaPrimaryNav{padding-right:105px!important;min-width:0;align-items:center}
|
|
|
|
|
#mediaPrimaryNav .top-nav-dropdown{position:relative;min-width:0}
|
|
|
|
|
#mediaPrimaryNav .top-nav-menu{white-space:normal;min-width:180px}
|
|
|
|
|
#mediaPrimaryNav .media-account-nav{min-width:0}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
header.topbar{height:auto!important;min-height:60px!important;padding:8px 12px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;position:sticky!important;top:0!important}
|
|
|
|
|
.topbar-left{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important}
|
|
|
|
|
.topbar .site-title{font-size:21px!important;padding-right:105px!important}
|
|
|
|
|
#mediaPrimaryNav{padding-right:0!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;justify-content:flex-start!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown{flex:0 1 auto!important;min-width:0!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown>summary{padding:9px 10px!important;font-size:13px!important;min-height:42px!important;white-space:nowrap!important}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav{flex:0 0 auto!important;margin-left:0!important;order:1!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort{flex:1 1 100%!important;width:100%!important;order:2!important;min-width:0!important;margin:2px 0 0!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort .library-sort-controls{display:flex!important;gap:7px!important;min-width:0!important;width:100%!important;align-items:end!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort .library-sort-label{font-size:12px!important;flex:1 1 58%!important;min-width:0!important;display:grid!important;gap:4px!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort .library-sort-label::before{display:none!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort .library-sort-direction{flex:1 1 42%!important;min-width:0!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort select{width:100%!important;min-width:0!important;max-width:100%!important;font-size:14px!important;padding:8px 7px!important}
|
|
|
|
|
#mediaPrimaryNav .top-nav-menu{position:absolute!important;top:calc(100% + 4px)!important;left:0!important;right:auto!important;z-index:11005!important;min-width:190px!important;max-width:calc(100vw - 28px)!important}
|
|
|
|
|
#mediaPrimaryNav .media-account-nav .top-nav-menu{left:auto!important;right:0!important}
|
|
|
|
|
#kronicSiteBack,#kronicSiteSearch{top:calc(env(safe-area-inset-top,0px) + 9px)!important}
|
|
|
|
|
#searchForm.kronic-search-popover{top:calc(env(safe-area-inset-top,0px) + 60px)!important}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* UI touch polish v3: utilities occupy a real header row rather than covering the navigation. */
|
|
|
|
|
.kronic-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-left:auto;flex-shrink:0}
|
|
|
|
|
#kronicHeaderTools #kronicSiteSearch,#kronicHeaderTools #kronicSiteBack{position:static!important;inset:auto!important;top:auto!important;right:auto!important;box-shadow:none!important;width:44px!important;height:44px!important;min-width:44px;border-radius:12px;font-size:25px;display:flex;align-items:center;justify-content:center}
|
|
|
|
|
#mediaPrimaryNav{padding-right:0!important}
|
|
|
|
|
#searchForm.kronic-search-popover{top:calc(100% + 5px)!important;right:10px!important}
|
|
|
|
|
@media(max-width:760px){
|
|
|
|
|
header.topbar{overflow:visible!important;}
|
|
|
|
|
.topbar-left{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important}
|
|
|
|
|
.topbar .site-title{grid-column:1!important;grid-row:1!important;min-width:0;padding-right:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
|
|
|
#kronicHeaderTools{grid-column:2!important;grid-row:1!important;display:flex!important;margin:0!important;gap:8px!important}
|
|
|
|
|
#mediaPrimaryNav{grid-column:1/-1!important;grid-row:2!important;width:100%!important;padding:0!important;display:flex!important;flex-wrap:nowrap!important;gap:7px!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:none;justify-content:flex-start!important}
|
|
|
|
|
#mediaPrimaryNav::-webkit-scrollbar{display:none}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown{flex:0 0 auto!important;position:static!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-dropdown>summary,#mediaPrimaryNav>.media-account-nav .top-nav-dropdown>summary{font-size:14px!important;padding:10px 12px!important;border-radius:10px!important;min-height:46px!important}
|
|
|
|
|
#mediaPrimaryNav>.media-account-nav{flex:0 0 auto!important;margin:0!important}
|
|
|
|
|
#mediaPrimaryNav .top-nav-menu{position:absolute!important;top:auto!important;left:12px!important;right:12px!important;max-width:none!important;min-width:0!important;width:calc(100vw - 24px)!important;z-index:11005!important;padding:8px!important}
|
|
|
|
|
#mediaPrimaryNav .top-nav-menu button{min-height:50px!important;font-size:16px!important;padding:12px 15px!important;border-radius:8px!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort{flex:0 0 auto!important;order:2!important;width:auto!important;max-width:100%!important;align-self:center}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort .library-sort-controls{width:auto!important}
|
|
|
|
|
#mediaPrimaryNav>.top-nav-sort select{font-size:13px!important;min-width:120px!important}
|
|
|
|
|
#searchForm.kronic-search-popover{position:absolute!important;top:calc(100% + 6px)!important;right:8px!important;width:calc(100vw - 16px)!important;max-width:none!important}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Embedded Chat remains interactive while a floating video is open. */
|
|
|
|
|
#youtubePlayerOverlay.youtube-player-overlay.active,
|
|
|
|
|
.youtube-player-overlay.active,
|
|
|
|
|
.twitch-player-overlay.open,
|
|
|
|
|
#playerOverlay.player-overlay.active {
|
|
|
|
|
background:transparent!important;
|
|
|
|
|
backdrop-filter:none!important;
|
|
|
|
|
pointer-events:none!important;
|
|
|
|
|
}
|
|
|
|
|
#youtubePlayerOverlay .youtube-player-window,
|
|
|
|
|
.twitch-player-overlay .youtube-player-window,
|
|
|
|
|
#playerOverlay #playerWindow { pointer-events:auto!important; }
|
|
|
|
|
body.player-open { overflow:auto!important; }
|