/*
Theme Name: ThotAlert Videos
Theme URI: https://example.com/thotalert-videos
Author: Codex
Author URI: https://example.com
Description: WordPress video theme with an alert-inspired layout, search bar, latest videos grid, and a matching single-player layout.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: thotalert-videos
*/

:root {
  --bg: #fdfdff;
  --bg-soft: #f7faff;
  --bg-accent: #fff0f3;
  --panel: #ffffff;
  --panel-2: #fafcff;
  --line: #c8d7f8;
  --line-strong: #5b82df;
  --text: #2e2440;
  --muted: rgba(46, 36, 64, 0.56);
  --blue: #5d87ff;
  --blue-2: #ff4d5c;
  --blue-3: #e8efff;
  --blue-4: #fff3f5;
  --blue-10: rgba(93, 135, 255, 0.12);
  --blue-20: rgba(93, 135, 255, 0.22);
  --shadow: 0 4px 20px rgba(91, 130, 223, 0.16);
  --radius: 30px;
  --shell: 1480px;
}

@media (max-width: 430px) {
  .bb-logo__text {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

  .bb-logo__avatar {
    width: 34px;
    height: 34px;
  }

  .bb-search-toggle,
  .bb-login-button {
    width: 38px;
    height: 38px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font: 400 1.8rem/1.5 "Roboto Condensed", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(93, 135, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 77, 92, 0.12), transparent 24%),
    linear-gradient(180deg, #fcfdff 0%, #fff7f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

a:hover {
  color: #d93f4f;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bb-shell {
  width: min(var(--shell), calc(100% - 16px));
  margin: 0 auto;
}

.bb-main {
  padding: 0 0 36px;
  position: relative;
}

.bb-site-head {
  padding: 8px 0 8px;
}

.bb-site-head__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.bb-site-head__inner::before,
.bb-site-head__inner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(93, 135, 255, 0.12);
  pointer-events: none;
}

.bb-site-head__inner::before {
  width: 180px;
  height: 180px;
  top: -80px;
  right: -50px;
}

.bb-site-head__inner::after {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: 28%;
}

.bb-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.bb-logo__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.bb-logo__avatar {
  width: clamp(48px, 4.2vw, 62px);
  height: clamp(48px, 4.2vw, 62px);
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: linear-gradient(180deg, #f8fbff 0%, #ffe4ea 100%);
  box-shadow: 0 12px 28px rgba(91, 130, 223, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.bb-logo__avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-logo__avatar-image[src$=".svg"],
.bb-logo__avatar-image--icon {
  object-fit: contain;
  padding: 10%;
}

.bb-logo__avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #d93f4f;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
}

.bb-logo__text {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: clamp(4rem, 4vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
}

.bb-site-search {
  width: min(520px, 100%);
  flex: 1 1 520px;
  position: relative;
  z-index: 1;
}

.bb-site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.bb-search-toggle,
.bb-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff1f4 100%);
  box-shadow: 0 10px 20px rgba(91, 130, 223, 0.16);
  color: #456eea;
}

.bb-search-toggle {
  display: none;
  cursor: pointer;
}

.bb-search-toggle:hover,
.bb-login-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d5c 0%, #5d87ff 100%);
  border-color: #4f6edc;
  box-shadow: 0 14px 28px rgba(79, 110, 220, 0.24);
}

.bb-search-toggle:focus-visible,
.bb-login-button:focus-visible {
  outline: 3px solid rgba(79, 110, 220, 0.24);
  outline-offset: 3px;
}

.bb-search-toggle__icon,
.bb-login-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.bb-search-toggle__icon svg,
.bb-login-button__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.bb-mobile-search-panel {
  display: none;
  margin-top: 10px;
  padding: 0 10px;
}

.bb-mobile-search-panel[hidden] {
  display: none !important;
}

.bb-header-pills {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 77, 92, 0.18), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(93, 135, 255, 0.2), transparent 34%),
    radial-gradient(circle at 50% 88%, rgba(255, 77, 92, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
}

.bb-header-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: clamp(2rem, 2vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  isolation: isolate;
  box-shadow: 0 14px 30px rgba(79, 110, 220, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: bb-pill-float 3.6s ease-in-out infinite;
}

.bb-header-pill::before,
.bb-header-pill::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.bb-header-pill::before {
  inset: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  opacity: 0.65;
}

.bb-header-pill::after {
  width: 46%;
  height: 180%;
  top: -40%;
  left: -28%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  animation: bb-pill-sheen 2.7s linear infinite;
}

.bb-header-pill:hover {
  color: inherit;
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 22px 42px rgba(111, 157, 198, 0.32);
  filter: saturate(1.08);
}

.bb-header-pill--1 {
  color: #7f2330;
  border-color: rgba(255, 77, 92, 0.72);
  background: linear-gradient(135deg, #ffe0e5, #ff98a2 46%, #ff5f6f 100%);
}

.bb-header-pill--2 {
  color: #22468e;
  border-color: rgba(93, 135, 255, 0.78);
  background: linear-gradient(135deg, #e3ecff, #9ab7ff 46%, #6790ff 100%);
  animation-delay: 0.28s;
}

.bb-header-pill--3 {
  color: #4d356d;
  border-color: rgba(137, 116, 255, 0.56);
  background: linear-gradient(135deg, #f1e9ff, #d9d7ff 52%, #ffc4d2 100%);
  animation-delay: 0.56s;
}

.bb-header-pill__shine {
  position: absolute;
  inset: auto auto -18px -22px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(4px);
  animation: bb-pill-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.bb-header-pill__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@keyframes bb-pill-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-4px) scale(1.012);
  }

  50% {
    transform: translateY(3px) scale(0.995);
  }

  75% {
    transform: translateY(-2px) scale(1.018);
  }
}

@keyframes bb-pill-sheen {
  0% {
    left: -38%;
    opacity: 0;
  }

  18% {
    opacity: 0.95;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    left: 108%;
    opacity: 0;
  }
}

@keyframes bb-pill-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.42;
  }

  50% {
    transform: scale(1.22);
    opacity: 0.78;
  }
}

.bb-mobile-search-panel .bb-search-form {
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 232, 0.98));
  box-shadow: var(--shadow);
}

