[data-cr-mobile-player-toggle] { display: none; }

@media (max-width: 760px) {
  html body.cr-v174gj-standard-active .main {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  html body #cr-standard-player-v174gj {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] {
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    box-sizing: border-box !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-shell {
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    box-sizing: border-box !important;
    margin: 0 8px !important;
    padding: 7px 8px !important;
    overflow: hidden !important;
    border-radius: 18px 18px 0 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 132px 44px !important;
    grid-template-rows: 44px !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-track {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-cover {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 13px !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-title,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-sub,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .cr-premium-player-source-badge-zone {
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .cr-premium-player-source-badge-zone { display: none !important; }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-controls {
    display: grid !important;
    grid-template-columns: repeat(3, 44px) !important;
    gap: 0 !important;
    align-items: center !important;
    width: 132px !important;
    min-width: 132px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] [data-crfs-prev],
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] [data-crfs-toggle],
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] [data-crfs-next],
  html body #cr-standard-player-v174gj [data-cr-mobile-player-toggle] {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
  }

  html body #cr-standard-player-v174gj [data-cr-mobile-player-toggle] {
    display: inline-grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid rgba(196, 181, 253, 0.42) !important;
    border-radius: 999px !important;
    background: rgba(124, 58, 237, 0.24) !important;
    color: #fff !important;
    font-size: 0 !important;
    cursor: pointer !important;
  }

  html body #cr-standard-player-v174gj [data-cr-mobile-player-toggle]::before {
    content: "⌃";
    font-size: 22px;
    line-height: 1;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] [data-cr-mobile-player-toggle]::before { content: "⌄"; }

  html body #cr-standard-player-v174gj [data-cr-mobile-player-toggle]:focus-visible {
    outline: 3px solid #f0abfc !important;
    outline-offset: 2px !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-progress,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-side,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-actions,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-message,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-video {
    display: none !important;
  }

  html body:has(#cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"]:not([hidden])) .main {
    padding-bottom: calc(min(78dvh, 680px) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] {
    height: auto !important;
    max-height: min(78dvh, 680px) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    box-sizing: border-box !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-shell {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: min(78dvh, 680px) !important;
    margin: 0 8px !important;
    padding: 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 24px 24px 0 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-track,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-controls,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-side,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-actions,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-message,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-progress {
    display: flex !important;
    min-width: 0 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-track,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-controls,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-side,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-actions,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-message {
    grid-column: 1 / -1 !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-controls,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-side { flex-wrap: wrap !important; gap: 8px !important; }
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-progress { flex: 1 1 100% !important; align-items: center !important; gap: 8px !important; }
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-progress input { min-width: 120px !important; flex: 1 1 auto !important; }
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-round,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] .crfs-pill,
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="expanded"] [data-crfs-close] { min-width: 44px !important; min-height: 44px !important; }
}

@media (max-width: 240px) {
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-main {
    grid-template-columns: minmax(0, 1fr) 44px 44px !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .crfs-controls {
    grid-template-columns: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] .cr-premium-player-meta-zone {
    display: none !important;
  }

  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] [data-crfs-prev],
  html body #cr-standard-player-v174gj[data-cr-mobile-player-state="collapsed"] [data-crfs-next] {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cr-standard-player-v174gj,
  #cr-standard-player-v174gj * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
