/* Assicurati che html e body gestiscano correttamente lo spazio verticale */
html, body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-style: normal;
  background:#12161c;
  color: #c9d1d9;
  height: 100%; /* Importante per permettere al flexbox nel body di funzionare */
  margin: 0;
  padding: 0;
  /* overflow: hidden; */ /* Potrebbe causare problemi se il contenuto totale supera la larghezza, valuta se è davvero necessario qui */
  display: flex; /* Body come flex container principale */
  flex-direction: column;
}



.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: ;
  padding: 10px 20px;
  color: white;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.main-nav li a {
  color: #8f9fbb;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}

.main-nav li a:hover {
  color: #c9d1d9;
  text-decoration: none;
  font-weight: 500;
}



.search-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    background: ;
    padding: 10px;
    border-radius: 6px;
  }

  .main-nav {
    width: 100%;
    margin-top: 10px;
  }
}



code, pre{
  font-family: "Source Code Pro", monospace;
  font-weight: 400;
  font-style: normal;
  background:#1c2128;
  color:#58a6ff;
}

button {
  font-size: 15px;
  border: none;
  background:transparent;
  color:#c9d1d9;
  border-radius: 8px;
  cursor: pointer;
}
button:hover {
  background:transparent;
  color:#58a6ff;
}

.main-header {
  background:#161b22;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  flex-shrink: 0; /* Impedisce all'header di restringersi */
}

.logodesktop{
  color:#c9d1d9;
  font-size:14px;
  font-family: "Source Code Pro", monospace;
  background:#1c2128;
  padding:6px 8px;
  border-radius:6px;
  margin-right:10px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 32px;
  width: auto;
  padding-top:0px;
  padding-left:10px;
  padding-bottom:0px;
}

.site-title {
  font-size: 20px;
  font-weight: 600;
  margin-left: -15px;
}

.layout-container {
  flex: 1; /* Occupare lo spazio rimanente verticale */
  display: flex; /* Container flex per le sidebar e il contenuto */
  overflow: hidden; /* Nasconde il contenuto che esce, utile per layout orizzontali */
}

/* Stili comuni per le sidebar */
.sidebar {
  padding: 0;
  width: 240px; /* Larghezza fissa */
  min-width: 220px; /* Non scendere sotto questa larghezza */
  height: 100%;
  overflow-y: auto; /* Permette lo scroll verticale se il contenuto è troppo lungo */
  overflow-x: hidden; /* Nasconde il contenuto orizzontale in eccesso */
  box-sizing: border-box;
  position: relative;
  background-color: #1c2128;
  scrollbar-gutter: stable;
  flex-shrink: 0; /* Impedisce alla sidebar di restringersi */
}

/* Stili specifici per la sidebar sinistra (se .country-selector è la sinistra) */
.country-selector{
  flex-shrink: 0; /* Già presente, bene */
  min-width: 220px; /* Già presente, bene */
  width: 240px; /* Assicura che la larghezza sia 300px */
  /* Altri stili specifici per la sidebar sinistra */
}

/* Stili specifici per la sidebar destra */
.right-sidebar {
  flex-shrink: 0; /* Già presente, bene */
  width: 240px; /* Imposta la larghezza fissa anche per la destra */
  min-width: 220px; /* Non scendere sotto questa larghezza */
  /* Altri stili per la sidebar destra se any */
}

.main-content {
  flex: 1; /* Occupare lo spazio rimanente orizzontale */
  min-width: 0; /* Permette al contenuto principale di ridursi più del suo contenuto interno se necessario */
  box-sizing: border-box;
  overflow-y: auto; /* Aggiungi scroll verticale se il contenuto principale è troppo lungo */
  padding: 10px; /* Aggiungi padding se desiderato */
}

/* Footer */
.main-footer {
  background: #161b22;
  color: #8b949e;
  text-align: center;
  font-size: 14px;
  margin: 0;
  flex-shrink: 0; /* Impedisce al footer di restringersi */
}

.main-footer a {
  color: #58a6ff;
  text-decoration: none;
}

.main-footer a:hover {
  text-decoration: underline;
}

/*-------------------------------------------------------------------*/

a.don{color: #ffcb00!important;}
a.doc{color: #ff7cec!important;}


#player {
  width: 100%; 
  
  margin: auto; 
  display: block; 
  background:#2c313a;
  background-image: url("../img/banner.png");
  background-position: center top;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center center;
}

.player-wrapper {
  position: relative;
  margin: 0 auto;
  font-family: "Cal Sans", sans-serif;
  
}

.controllRight{
 position: absolute;
  bottom: 0px;
  right: 10px;
  display: flex;
}

.custom-controls {
  position: absolute;
  bottom: 40px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0);
  padding: 8px 8px;
  border-radius: 8px;
  z-index: 10;

}


