/* Versão visual fiel à PWA de referência, com a identidade Segura Peão. */
html,
body {
  background: #212529;
}

body::before {
  display: none;
}

.app {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 12px 24px 24px;
  background: #212529;
}

.app-header {
  position: relative;
  width: 100%;
  height: 142px;
  grid-template-columns: 52px 1fr 52px;
}

.round-link {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #aeb3b8;
  font-size: 22px;
  box-shadow: none;
}

.round-link:hover,
.round-link:focus-visible {
  border: 0;
  color: #fff;
  box-shadow: none;
}

.mini-brand {
  position: relative;
  top: 5px;
  min-width: 360px;
  line-height: .78;
  transform: skew(-6deg);
}

.mini-brand::before {
  content: "RÁDIO";
  position: absolute;
  left: 50%;
  top: -23px;
  padding: 5px 20px;
  border-radius: 3px 3px 0 0;
  background: #b8140c;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 2px;
  transform: translateX(-50%) skew(6deg);
  box-shadow: 0 3px 0 #570805;
}

.mini-brand span {
  display: inline;
  color: #e6e6e4;
  font-size: 45px;
  letter-spacing: -1px;
  text-shadow: 0 3px 0 #56595a, 0 7px 10px #000;
}

.mini-brand strong {
  display: inline;
  margin-left: 9px;
  color: #f0a919;
  font-size: 55px;
  text-shadow: 0 3px 0 #704304, 0 7px 12px #000;
}

.radio-card {
  flex: 0 0 auto;
  width: 100%;
  padding: 24px 0 0;
}

.cover {
  width: 200px;
  height: 200px;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 5px 10px rgba(0,0,0,.3);
}

.cover::after {
  display: none;
}

.cover img {
  object-position: center 15%;
  animation: none;
}

.live-pill {
  display: none;
}

.now-playing {
  margin-top: 13px;
}

.now-playing span {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.now-playing strong {
  min-height: 22px;
  margin: 5px 0 0;
  color: #d6d8da;
  font-size: 13px;
  font-weight: 400;
}

.now-playing small {
  display: none;
}

.visualizer,
.volume-control {
  display: none;
}

.pwa-play {
  width: 80px;
  height: 80px;
  margin-top: 11px;
  border: 0;
  background: #fff;
  color: #25292d;
  font-size: 37px;
  box-shadow: none;
}

.pwa-play::before,
.pwa-play::after {
  border-color: rgba(255,255,255,.38);
}

.play-symbol {
  margin-left: 5px;
}

.pause-symbol {
  position: relative;
  width: 22px;
  height: 32px;
  margin: 0;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
}

.pause-symbol::before,
.pause-symbol::after {
  content: "";
  position: absolute;
  top: 0;
  width: 7px;
  height: 32px;
  border-radius: 2px;
  background: #25292d;
}

.pause-symbol::before { left: 0; }
.pause-symbol::after { right: 0; }

.player-status {
  min-height: 15px;
  margin-top: 8px;
  color: #c0c3c6;
  font-size: 9px;
}

.pwa-socials {
  gap: 17px;
  margin: 19px 0 42px;
}

.pwa-socials a {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent !important;
  color: #adb2b7;
  font-size: 20px;
  box-shadow: none;
}

.pwa-socials a:hover,
.pwa-socials a:focus-visible {
  color: #fff;
  transform: none;
  outline: 0;
}

.pwa-socials .yt {
  padding-left: 2px;
}

.pwa-socials .tk {
  text-shadow: none;
}

.install-primary {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f0a919;
  color: #17191b;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 7px 20px rgba(0,0,0,.38);
}

.pwa-banner {
  width: min(730px, 90vw);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  background: #fff;
  color: #090909;
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 5px 16px rgba(0,0,0,.18);
}

.pwa-banner:active {
  transform: scale(.985);
}

.pwa-banner:focus-visible {
  outline: 3px solid #f0a919;
  outline-offset: 4px;
}

.banner-wave {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0a919;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.pwa-banner > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.pwa-banner small {
  color: #b9140c;
  font-size: 18px;
  font-weight: 900;
}

.pwa-banner strong {
  font-size: clamp(27px, 4vw, 44px);
  letter-spacing: 1px;
}

.pwa-banner em {
  color: #8a570d;
  font-size: 18px;
  font-weight: 700;
}

.install-sheet {
  background: rgba(0,0,0,.74);
}

@media (max-width: 620px) {
  .app {
    padding: 10px 16px 22px;
  }

  .app-header {
    height: 120px;
  }

  .mini-brand {
    min-width: 250px;
  }

  .mini-brand::before {
    top: -19px;
    padding: 4px 14px;
    font-size: 14px;
  }

  .mini-brand span {
    font-size: 30px;
  }

  .mini-brand strong {
    margin-left: 5px;
    font-size: 38px;
  }

  .cover {
    width: min(52vw, 210px);
    height: min(52vw, 210px);
  }

  .radio-card {
    padding-top: 18px;
  }

  .pwa-socials {
    margin-bottom: 30px;
  }

  .pwa-banner {
    min-height: 74px;
    gap: 8px;
    padding: 8px 12px;
  }

  .banner-wave {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    font-size: 25px;
  }

  .pwa-banner > span:last-child {
    display: block;
    line-height: 1;
    white-space: normal;
  }

  .pwa-banner small,
  .pwa-banner em {
    display: block;
    font-size: 11px;
  }

  .pwa-banner strong {
    display: block;
    margin: 3px 0;
    font-size: 28px;
  }
}

@media (max-height: 680px) {
  .app-header {
    height: 96px;
  }

  .cover {
    width: 160px;
    height: 160px;
  }

  .radio-card {
    padding-top: 8px;
  }

  .pwa-socials {
    margin: 12px 0 18px;
  }

  .pwa-banner {
    min-height: 68px;
  }
}

/* Logotipo gráfico Segura Peão no lugar do título em texto. */
.mini-brand {
  top: 0;
  width: min(390px, 58vw);
  min-width: 0;
  height: 136px;
  line-height: normal;
  transform: none;
}

.mini-brand::before {
  display: none;
}

.mini-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 7px 9px rgba(0,0,0,.6));
}

@media (max-width: 620px) {
  .mini-brand {
    width: min(270px, 68vw);
    min-width: 0;
    height: 112px;
  }
}

@media (max-height: 680px) {
  .mini-brand {
    height: 92px;
  }
}
