/* 12DUYMOV VINYL PLAYER V4.3 — curved hint, random playlist, menu-safe floater */
.hero-photo .record {
  cursor: pointer;
  touch-action: manipulation;
  z-index: 8;
}
.hero-photo .record:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
.hero-photo .record.vinyl-playing {
  animation: cafe-vinyl-hero-turn 10s linear infinite;
}
@keyframes cafe-vinyl-hero-turn {
  from { transform: rotate(12deg); }
  to { transform: rotate(372deg); }
}
/* An asymmetric ivory marker makes rotation visible on the record. */
.hero-photo .record::before {
  content: '';
  position: absolute;
  top: 74%;
  left: 24%;
  width: 7px;
  height: 7px;
  z-index: 3;
  border-radius: 50%;
  background: #f4db97;
  box-shadow: 0 0 2px #0008;
  pointer-events: none;
}
.vinyl-floating[hidden], .vinyl-hero-toggle[hidden] {
  display: none !important;
}
.vinyl-floating {
  position: fixed;
  top: 12px;
  right: 14px;
  width: 62px;
  height: 62px;
  z-index: 45;
  transition: top .18s ease, opacity .18s ease;
}
body.cafe-smart-visible .vinyl-floating { top: 3px; }
/* Beside sticky menu tabs, float below them and become discreet. */
.vinyl-floating.is-over-menu { opacity: .53; }
.vinyl-floating.is-over-menu:active { opacity: 1; }
/* Ensure the floating disc never overlaps the smart-header name. */
body.cafe-vinyl-floating-on .cafe-smart-header { padding-right: 79px; }
.vinyl-floating__disc {
  position: absolute;
  inset: 3px auto auto 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #252522;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 3px 12px #0003;
}
.vinyl-floating__visual {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  position: relative;
  border-radius: 50%;
  background: repeating-radial-gradient(circle,
    #252522 0 2px, #474740 2.5px 3px, #252522 3.5px 5px);
}
.vinyl-floating__visual::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f4db97;
  box-shadow: 0 0 2px #0008;
  pointer-events: none;
}
.vinyl-floating__visual::after {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #252522 0 2.5px, #f1cb46 3px 100%);
}
.vinyl-floating.is-playing .vinyl-floating__visual {
  animation: cafe-vinyl-mini-turn 12s linear infinite;
}
@keyframes cafe-vinyl-mini-turn { to { transform: rotate(360deg); } }
.vinyl-floating__toggle, .vinyl-hero-toggle {
  position: absolute;
  z-index: 10;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid #f5f1e8;
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: #9e432d;
  box-shadow: 0 2px 7px #0003;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.vinyl-floating__toggle { right: 0; bottom: 0; }
.vinyl-hero-toggle { top: 0; left: 0; }
.vinyl-floating button:focus-visible,
.vinyl-hero-toggle:focus-visible {
  outline: 3px solid #9e432d;
  outline-offset: 4px;
}
.vinyl-floating button:active, .vinyl-hero-toggle:active {
  filter: brightness(1.12);
}
@media (max-width: 650px) {
  .vinyl-floating { right: 11px; }
  body.cafe-vinyl-floating-on .cafe-smart-header { padding-right: 75px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .record.vinyl-playing,
  .vinyl-floating.is-playing .vinyl-floating__visual { animation: none; }
  .vinyl-floating { transition: none; }
}
/* V4.3: one readable, curved word INSIDE the large record. */
.hero-photo .record .vinyl-arc-hint {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
  overflow: visible;
  transform: rotate(-12deg); /* исходная пластинка повёрнута на 12° */
}
.hero-photo .record .vinyl-arc-hint[hidden] { display: none !important; }
.hero-photo .record .vinyl-arc-hint text {
  fill: #fff0c7;
  stroke: #252522;
  stroke-width: .8px;
  paint-order: stroke fill;
  font: 800 15px Arial, Helvetica, sans-serif;
  letter-spacing: 1.5px;
}
/* END 12DUYMOV VINYL PLAYER V4.3 */

