/* Bare PlaceCard: opplesningsbryter og markering av avsnitt under opplesning. */
#placeCard .pc-heading-hero .pc-title-row > .pc-reader-toggle {
  order: 1;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(18,18,18,.92);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#placeCard .pc-title-row > .pc-reader-toggle[aria-pressed="true"] {
  background: #f6d15a;
  border-color: #f6d15a;
  color: #191919;
}
#placeCard .pc-title-row > .pc-reader-toggle:focus-visible {
  outline: 2px solid #f6d15a;
  outline-offset: 3px;
}
#placeCard .pc-title-row > .pc-reader-toggle:disabled {
  opacity: .35;
  cursor: not-allowed;
}
#placeCard.pc-reader-enabled .pc-body :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,dt,dd) {
  cursor: pointer;
}
#placeCard .pc-reader-speaking {
  outline: 2px solid #f6d15a;
  outline-offset: 2px;
  border-radius: 3px;
}
@media (max-width: 520px) {
  #placeCard .pc-heading-hero .pc-title-row > .pc-reader-toggle {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}


/* Flytende kontrollpanel, forankret i kortet og utenfor scrollflaten. */
#placeCard .pc-reader-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: rgba(18,18,18,.97);
  color: #fff;
  box-shadow: 0 3px 16px rgba(0,0,0,.32);
}
#placeCard .pc-reader-controls[hidden] {
  display: none;
}
#placeCard .pc-reader-controls button {
  min-width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font: 700 14px/1 system-ui, sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  touch-action: manipulation;
}
#placeCard .pc-reader-controls .pc-reader-playpause {
  font-size: 19px;
}
#placeCard .pc-reader-controls button:focus-visible {
  outline: 2px solid #f6d15a;
  outline-offset: 2px;
}
#placeCard.pc-reader-enabled .pc-body {
  padding-bottom: 74px;
}