.bb-search-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: none;
}

.bb-search-field,
.bb-search-button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
}

.bb-search-field {
  width: 100%;
  padding: 0 18px;
  color: var(--text);
  background: transparent;
  outline: none;
  text-transform: none;
  font-size: 1.8rem;
  font-weight: 400;
}

.bb-search-field::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.bb-search-field:focus {
  background: var(--blue-10);
}

.bb-search-button {
  min-width: 104px;
  padding: 0 22px;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #ff4d5c, #5d87ff);
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}

.bb-search-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #d93f4f, #4f6edc);
}

.bb-section {
  margin-top: 12px;
}

.bb-ad-slot {
  margin-top: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bb-ad-slot > *:first-child {
  margin-top: 0;
}

.bb-ad-slot > *:last-child {
  margin-bottom: 0;
}

.bb-ad-slot iframe,
.bb-ad-slot img,
.bb-ad-slot ins,
.bb-ad-slot script,
.bb-ad-slot div {
  max-width: 100%;
}

.bb-ad-slot--below-header-wrap {
  margin-top: 4px;
  position: sticky;
  top: 8px;
  z-index: 40;
}

.bb-ad-slot--single-gap {
  margin-top: 16px;
}

.bb-section__bar {
  margin-bottom: 12px;
  padding: 10px 16px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.bb-section__title {
  margin: 0;
  color: #d93f4f;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bb-empty,
.bb-copy {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.bb-empty {
  color: var(--muted);
  font-size: 1.6rem;
}

.bb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bb-card {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #fafcff);
  box-shadow: var(--shadow);
}

.bb-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 22px rgba(91, 130, 223, 0.2);
  transform: translateY(-2px);
}

.bb-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--blue-3);
  overflow: hidden;
}

.bb-card__thumb::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(231, 239, 255, 0.94));
  box-shadow: 0 4px 14px rgba(91, 130, 223, 0.16);
  border: 2px solid rgba(93, 135, 255, 0.28);
}

