/* V231 - Ana site player mobil stabil fix
   Eski API, kanal, maç, reklam ve logo ayarlarına dokunmaz.
   V226/V228 agresif player ölçme fixlerini devre dışı bırakıp tek, stabil responsive player düzeni verir. */
:root{--dost-v231-radius:18px;--dost-v231-line:rgba(36,209,255,.35);--dost-v231-bg:#000;}
html,body{max-width:100%!important;overflow-x:hidden!important;}
*,*::before,*::after{box-sizing:border-box;}

/* Ana player iskeleti */
.selcuk-stage,.watch-stage,.home-player-stage{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.selcuk-player-card,.watch-player-card,.home-player-card,.player-shell{
  position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#02070e!important;border-color:var(--dost-v231-line)!important;
  box-sizing:border-box!important;
}
.selcuk-player-header{flex:0 0 auto!important;min-height:46px!important;line-height:1.2!important;z-index:5!important;}

/* Gerçek yayın alanı: tek oran, tek alan, kırpma/yenileme döngüsü yok */
.selcuk-player-body,
.hero-player-wrap,.hero-player-wrap-full,.player-wrap,.v4-player-area,.vizebet-player,
.watch-player-wrap,.watch-player-screen,.match-player,.video-player,.home-player-wrap{
  position:relative!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;
  padding:0!important;margin:0!important;overflow:hidden!important;background:#000!important;line-height:0!important;box-sizing:border-box!important;
  contain:layout paint!important;isolation:isolate!important;
}

/* Medya ve güvenli player wrapperları */
.selcuk-player-body > video,.selcuk-player-body > iframe,.selcuk-player-body > embed,.selcuk-player-body > object,.selcuk-player-body > canvas,
.hero-player-wrap > video,.hero-player-wrap > iframe,.player-wrap > video,.player-wrap > iframe,
.watch-player-screen > video,.watch-player-screen > iframe,.watch-player-wrap > video,.watch-player-wrap > iframe,
.selcuk-player-body .plyr,.selcuk-player-body .plyr__video-wrapper,.selcuk-player-body .jwplayer,.selcuk-player-body .jw-wrapper,.selcuk-player-body .jw-media,
.selcuk-player-body .video-js,.selcuk-player-body .vjs-tech,.selcuk-player-body .dplayer,.selcuk-player-body .mejs-container,.selcuk-player-body .html5-video-player,
.selcuk-player-body #player,.selcuk-player-body .player:not(.player-corner-ad):not(.premium-corner-ad){
  position:absolute!important;inset:0!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;
  display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#000!important;overflow:hidden!important;box-sizing:border-box!important;
  transform:none!important;z-index:1!important;
}
.selcuk-player-body video,.selcuk-player-body iframe,.selcuk-player-body embed,.selcuk-player-body object,.selcuk-player-body canvas,
.watch-player-screen video,.watch-player-screen iframe,.hero-player-wrap video,.hero-player-wrap iframe,.player-wrap video,.player-wrap iframe{
  object-fit:cover!important;object-position:center center!important;background:#000!important;
}
.selcuk-player-body .plyr video,.selcuk-player-body .jwplayer video,.selcuk-player-body .video-js video,.selcuk-player-body .dplayer video,.selcuk-player-body .mejs-container video,
.selcuk-player-body .plyr iframe,.selcuk-player-body .jwplayer iframe,.selcuk-player-body .video-js iframe,.selcuk-player-body .dplayer iframe,.selcuk-player-body .mejs-container iframe{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important;border:0!important;margin:0!important;padding:0!important;
}

/* Overlayler yayını karartmasın; sadece preroll varsa ortada görünsün */
.selcuk-player-body .player-message{position:absolute!important;inset:0!important;z-index:10!important;line-height:1.45!important;background:transparent!important;}
.selcuk-player-body .v64-player-error{z-index:12!important;}
.selcuk-player-body .player-ad-layer,.selcuk-player-body .player-ad-layer-premium{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:40!important;pointer-events:none!important;background:transparent!important;line-height:normal!important;
}
.selcuk-player-body .player-ad-layer *,.selcuk-player-body .player-ad-layer-premium *{pointer-events:auto!important;}
.selcuk-player-body [data-preroll-ad],.selcuk-player-body .player-preroll-ad,.selcuk-player-body .premium-preroll-ad,.selcuk-player-body .preroll-overlay{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:70!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
.selcuk-player-body .preroll-inner,.selcuk-player-body .preroll-ad,.selcuk-player-body .preroll-ad .ad-box,.selcuk-player-body .preroll-ad iframe,.selcuk-player-body .preroll-ad video,.selcuk-player-body .preroll-ad img{
  max-width:min(92%,680px)!important;max-height:78%!important;border-radius:18px!important;object-fit:contain!important;
}

/* Sağ üst köşe logo: asla ortada büyümez, asla playerı karartmaz */
.player-corner-logo-overlay,
.selcuk-player-body > .player-corner-logo-overlay,.hero-player-wrap > .player-corner-logo-overlay,.player-wrap > .player-corner-logo-overlay,
.watch-player-screen > .player-corner-logo-overlay,.watch-player-wrap > .player-corner-logo-overlay,
.player-ad-layer .premium-corner-ad,.player-ad-layer-premium .premium-corner-ad,.player-corner-ad.premium-corner-ad{
  position:absolute!important;top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;inset:auto 10px auto auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;width:88px!important;height:auto!important;min-width:0!important;min-height:0!important;
  max-width:118px!important;max-height:66px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  filter:drop-shadow(0 7px 16px rgba(0,0,0,.55))!important;backdrop-filter:none!important;overflow:visible!important;line-height:0!important;pointer-events:auto!important;
  z-index:64!important;transform:none!important;contain:none!important;box-sizing:border-box!important;
}
.player-corner-logo-overlay a,.player-corner-logo-overlay .ad-click,.player-corner-logo-overlay .ad-box,
.player-corner-ad.premium-corner-ad .ad-box,.premium-corner-ad .ad-box{display:block!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;line-height:0!important;}
.player-corner-logo-overlay img,.player-corner-logo-overlay video,.player-corner-logo-overlay svg,
.player-corner-ad.premium-corner-ad img,.premium-corner-ad img{
  position:static!important;display:block!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:118px!important;max-height:62px!important;
  object-fit:contain!important;object-position:center center!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;
}
.player-corner-logo-overlay::before,.player-corner-logo-overlay::after,.premium-corner-ad::before,.premium-corner-ad::after,.player-corner-ad::before,.player-corner-ad::after{display:none!important;content:none!important;background:transparent!important;}

/* Toolbar ve alt bilgi taşma düzeltmesi */
.v94-home-player-toolbar,.v64-player-tools{
  position:relative!important;z-index:8!important;line-height:normal!important;width:100%!important;max-width:100%!important;min-width:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;padding:9px 10px!important;overflow:visible!important;height:auto!important;min-height:48px!important;
}
.v94-home-player-toolbar select,.v94-home-player-toolbar button,.v94-home-player-toolbar a,.v64-player-tools select,.v64-player-tools button,.v64-player-tools a,.patron-now-watching{
  max-width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.15!important;
}
.selcuk-watch-extras{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}

/* PatronSport / maç teması mobil ve tablet */
@media(max-width:1100px){
  .selcuk-home{width:100%!important;max-width:100%!important;min-width:0!important;padding-left:12px!important;padding-right:12px!important;overflow:hidden!important;}
  .selcuk-grid{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:"stage" "match"!important;gap:14px!important;width:100%!important;max-width:100%!important;min-width:0!important;}
  .selcuk-stage{grid-area:stage!important;order:1!important;min-width:0!important;}
  .selcuk-matchbox{grid-area:match!important;order:2!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;}
  .selcuk-match-list{height:auto!important;max-height:440px!important;overflow:auto!important;}
  .patron-side-rails,.patron-side-rails-toplayer,.fixed-side-ads,.side-ads{display:none!important;}
}
@media(max-width:760px){
  .selcuk-home{padding-left:8px!important;padding-right:8px!important;}
  .selcuk-player-card{border-radius:14px!important;}
  .selcuk-player-header{min-height:42px!important;padding:0 12px!important;}
  .selcuk-player-header strong{font-size:14px!important;max-width:70%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .selcuk-player-header .badge{font-size:10px!important;padding:7px 11px!important;}
  .selcuk-player-body,.hero-player-wrap,.player-wrap,.watch-player-screen,.watch-player-wrap{height:auto!important;min-height:0!important;aspect-ratio:16/9!important;border-radius:0!important;}
  .player-corner-logo-overlay,.selcuk-player-body > .player-corner-logo-overlay,.player-ad-layer .premium-corner-ad,.player-ad-layer-premium .premium-corner-ad,.player-corner-ad.premium-corner-ad{top:7px!important;right:7px!important;inset:auto 7px auto auto!important;width:56px!important;max-width:64px!important;max-height:42px!important;}
  .player-corner-logo-overlay img,.player-corner-logo-overlay video,.player-corner-logo-overlay svg,.premium-corner-ad img,.player-corner-ad.premium-corner-ad img{max-height:40px!important;}
  .v94-home-player-toolbar,.v64-player-tools{justify-content:center!important;gap:7px!important;padding:8px!important;}
  .v94-home-player-toolbar select,.v94-home-player-toolbar button,.v94-home-player-toolbar a,.v64-player-tools select,.v64-player-tools button,.v64-player-tools a{flex:1 1 calc(50% - 8px)!important;min-height:34px!important;font-size:11px!important;padding:8px 9px!important;text-align:center!important;}
  .patron-now-watching{flex:1 1 100%!important;text-align:center!important;font-size:11px!important;padding:8px 10px!important;}
  .selcuk-watch-extras{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .selcuk-extra-card{min-width:0!important;width:100%!important;}
  .patron-live-center,.patron-multiscreen-card,.patron-score-card{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;}
}
@media(max-width:420px){
  .selcuk-home{padding-left:6px!important;padding-right:6px!important;}
  .selcuk-player-header strong{font-size:13px!important;}
  .v94-home-player-toolbar select,.v94-home-player-toolbar button,.v94-home-player-toolbar a,.v64-player-tools select,.v64-player-tools button,.v64-player-tools a{flex-basis:100%!important;}
}
