/**
 * MAZEmusic VideoPlayer frontend.css
 * Consolidated frontend player styles
 * Version: 0.3.8
 */

:root {
  --maze-video-bg: var(--wp--preset--color--base, #0f0f0f);
  --maze-video-surface: var(--wp--preset--color--base, #181818);
  --maze-video-text: var(--wp--preset--color--foreground, #f1f1f1);
  --maze-video-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  --maze-video-radius: 12px;
  --maze-video-gap: 18px;
  --maze-player-max-height: 72vh;
  --maze-player-min-height: 240px;
  --maze-player-max-width: 100%;
  --maze-like-color: #ff5c8a;
}

/* Base */
.maze-video-single .site-main,
.maze-video-single #primary {
  color: var(--maze-video-text);
}

.maze-video-single .maze-video-article,
.maze-video-single .maze-video-article button,
.maze-video-single .maze-video-article input,
.maze-video-single .maze-video-article select,
.maze-video-single .maze-video-article textarea {
  font-family: "Roboto", Arial, sans-serif;
}

.maze-video-article {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.maze-video-player-area {
  margin-bottom: var(--maze-video-gap);
}

/* Player shell */
.maze-video-player-shell,
.maze-video-processing-state,
.maze-video-processing-poster img,
.maze-video-player-shell video,
.maze-video-player-shell .mazemusic-player-shell,
.maze-video-player-shell .mazemusic-player-shell video {
  border-radius: var(--maze-video-radius);
}

.maze-video-player-shell {
  position: relative;
  width: 100%;
  max-width: var(--maze-player-max-width);
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  box-shadow: var(--maze-video-shadow);
  isolation: isolate;
}

.maze-video-player-shell .mazemusic-player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
}

.maze-video-player-shell video,
.maze-video-player-shell .mazemusic-player-shell video,
.maze-video-processing-poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--maze-player-max-height);
  min-height: min(var(--maze-player-min-height), var(--maze-player-max-height));
  margin: 0 auto;
  background: #000;
  object-fit: contain;
}

/* Processing state */
.maze-video-processing-state {
  overflow: hidden;
  background: #000;
}

.maze-video-processing-poster {
  background: #000;
}

.maze-video-processing-poster img {
  aspect-ratio: 16 / 9;
}

.maze-video-processing-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--maze-video-surface) 78%, #000 22%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.maze-video-processing-notice p {
  margin: 0;
  color: var(--maze-video-text);
  font-size: 0.96rem;
}

