/* NitoRadio Flux-style theme (light gray foreground) */

body{
  margin: 0;
  background-color: #000;                 /* black page background */
  font-family: "Trebuchet MS", Arial, sans-serif;
}

/* Flux panels */
.nav{
  background-color: #595959;
}

/* Main content + stats text */
#content, #statbox{
  background-color: #595959;
  font-size: 11px;
  font-weight: bold;
  color: #D3D3D3;                         /* light gray foreground */
  padding: 8px;
}

/* Links */
a:link, a:visited, a:active{
  font-size: 11px;
  font-weight: bold;
  color: #D3D3D3;                         /* light gray */
  text-decoration: none;
}
a:hover{
  color: #ffffff;
  text-decoration: none;
}

/* Header area */
.headerCell{
  position: relative;
}
.headerInner{
  padding: 6px 10px;
}
.brand{
  font-size: 14px;
  font-weight: 800;
  color: #D3D3D3;                         /* light gray */
  line-height: 1.1;
}

/* Player styling inside #content */
.playerBox{
  display: block;
}

#logo{
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #494949;
  margin-bottom: 8px;
}

#nowPlaying{
  color: #ffffff;
  margin-bottom: 8px;
}

.controlsRow{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#playBtn{
  background: #494949;
  color: #D3D3D3;                         /* light gray */
  font-weight: 800;
  padding: 8px 12px;
  border: 1px solid #3d3d3d;
  border-radius: 6px;
  cursor: pointer;
}
#playBtn:hover{
  background: #5E6168;
}

.directLink{
  font-weight: 700;
}

.sectionTitle{
  margin: 6px 0;
  color: #B7B6BB;                         /* slightly dimmer label */
}

/* History list */
#history{
  width: 100%;
  background: #4f4f4f;
  color: #D3D3D3;                         /* light gray */
  border: 1px solid #494949;
  padding: 4px;
}

/* Clear button */
#clearBtn{
  margin-top: 8px;
  background: #3d3d3d;
  color: #ffffff;
  border: 1px solid #494949;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
#clearBtn:hover{
  background: #5E6168;
}

#typedFooter{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #D3D3D3;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
}

/* Mobile-friendly overrides */
@media (max-width: 720px){

  /* Let the page fit the screen */
  body{
    padding: 10px;
  }

  /* Kill the hard table widths on small screens */
  table[width="647"],
  table[width="503"],
  table[width="508"],
  table[width="130"],
  table[width="129"],
  table[width="139"]{
    width: 100% !important;
  }

  /* Make every cell behave like a block so columns stack */
  td{
    display: block;
    width: 100% !important;
  }

  /* Remove the little gap column */
  td[width="9"],
  td[width="18"],
  td[width="17"]{
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* The header image bar should scale */
  .headerCell{
    background-size: cover;
    background-position: center;
  }

  /* Better spacing for content blocks */
  #content, #statbox{
    margin-bottom: 10px;
  }

  /* Player elements should fill the screen nicely */
  #logo{
    margin: 0 auto 10px;
    display: block;
  }

  #history{
    font-size: 12px;
  }

  /* Buttons easier to tap */
  #playBtn, #clearBtn{
    width: 100%;
    padding: 10px 12px;
  }

  .controlsRow{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}


