/* Shared layout corrections. Kept separate from the pinned legacy skin. */
html.pk-unified .module-player .MacPlayer,
html.pk-unified .module-player #playleft,
html.pk-unified .module-player iframe { border-radius:0!important; }
html.pk-unified .module-player>.module-main { gap:24px; }
html.pk-unified .module-player .pk-player-side {
  box-sizing:border-box; padding:20px!important; margin:0!important;
  border:1px solid #ffffff10; border-radius:0!important;
  background:#191919!important; font-size:14px; line-height:1.6;
}
html.pk-unified .pk-player-side .pk-player-title { margin:0 0 8px; font-size:22px;line-height:1.4;overflow-wrap:anywhere; }
html.pk-unified .pk-player-side .pk-player-meta { margin:0 0 20px; font-size:13px!important; }
html.pk-unified .pk-player-side .pk-source-heading,
html.pk-unified .pk-player-side .pk-episode-heading { margin:0 0 12px; }
html.pk-unified .pk-player-side .pk-source-controls { margin:0 0 20px; }
html.pk-unified .pk-player-side .pk-quick-source,
html.pk-unified .pk-player-side .pk-source-more { font-size:14px!important;min-height:44px; }
html.pk-unified .pk-player-side .pk-episode-panel { border:0;padding:0!important; }
html.pk-unified .pk-player-side .pk-episodes { padding:0!important; margin:0!important; font-size:14px; scrollbar-gutter:stable; }
html.pk-unified .pk-player-side .pk-episodes a {font-size:14px!important;min-height:44px!important;}
@media(min-width:1200px){html.pk-unified .module-player>.module-main{grid-template-columns:minmax(0,1fr) 350px!important}}
@media(max-width:1199px){
  html.pk-unified .module-player>.module-main{display:block!important}
  html.pk-unified .module-player .pk-player-side{margin-top:20px!important}
  html.pk-unified .pk-player-side .pk-source-controls{grid-template-columns:repeat(4,minmax(0,1fr));max-width:760px}
  html.pk-unified .pk-player-side .pk-episodes{grid-template-columns:repeat(6,minmax(0,1fr))!important;max-height:250px!important}
}
@media(max-width:600px){
  html.pk-unified .module-player .pk-player-side{padding:16px!important;margin-top:16px!important}
  html.pk-unified .pk-player-side .pk-player-title{font-size:20px}
  html.pk-unified .pk-player-side .pk-source-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.pk-unified .pk-player-side .pk-episodes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  html.pk-unified .pk-player-side .pk-episodes a{padding:8px 3px!important;font-size:13px!important}
}
@media(max-width:359px){html.pk-unified .pk-player-side .pk-episodes{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