/* Quality control */
.maze-video-player-shell .mazemusic-quality-control {
  position: absolute;
  right: 30px;
  bottom: 85px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.maze-video-player-shell .mazemusic-player-shell.show-quality .mazemusic-quality-control,
.maze-video-player-shell .mazemusic-player-shell:focus-within .mazemusic-quality-control {
  opacity: 1;
  pointer-events: auto;
}

.maze-video-player-shell .mazemusic-quality-control select,
.maze-video-quality-select {
  appearance: none;
  min-width: 108px;
  padding: 6px 28px 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 35%);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.2;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.maze-video-player-shell .mazemusic-quality-control select option,
.maze-video-quality-select option {
  background: #333;
  color: #fff;
  cursor: pointer !important;
}

.maze-video-player-shell .maze-video-upnext-overlay {
  position: absolute;
  right: 30px;
  bottom: 132px;
  z-index: 21;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(280px, calc(100% - 60px));
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.74);
  backdrop-filter: blur(8px);
  text-align: right;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.maze-video-player-shell .maze-video-upnext-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.maze-video-player-shell .maze-video-upnext-label {
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.maze-video-player-shell .maze-video-upnext-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 600;
  color: #fff;
}

/* Meta row under player */
.maze-video-meta-row {
  margin-top: 14px;
  margin-bottom: 14px;
}

.maze-video-title {
  margin: 2px 0 6px 0;
  font-size: clamp(1.4rem, 2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
}

.maze-video-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.maze-video-channel-avatar {
  flex: 0 0 auto;
}

.maze-video-channel-avatar img,
.maze-video-channel-avatar .avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.maze-video-channel-text {
  min-width: 0;
}

.maze-video-channel-name {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
}

.maze-video-channel-subscribers {
  margin-top: 2px;
  font-size: 0.88rem;
  line-height: 1.25;
  opacity: 0.78;

  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* Subscribe + channel actions
   Expected structure:
   avatar + text + subscribe button + action box (like/share)
*/
.maze-video-subscribe-button {
  border-radius: 24px !important;
  font-size: 0.9rem !important;
  flex: 0 0 auto;
}

.maze-video-subscribe-button.is-subscribed,
.maze-video-subscribe-button[disabled] {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.maze-video-subscribe-button:hover {
}

.maze-video-subscribe-button:focus,
.maze-video-subscribe-button:focus-visible {
}

.maze-video-subscribe-button:active {
}

.maze-video-channel-action {
  display: inline-flex;
  align-items: center;
  gap: 1.2vw;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Like box in channel row */
.maze-video-channel-likebox .maze-video-likes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  user-select: none;
  margin-top: 7px;
  margin-right: 1px;
}

.maze-video-channel-likebox .maze-video-like-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none !important;
  background-color: transparent !important;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.maze-video-channel-likebox .maze-video-like-btn:focus,
.maze-video-channel-likebox .maze-video-like-btn:focus-visible,
.maze-video-channel-likebox .maze-video-like-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.maze-video-channel-likebox .maze-video-heart {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--maze-like-color);
  stroke-width: 2;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.25));
  transition: transform 0.18s ease, fill 0.18s ease, filter 0.22s ease;
}

.maze-video-channel-likebox .maze-video-like-btn:hover .maze-video-heart {
  transform: scale(1.12);
}

.maze-video-channel-likebox .maze-video-like-btn.is-liked .maze-video-heart {
  stroke-width: 1;
  fill: var(--maze-like-color);
}

.maze-video-channel-likebox .maze-video-like-btn.bump .maze-video-heart {
  transform: scale(1.25);
  filter: drop-shadow(0 0 4px var(--maze-like-color)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
}

.maze-video-channel-likebox .maze-video-like-count {
  white-space: nowrap;
  font-size: 0.96rem;
  line-height: 1;
}

.maze-video-repeat-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: auto;
  padding: 0.16em 0.8em !important;
  border: none;
  border-radius: 24px !important;
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: var(--maze-video-text, #f1f1f1);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.maze-video-repeat-button:hover {
  transform: scale(1.04);
}

.maze-video-repeat-button:focus,
.maze-video-repeat-button:focus-visible,
.maze-video-repeat-button:active {
  outline: none !important;
  box-shadow: none !important;
}

.maze-video-repeat-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*width: 14px;
  height: 14px;*/
}

.maze-video-repeat-icon svg {
  display: block;
  width: 20px;
  height: 14px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-1px);
}

.maze-video-repeat-one {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: none;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
}

.maze-video-repeat-button.is-active .maze-video-repeat-one {
  display: block;
}

.maze-video-nav-group {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.4vw, 12px);
  margin-left: clamp(6px, 1vw, 16px);
}