.custom-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.custom-controls button:hover {
  color: #f9c855;
}

.custom-controls input[type="range"] {
  flex: 1;
}

.player-wrapper .osd,
.player-wrapper .custom-controls,
.player-wrapper .epg-now,
.player-wrapper .epg-next,
.player-wrapper .epg-timeline,
.player-wrapper .big-playpause,
.player-wrapper .gruppo,
.player-wrapper .side-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


.player-wrapper:hover .custom-controls,
.player-wrapper:hover .epg-now,
.player-wrapper:hover .epg-next,
.player-wrapper:hover .epg-timeline,
.player-wrapper:hover .big-playpause,
.player-wrapper:hover .gruppo,
.player-wrapper:hover .side-btn,
.player-wrapper.show-controls .osd,
.player-wrapper.show-controls .custom-controls,
.player-wrapper.show-controls .epg-now,
.player-wrapper.show-controls .epg-next,
.player-wrapper.show-controls .epg-timeline,
.player-wrapper.show-controls .big-playpause,
.player-wrapper.show-controls .gruppo,
.player-wrapper.show-controls .side-btn {
  opacity: 1;
  pointer-events: auto;
}




/* Wrapper del menu qualità */
.quality-wrapper {
  position: relative;
  display: inline-block;
}

/* Bottone che apre il menu */
#qualityToggle {
  background: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

#qualityToggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Menu a discesa (aperto verso l’alto) */
.quality-options {
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 120px;
  background: rgba(0, 0, 0, 0.6); /* stesso sfondo della barra */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; /* stesso raggio della barra */
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
  z-index: 999;
  padding: 6px 0;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Nasconde il menu */
.quality-options.hidden {
  display: none;
}

/* Ogni voce */
.quality-option {
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.quality-option:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quality-option.active {
  background: #4caf50;
  font-weight: bold;
}



.big-playpause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 128px;
  height: 128px;
  font-size: 56px;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  opacity: 0;
  pointer-events: none;
}




.big-playpause:hover {
  background: rgba(255, 255, 255, 0.3);
}
  .big-playpause:hover i{
    color: #eeca74;
  
}


.volume-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100px;
}

.volume-inline input[type="range"] {
  -webkit-appearance: none;
  width: 100px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  position: relative;
}

.volume-inline input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0; /* Nasconde il pomello */
  height: 0;
  background: transparent;
  box-shadow: -80px 0 0 80px #f9c855; /* Crea la parte riempita */
}

.volume-inline input[type="range"]::-moz-range-thumb {
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

.volume-inline input[type="range"]::-moz-range-progress {
  background-color: #fff;
  height: 8px;
  border-radius: 2px;
}



.epg-now {
  position: absolute;
  bottom: 100px;
  left: 10px;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  font-family: "Cal Sans", sans-serif;
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 12;
  pointer-events: none;
  user-select: none;
}



.epg-next {
  display: block;
  position: absolute;
  bottom: 75px;
  left: 10px;
  font-size: 16px;
  color: #ff6cb8;
  font-family: "Cal Sans", sans-serif;
  background: rgba(0, 0, 0, 0);
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.player-wrapper.show-controls .epg-next {
  opacity: 1;
}

.epg-now.empty,
.epg-next.empty {
  background: transparent !important;
  opacity: 0 !important;
}



.gruppo {
  position: absolute;
  bottom: 65px;
  right: 10px;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  font-family: "Cal Sans", sans-serif;
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 12;
  pointer-events: none;
  user-select: none;
}

.epg-timeline {
  position: absolute;
  bottom: 20px; /* Sopra i controlli (che sono a 15px) */
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 13;
  color: white;
  font-family: "Cal Sans", sans-serif;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}


.epg-time {
  min-width: 40px;
  text-align: center;
}

.epg-progress-container {
  flex-grow: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  width: 100%;
  height: 100%;
  background-color: #ffffff61;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f9c855 0%, #ed537f 100%);
  transition: width 0.3s ease;
}

.osd {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  height: auto;
  padding-bottom: 132px;
}



.autoplay-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Cal Sans", sans-serif;
  font-size: 13px;
  color: white;
}

/* Slim toggle */
.switch-slim {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 14px;
}

.switch-slim input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-slim {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #666;
  transition: 0.3s;
  border-radius: 14px;
}

.slider-slim:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  top: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch-slim input:checked + .slider-slim {
  background-color: #f9c855;
}

.switch-slim input:checked + .slider-slim:before {
  transform: translateX(14px);
}


/*-------------------------------------------------------------------*/


/* Su schermi più larghi - questa regola non dovrebbe impedire il restringimento, ma solo l'espansione oltre 960px */
@media (min-width: 2000px) {
  #player {
    max-width: 2200px; /* Permette al player di espandersi di più su schermi molto grandi */
  }
}