.bb-card__thumb::before {
  content: "";
  position: absolute;
  inset: auto 28px 27px auto;
  z-index: 1;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--blue-2);
}

.bb-card__thumb img,
.bb-card__thumb .bb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: #d93f4f;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(248, 251, 255, 0.92), rgba(255, 77, 92, 0.12));
}

.bb-card__body {
  padding: 16px 16px 18px;
}

.bb-card__title {
  margin: 0;
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.bb-card__title a:hover {
  color: #d93f4f;
}

.bb-card__meta,
.bb-detail__meta,
.bb-taxonomy__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-card__meta {
  margin-top: 12px;
}

.bb-chip,
.bb-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  color: #456eea;
  background: var(--bg);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bb-chip:hover,
.bb-pill:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d5c, #5d87ff);
  border-color: #4f6edc;
}

.bb-watch {
  display: grid;
  gap: 18px;
}

.bb-player-card,
.bb-detail {
  border: 2px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.bb-player-card {
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.bb-player {
  padding: 0;
  background: transparent;
}

.bb-pimp-player {
  position: relative;
}

.bb-broken-player {
  display: grid;
  gap: 14px;
}

.bb-player-actions {
  display: flex;
  justify-content: center;
}

.bb-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff1f4 100%);
  box-shadow: 0 12px 24px rgba(91, 130, 223, 0.16);
  color: #d93f4f;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bb-download-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d5c 0%, #5d87ff 100%);
  border-color: #4f6edc;
  box-shadow: 0 16px 30px rgba(79, 110, 220, 0.24);
}

.bb-download-button:focus-visible {
  outline: 3px solid rgba(79, 110, 220, 0.24);
  outline-offset: 3px;
}

.bb-download-button__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.bb-download-button__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bb-download-button__text {
  display: inline-flex;
  align-items: center;
}

.bb-broken-player__promo {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #fff7fb;
  background:
    radial-gradient(circle at left center, rgba(255, 106, 167, 0.28), transparent 26%),
    linear-gradient(135deg, #2b0a18, #0f0f15 62%, #19070f);
  box-shadow: 0 18px 34px rgba(36, 10, 24, 0.24);
}

.bb-broken-player__eyebrow,
.bb-broken-player__copy,
.bb-pimp-player__time {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb-broken-player__eyebrow {
  color: rgba(255, 198, 223, 0.88);
  font-size: 1.15rem;
  font-weight: 700;
}

.bb-broken-player__title {
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1.1;
  color: #ffffff;
}

.bb-broken-player__copy {
  color: rgba(255, 223, 236, 0.72);
  font-size: 1.1rem;
  font-weight: 700;
}

.bb-pimp-player__frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000000;
  box-shadow: 0 18px 36px rgba(71, 31, 50, 0.2);
}

.bb-broken-player__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(33, 9, 20, 0.98), rgba(7, 7, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 44px rgba(24, 7, 16, 0.34);
}

.bb-pimp-player__screen {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000000;
}

.bb-pimp-player__center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(20, 8, 13, 0.26));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.bb-pimp-player.has-started .bb-pimp-player__center {
  opacity: 0;
  pointer-events: none;
}

.bb-pimp-player__play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 240, 246, 0.84);
  box-shadow: 0 14px 28px rgba(58, 20, 37, 0.3);
  backdrop-filter: blur(2px);
}

.bb-pimp-player__play-badge svg {
  width: 42px;
  height: 42px;
  fill: #ff7d31;
  transform: translateX(2px);
}

.bb-pimp-player__controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 0 18px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(23, 8, 15, 0.84) 54%, rgba(13, 7, 10, 0.97));
}

