/*
Theme Name: XPF Lite v2.7
Theme URI: https://www.xxxpussyfuck.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A lightweight, WP-Script-friendly video theme built for faster load times, cleaner browsing, and a calmer visual experience.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: xpf-lite
*/

:root {
  --bg: #0b0b0d;
  --panel: #141419;
  --panel-2: #1c1d23;
  --line: #292b34;
  --text: #f4f5f7;
  --muted: #a7acb8;
  --accent: #ff2d6f;
  --accent-2: #ff5c92;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1440px;
  --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
iframe, video, embed, object { max-width: 100%; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: .65rem .9rem;
  border-radius: 999px;
}
.skip-link:focus { top: .75rem; }
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11,11,13,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
}
.branding {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.custom-logo-link img,
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand-copy { min-width: 0; }
.site-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
}
.site-title a:hover { color: var(--accent-2); }
.site-tagline {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 12px;
}
.nav-toggle svg { width: 22px; height: 22px; }
.primary-nav {
  justify-self: center;
}
.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .3rem;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.header-search {
  width: min(320px, 100%);
}
.search-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .5rem .4rem .85rem;
}
.search-field {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}
.search-submit,
.button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease;
}
.search-submit:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}
.header-cta:hover { border-color: rgba(255,255,255,.16); }
.site-main { padding: 1.4rem 0 4rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-card,
.panel,
.section-card,
.video-card,
.term-card,
.post-card,
.comments-area,
.widget {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-feature {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.hero-feature .thumb-link,
.hero-feature .video-thumb {
  height: 100%;
}
.hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.9));
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
}
.section-title,
.archive-title,
.entry-title,
.widget-title {
  margin: 0;
  line-height: 1.15;
}
.section-title,
.archive-title { font-size: clamp(1.35rem, 2vw, 2rem); }
.section-link,
.archive-subtitle,
.meta-line,
.entry-meta,
.video-meta-strip,
.section-kicker,
.term-count,
.footer-note,
.breadcrumbs,
.pagination-info {
  color: var(--muted);
}
.section {
  margin: 0 0 2rem;
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid-videos {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-terms {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-card {
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f1014;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  pointer-events: none;
}
.video-badges {
  position: absolute;
  left: .6rem;
  right: .6rem;
  bottom: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 28px;
  padding: 0 .55rem;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.badge-accent {
  background: rgba(255,45,111,.9);
}
.card-body,
.entry-content-wrap,
.term-body,
.post-body,
.comments-area,
.widget {
  padding: 1rem;
}
.card-title,
.term-title,
.post-title {
  margin: 0 0 .45rem;
  font-size: 1rem;
  line-height: 1.35;
}
.card-title a:hover,
.term-title a:hover,
.post-title a:hover,
.entry-title a:hover { color: var(--accent-2); }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  font-size: .84rem;
  color: var(--muted);
}
.rating-bar {
  --pct: 0%;
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-top: .75rem;
}
.rating-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.2rem;
}
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.archive-header,
.page-header {
  margin-bottom: 1.25rem;
}
.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .85rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.filter-chip.is-active,
.filter-chip:hover { color: var(--text); border-color: rgba(255,255,255,.18); }
.entry-hero {
  margin-bottom: 1rem;
}
.player-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: #050505;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.player-content {
  aspect-ratio: 16/9;
}
.player-content > * {
  width: 100% !important;
  max-width: 100% !important;
}
.entry-header {
  margin: 1rem 0 1.2rem;
}
.entry-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.video-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-top: .75rem;
  font-size: .95rem;
}
.tax-list,
.footer-menu,
.footer-legal,
.post-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0;
  margin: .7rem 0 0;
  list-style: none;
}
.tax-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .88rem;
}
.tax-pill:hover { color: var(--text); border-color: rgba(255,255,255,.18); }
.tracking-button {
  margin-top: 1rem;
}
.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 1rem;
  margin-top: 1rem;
}
.entry-content {
  color: #e4e7ee;
}
.entry-content p,
.term-description,
.archive-description,
.page-content,
.comment-content p { margin: 0 0 1rem; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-content h2,
.page-content h3 {
  margin: 1.4rem 0 .65rem;
  line-height: 1.2;
}
.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol { padding-left: 1.15rem; }
.meta-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.meta-box + .meta-box { margin-top: 1rem; }
.meta-box h2,
.meta-box h3 { margin: 0 0 .75rem; font-size: 1rem; }
.term-card {
  overflow: hidden;
}
.term-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,45,111,.25), rgba(255,255,255,.03));
}
.term-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar .widget + .widget,
.footer-widgets .widget + .widget { margin-top: 1rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li + li { margin-top: .75rem; }
.widget a:hover { color: var(--accent-2); }
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 .8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}
.pagination .current,
.pagination .page-numbers:hover { color: var(--text); border-color: rgba(255,255,255,.18); }
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0));
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 0 1rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
}
.footer-legal a,
.footer-menu a { color: var(--muted); }
.footer-legal a:hover,
.footer-menu a:hover { color: var(--text); }
.notice-box {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.wp-block-image img,
.entry-content img,
.page-content img { border-radius: var(--radius-sm); }
.wp-caption,
.gallery-caption { color: var(--muted); max-width: 100%; }
.alignwide,
.alignfull { max-width: 100%; }
.sticky-post {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .55rem;
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width: 1280px) {
  .grid-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand search toggle"
      "nav nav nav";
    padding: .75rem 0;
  }
  .branding { grid-area: brand; }
  .header-search { grid-area: search; width: 100%; }
  .nav-toggle { grid-area: toggle; display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav {
    grid-area: nav;
    display: none;
    justify-self: stretch;
    width: 100%;
    padding-top: .35rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .header-cta { display: none; }
  .hero,
  .layout,
  .content-columns,
  .footer-widgets { grid-template-columns: 1fr; }
  .grid-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .site-main { padding-top: 1rem; }
  .hero-feature { min-height: 360px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .grid-videos,
  .grid-terms,
  .grid-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-header { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 1rem), var(--container)); }
  .hero-grid,
  .grid-videos,
  .grid-terms,
  .grid-posts { grid-template-columns: 1fr; }
  .hero-feature { min-height: 260px; }
  .search-form { padding-left: .75rem; }
  .site-tagline { display: none; }
}


.hero-summary {
  margin: .65rem 0 0;
  max-width: 70ch;
  color: rgba(255,255,255,.82);
}
.placeholder-thumb,
.term-thumb {
  min-height: 180px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.video-thumb .placeholder-thumb {
  min-height: 0;
  aspect-ratio: 16/9;
}
.archive-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}
.archive-actions {
  display: grid;
  gap: .5rem;
}
.filter-label {
  color: var(--muted);
  font-size: .85rem;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 600;
}
.filter-pill:hover,
.filter-pill.is-active {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}
.prose-block p:first-child { margin-top: 0; }
.prose-block p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .archive-actions { width: 100%; }
}


