@import url('/fonts/studio-fonts.css?v=3');

:root {
  --bg: #060606;
  --ink: #f5f4f0;
  --muted: rgba(245, 244, 240, 0.56);
  --dim: rgba(245, 244, 240, 0.34);
  --rule: rgba(245, 244, 240, 0.14);
  --pad: clamp(20px, 3.2vw, 48px);
  --display: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Sofia Sans Condensed', 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Unified Header matching sheremetiev.studio (difference blend over dark & milk pages) */
.lab-header {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 34px);
  padding: max(18px, env(safe-area-inset-top)) var(--pad) 0;
  mix-blend-mode: difference;
  color: #fdfdfd;
  pointer-events: none;
}
.lab-header > * { pointer-events: auto; }

.lab-brand-group {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px clamp(16px, 2vw, 28px);
  min-width: 0;
}
.lab-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.lab-logo {
  font: 500 clamp(21px, 1.8vw, 29px)/1.04 var(--display);
  letter-spacing: -0.025em;
  color: inherit;
  white-space: nowrap;
}
.lab-sub {
  font: 500 12px/1.25 var(--mono);
  letter-spacing: 0.11em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
  white-space: nowrap;
}
.door-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  pointer-events: auto;
}
.door-link {
  position: relative;
  display: inline-block;
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.44;
  overflow: hidden;
  overflow: clip;
  transition: opacity 0.25s ease;
}
.door-link .nav-slot {
  display: block;
  color: transparent;
  user-select: none;
}
a.door-link::before,
a.door-link::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
a.door-link::after { transform: translateY(110%); }
a.door-link:hover,
a.door-link:focus-visible { opacity: 0.92; }
a.door-link:hover::before,
a.door-link:focus-visible::before { transform: translateY(-110%); }
a.door-link:hover::after,
a.door-link:focus-visible::after { transform: translateY(0); }
.door-link.is-active {
  opacity: 1;
  font-weight: 700;
}
.door-sep {
  font: 400 11px/1 var(--mono);
  color: inherit;
  opacity: 0.28;
}