.bb-pimp-player__progress-wrap {
  display: block;
  width: 100%;
  margin: 0 0 12px;
}

.bb-pimp-player__progress,
.bb-pimp-player__volume {
  width: 100%;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.bb-pimp-player__progress {
  --bb-progress: 0%;
  height: 10px;
}

.bb-pimp-player__volume {
  --bb-volume: 100%;
  width: 130px;
  height: 10px;
}

.bb-pimp-player__progress::-webkit-slider-runnable-track,
.bb-pimp-player__volume::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #ff7d31 0, #ff7d31 var(--bb-progress, 0%), #4d4048 var(--bb-progress, 0%), #4d4048 100%);
}

.bb-pimp-player__volume::-webkit-slider-runnable-track {
  background:
    linear-gradient(90deg, #ff7d31 0, #ff7d31 var(--bb-volume, 100%), #4d4048 var(--bb-volume, 100%), #4d4048 100%);
}

.bb-pimp-player__progress::-moz-range-track,
.bb-pimp-player__volume::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #4d4048;
}

.bb-pimp-player__progress::-webkit-slider-thumb,
.bb-pimp-player__volume::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border: 0;
  border-radius: 999px;
  background: #fff3f8;
  appearance: none;
  -webkit-appearance: none;
}

.bb-pimp-player__progress::-moz-range-thumb,
.bb-pimp-player__volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #fff3f8;
}

.bb-pimp-player__control-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bb-pimp-player__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #fff4f8;
  background: transparent;
  cursor: pointer;
}

.bb-pimp-player__control--quality {
  padding: 0 0 0 4px;
}

.bb-pimp-player__icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.bb-pimp-player__icon--pause {
  display: none;
}

.bb-pimp-player.is-playing .bb-pimp-player__icon--play {
  display: none;
}

.bb-pimp-player.is-playing .bb-pimp-player__icon--pause {
  display: block;
}

.bb-pimp-player__time {
  min-width: 120px;
  color: #ffffff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.bb-pimp-player__volume-wrap {
  display: inline-flex;
  align-items: center;
}

.bb-pimp-player__spacer {
  flex: 1 1 auto;
}

.bb-pimp-player__hd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 7px;
  color: #ffffff;
  background: #ff7d31;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.bb-broken-player__inner {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: min(62vw, 520px);
  padding: 32px 24px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255, 92, 153, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(30, 9, 18, 0.96), rgba(9, 7, 11, 0.98));
}

.bb-broken-player__logo,
.bb-broken-player__placeholder {
  width: clamp(96px, 14vw, 144px);
  height: clamp(96px, 14vw, 144px);
  border-radius: 999px;
  border: 3px solid rgba(255, 209, 230, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 40px rgba(255, 92, 153, 0.16);
}

.bb-broken-player__logo {
  display: block;
  object-fit: cover;
}

.bb-broken-player__placeholder {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
}

.bb-broken-player__message {
  display: grid;
  gap: 8px;
  max-width: 540px;
}

.bb-broken-player__message strong {
  color: #ffffff;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bb-broken-player__message span {
  color: rgba(255, 223, 236, 0.78);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bb-pimp-player__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000000;
  object-fit: contain;
}

.bb-gallery {
  display: grid;
  gap: 14px;
}

.bb-gallery--single {
  gap: 0;
}

.bb-gallery__viewport {
  position: relative;
}

.bb-gallery__item {
  display: block;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 22px rgba(91, 130, 223, 0.16);
}

.bb-gallery__item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(91, 130, 223, 0.2);
  transform: translateY(-2px);
}

.bb-gallery__item[hidden] {
  display: none !important;
}

.bb-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: var(--blue-3);
}

.bb-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bb-gallery__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff1f4 100%);
  box-shadow: 0 10px 22px rgba(91, 130, 223, 0.16);
  color: #456eea;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
}

