:host {
  font-size: 14px;
  font-family: var(--staytuned-font-family, "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");
  user-select: none;
  scroll-behavior: smooth;
  display: block;
}

.section-title {
  font-weight: 600;
  color: #1a1a1f;
  font-size: 17px;
  margin: 0.5em 0;
}

/*
:host(.half-expanded) {
  margin: 0 8px;
  // .current-podcast-controls {
  //   box-shadow: 0 -1px 10px rgba(0, 0, 0, .08);
  // }
}

:host(.expanded) {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  .podcast-header {
    padding-top: 320px;
  }
}

:host(.collapsing) {
  // animation: slide-down 0.4s ease;
  // animation-fill-mode: forwards;
}
*/
/* Nano player (bottom right corner) */
staytuned-player-chip {
  position: fixed;
  z-index: 9999;
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Content of half-expanded player: close btn, img, title/subtitle, slider, play/pause/skip btn */
.player-controls-container {
  z-index: 10002;
  position: relative;
}

.player-controls {
  position: relative;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(transparent 150px, white 150px);
  padding-bottom: 22px;
  overflow: hidden;
}
.player-controls .podcast-header {
  border-radius: 20px 20px 0 0;
  padding: 152px 17px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: padding 0.3s ease;
}
.player-controls .podcast-header::before {
  /* cannot combine backgrounds since img has to be a html attr */
  content: "";
  position: absolute;
  /* [bottom: -5px + gradient stop @95%] prevents ugly border on mobile */
  top: 0;
  right: 0;
  bottom: -5px;
  left: 0;
  background: linear-gradient(180.44deg, rgba(255, 255, 255, 0.0001) 20.57%, #ffffff 73.48%);
}
.player-controls .podcast-header--full-expand {
  padding-top: 380px;
}
.player-controls .podcast-header--full-expand::before {
  background: linear-gradient(rgba(255, 255, 255, 0), white 90%);
}
.player-controls staytuned-button-close,
.player-controls staytuned-player-expand-toggle {
  position: absolute;
  top: 12px;
}
.player-controls .podcast-header--full-expand staytuned-button-close,
.player-controls .podcast-header--full-expand staytuned-player-expand-toggle {
  top: 8px;
}
.player-controls staytuned-button-close {
  right: 12px;
}
.player-controls staytuned-player-expand-toggle {
  left: 0;
  right: 0;
}
.player-controls .episode-title {
  font-size: 22px;
  color: #1a1a1f;
  margin-bottom: 6px;
  font-weight: 800;
}
.player-controls .podcast-title {
  display: block;
  position: relative;
  font-size: 15px;
  color: #4f4f4f;
  margin-top: 0;
  margin-bottom: 0px;
  font-weight: 300;
}

/* Anything displayed when the player is fully "extanded", that is, the description
 of the season/podcast-collection, the description of the podcast being played,
 and the list of availables episodes */
.hidden {
  display: none;
}

.underlined {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.collection-description {
  padding-bottom: 5px;
  margin-bottom: 25px;
}

.description-text,
.staytuned-powered-link {
  color: #656769;
}

.staytuned-powered-link {
  opacity: 0.26;
  text-decoration: none;
  font-size: 15px;
}

.icon-toggle-playlist {
  fill: var(--staytuned-main-color, #216fd4);
}
.icon-toggle-playlist.remove {
  fill: #939496;
}

.collection-infos {
  line-height: 22px;
  position: relative;
  top: -1px;
  padding: 30px 0 12px;
  background-color: white;
  z-index: 10003;
}
.collection-infos .descriptions-shrunk {
  display: none;
}
.collection-infos .description-full {
  display: block;
  margin-bottom: 25px;
  padding: 0 17px 5px;
}
.collection-infos .link {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--staytuned-main-color, #216fd4);
  margin-top: 0.5em;
}
.collection-infos h2 {
  font-size: 15px;
  font-weight: 500;
}
.collection-infos .ctas {
  margin: 25px 0 20px;
  display: flex;
  justify-content: space-between;
}
.collection-infos .ctas > * {
  flex: 1;
}
.collection-infos .ctas > *:not(:first-child) {
  margin-left: 8px;
}
.collection-infos .collection-legend {
  font-size: 11px;
  margin-bottom: 15px;
  letter-spacing: 0.5pt;
  font-weight: 300;
  text-transform: uppercase;
}

.tracklist-title {
  padding-left: 17px;
  color: var(--staytuned-main-color, #216fd4);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 15px;
  font-size: 13px;
}

staytuned-tab {
  padding: 0 17px 5px;
}