.log-log { color: color: #aaa7b1;; }
.log-warn { color: orange; }
.log-error { color: #ff8080; }

.log-log,
.log-warn,
.log-error {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}






.player-controls {
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #161b22;
  flex-shrink: 0; /* Impedisce ai controlli del player di restringersi */
}



.maintenance{
  color:#ff7b72;
}

.listupdate{
  color:#58a6ff;

}

.date{
  font-size:;
}

.canali{
  color:#9fa344;
}

.totchan{
  color:#c6f032;
  font-size:14px;
}

.skip{
  color:#ff7b72;
}

.ip{
  font-weight:;
}

.panel-box {
  width:100%; 
  max-width: 100%;
  margin: 10px auto;
  
}

.panel-list {
  font-size: 12px;
  font-family: "Source Code Pro", monospace;
  background: ;
  max-width: 100%;
  max-height: 600px; /* o quanto vuoi */
  min-height: 600px;
  overflow-y: auto;   /* scroll verticale */
  margin: 0px auto;
  padding: 10px;
  border: 2px solid #1c2128;
  color: #aaa7b1;
}






.tab-container {
  width: 100%;
  background:#0e1117;
  border-radius: 8px;
  border: 1px solid #21262d;
  overflow: hidden;
  
}

/* Tab buttons */
.tab-buttons {
  display: flex;
  background: #161b22;
  border-bottom: 1px solid #1c2128;
}

.tab-button {
  padding: 4px 6px;
  background: none;
  border: none;
  color: #c9d1d9;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
  font-family: "Source Sans 3", sans-serif;
}

.tab-button:hover {
  
}

.tab-button.active {
 
  border-bottom: 0px solid #58a6ff;
  color: #58a6ff;
}

/* Contenuto tab */
.tab-content {
  max-width: 100%;
  max-height: 300px; /* o quanto vuoi */
  min-height: 300px;
  overflow-y: auto;   /* scroll verticale */
  margin: 0px auto;
  padding: 10px; 
  color: #c9d1d9;
  font-size: 12px;
  font-family: "Source Code Pro", monospace;
}

.tab-content.hidden {
  display: none;
}



















.terminal-line {

}

.blinking-cursor {
  animation: blink 1s steps(1) infinite;
  color: #aaa7b1;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}


.container-box {
  padding: 2px 30px 30px 30px;
  font-size:14px;
  color: #c9d1d9;
}

.repo-language-color {
  position: relative;
  top: 1px;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius:50%;
  background-color: #89e051;
}

.flag {
  width: 36px; /* Attenzione: larghezza diversa qui rispetto a .flag-sidebar */
  height: 36px; /* Attenzione: altezza diversa qui rispetto a .flag-sidebar */
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.flag:hover,
.flag.selected {
  border-color: none;
}

.flag-sidebar {
  width: 240px; /* Questo width potrebbe essere ridondante se applicato anche a .sidebar */
  background: ;
  overflow-y: auto;
  padding: 0px;
  display: flex;
  flex-direction: column;
}

.flag-wrapper {
  display: flex;
  align-items: center;
  padding: 5px;
  margin:5px;
  border-radius: 8px;
  background-color:#1c2128;
  transition: background-color 0.2s;
  cursor: pointer;
}

.flag-wrapper:hover {
  background-color: #2c313a;
  border-left: 0px solid #697282;
  border-radius: 8px;
  margin:5px;
}

/* Stili specifici per le flag all'interno delle sidebar */
.flag-wrapper .flag { /* Applica questi stili alle immagini flag dentro .flag-wrapper */
  width: 28px;
  height: 28px;
}


.flag-label {
  font-size: 17px;
  padding-left:5px;
  color: #c9d1d9;
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.flag-wrapper.selected {
  background-color: #2c313a;
  opacity:1;
  border: 0px solid #58a6ff;
  border-radius: 8px;
  margin:10px;
}

.update-info{
  font-size: 17px;
  color:#555;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c2128;
  padding:8px ;
  margin:10px;
  cursor: pointer;
  transition: 0.3s;
  min-height: 30px;
}

.channel:hover {
  background-color: #2c313a;
  border-left: 0px solid #697282;
  border-radius: 8px;
  margin:10px;
}

.channel.selected {
  background-color: #2c313a;
  opacity:1;
  border: 0px solid #58a6ff;
  border-radius: 8px;
  margin:10px;
}

.channel.selected::after {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f8dd";
  color:#697282;
  opacity:0.5;
  display: inline-block;
  margin-left: 8px;
  font-size: 25px;
}

.channel-name {
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  color: #c9d1d9;
  flex-grow: 1;
  text-align: left;
  padding-left: 10px;
}

.channel img {
  width: 30px;
  max-height: 37px;
}

.channel p {
  margin-top: 5px; /* Attenzione, questo stile per <p> dentro .channel potrebbe influenzare il layout flex */
  font-size: 17px;
  text-align: center;
  color: #c9d1d9;
}

.channelCurrent{
  display: flex;
  align-items: center;
  width: 100%;
  font-size:20px;
  color: #c9d1d9;
}

.channelCurrent {
  font-size: 16px;
  margin-bottom: 4px;
}

.channelCurrent img{
  width: 60px;
  height: auto;
  margin-right: 20px;
}


.url-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1c2128;
  padding: 10px;
   
}

.url-wrapper button  {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color:;
}


.url-container {
  position: relative;
  display: flex;
  align-items: center;
   margin: 0px 30px 0px -10px;
   width: 250px;
}


.url:placeholder-shown ~ .clear-icon {
  display: none;
}

.url:not(:placeholder-shown) ~ .clear-icon,
.url:focus ~ .clear-icon {
  display: block;
}


.url-container input {
  padding: 6px 30px 6px 30px; /* spazio per l’icona */
   width: 250px;
}

.url{
  background: #2c313a;
  color: #c9d1d9;
  border: none;
  border-radius: 6px;
  padding: 6px 6px;
  font-size: 14px;
   width: 250px;
}

.url:focus {
  background: #383f4b;
  outline: none;
}

.globe-icon {
  position:absolute ;
  right: -25px;
  pointer-events: none;
}

.clear-icon {
  position:absolute ;
  right: 25px;
  font-size: ;
  color: ;
  cursor: pointer;
  display:;
  z-index: 2;
  background: ;
  color: #c9d1d9;
  border: none;
  
  font-size: 16px;
}



.clear-icon:hover {
  color:#ff5858;
}

#loadRemoteM3u {
  padding-right: 0px;
  color: #c9d1d9;
  border: none;
  cursor: pointer;
  margin-left: -28px;
}

#loadRemoteM3u i {
  pointer-events: none;
}

#loadRemoteM3u:hover i {
  color: #58a6ff;
}



.search-container {
  position: relative;
  display: inline-block;
}

.search-container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.search-container input {
  padding-left: 30px; /* spazio per l'icona */
}


.firefox-style {
  background: #1c2128;
  color: #c9d1d9;
  border: none;
  border-radius: 6px;
  padding: 6px 6px;
  font-size: 14px;
  width: 200px; 
  margin-top: 0px;
  margin-bottom: 0px;
  transition: box-shadow 0.2s, background 0.2s;
}

.firefox-style:focus {
  outline: none;
  background: #2c313a;
}

@media (max-width: 768px) {
  /* Questa media query riduce le dimensioni degli elementi all'interno delle sidebar su schermi piccoli, il che è buono */
  .channel img {
    width: 20px;
    height: auto;
  }

  .channel-name {
    font-size: 12px;
  }

  .flag-label {
    font-size: 12px;
  }

  .flag-wrapper .flag { /* Seleziona le flag dentro il wrapper */
    width: 22px;
    height: 22px;
  }
}

.anim-rotate {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.statusMessage{
  display: inline;
}


/* Stili per l'EPG */
#epg-container {
  background: ; /* Sostituisci con un colore se necessario */
  color: #f0f0f0;
  padding: 5px;
  margin-top: 1px;
}

.program {
  padding:20px;
}

.channel-epg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
  margin-bottom: 8px;
  flex-wrap: wrap; /* Permette agli elementi di andare a capo se lo spazio è insufficiente */
  width:95%; /* Attenzione: un width percentuale qui potrebbe interagire con il flex layout */
}

.channel-info {
 
  font-size: 16px; /* Questo nasconderà il testo se presente direttamente qui */
  
  
}

.channel-info img {
  width: 0px;
  height: auto;
  padding-left:50px!important; /* Attenzione ai !important, cerca di evitarli se possibile */
}



.autoplay-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Cal Sans", sans-serif;
  font-size: 14px;
  color: #ccc;
  margin-right: 10px;
}

.autoplay-toggle input[type="checkbox"] {
  appearance: none;
  width: 42px;
  height: 22px;
  background-color: #444;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.autoplay-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.autoplay-toggle input[type="checkbox"]:checked {
  background-color: #58a6ff;
}

.autoplay-toggle input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}



:fullscreen body,
:fullscreen .layout-container,
:fullscreen .main-content {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  flex: none !important;
  display: block !important;
  overflow: hidden !important;
}

:fullscreen .player-wrapper {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: black;
}

:fullscreen #player {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}


