/* Porno TikTok feed */
html, body.xporn-tiktok {
  margin: 0;
  height: 100%;
  background: #0B0B0D;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow: hidden;
}
.xporn-tiktok * { box-sizing: border-box; }
.xt-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  background: linear-gradient(to bottom, rgba(0,0,0,.72), transparent);
  pointer-events: none;
}
.xt-top a, .xt-top button { pointer-events: auto; }
.xt-back, .xt-mute {
  width: 40px; height: 40px;
  border: 0; border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 18px;
  display: grid; place-items: center;
  text-decoration: none;
  cursor: pointer;
}
.xt-brand {
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.xt-feed {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.xt-slide {
  position: relative;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
  overflow: hidden;
}
.xt-slide iframe, .xt-slide .xt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}
.xt-slide iframe.xt-player {
  z-index: 5;
  /* Same 9:16 / fullscreen feel as single hybrid player */
  object-fit: contain;
}
.xt-slide.is-preloaded iframe.xt-player {
  /* Buffer in background, thumb remains visible */
  opacity: 0;
  pointer-events: none;
}
.xt-slide.is-playing .xt-thumb {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.xt-title {
  pointer-events: none;
}
.xt-chrome {
  pointer-events: none;
}
.xt-chrome .xt-like,
.xt-chrome .xt-sound {
  pointer-events: auto;
}
.xt-slide.xt-ad {
  display: grid;
  place-items: center;
  padding: 72px 16px 40px;
  background: #111;
}
.xt-ad-inner {
  width: min(100%, 420px);
  text-align: center;
}
.xt-ad-inner img, .xt-ad-inner video {
  max-width: 100%;
  max-height: 70dvh;
  border-radius: 12px;
}
.xt-ad-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #FF3565;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.xt-ad-skip {
  margin-top: 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.xt-chrome {
  position: absolute;
  right: 12px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.xt-sound,
.xt-like {
  width: 52px; height: 52px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.xt-sound { font-size: 20px; }
.xt-like.is-on { color: #FF3565; }
.xt-likes {
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 4px #000;
}
.xt-title {
  position: absolute;
  left: 14px;
  right: 72px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 20;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
  pointer-events: none;
}
.xt-empty {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: #0B0B0D;
  z-index: 50;
}
.xt-empty[hidden] {
  display: none !important;
}
.xt-empty a {
  color: #FF3565;
  font-weight: 700;
}