.bb-gallery__nav:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d5c 0%, #5d87ff 100%);
  border-color: #4f6edc;
  box-shadow: 0 14px 28px rgba(79, 110, 220, 0.24);
}

.bb-gallery__nav:focus-visible {
  outline: 3px solid rgba(79, 110, 220, 0.24);
  outline-offset: 3px;
}

.bb-gallery__status {
  min-width: 110px;
  text-align: center;
  color: var(--text);
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bb-player > :first-child {
  margin-top: 0;
}

.bb-player > :last-child {
  margin-bottom: 0;
}

.bb-player figcaption,
.bb-player .wp-caption-text,
.bb-player .blocks-gallery-caption {
  display: none !important;
}

.bb-player :where(video, iframe, embed, object, .wp-video, .wp-block-video, .wp-block-embed, .wp-block-embed__wrapper) {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.bb-player iframe,
.bb-player video {
  aspect-ratio: 16 / 9;
  border: 0;
  background: #ffffff;
  border-radius: 8px;
}

.bb-player p,
.bb-player li,
.bb-copy__content p,
.bb-copy__content li {
  color: rgba(51, 31, 47, 0.78);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.7;
  text-transform: none;
  font-weight: 400;
}

.bb-player a,
.bb-copy__content a {
  color: #456eea;
}

.bb-player ul,
.bb-player ol,
.bb-copy__content ul,
.bb-copy__content ol {
  padding-left: 18px;
}

.bb-detail {
  padding: 20px 22px 22px;
}

.bb-detail__title,
.bb-copy__title {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.bb-detail__description {
  margin-top: 18px;
}

.bb-detail__description p {
  margin: 0;
  color: rgba(51, 31, 47, 0.78);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.75;
  font-weight: 400;
  text-transform: none;
}

.bb-taxonomies {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.bb-taxonomy {
  display: grid;
  gap: 10px;
}

.bb-taxonomy__label {
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Roboto Condensed", Arial, sans-serif;
}

.bb-taxonomy__more {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-taxonomy__more summary {
  list-style: none;
}

.bb-taxonomy__more summary::-webkit-details-marker {
  display: none;
}

.bb-taxonomy__more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 10px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  color: var(--blue-2);
  background: var(--bg);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.bb-taxonomy__more-button:hover {
  color: #ffffff;
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.bb-taxonomy__more-items {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-copy__content {
  margin-top: 18px;
}

.bb-pagination {
  margin-top: 24px;
}

.bb-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bb-pagination .page-numbers li {
  list-style: none;
}

.bb-pagination .page-numbers a,
.bb-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 700;
}

.bb-pagination .page-numbers .current {
  border-color: #ff4d5c;
  background: linear-gradient(135deg, #ff4d5c, #5d87ff);
  color: #ffffff;
}

.bb-pagination .page-numbers a:hover {
  border-color: #5d87ff;
  color: #456eea;
}

#snax-popup-content .snax-login-form > div:first-child {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

#snax-popup-content .snax-login-form > div:first-child a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

#snax-popup-content .snax-login-form > div:first-child img {
  display: block;
  width: min(100%, 420px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#snax-popup-content .snax-login-form > a:last-child {
  display: block;
  margin-top: 10px;
  text-align: center;
}

#snax-popup-content .snax-login-form > a.bb-vip-membership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 14px auto 0;
  padding: 0 22px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff1f4 100%);
  box-shadow: 0 10px 22px rgba(91, 130, 223, 0.16);
  color: #d93f4f;
  font-family: "Londrina Solid", Impact, sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

#snax-popup-content .snax-login-form > a.bb-vip-membership-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4d5c 0%, #5d87ff 100%);
  border-color: #4f6edc;
  box-shadow: 0 14px 28px rgba(79, 110, 220, 0.24);
}

#snax-popup-content .snax-login-form > a.bb-vip-membership-button:focus-visible {
  outline: 3px solid rgba(79, 110, 220, 0.24);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .bb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .bb-site-head__inner {
    align-items: center;
    justify-content: space-between;
  }

  .bb-logo__brand {
    gap: 12px;
  }

  .bb-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .bb-logo__text {
    font-size: clamp(2.2rem, 5.8vw, 4rem);
  }

  .bb-site-search {
    display: none;
  }

  .bb-site-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .bb-search-toggle {
    display: inline-flex;
  }

  .bb-mobile-search-panel:not([hidden]) {
    display: block;
  }

  .bb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bb-shell {
    width: min(var(--shell), calc(100% - 10px));
  }

  .bb-site-head {
    padding-top: 6px;
  }

  .bb-site-head__inner,
  .bb-section__bar,
  .bb-player,
  .bb-detail,
  .bb-copy {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bb-search-form {
    flex-direction: column;
    border-radius: 22px;
  }

  .bb-site-head__inner {
    flex-direction: row;
    gap: 8px;
  }

  .bb-mobile-search-panel {
    padding: 0 2px;
  }

  .bb-header-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .bb-logo__brand {
    gap: 8px;
  }

  .bb-logo__avatar {
    width: 36px;
    height: 36px;
    border-width: 1px;
  }

  .bb-logo__avatar-image[src$=".svg"],
  .bb-logo__avatar-image--icon {
    padding: 8%;
  }

  .bb-logo__text {
    font-size: clamp(1.6rem, 5.2vw, 2.2rem);
    letter-spacing: 0;
  }

  .bb-site-actions {
    gap: 6px;
  }

  .bb-search-button {
    width: 100%;
  }

  .bb-header-pill {
    min-height: 50px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
  }

  .bb-header-pill__label {
    white-space: nowrap;
    gap: 5px;
  }

  .bb-search-toggle,
  .bb-login-button {
    width: 42px;
    height: 42px;
    border-width: 1px;
  }

  .bb-search-toggle__icon,
  .bb-login-button__icon {
    width: 20px;
    height: 20px;
  }

  .bb-search-toggle__icon svg,
  .bb-login-button__icon svg {
    width: 20px;
    height: 20px;
  }

  .bb-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #snax-popup-content .snax-login-form > div:first-child {
    max-width: 100%;
    padding: 8px !important;
  }

  #snax-popup-content .snax-login-form > div:first-child img {
    width: 100%;
    max-width: 320px;
  }

  #snax-popup-content .snax-login-form > a.bb-vip-membership-button {
    width: 100%;
    max-width: 320px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 1.7rem;
  }

  .bb-card__body {
    padding: 12px;
  }

  .bb-card__title {
    font-size: 1.8rem;
  }

  .bb-player {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .bb-player-card,
  .bb-pimp-player__frame,
  .bb-pimp-player__screen,
  .bb-pimp-player__video,
  .bb-player iframe,
  .bb-player video {
    border-radius: 12px;
  }

  .bb-pimp-player__play-badge {
    width: 76px;
    height: 76px;
  }

  .bb-pimp-player__controls {
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
  }

  .bb-pimp-player__control-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .bb-pimp-player__time {
    min-width: 92px;
    font-size: 1.5rem;
  }

  .bb-pimp-player__volume {
    width: 90px;
  }

  .bb-pimp-player__volume-wrap {
    display: none;
  }

  .bb-pimp-player__spacer {
    display: none;
  }

  .bb-pimp-player__control--quality {
    display: none;
  }

  .bb-pimp-player__control--fullscreen {
    margin-left: auto;
  }

  .bb-gallery {
    gap: 10px;
  }

  .bb-gallery__nav {
    width: 44px;
    height: 44px;
    font-size: 2.3rem;
  }

  .bb-gallery__status {
    min-width: 92px;
    font-size: 1.6rem;
  }

  .bb-download-button {
    width: 100%;
    font-size: 1.8rem;
  }

  .bb-detail {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .bb-detail__title,
  .bb-copy__title {
    font-size: 3rem;
  }

}
