:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #221e18;
  background: #191611;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  padding: 28px 16px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -35px;
  background: linear-gradient(142deg, #1b180ed9, #15120ef0),
    url("assets/palavra-santa.jpg") center 42% / cover;
  filter: blur(22px);
  pointer-events: none;
}

.card {
  width: min(100%, 406px);
  overflow: hidden;
  border: 1px solid #9c82574d;
  border-radius: 18px;
  box-shadow: 0 24px 75px #0008;
  background: #f8f5ee;
}

.artist {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 25px 22px;
  background: radial-gradient(ellipse at 12% -12%, #403421, #211c16 69%);
  color: #f9f2e5;
}

.portrait {
  display: block;
  width: 98px;
  height: 98px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid #d6b47c72;
  box-shadow: 0 8px 16px #100c087d;
}

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.artist .eyebrow { color: #e1c9a2; }

h1 {
  margin: 6px 0 0;
  font: 400 clamp(28px, 8vw, 43px)/.98 Georgia, serif;
  letter-spacing: -.065em;
}

.content { padding: 15px 18px 18px; }

.sample {
  position: relative;
  display: flex;
  min-height: 70px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 13px;
  border: 1px solid #dfd1b7;
  border-radius: 10px;
  background: #f0e8d9;
}

.sample:has(.transport:not([hidden])) { padding-bottom: 16px; }
.sample .eyebrow { color: #6b5334; }
.track { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
audio { width: 100%; }

.transport {
  display: grid;
  grid-template-columns: auto 32px;
  align-items: center;
  gap: 7px;
}

[hidden] { display: none !important; }

.play {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #241e15;
  color: #fff6e3;
  cursor: pointer;
}

.play:hover { background: #503d24; }
.play svg { width: 23px; height: 23px; fill: currentColor; }
.play .pause-icon, .play.is-playing .play-icon { display: none; }
.play.is-playing .pause-icon { display: block; }
.time { font-size: 11px; font-variant-numeric: tabular-nums; color: #605545; }

.scrub {
  appearance: none;
  position: absolute;
  bottom: 1px;
  left: 10px;
  width: calc(100% - 20px);
  height: 14px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.scrub:disabled { cursor: default; }
.scrub::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, #76552d var(--played, 0%), #d5c6ad var(--played, 0%)); }
.scrub::-moz-range-track { height: 2px; background: linear-gradient(to right, #76552d var(--played, 0%), #d5c6ad var(--played, 0%)); }
.scrub::-webkit-slider-thumb { appearance: none; height: 8px; width: 8px; margin-top: -3px; border-radius: 50%; background: #76552d; }
.scrub::-moz-range-thumb { height: 8px; width: 8px; border: 0; border-radius: 50%; background: #76552d; }
.scrub:disabled::-webkit-slider-thumb { opacity: 0; }
.scrub:disabled::-moz-range-thumb { opacity: 0; }
.audio-message { flex-basis: 100%; margin: 0; padding-bottom: 5px; font-size: 12px; }

h2 { margin: 17px 4px 5px; font-size: 12px; font-weight: 650; color: #655744; }
.services { margin: 0; padding: 0; list-style: none; }
.services li + li { border-top: 1px solid #e4ddcf; }

.services a {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  min-height: 45px;
  align-items: center;
  gap: 11px;
  padding: 3px 4px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.services a:hover { background: #eee7d8; }
:is(a, button, input):focus-visible { outline: 2px solid #8b5626; outline-offset: 2px; }

.brand {
  display: block;
  width: 23px;
  height: 23px;
  justify-self: center;
  mask: var(--mark) center / contain no-repeat;
  background: var(--ink);
}

.spotify { --mark: url("assets/spotify.svg"); --ink: #147941; }
.youtube { --mark: url("assets/youtube.svg"); --ink: #d90722; }
.youtube-music { --mark: url("assets/youtubemusic.svg"); --ink: #d90722; }
.apple-music { --mark: url("assets/applemusic.svg"); --ink: #c82150; }
.deezer, .amazon-music { mask: none; background: center / contain no-repeat; }
.deezer { background-image: url("assets/deezer.svg"); }
.amazon-music { background-image: url("assets/amazonmusic.jpg"); border-radius: 5px; }

.cta {
  display: inline-flex;
  justify-content: center;
  min-width: 62px;
  padding: 4px 8px;
  border: 1px solid #d8cdbb;
  border-radius: 5px;
  color: #544632;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 365px) {
  body { padding: 14px 10px; }
  .artist { grid-template-columns: 78px minmax(0, 1fr); gap: 13px; padding: 19px 16px; }
  .portrait { width: 78px; height: 78px; }
  .content { padding-inline: 13px; }
}
