@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0b0b0b;
  --surface: #171717;
  --surface-hover: #222;
  --line: #303030;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #1976f3;
  --header-height: 64px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 11, .96);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: 100%;
  height: 100%;
  padding: 0 clamp(12px, 2vw, 28px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 520px);
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
}
.header-inner .logo {
  order: 0;
  flex: 0 0 auto;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -1.5px;
}
.header-inner .search-form {
  grid-column: 2;
  display: flex;
  width: 100%;
  margin-left: 0;
}
.header-links {
  grid-column: 3;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  white-space: nowrap;
}
.header-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .15s ease;
}
.header-links a:hover,
.header-links a:focus-visible { color: var(--text); }
.search-form input {
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  outline: none;
  background: #101010;
}
.search-form input:focus { border-color: var(--accent); }
.search-form button {
  width: 48px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  background: var(--surface);
}
.search-form button:hover { background: var(--surface-hover); }
.search-form svg { width: 19px; height: 19px; }

.page-shell {
  width: 100%;
  min-height: calc(100vh - var(--header-height) - 90px);
  padding: 22px clamp(12px, 2vw, 28px) 30px;
}
.page-heading {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.2;
}
.results-note { margin: -8px 0 18px; color: var(--muted); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 14px;
}
.video-card { min-width: 0; }
.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}
.poster-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .15s ease;
}
.poster-wrap:hover img { opacity: .86; }
.video-card .poster-wrap .duration {
  position: absolute;
  left: auto !important;
  right: 4px !important;
  bottom: 4px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 3px 4px !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: rgba(0, 0, 0, .86) !important;
  font: 600 12px/14px Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}
.video-title {
  display: -webkit-box;
  min-height: 38px;
  margin: 8px 0 4px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.video-meta { color: var(--muted); font-size: 12px; }
.tags-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tags-index a {
  min-width: 0;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.tags-index a:hover { background: var(--surface-hover); }
.tags-index small { color: var(--muted); }
.empty-state {
  padding: 56px 20px;
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
  background: var(--surface);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 30px 0 4px;
}
.pagination a, .pagination span {
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.pagination a:hover { background: var(--surface-hover); }
.pagination .active { color: #fff; border-color: var(--accent); background: var(--accent); }

.watch-shell { max-width: 1500px; margin: 0 auto; }
.player-frame {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hosted-player-frame #player-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}
.hosted-player-frame #player-shell:fullscreen,
.hosted-player-frame #player-shell:-webkit-full-screen { position: fixed; width: 100vw; height: 100vh; }
#bbwgoon-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; border: 0; border-radius: 0; }
#player-bootstrap-shell { position: absolute; inset: 0; z-index: 20; color: #fff; font: 14px/1 system-ui, sans-serif; pointer-events: none; }
#player-bootstrap-shell[hidden] { display: none; }
#player-bootstrap-shell .boot-center { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; pointer-events: auto; }
#player-bootstrap-shell .boot-center svg { width: 52px; height: 52px; fill: currentColor; filter: drop-shadow(0 1px 2px #000); }
#player-bootstrap-shell.is-pending .boot-center { opacity: .65; }
#player-bootstrap-shell .boot-controls { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; padding: 24px 2% 0; box-sizing: border-box; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: grid; grid-template-rows: 4px 48px; pointer-events: none; }
.boot-timeline { align-self: center; width: 100%; height: 3px; background: rgba(255, 255, 255, .35); }
.boot-row { display: flex; align-items: center; gap: 0; height: 48px; }
.boot-button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; opacity: 1; }
.boot-button svg { width: 24px; height: 24px; fill: currentColor; }
.boot-volume { display: flex; align-items: center; }
.boot-volume-line { width: 52px; height: 3px; background: #fff; margin-right: 8px; }
.boot-time { white-space: nowrap; font-size: 13px; margin-left: 4px; }
.boot-spacer { flex: 1; }
.runtime-ready #player-bootstrap-shell { display: none; }
#player-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; background: #000; color: #fff; font: 14px/1.4 system-ui, sans-serif; text-align: center; }
#player-error[hidden] { display: none; }
.shaka-video-container, .shaka-controls-container { border: 0 !important; border-radius: 0 !important; }
#player-shell:not(.show-center-play) .shaka-big-buttons-container { display: none !important; }
.shaka-skip-ad-counter { display: none !important; }
.shaka-skip-ad-button:disabled:not([data-skip-label-ready="true"]) { visibility: hidden !important; }
.shaka-skip-ad-button:disabled { opacity: 1 !important; cursor: default !important; color: var(--shaka-font-color) !important; background: var(--shaka-bg) !important; }
@media (hover: hover) and (pointer: fine) {
  .shaka-skip-ad-button { min-height: 44px !important; padding: 10px 24px !important; font-size: 18px !important; font-weight: 600 !important; }
}
.watch-title { margin: 18px 0 8px; font-size: clamp(20px, 2.5vw, 30px); }
.watch-meta { margin-bottom: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.tags a { padding: 6px 10px; color: #d5d5d5; border-radius: 3px; background: var(--surface); }
.tags a:hover { background: var(--surface-hover); }
.related-heading { margin: 26px 0 16px; font-size: 20px; }

.site-footer {
  min-height: 74px;
  padding: 24px clamp(12px, 2vw, 28px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links { display: inline-flex; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.legal-page { max-width: 860px; margin: 0 auto; padding: 18px 0 40px; color: var(--text); line-height: 1.65; }
.legal-page h1 { margin: 0 0 18px; font-size: clamp(24px, 4vw, 36px); }
.legal-page p { margin: 0 0 18px; }
.legal-page .legal-note { color: var(--muted); font-size: 13px; }

@media (max-width: 1050px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --header-height: 96px; }
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 56px 36px;
    gap: 0 12px;
  }
  .header-inner .search-form { grid-column: 2; }
  .header-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .header-links::-webkit-scrollbar { display: none; }
  .logo { font-size: 18px; letter-spacing: -1px; }
  .search-form input { height: 36px; padding-inline: 10px; }
  .search-form button { width: 42px; height: 36px; }
  .page-shell { padding-top: 16px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .page-heading { font-size: 19px; }
  .video-title { font-size: 14px; line-height: 18px; min-height: 36px; }
  .tags-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #player-bootstrap-shell .boot-controls { height: 58px; padding-top: 14px; grid-template-rows: 3px 41px; }
  .boot-row, .boot-button { height: 41px; }
  .boot-button { width: 40px; }
  .boot-button svg { width: 21px; height: 21px; }
  .boot-volume-line { display: none; }
  .boot-time { font-size: 11px; margin-left: 1px; }
  #player-bootstrap-shell .boot-center { width: 58px; height: 58px; }
  #player-bootstrap-shell .boot-center svg { width: 46px; height: 46px; }
}
@media (max-width: 390px) {
  .header-inner { padding-inline: 9px; }
  .logo { font-size: 16px; }
  .search-form input::placeholder { color: transparent; }
  .page-shell { padding-inline: 9px; }
}