.player-content iframe,
.player-content video,
.player-content embed,
.player-content object {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}
.player-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.sidebar-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-block-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sidebar-block-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.sidebar-block-list li:last-child {
  padding-bottom: 0;
}
.sidebar-block-list li span {
  color: var(--muted);
  font-size: .85rem;
}


/* v2.3 layout + header + hover preview updates */
.branding.branding-has-logo { min-width: 0; }
.brand-logo-wrap { display:flex; align-items:center; max-width: 320px; }
.brand-logo-wrap .custom-logo-link { display:flex; align-items:center; }
.branding.branding-has-logo .brand-copy { display:none; }
.branding.branding-has-logo .custom-logo-link img { width:auto; height:46px; max-width:300px; border-radius:0; background:none; object-fit:contain; }
.home-feature-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr); gap:1rem; }
/* Feature card: flex column so thumb grows and card-body (title/meta) is ALWAYS visible */
.home-feature-main .video-card { height:100%; display:flex; flex-direction:column; overflow:hidden; }
.home-feature-main .thumb-link { flex:1; min-height:180px; display:block; overflow:hidden; position:relative; }
.home-feature-main .video-thumb { height:100%; aspect-ratio:auto; }
.home-feature-main .video-thumb img, .home-feature-main .card-trailer-preview { width:100%; height:100%; object-fit:cover; }
.home-feature-main .card-body { flex-shrink:0; padding:1.1rem 1.15rem 1.2rem; }
.home-feature-main .card-title { font-size:1.18rem; }
.home-feature-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.home-feature-side .video-card .card-body { padding:.85rem .9rem .95rem; }
.home-feature-side .video-card .card-title { font-size:.95rem; }
.video-thumb img { transition: opacity .2s ease, transform .25s ease; }
.video-card:hover .video-thumb img { transform: scale(1.02); }
.card-trailer-preview { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; visibility:hidden; pointer-events:none; background:transparent; transition:opacity .16s ease; }
.video-thumb.is-previewing.is-ready img, .video-thumb.is-previewing.is-ready .placeholder-thumb { opacity:0; }
.video-thumb.is-previewing.is-ready .card-trailer-preview { opacity:1; visibility:visible; }
@media (max-width: 1200px) { .grid-videos { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width: 980px) { .home-feature-grid { grid-template-columns:1fr; } .home-feature-main .thumb-link { min-height:0; } .home-feature-main .video-thumb { aspect-ratio:16/9; } .header-inner { grid-template-columns:auto 1fr auto; } .primary-nav { grid-column:1 / -1; justify-self:start; } }
@media (max-width: 720px) { .home-feature-side { grid-template-columns:repeat(2,minmax(0,1fr)); } .branding.branding-has-logo .custom-logo-link img { height:38px; max-width:220px; } }
@media (max-width: 560px) { .home-feature-side, .grid-videos { grid-template-columns:1fr 1fr; } }


/* v2.4 additions */
.reaction-bar {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.reaction-button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.reaction-button:hover,
.reaction-button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.reaction-button.is-loading,
.reaction-button.is-locked,
.reaction-button:disabled {
  opacity: .72;
  cursor: default;
  transform: none;
}
.reaction-button--like.is-active {
  background: rgba(255, 45, 111, .14);
  border-color: var(--accent);
}
.reaction-button--dislike.is-active {
  background: rgba(255,255,255,.06);
}
.reaction-note {
  color: var(--muted);
  font-size: .92rem;
}
.entry-thumbnail-fill {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #0d0f13;
}
.entry-thumbnail-fill img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.entry-thumbnail-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.sidebar .widget,
.sidebar .widget_recent_comments,
.sidebar .widget_archive {
  display: none !important;
}
.player-fallback-image,
.xpf-meta-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}


.video-badges{display:none!important;}
.home-feature-main .video-badges,.video-card .video-badges{display:none!important;}


/* v2.8 fallback + single cleanup */
.entry-thumbnail-fill.is-forced-thumb{min-height:220px;display:flex;align-items:center;justify-content:center;}
.entry-thumbnail-fill.is-forced-thumb img{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;}
.home-feature-main .thumb-link .placeholder-thumb{min-height:180px;}


/* v3.0 player poster fallback */
.player-shell{position:relative;width:100%;height:100%;}
.player-shell > iframe,.player-shell > video,.player-shell > embed,.player-shell > object{position:relative;z-index:1;background:#000;}
.player-poster-overlay{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;background:#050505;transition:opacity .28s ease, visibility .28s ease;}
.player-poster-overlay.is-hidden{opacity:0;visibility:hidden;pointer-events:none;}
.player-poster-overlay img{width:100%;height:100%;object-fit:cover;}


/* ── Homepage sidebar layout ──────────────────────────────────────────────── */
.home-container { display: block; }
.home-has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
    align-items: start;
}
.home-main { min-width: 0; }
.home-sidebar {
    position: sticky;
    top: 1.5rem;
}
.home-sidebar .widget {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.home-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--line);
}

/* ── Featured Pornstars widget ────────────────────────────────────────────── */
.xpf-featured-pornstars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.xpf-fps-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: var(--text);
    padding: .4rem .5rem;
    border-radius: calc(var(--radius) - 2px);
    transition: background .15s ease;
}
.xpf-fps-link:hover { background: rgba(255,255,255,.06); color: var(--text); }
.xpf-fps-photo,
.xpf-fps-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--muted);
    border: 2px solid var(--line);
}
.xpf-fps-info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.xpf-fps-name {
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xpf-fps-count {
    font-size: .8rem;
    color: var(--muted);
}

/* ── Responsive: sidebar drops below content on tablet/mobile ─────────────── */
@media (max-width: 1080px) {
    .home-has-sidebar {
        grid-template-columns: 1fr;
    }
    .home-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    .home-sidebar .widget { margin-bottom: 0; }
    .xpf-featured-pornstars { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
    .xpf-fps-link { flex-direction: column; text-align: center; gap: .4rem; padding: .6rem; }
    .xpf-fps-photo, .xpf-fps-initials { width: 56px; height: 56px; }
    .xpf-fps-info { align-items: center; }
    .xpf-fps-name { font-size: .85rem; }
}
@media (max-width: 560px) {
    .home-sidebar {
        grid-template-columns: 1fr;
    }
}
/* ─────────────────────────────────────────────────────────────────────────── */