.maze-video-prev-button,
.maze-video-next-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: auto;
  padding: 0.16em 0.8em !important;
  border: none;
  border-radius: 24px !important;
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: var(--maze-video-text, #f1f1f1);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.maze-video-prev-button:hover,
.maze-video-next-button:hover {
  transform: scale(1.04);
}

.maze-video-prev-button:focus,
.maze-video-prev-button:focus-visible,
.maze-video-prev-button:active,
.maze-video-next-button:focus,
.maze-video-next-button:focus-visible,
.maze-video-next-button:active {
  outline: none !important;
  box-shadow: none !important;
}

.maze-video-prev-icon,
.maze-video-next-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.maze-video-prev-icon svg,
.maze-video-next-icon svg {
  display: block;
  width: 18px;
  height: 14px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maze-video-share-button {
	border-radius: 24px !important;
	font-size: 0.9rem !important;
}

.maze-video-share-button:hover {
}

/* Description card */
.maze-video-description-area {
  border: 1px solid color-mix(in srgb, currentColor 4%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, currentColor 4%, transparent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: inherit;
  padding: 8px 16px;
}

.maze-video-description-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.maze-video-description-meta-main {
  font-size: 1.01rem;
  line-height: 1.35;
  font-weight: 500;
  min-width: 0;
}

.maze-video-description-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
  font-size: 0.95rem;
  line-height: 1.35;
}

.maze-video-description-tag {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  white-space: nowrap;
}

.maze-video-description-tag:hover {
  text-decoration: underline;
}

.maze-video-description-meta .maze-video-views {
  white-space: nowrap;
}

.maze-video-description-meta .maze-video-views.has-tooltip {
  cursor: help;
}

.maze-video-description-content {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.24rem;
}

.maze-video-description-content > :first-child,
.maze-video-description-area > :first-child {
  margin-top: 0;
}

.maze-video-description-content > :last-child,
.maze-video-description-area > :last-child {
  margin-bottom: 0;
}

/**
 * Inline images: overwrite WordPress default linebreak behaviour
 * around small inline images and resize all to same size
 */
.maze-video-description-content img {
  position: relative;
  top: 6px;
  max-width: 24px;
  display: inline-flex;
  margin: 0 3px;
}

.maze-video-description-content img.emoji {
  top: 0;
}

.maze-video-description-area p,
.maze-video-description-area ul,
.maze-video-description-area ol,
.maze-video-description-area blockquote,
.maze-video-description-area h2,
.maze-video-description-area h3,
.maze-video-description-area h4 {
  max-width: 72ch;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --maze-player-max-height: 68vh;
  }

  .maze-video-article {
    max-width: 100%;
  }
}

@media (max-width: 782px) {
  :root {
    --maze-video-radius: 10px;
    --maze-video-gap: 14px;
    --maze-player-max-height: 58vh;
    --maze-player-min-height: 180px;
  }

  .maze-video-description-area {
    padding: 16px;
  }

  .maze-video-processing-notice {
    min-height: 50px;
    padding: 12px 14px;
  }

  .maze-video-channel {
    gap: 1.2vw;
  }

  .maze-video-channel-avatar img,
  .maze-video-channel-avatar .avatar {
    width: 36px;
    height: 36px;
  }

  .maze-video-title {
    margin-bottom: 4px;
  }
  
}

@media (max-width: 767px) {  
  .maze-video-repeat-button,
  .maze-video-prev-button,
  .maze-video-next-button {
	display: none !important;
  }

  .maze-video-player-shell .maze-video-upnext-overlay {
    right: 16px;
    bottom: 126px;
    width: calc(100% - 32px);
    padding: 8px 10px;
  }
}

@media (max-width: 380px) {
  .maze-video-channel {
    gap: 8px;
  }

  .maze-video-channel-text {
    min-width: auto;
  }

  .maze-video-channel-name {
    display: none;
  }

  .maze-video-subscriber-label {
    display: none;
  }

  .maze-video-channel-subscribers {
    margin-top: 0;
    white-space: nowrap;
  }
  .maze-video-subscribe-button
  {
    margin-left: 0px; 
  }
}

@media (max-aspect-ratio: 3/4) {
  :root {
    --maze-player-max-height: 54vh;
  }
}

@media (min-width: 1440px) {
  .maze-video-article {
    max-width: 1180px;
  }

  .maze-video-player-shell {
    max-width: 100%;
  }
}

/* Custom hover tooltips like YouTube */
.maze-has-tooltip {
  position: relative;
}

.maze-has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.92);
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: none;
  padding: 12px 12px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.14s ease, visibility 0.14s ease;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.maze-has-tooltip:hover::after,
.maze-has-tooltip:focus-visible::after {
  opacity: 0.75;
  visibility: visible;
}

/* Video Archive – YouTube-like inside theme width */
.maze-video-archive-page .site-main,
.maze-video-archive {
  max-width: var(--wp--style--global--content-size, 1120px);
  margin: 0 auto;
  box-sizing: border-box;
  font-family: "Roboto", Arial, sans-serif;
}

.maze-video-archive {
  width: 100%;
  padding: 0 0 24px;
}

.maze-video-archive-hero {
  position: relative;
  width: 100%;
  min-height: clamp(160px, 24vw, 280px);
  margin: 0 0 22px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.maze-video-archive-hero-video .maze-video-archive-hero-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  background: transparent;
}

.maze-video-archive-channel-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 28px;
}

.maze-video-archive-channel-avatar {
  flex: 0 0 auto;
}

.maze-video-archive-channel-avatar img,
.maze-video-archive-channel-avatar .avatar {
  display: block;
  width: min(160px, 18vw);
  height: min(160px, 18vw);
  min-width: 88px;
  min-height: 88px;
  border-radius: 999px;
  object-fit: cover;
}

.maze-video-archive-channel-main {
  min-width: 0;
  flex: 1 1 auto;
}

