/* Żelazny Róg — odsłuch 1.1.0. Wszystkie style ograniczone do wtyczki. */
.zro-player {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 820px;
  margin: 38px auto;
  padding: clamp(23px, 3.5vw, 36px);
  overflow: hidden;
  border: 1px solid var(--color-border-strong, rgba(181,144,88,.25));
  border-radius: var(--radius-lg, 14px);
  background: linear-gradient(155deg, rgba(30,25,18,.95) 0%, rgba(21,19,15,.98) 52%, rgba(12,12,10,.98) 100%);
  box-shadow: var(--shadow-card, 0 18px 40px -20px rgba(0,0,0,.65)), inset 0 1px 0 rgba(212,193,155,.08);
  color: var(--color-ivory, #e4dac7);
}
.zro-player::before,
.zro-player::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: rgba(195,160,108,.55);
  pointer-events: none;
}
.zro-player::before { top: 9px; left: 9px; border-top: 1px solid; border-left: 1px solid; }
.zro-player::after { bottom: 9px; right: 9px; border-bottom: 1px solid; border-right: 1px solid; }
.zro-player .zro-player__heading {
  margin: 0 0 26px;
  text-align: center;
  color: var(--color-ivory, #e4dac7);
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.zro-player .zro-player__heading::after {
  content: '';
  display: block;
  width: 84px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold, #b18a55), transparent);
}
.zro-player .zro-player__layout {
  display: flex;
  gap: clamp(16px, 2.8vw, 25px);
  align-items: center;
  min-width: 0;
}
.zro-player .zro-player__artwork {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-strong, rgba(181,144,88,.25));
  border-radius: var(--radius-md, 8px);
  background: linear-gradient(145deg, #322719, #130f0b 85%);
  color: var(--color-gold, #b18a55);
}
.zro-player .zro-player__cover { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.zro-player .zro-player__artwork-icon { display: block; width: 40px; height: 40px; opacity: .75; }
.zro-player .zro-player__details { min-width: 0; flex: 1 1 auto; }
.zro-player .zro-player__eyebrow {
  margin: 0 0 5px;
  color: var(--color-ivory-faint, #7d7566);
  font-family: var(--font-body, sans-serif);
  font-weight: 600;
  font-size: .64rem;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.zro-player .zro-player__title {
  margin: 0 0 17px;
  color: var(--color-gold-bright, #c3a06c);
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  font-size: clamp(.95rem, .9rem + .25vw, 1.12rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.zro-player .zro-player__controls { display: flex; align-items: center; gap: 11px; min-width: 0; }
.zro-player .zro-player__controls[hidden] { display: none !important; }
.zro-player .zro-player__play,
.zro-player .zro-player__mute {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--color-border-strong, rgba(181,144,88,.25));
  border-radius: 50%;
  background: rgba(177,138,85,.07);
  color: var(--color-gold-bright, #c3a06c);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.zro-player .zro-player__mute { width: 36px; height: 36px; }
.zro-player .zro-player__play:hover,
.zro-player .zro-player__mute:hover { background: var(--color-gold, #b18a55); color: #1c1409; border-color: var(--color-gold, #b18a55); }
.zro-player .zro-player__play:focus-visible,
.zro-player .zro-player__mute:focus-visible,
.zro-player .zro-player__seek:focus-visible { outline: 2px solid var(--color-gold-bright, #c3a06c); outline-offset: 4px; }
.zro-player .zro-player__play svg { width: 17px; height: 17px; }
.zro-player .zro-player__mute svg { width: 18px; height: 18px; }
.zro-player .zro-player__pause-icon,
.zro-player .zro-player__muted-icon { display: none; }
.zro-player .zro-player__play[aria-pressed="true"] .zro-player__play-icon,
.zro-player .zro-player__mute[aria-pressed="true"] .zro-player__volume-icon { display: none; }
.zro-player .zro-player__play[aria-pressed="true"] .zro-player__pause-icon,
.zro-player .zro-player__mute[aria-pressed="true"] .zro-player__muted-icon { display: block; }
.zro-player .zro-player__time {
  flex: none;
  color: var(--color-ivory-dim, #9c9282);
  font-family: var(--font-body, sans-serif);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  min-width: 31px;
  line-height: 1;
}
.zro-player .zro-player__time--duration { text-align: right; }
.zro-player .zro-player__seek {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 35px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  accent-color: var(--color-gold-bright, #c3a06c);
  --seek-value: 0%;
}
.zro-player .zro-player__seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold-bright, #c3a06c) 0 var(--seek-value), rgba(228,218,199,.15) var(--seek-value) 100%);
}
.zro-player .zro-player__seek::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(228,218,199,.15); }
.zro-player .zro-player__seek::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--color-gold-bright, #c3a06c); }
.zro-player .zro-player__seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  margin-top: -4px;
  border: 1px solid var(--color-gold-bright, #c3a06c);
  border-radius: 50%;
  background: var(--color-gold, #b18a55);
  box-shadow: 0 0 0 3px rgba(11,11,9,.8);
}
.zro-player .zro-player__seek::-moz-range-thumb { width: 10px; height: 10px; border: 1px solid var(--color-gold-bright, #c3a06c); border-radius: 50%; background: var(--color-gold, #b18a55); }
.zro-player .zro-player__audio { display: block; width: 100%; max-width: 100%; height: 50px; }
.zro-player.zro-player--enhanced .zro-player__audio { display: none; }
@media (max-width: 640px) {
  .zro-player { margin: 28px auto; padding: 24px 18px; }
  .zro-player .zro-player__layout { flex-direction: column; gap: 15px; }
  .zro-player .zro-player__artwork { flex: none; width: 96px; height: 96px; }
  .zro-player .zro-player__details { width: 100%; text-align: center; }
  .zro-player .zro-player__title { margin-bottom: 16px; }
  .zro-player .zro-player__controls { gap: 8px; }
  .zro-player .zro-player__play { width: 38px; height: 38px; }
  .zro-player .zro-player__mute { width: 34px; height: 34px; }
  .zro-player .zro-player__time { font-size: .68rem; min-width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .zro-player .zro-player__play,
  .zro-player .zro-player__mute { transition: none; }
}
