/* ===========================================================
   СТРАНИЦА ПРОТОКОЛА ДОПРОСА — аудиоплеер
   (карточка-улика «.evidence» определена в board.css)
   =========================================================== */
.case {
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 22px 70px;
}

/* ---------- Аудиоплеер ---------- */
.player {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,15,11,.9) 0%, rgba(13,9,7,.95) 100%);
  padding: 22px 22px 20px;
}
.player__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 18px;
}
.player__top > svg { color: var(--gold-deep); }
.player__top .rec {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: auto; color: var(--blood-2);
}
.player__top .rec::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blood-2); box-shadow: 0 0 9px var(--blood-glow);
  animation: pulse 2s ease-in-out infinite;
}

.player__main {
  display: flex;
  align-items: center;
  gap: 18px;
}
.player__play {
  width: 62px; height: 62px;
  flex: none;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: #1a1109;
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold-deep) 100%);
  box-shadow: 0 10px 28px -10px var(--gold-glow), inset 0 1px 0 rgba(255,240,210,.6);
  transition: transform .12s ease;
}
.player__play:hover { transform: scale(1.05); }
.player__play:active { transform: scale(.97); }
.player__play svg { display: block; }

.player__body { flex: 1; min-width: 0; }
.player__bar {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.player__bar:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 4px; }
/* осциллограмма: штрихи разной высоты, как настоящая волна записи */
.player__bar::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 28px; transform: translateY(-50%);
  background: linear-gradient(180deg, #57402a, #382818);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='11' width='2' height='6'/%3E%3Crect x='4' y='7' width='2' height='14'/%3E%3Crect x='8' y='10' width='2' height='8'/%3E%3Crect x='12' y='4' width='2' height='20'/%3E%3Crect x='16' y='9' width='2' height='10'/%3E%3Crect x='20' y='12' width='2' height='4'/%3E%3Crect x='24' y='6' width='2' height='16'/%3E%3Crect x='28' y='10' width='2' height='8'/%3E%3Crect x='32' y='2' width='2' height='24'/%3E%3Crect x='36' y='8' width='2' height='12'/%3E%3Crect x='40' y='11' width='2' height='6'/%3E%3Crect x='44' y='5' width='2' height='18'/%3E%3Crect x='48' y='9' width='2' height='10'/%3E%3Crect x='52' y='12' width='2' height='4'/%3E%3Crect x='56' y='7' width='2' height='14'/%3E%3Crect x='60' y='10' width='2' height='8'/%3E%3C/g%3E%3C/svg%3E") left center repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='11' width='2' height='6'/%3E%3Crect x='4' y='7' width='2' height='14'/%3E%3Crect x='8' y='10' width='2' height='8'/%3E%3Crect x='12' y='4' width='2' height='20'/%3E%3Crect x='16' y='9' width='2' height='10'/%3E%3Crect x='20' y='12' width='2' height='4'/%3E%3Crect x='24' y='6' width='2' height='16'/%3E%3Crect x='28' y='10' width='2' height='8'/%3E%3Crect x='32' y='2' width='2' height='24'/%3E%3Crect x='36' y='8' width='2' height='12'/%3E%3Crect x='40' y='11' width='2' height='6'/%3E%3Crect x='44' y='5' width='2' height='18'/%3E%3Crect x='48' y='9' width='2' height='10'/%3E%3Crect x='52' y='12' width='2' height='4'/%3E%3Crect x='56' y='7' width='2' height='14'/%3E%3Crect x='60' y='10' width='2' height='8'/%3E%3C/g%3E%3C/svg%3E") left center repeat-x;
  opacity: .45;
}
.player__track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #2a1d14;
}
.player__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  box-shadow: 0 0 10px var(--gold-glow);
}
.player__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(151,121,74,.3), 0 2px 6px rgba(0,0,0,.6);
}

.player__times {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-dim);
  margin-top: 8px;
}
.player__times b { color: var(--gold); font-weight: 500; }

.player__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.player__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  background: rgba(26,18,12,.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.player__btn:hover { color: var(--gold-2); border-color: var(--gold-deep); }
.player__btn.is-active { color: var(--gold-2); border-color: var(--gold-deep); background: rgba(40,28,16,.7); }
.player__vol { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.player__vol svg { color: var(--gold-deep); }
.player__vol input { width: 92px; accent-color: var(--gold-deep); }

.case__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 13.5px;
  font-style: italic;
}
.case__note svg { flex: none; margin-top: 3px; color: var(--gold-deep); }

.case__footer {
  margin-top: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: .06em;
}
.case__footer span { color: var(--gold-deep); }

/* ---------- Адаптив ---------- */
@media (max-width: 620px) {
  .case { padding: 26px 14px 54px; }
  .player__main { gap: 14px; }
  .player__play { width: 54px; height: 54px; }
  .player__tools { flex-wrap: wrap; }
  .player__vol { margin-left: 0; width: 100%; }
  .player__vol input { width: 100%; }
}