.maze-video-archive-channel-name {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
  font-weight: 700;
}

.maze-video-archive-channel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  opacity: 0.82;
}

.maze-video-archive-channel-meta-separator {
  display: inline-block;
  margin: 0 8px;
  opacity: 0.72;
}

.maze-video-archive-channel-cta {
  margin-top: 14px;
}

@media (max-width: 782px) {
  .maze-video-archive-hero {
    min-height: clamp(140px, 28vw, 220px);
    border-radius: 14px;
  }

  .maze-video-archive-channel-header {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .maze-video-archive-channel-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .maze-video-archive-channel-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .maze-video-archive-hero {
    min-height: clamp(120px, 30vw, 180px);
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .maze-video-archive-channel-header {
    gap: 12px;
    margin-bottom: 22px;
  }

  .maze-video-archive-channel-avatar img,
  .maze-video-archive-channel-avatar .avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
  }

  .maze-video-archive-channel-name {
    margin-bottom: 6px;
  }

  .maze-video-archive-channel-meta {
    font-size: 0.9rem;
  }
}

.maze-video-archive-header {
  margin-bottom: 24px;
}

.maze-video-archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 305px);
  justify-content: start;
  gap: 28px 24px;
}

.maze-video-archive-item {
  display: block;
  width: 305px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.maze-video-archive-thumb {
  display: block;
  width: 100%;
}

.maze-video-archive-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 305 / 172;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: none;
}

.maze-video-archive-content {
  padding-top: 12px;
}

.maze-video-archive-title {
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 500;
  color: inherit;
}

.maze-video-archive-title a {
  color: inherit;
  text-decoration: none;
}

.maze-video-archive-title a:hover {
  text-decoration: none;
}

.maze-video-archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 400;
  opacity: 0.78;
}

.maze-video-archive-separator {
  display: inline-block;
  margin: 0 8px;
  opacity: 0.78;
}

.maze-video-archive-pagination {
  margin-top: 28px;
}

@media (max-width: 680px) {
  .maze-video-archive-list {
    grid-template-columns: 1fr;
  }

  .maze-video-archive-item {
    width: 100%;
  }
}

.maze-video-archive-thumb {
  display: block;
  width: 100%;
  position: relative;
}

.maze-video-archive-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 15, 15, 0.78);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.maze-video-archive-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.maze-video-archive-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--wp--preset--color--foreground, #111) 10%, var(--wp--preset--color--base, #fff) 90%);
  color: var(--wp--preset--color--foreground, #111);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease;
}

.maze-video-archive-sort-button:hover {
  text-decoration: none;
}

/* Desktop play/pause overlay */
.maze-video-player-shell .maze-click-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  z-index: 12;
  cursor: pointer;
  background: transparent;
  outline: none !important;
}

.maze-video-player-shell .maze-pp-overlay {
  position: absolute;
  inset: 0;
  z-index: 13;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.maze-video-player-shell .maze-pp-overlay.show {
  opacity: 1;
}

.maze-video-player-shell .maze-pp-icon-bg {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.78);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transform: scale(0.82);
  opacity: 0.92;
}

.maze-video-player-shell .maze-pp-overlay.show .maze-pp-icon-bg {
  animation: maze-pp-pop 0.28s ease-out forwards;
}

.maze-video-player-shell .maze-pp-icon {
  width: 48px;
  height: 48px;
  fill: #fff;
}

@keyframes maze-pp-pop {
  0% {
    transform: scale(0.82);
    opacity: 0.72;
  }
  65% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (pointer: coarse) {
  .maze-video-player-shell .maze-click-layer,
  .maze-video-player-shell .maze-pp-overlay {
    display: none !important;
  }
}

.maze-video-archive-sort-button.is-active {
  background: var(--wp--preset--color--foreground, #111);
  color: var(--wp--preset--color--base, #fff);
}

/* Logo Overlay */
.maze-video-player-shell .mazemusic-player-shell > .maze-video-logo {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  display: block !important;
  width: clamp(48px, 6vw, 80px) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: contain;
  opacity: 0.8;
  pointer-events: none;
  z-index: 14;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@media (pointer: coarse) {
  .maze-video-player-shell .mazemusic-player-shell > .maze-video-logo {
    top: 5px !important;
    right: 5px !important;
    width: clamp(40px, 10vw, 64px) !important;
    opacity: 0.5;
  }
}