/* PW Oceny łowisk — blok oceny w nagłówku łowiska (rozszerza .fishery-hero__rating z motywu). */
.pw-oc { padding: 20px 24px; max-width: 260px; }
.pw-oc__wynik[hidden], .pw-oc__zrodlo[hidden] { display: none; }
.pw-oc__zrodlo { margin: 6px 0 0; font-size: 11px; line-height: 1.35; opacity: 0.75; }
.pw-oc__glosuj { border: 0; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,0.2); min-width: 0; }
.pw-oc__wynik[hidden] + .pw-oc__glosuj { border-top: 0; margin-top: 0; padding-top: 0; }
.pw-oc__legenda { padding: 0; margin: 0 auto 4px; font-size: 13px; font-weight: 700; }
.pw-oc__przyciski { display: flex; justify-content: center; gap: 2px; }
.pw-oc__gwiazda {
  background: none; border: 0; padding: 2px 3px; cursor: pointer;
  font-size: 26px; line-height: 1; color: rgba(255,255,255,0.45);
  transition: color .15s ease, transform .15s ease;
}
.pw-oc__gwiazda.is-on { color: #FFB300; }
.pw-oc__gwiazda:hover { transform: scale(1.12); }
.pw-oc__gwiazda:focus-visible { outline: 2px solid #FFB300; outline-offset: 2px; border-radius: 4px; }
.pw-oc.is-busy .pw-oc__gwiazda { cursor: wait; opacity: .6; }
.pw-oc__status { margin: 4px 0 0; font-size: 12px; min-height: 1em; }
.pw-oc__status:empty { display: none; }
.pw-oc__info { margin-top: 8px; font-size: 11px; line-height: 1.4; text-align: left; }
.pw-oc__info summary { cursor: pointer; text-align: center; opacity: .8; }
.pw-oc__info p { margin: 6px 0 0; opacity: .85; }
.pw-oc__info a { color: inherit; text-decoration: underline; }

@media (max-width: 768px) {
  .fishery-hero__rating.pw-oc {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
    max-width: none; width: 100%; padding: 10px 14px; border-radius: 14px;
  }
  .pw-oc__wynik { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 0 8px; }
  .pw-oc .fishery-hero__rating-score { font-size: 28px; }
  .pw-oc .fishery-hero__rating-stars { font-size: 16px; margin: 0; }
  .pw-oc__zrodlo { flex-basis: 100%; margin-top: 2px; }
  .pw-oc__glosuj { margin: 0; padding: 0; border-top: 0; }
  .pw-oc__legenda { float: left; margin: 6px 6px 0 0; }
  .pw-oc__gwiazda { font-size: 24px; }
  .pw-oc__status, .pw-oc__info { flex-basis: 100%; text-align: center; margin-top: 0; }
}
