#kk-sticky-player {
  position: fixed;
  z-index: 85;
  font-family: var(--font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  color: var(--text-on-dark, #F5F7FA);
  box-sizing: border-box;
  right: 20px;
  bottom: 18px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#kk-sticky-player *,
#kk-sticky-player *::before,
#kk-sticky-player *::after {
  box-sizing: border-box;
}

#kk-sticky-player.is-page-hidden,
#kk-sticky-player.is-overlay-hidden {
  display: none !important;
}

.kk-sticky-launch {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-dark, #1A1F26);
  color: var(--text-on-dark, #F5F7FA);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill, 9999px);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.kk-sticky-launch:hover {
  background: var(--bg-dark-card, #252C36);
  border-color: var(--clay-primary, #B94A2A);
  transform: translateY(-1px);
}

.kk-sticky-launch:focus-visible {
  outline: 2px solid var(--clay-primary, #B94A2A);
  outline-offset: 2px;
}

#kk-sticky-player.is-collapsed .kk-sticky-launch {
  display: inline-flex;
}

#kk-sticky-player.is-collapsed .kk-sticky-card {
  display: none;
}

.kk-sticky-card {
  display: flex;
  flex-direction: column;
  width: 206px;
  height: 442px;
  background: var(--bg-dark, #1A1F26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 31, 38, 0.35);
  position: relative;
}

.kk-sticky-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-dark, #1A1F26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 38px;
  flex-shrink: 0;
}

.kk-sticky-counter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-on-dark-muted, #A0ACB9);
  user-select: none;
}

.kk-sticky-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kk-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  color: var(--text-on-dark-muted, #A0ACB9);
  border: none;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.kk-sticky-btn:hover {
  color: var(--text-on-dark, #F5F7FA);
  background: rgba(255, 255, 255, 0.1);
}

.kk-sticky-btn:focus-visible {
  outline: 2px solid var(--clay-primary, #B94A2A);
  outline-offset: 1px;
}

.kk-sticky-media {
  position: relative;
  flex: 1;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kk-sticky-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

.kk-sticky-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clay-primary, #B94A2A);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background-color 0.15s ease;
  z-index: 2;
}

.kk-sticky-play-overlay:hover {
  background: var(--clay-hover, #9E3C1F);
  transform: translate(-50%, -50%) scale(1.08);
}

.kk-sticky-play-overlay:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.kk-sticky-body {
  padding: 8px 10px 4px 10px;
  background: var(--bg-dark, #1A1F26);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kk-sticky-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-on-dark, #F5F7FA);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kk-sticky-gallery-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--sand-gold, #C29B38);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.15s ease;
}

.kk-sticky-gallery-link:hover {
  color: var(--clay-light, #F4E8E1);
}

.kk-sticky-gallery-link:focus-visible {
  outline: 2px solid var(--clay-primary, #B94A2A);
  outline-offset: 1px;
  border-radius: 2px;
}

.kk-sticky-footer {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 6px 10px 8px 10px;
  background: var(--bg-dark, #1A1F26);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.kk-sticky-btn--nav {
  width: 32px;
  height: 32px;
  color: var(--text-on-dark-muted, #A0ACB9);
}

.kk-sticky-btn--nav:hover {
  color: var(--text-on-dark, #F5F7FA);
  background: rgba(255, 255, 255, 0.1);
}

.kk-sticky-btn--play-toggle {
  width: 36px;
  height: 36px;
  background: var(--clay-primary, #B94A2A);
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(185, 74, 42, 0.4);
}

.kk-sticky-btn--play-toggle:hover {
  background: var(--clay-hover, #9E3C1F);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  #kk-sticky-player {
    right: auto;
    left: calc(12px + env(safe-area-inset-left, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .kk-sticky-card {
    width: 147px;
    height: 310px;
    border-radius: 12px;
  }

  .kk-sticky-header {
    padding: 6px 8px;
    min-height: 32px;
  }

  .kk-sticky-counter {
    font-size: 11px;
  }

  .kk-sticky-btn {
    width: 24px;
    height: 24px;
  }

  .kk-sticky-btn svg {
    width: 14px;
    height: 14px;
  }

  .kk-sticky-body {
    padding: 6px 8px 3px 8px;
  }

  .kk-sticky-title {
    font-size: 11px;
  }

  .kk-sticky-gallery-link {
    font-size: 10px;
  }

  .kk-sticky-footer {
    padding: 4px 6px 6px 6px;
  }

  .kk-sticky-btn--nav {
    width: 28px;
    height: 28px;
  }

  .kk-sticky-btn--play-toggle {
    width: 30px;
    height: 30px;
  }

  .kk-sticky-launch {
    padding: 8px 12px;
    font-size: 12px;
  }
}