/* Right Nav with exact Republik slot-roll hover */
.lab-nav {
  margin-inline-start: auto;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2.6vw, 42px);
}
.slot-btn {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  overflow: hidden;
  height: 1.3em;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: 400 12px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.slot-btn .slot-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.slot-btn:hover .slot-track { transform: translateY(-50%); }
.slot-btn .slot-track span {
  display: block;
  height: 1.3em;
  line-height: 1.3em;
}
.slot-btn:hover { opacity: 1; }
.slot-btn[aria-current="page"] {
  font-weight: 700;
  opacity: 1;
}
@media (max-width: 720px) {
  .lab-brand-group { gap: 8px 12px; }
  .door-link, .door-sep { font-size: 10px; }
  .door-switch { gap: 8px; }
  .door-link { padding: 8px 2px; margin: -8px -2px; overflow: visible; }
  a.door-link::before,
  a.door-link::after { display: none; }
  .door-link .nav-slot { color: inherit; }
  .slot-btn {
    height: auto;
    overflow: visible;
    padding: 10px 2px;
    margin: -10px -2px;
  }
  .slot-btn:hover .slot-track { transform: none; }
  .slot-btn .slot-track span:nth-child(2) { display: none; }
}
@media (max-width: 650px) {
  :root { --pad: 16px; }
  .lab-header {
    padding: max(14px, env(safe-area-inset-top)) var(--pad) 0;
    gap: 10px;
  }
  .lab-sub { display: none; }
  .lab-logo { font-size: 16.5px; }
  .lab-nav { gap: 11px; }
  .slot-btn { font-size: 10px; letter-spacing: 0.05em; }
}
@media (max-width: 420px) {
  :root { --pad: 14px; }
  .lab-logo { font-size: 14.5px; }
  .lab-nav { gap: 9px; }
  .slot-btn { font-size: 9.5px; letter-spacing: 0.04em; }
}

/* Sharp editorial text filters (ВСЕ / ЖИВЫЕ / AI) — zero pills */
.filter-pills {
  display: inline-flex;
  align-items: baseline;
  gap: 22px;
}
.filter-pill {
  position: relative;
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 244, 240, 0.44);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.filter-pill:hover {
  color: rgba(245, 244, 240, 0.86);
}
.filter-pill.is-active {
  color: #fff;
  font-weight: 700;
  border-bottom-color: #fff;
}
.filter-count {
  font-weight: 400;
  opacity: 0.5;
  margin-left: 4px;
}

/* Lab Variant Switcher (clean unrounded text links) */
.lab-switcher {
  position: fixed;
  z-index: 45;
  right: var(--pad);
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.lab-tab {
  font: 600 10px/1.3 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0 0 4px;
  border-bottom: 1px solid transparent;
  color: rgba(245, 244, 240, 0.4);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.lab-tab:hover { color: rgba(245, 244, 240, 0.85); }
.lab-tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Full Cinema Case Overlay */
.case-overlay {
  position: fixed;
  z-index: 140;
  inset: 0;
  background: rgba(6, 6, 6, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.case-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--pad) 72px;
}
.case-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 0 16px;
  margin-bottom: 12px;
  background: linear-gradient(to bottom, rgba(6, 6, 6, 0.97) 72%, rgba(6, 6, 6, 0) 100%);
}
.case-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font: 700 11px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 10px 10px 10px 0;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.case-close-btn:hover { opacity: 0.7; transform: translateX(-3px); }
.case-close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-close-x:hover {
  color: #fff;
  transform: rotate(90deg);
}

.case-player-wrap {
  width: 100%;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.case-player-box {
  position: relative;
  width: min(100%, calc((100svh - 114px) * var(--ratio, 1.777778)));
  aspect-ratio: var(--ratio, 16 / 9);
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.85);
}
.case-player-box iframe,
.case-player-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.case-reel-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.case-reel-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 700 13px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 6px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 244, 240, 0.52);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.case-reel-tab:hover {
  color: rgba(245, 244, 240, 0.9);
}
.case-reel-tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.case-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 18px 0 8px;
  border-bottom: 0;
}
.case-head-client {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.case-head-title {
  font: 700 clamp(26px, 3.6vw, 48px)/1.05 var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
.case-head-role {
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.72);
  text-align: center;
}

/* Credits with sheremetiev.studio laurels */
.case-credits {
  margin: 56px auto 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 56px);
}
.case-laurel {
  width: clamp(34px, 5vw, 68px);
  height: auto;
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}
.case-credits-list {
  display: grid;
  gap: 10px;
  min-width: min(560px, 76vw);
}
.case-credit-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(130px, 1.15fr);
  gap: 18px;
  align-items: baseline;
}
.case-credit-role {
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.case-credit-name {
  font: 600 13px/1.35 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Editorial Next Reel lockup */
.case-next {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.case-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.case-next-thumb {
  width: 118px;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-next-btn:hover .case-next-thumb { transform: scale(1.05); }
.case-next-kicker {
  display: block;
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.case-next-title {
  font: 700 clamp(20px, 2.4vw, 32px)/1.1 var(--display);
  letter-spacing: -0.025em;
}

/* Full Editorial Bio / Contacts Surface (100% identical to sheremetiev.studio ContactsView + StudioFooter) */
.info-drawer {
  position: fixed;
  z-index: 95;
  inset: 0;
  background: #f4f3ef;
  color: #0b0b0b;
  --muted-dark: rgba(11, 11, 11, 0.56);
  --line-dark: rgba(11, 11, 11, 0.14);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.info-drawer.is-open { opacity: 1; pointer-events: auto; }
.info-drawer::before {
  content: "";
  position: sticky;
  top: 0;
  display: block;
  height: 82px;
  margin-bottom: -82px;
  z-index: 15;
  pointer-events: none;
  background: linear-gradient(to bottom, #f4f3ef 68%, rgba(244, 243, 239, 0) 100%);
}
.contacts-surface {
  min-height: 100svh;
  background: #f4f3ef;
  color: #0b0b0b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contacts-page {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 6.5vw, 96px);
  align-items: start;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(104px, 14vh, 152px) var(--pad) clamp(48px, 7vh, 88px);
}
.contacts-copy { min-width: 0; }
.contacts-eyeline {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.contacts-page h1 {
  margin: 0 0 clamp(28px, 4.5vh, 52px);
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #0b0b0b;
}
.bio-copy p {
  font: 400 clamp(15px, 1.2vw, 18px)/1.65 var(--sans);
  color: #161616;
  margin: 0 0 22px;
}
.bio-copy p:last-child { margin-bottom: 0; }
.contact-address {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-style: normal;
  border-top: 1px solid var(--line-dark);
}
.contact-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.34fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 20px;
  padding: clamp(14px, 2vh, 22px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.contact-address a,
.contact-city {
  font-family: var(--sans);
  font-size: clamp(18px, 1.85vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #0b0b0b;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.contact-address a:hover { opacity: 0.52; }
.contact-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 2.4vw, 34px);
  margin-top: clamp(24px, 4vh, 42px);
}
.contact-profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0b0b0b;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.contact-profiles a:hover {
  opacity: 0.55;
  border-color: #0b0b0b;
}
.contact-portrait { margin: 0; }
.contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.contact-portrait figcaption {
  margin-top: 12px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* StudioFooter (100% identical to sheremetiev.studio) */
.studio-footer {
  width: 100%;
  padding: clamp(56px, 8vw, 120px) var(--pad) clamp(24px, 3vw, 38px);
  background: #f4f3ef;
  color: #0b0b0b;
}
.studio-footer-inner {
  max-width: 1660px;
  margin-inline: auto;
}
.studio-monument {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 6.7vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  padding-bottom: clamp(18px, 2.8vw, 38px);
  border-bottom: 1px solid var(--line-dark);
}
.studio-footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 24px;
  padding-top: clamp(16px, 2vw, 24px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.studio-footer-meta a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.studio-footer-meta a:hover { opacity: 0.55; }
.studio-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.studio-footer-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}
@media (max-width: 820px) {
  .contacts-page { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 92px; }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-address a, .contact-profiles a { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-profiles { margin-top: 20px; }
  .studio-footer-meta { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .studio-footer-meta a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 6px; margin-left: -6px; }
  .studio-footer-socials { gap: 10px; }
  .studio-footer-right { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .case-laurel { display: none; }
  .case-credits { margin: 36px auto 40px; }
  .case-credits-list { min-width: 0; width: 100%; gap: 14px; }
  .case-credit-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .case-credit-role { text-align: left; }
  .lab-switcher { right: 12px; bottom: 12px; }
}

/* Custom Architectural 0px Cinema Video Player */
.cplayer {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
.cplayer:fullscreen,
.cplayer:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
}
.cplayer.is-cursor-hidden { cursor: none; }
.cplayer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.cplayer-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  animation: cp-spin 0.75s linear infinite;
}
.cplayer.is-loading .cplayer-spinner { opacity: 1; }
@keyframes cp-spin { to { transform: rotate(360deg); } }

.cplayer-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: rgba(6, 6, 6, 0.54);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.cplayer.is-paused:not(.is-loading) .cplayer-big-play {
  opacity: 1;
  pointer-events: auto;
}
.cplayer-big-play:hover {
  background: #fff;
  color: #060606;
  border-color: #fff;
}

.cplayer-unmute-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}
.cplayer-unmute-pill:hover {
  background: #fff;
  color: #060606;
  border-color: #fff;
}

.cplayer-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 28px 16px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  cursor: default;
}
.cplayer.is-controls-visible .cplayer-controls,
.cplayer.is-paused .cplayer-controls,
.cplayer.is-scrubbing .cplayer-controls {
  opacity: 1;
  pointer-events: auto;
}

.cplayer-scrub {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.cplayer-scrub-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: height 0.16s ease;
}
.cplayer-scrub:hover .cplayer-scrub-track,
.cplayer.is-scrubbing .cplayer-scrub-track {
  height: 4px;
}
.cplayer-scrub-buf {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: rgba(255, 255, 255, 0.34);
}
.cplayer-scrub-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: #fff;
}
.cplayer-scrub-head {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.14s ease;
}
.cplayer-scrub:hover .cplayer-scrub-head,
.cplayer.is-scrubbing .cplayer-scrub-head {
  transform: translate(-50%, -50%) scale(1);
}
.cplayer-scrub-tip {
  position: absolute;
  bottom: 22px;
  left: 0;
  transform: translateX(-50%);
  padding: 4px 7px;
  background: rgba(6, 6, 6, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
}

.cplayer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.cplayer-left,
.cplayer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cplayer-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  padding: 0;
  transition: color 0.18s ease, opacity 0.18s ease;
}
.cplayer-btn:hover { color: #fff; }
.cplayer-time {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.cplayer-time-sep,
.cplayer-time [data-cp-dur] {
  color: rgba(255, 255, 255, 0.45);
}

.cplayer-vol {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cplayer-vol-bar {
  width: 64px;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.cplayer-vol-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
}
.cplayer-vol-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
}

@media (max-width: 560px) {
  .cplayer-controls { padding: 24px 10px 6px; }
  .cplayer-btn { width: 40px; height: 40px; }
  .cplayer-vol-bar { display: none; }
  .cplayer-big-play { width: 56px; height: 56px; }
  .cplayer-time { font-size: 10px; }
}
