/* CheekyFap — blue night, with a cheeky orange-red flush. */
:root {
  --bg: #070b1a;
  --bg-2: #0b1126;
  --surface: #111a36;
  --surface-2: #17224a;
  --line: rgba(120, 150, 255, 0.14);
  --text: #eef2ff;
  --muted: #95a3c9;
  --blue: #2f7bff;
  --blue-2: #4fb3ff;
  --hot: #ff5a36;
  --hot-2: #ff8a3d;
  --grad: linear-gradient(115deg, var(--blue-2) 0%, var(--blue) 38%, #8a5cff 62%, var(--hot) 82%, var(--hot-2) 100%);
  --grad-hot: linear-gradient(120deg, var(--hot) 0%, var(--hot-2) 100%);
  --radius: 16px;
  --display: Roboto, Helvetica, Arial, sans-serif;
  --body: Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  /* #1a1a1a, lifting ever so slightly lighter towards the top where it meets the black banner. */
  background: linear-gradient(to bottom, #282828 0, #1a1a1a 460px) no-repeat, #1a1a1a;
  color: var(--text);
  font: 15px/1.55 var(--body);
  min-height: 100vh;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--hot); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__inner {
  /* Full width with a 20px edge, so the logo, the section bar and page content share one left line. */
  max-width: none; margin: 0; padding: 12px 20px;
  display: flex; align-items: center; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Logo: a small wobble on hover rather than a big tilt. */
.logo:hover img { animation: logo-wobble .6s ease-in-out; }
@keyframes logo-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-1.5deg); } }
.logo__word { font: 900 26px/1 var(--display); letter-spacing: -0.03em; }
.logo__word b { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--small .logo__word { font-size: 20px; }

/* Search: one clean frosted-glass panel — soft corners, faint border, round white submit button. */
.search {
  flex: 1; max-width: 680px; margin: 0 auto; position: relative;
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 7px 0 18px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .2s, border-color .2s;
}
.search:hover { background: rgba(255, 255, 255, 0.11); }
.search:focus-within { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.3); }
.search__icon { flex-shrink: 0; color: rgba(255, 255, 255, 0.5); }
.search input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent;
  color: #fff; font: 400 16px/1 var(--body);
}
.search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search button {
  flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #fff; color: #111; display: grid; place-items: center; transition: transform .15s, background .15s;
}
.search button:hover { background: #e9e9e9; transform: scale(1.05); }
.nav { display: flex; gap: 6px; flex-shrink: 0; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface); }
.nav__admin { color: var(--hot-2) !important; border: 1px dashed rgba(255, 138, 61, .5); }

.chip {
  white-space: nowrap; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-transform: capitalize;
  transition: all .2s;
}
.chip:hover, .chip.on { color: #fff; border-color: transparent; background: var(--grad-hot); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; max-width: 1600px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 12px; }
.hero__glow {
  position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--blue), #8a5cff, var(--hot), var(--hot-2), var(--blue));
  filter: blur(90px); opacity: .28; animation: drift 14s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { to { transform: translate(-80px, 60px) rotate(40deg); } }
.hero__inner { position: relative; max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 90, 54, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }
.hero h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em {
  font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 620px; margin: 18px 0 0; }
.wink { display: inline-block; animation: wink 4s infinite; transform-origin: 50% 60%; }
@keyframes wink { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-18deg) scale(1.2); } 96% { transform: rotate(10deg); } }

/* ---------------------------------------------------------------- sections + grid */
.section { max-width: 1600px; margin: 0 auto; padding: 28px var(--gutter); }
.section--top { padding-top: 36px; }
.section__head { margin-bottom: 18px; }
.section__head h1 { font-size: clamp(30px, 4.5vw, 48px); text-transform: capitalize; }
.section__head h2 { font-size: clamp(22px, 3vw, 30px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section__head p { color: var(--muted); margin: 6px 0 0; }
.tag-hot { font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--grad-hot); color: #fff; }
.sorts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px 18px; }

.card { position: relative; min-width: 0; }
.card__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
/* Hover preview: xH's free trailer clip floats over the thumb while the
   pointer dwells. [hidden] guard is mandatory — display: beats the attribute. */
.card__hoverclip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .25s; }
.card__hoverclip:not([hidden]) { opacity: 1; }
.card__hoverclip[hidden] { display: none; }
.badge { position: absolute; font: 700 12px/1 var(--body); padding: 5px 8px; border-radius: 8px; backdrop-filter: blur(6px); z-index: 2; }
.badge--time { right: 8px; bottom: 8px; background: rgba(7, 11, 26, .78); }
.badge--hd { left: 8px; top: 8px; background: var(--blue); color: #fff; }
.badge--4k { background: var(--grad-hot); }
/* Cookie notice: slim bar pinned to the bottom until dismissed. */
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 6px;
  background: rgba(20, 20, 28, .96); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.cookiebar p { margin: 0; font-size: 14px; color: var(--muted); }
.cookiebar a { color: var(--blue-2); }
.cookiebar .btn { flex-shrink: 0; border-radius: 6px; }
@media (max-width: 560px) { .cookiebar { flex-direction: column; align-items: stretch; text-align: left; } }
.watch__stats .badge { position: static; }
.card__body { padding: 10px 2px 0; }
.card__title { font: 600 14.5px/1.35 var(--body); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--blue-2); }
.card__meta { display: flex; gap: 12px; margin-top: 5px; font-size: 13px; color: var(--muted); }
.pct { display: inline-flex; align-items: center; gap: 4px; color: var(--hot-2); font-weight: 600; }

/* admin curate buttons on cards */
.curate { display: flex; gap: 6px; margin-top: 8px; }
.curate button {
  flex: 1; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: 13px; transition: all .15s;
}
.curate__keep:hover, .curate__keep.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.curate__block:hover, .curate__block.on { background: var(--hot); border-color: var(--hot); color: #fff; }
.card.is-curated .card__thumb { box-shadow: 0 0 0 3px var(--blue); }
.card.is-blocked { opacity: .35; }
.card.is-blocked .card__thumb { box-shadow: 0 0 0 3px var(--hot); }
.curate--inline { max-width: 460px; margin: 16px 0 0; }
.flag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(255, 90, 54, .2); color: var(--hot-2); }
.card .flag { position: absolute; top: 8px; right: 8px; }

/* ---------------------------------------------------------------- buttons, notices */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--hot { background: var(--grad-hot); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 90, 54, .8); }
.btn--hot:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 14px 30px -10px rgba(255, 90, 54, .9); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 36px var(--gutter) 12px; }
.pager__now { color: var(--muted); font-weight: 600; }
.pager .btn[rel="next"] { border-radius: 6px; }
.notice {
  max-width: 1600px; margin: 18px auto 0; padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(47, 123, 255, .14), rgba(255, 90, 54, .12)); border: 1px solid var(--line);
  width: calc(100% - 2 * var(--gutter));
}
.notice a { color: var(--hot-2); font-weight: 700; text-decoration: underline; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.empty--big { padding: 100px var(--gutter); }
.empty--big h1 { font-size: clamp(32px, 5vw, 52px); color: var(--text); margin-bottom: 12px; }
.empty__face { font-size: 72px; margin-bottom: 16px; }
.empty .btn { margin-top: 20px; }

/* ---------------------------------------------------------------- watch page */
/* Video page: player takes ~63% of the width, suggestions 2-across beside it, then 3-across below. */
.watch { max-width: none; margin: 0; padding: 20px 20px 0; display: grid; grid-template-columns: minmax(0, 63fr) minmax(0, 37fr); gap: 24px; align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(47, 123, 255, .5); }

/* ---- custom CheekyFap player ---- */
.cfp__video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
/* No tint over the preview image; the play icon and status text carry their own shadow. */
.cfp__splash { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: transparent; z-index: 3; }
.cfp__splash[hidden] { display: none; } /* author display beats the hidden attr otherwise */
/* Plain white play icon, no circle; a soft shadow keeps it visible on light thumbnails. */
.cfp__bigplay { width: 66px; height: 66px; padding: 0 1px 0 0; /* triangle nudged slightly left of centre */ border-radius: 50%; display: grid; place-items: center; color: #fff; background: none; border: 2.5px solid #fff; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .6)); opacity: .45; pointer-events: none; transition: opacity .3s, transform .3s; }
.cfp__bigplay.is-ready { opacity: 1; pointer-events: auto; }
.cfp__bigplay svg { width: 31px; height: 31px; }
.cfp__bigplay:hover { transform: scale(1.07); }
.cfp__status { font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
/* "Resumed at 12:34 · Start over" — bottom-left over the video, fades after a few seconds. */
.cfp__resume { position: absolute; left: 14px; bottom: 64px; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 14px;
  backdrop-filter: blur(6px); transition: opacity .5s; }
.cfp__resume.is-out { opacity: 0; }
.cfp__resume button { border: 0; border-radius: 4px; padding: 6px 10px; background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cfp__resume button:hover { background: rgba(255, 255, 255, .28); }
.cfp__qitem--auto { font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: 8px; margin-bottom: 4px; }
.cfp__cc.on { color: var(--hot-2); box-shadow: inset 0 -2px 0 var(--hot-2); }
.cfp__cc.is-gen { opacity: .55; animation: cfp-gen 2.2s ease-in-out infinite; }
@keyframes cfp-gen { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
video.cfp__video::cue { background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 1.05rem; line-height: 1.4; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); }
.cfp__status--error { color: var(--hot-2); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cfp__status--error[hidden] { display: none; }
.cfp__retry { border: 0; border-radius: 999px; padding: 8px 22px; font-weight: 700; color: #fff; background: var(--grad-hot); cursor: pointer; }
.cfp__retry:hover { transform: scale(1.05); }
.cfp__spinner { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.cfp__spinner[hidden] { display: none; } /* same hidden-attr guard as the splash */
.cfp__spinner span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: var(--hot); animation: cfp-spin .8s linear infinite; }
@keyframes cfp-spin { to { transform: rotate(360deg); } }

.cfp__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 22px 14px 10px; background: linear-gradient(transparent, rgba(2, 4, 12, .82)); transition: opacity .25s; }
.is-idle .cfp__ui { opacity: 0; pointer-events: none; }
.is-idle { cursor: none; }

.cfp__seek { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; margin-bottom: 2px; }
.cfp__seek-rail { position: relative; width: 100%; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.cfp__seek-buf { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .22); }
.cfp__seek-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad-hot); }
.cfp__seek-knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); transition: transform .15s; }
.cfp__seek:hover .cfp__seek-knob, .cfp__seek:active .cfp__seek-knob { transform: translate(-50%, -50%) scale(1.25); }
/* No focus ring on the player or its timeline (it showed as a blue box in fullscreen). */
.cf-player:focus, .cf-player:focus-visible, .cfp__seek:focus, .cfp__seek:focus-visible { outline: none; }
/* Timeline preview bubble: frame + time above the hovered point. */
.cfp__peek { position: absolute; bottom: 22px; left: 0; transform: translateX(-50%); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transition: opacity .12s; z-index: 6; }
.cfp__peek.on { opacity: 1; }
.cfp__peek-img { display: none; width: 192px; aspect-ratio: 16 / 9; border-radius: 6px; background: #000 no-repeat 0 0 / 5000% 100%;
  border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 20px rgba(0, 0, 0, .6); }
.cfp__peek.has-img .cfp__peek-img { display: block; }
.cfp__peek-time { padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .75); color: #fff; font: 700 13px/1.4 var(--body, system-ui); }
.is-fs .cfp__peek-img { width: 256px; }
/* Keyboard feedback ("+5s", "Volume 60%"), centred, fades quickly. */
.cfp__osd { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); padding: 8px 14px; border-radius: 6px;
  background: rgba(0, 0, 0, .7); color: #fff; font-weight: 700; font-size: 15px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 6; }
.cfp__osd.on { opacity: 1; }
/* Pre-roll ad layer: covers the player until the ad ends or is skipped. */
.cfp__ad { position: absolute; inset: 0; z-index: 8; background: #000; }
.cfp__ad video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.cfp__ad-tag { position: absolute; left: 12px; top: 12px; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #ffd84d; font: 700 12px/1.4 system-ui; pointer-events: none; }
.cfp__ad-skip { position: absolute; right: 0; bottom: 56px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .35); border-right: 0;
  background: rgba(0, 0, 0, .78); color: #fff; font: 700 14px/1 system-ui; cursor: pointer; }
.cfp__ad-skip:disabled { cursor: default; color: rgba(255, 255, 255, .7); }
.cfp__ad-skip[hidden] { display: none; }

.cfp__bar { display: flex; align-items: center; gap: 6px; }
.cfp__btn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; padding: 0; }
.cfp__btn:hover { background: rgba(255, 255, 255, .12); }
.cfp__time { font-size: 13px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; margin: 0 4px; white-space: nowrap; }
.cfp__gap { flex: 1; }
.cfp__cc { font-size: 12px; font-weight: 700; }
.cfp__q { position: relative; }
.cfp__qbtn { width: auto; padding: 0 10px; font-size: 13px; font-weight: 600; }
.cfp__qmenu { position: absolute; right: 0; bottom: 42px; min-width: 130px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8); }
.cfp__qitem { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font-size: 13px; font-weight: 600; text-align: left; }
.cfp__qitem:hover { background: var(--surface-2); }
.cfp__qitem.on { color: var(--hot-2); background: rgba(255, 90, 54, .12); }
.cfp__vol { width: 72px; accent-color: var(--hot); cursor: pointer; }
@media (max-width: 640px) { .cfp__vol { display: none; } }
.is-fs .cfp__ui { padding: 30px 22px 16px; }
.is-fs .cfp__btn { width: 42px; height: 42px; }
.watch__info h1 { font-size: clamp(20px, 2.6vw, 28px); margin-top: 18px; }
.watch__stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; color: var(--muted); font-size: 14px; align-items: center; }
.react { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.react__btn { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; transition: all .2s; }
.react__btn--like:hover, .react__btn--like.on { background: var(--grad-hot); border-color: transparent; color: #fff; transform: rotate(-2deg) scale(1.03); }
.react__btn--nah:hover, .react__btn--nah.on { background: var(--surface-2); border-color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.watch__side h2 { font-size: 20px; margin-bottom: 14px; }


/* ---------------------------------------------------------------- categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.cat {
  position: relative; display: flex; align-items: center; padding: 18px 16px; border-radius: 0;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s;
}
.cat::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .2s; }
.cat:hover { border-color: transparent; }
.cat:hover::before { opacity: .9; }
.cat__name { position: relative; font: 700 16px/1.2 var(--display); }

/* ---------------------------------------------------------------- footer, prose, seo */
.seo-blurb { max-width: 900px; margin: 30px auto 0; padding: 0 var(--gutter); color: var(--muted); }
.seo-blurb h2 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.seo-blurb a, .prose a { color: var(--blue-2); }
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p { color: var(--muted); }
.footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner { max-width: 1600px; margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; }
.footer__tag { color: var(--muted); margin: 10px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; color: var(--muted); font-weight: 600; }
.footer__links a:hover { color: var(--hot-2); }
.footer__legal { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; opacity: .75; margin: 0; }
.footer__legal a { text-decoration: underline; }

/* ---------------------------------------------------------------- age gate */
.agegate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(4, 6, 16, .82); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.agegate__card {
  width: min(460px, 100%); text-align: center; padding: 36px 28px 28px; border-radius: 26px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(255, 90, 54, .45), 0 0 0 1px rgba(47, 123, 255, .15);
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pop { from { transform: scale(.85) rotate(-3deg); opacity: 0; } }
.agegate__mark { margin: 0 auto 14px; animation: wink 3s infinite; }
.agegate h2 { font-size: 32px; }
.agegate p { color: var(--muted); }
.agegate__btns { display: grid; gap: 10px; margin: 22px 0 16px; }
.agegate small { color: var(--muted); }
.agegate small a { text-decoration: underline; }
body.gated { overflow: hidden; }

/* ---------------------------------------------------------------- admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stat--wide { grid-column: 1 / -1; }
.stat--wide b { font-size: 18px; }
.stat--wide span { display: block; margin-top: 6px; }
.stat--wide code { background: var(--line); border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.stat b { display: block; font: 800 28px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { border: 0; background: none; padding: 12px 16px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--text); border-color: var(--hot); }
.panel { display: none; }
.panel.on { display: block; }
.admin-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.admin-search input, .admin-search select, .login input, textarea {
  height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit;
}
.admin-search input { flex: 1; min-width: 200px; }
textarea { width: 100%; height: auto; padding: 12px 16px; margin-bottom: 12px; font-family: ui-monospace, monospace; }
.toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--hot); }
.hint { color: var(--muted); font-size: 13.5px; }
.grid--admin .card.is-hover .card__thumb { box-shadow: 0 0 0 3px var(--blue-2); }
.model__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 22px; }
.model h3 { font-size: 17px; margin-bottom: 10px; }
.model ol { margin: 0; padding-left: 22px; }
.model li { padding: 3px 0; }
.w { font-weight: 700; margin-left: 6px; }
.w.pos { color: var(--blue-2); }
.w.neg { color: var(--hot); }
.login { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.err { color: var(--hot); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 90;
  padding: 12px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700;
  transition: all .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 760px) {
  .topbar__inner { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .nav { margin-left: auto; }
  .logo__word { font-size: 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 16px 12px; }
  .card__title { font-size: 13.5px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.trends { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trends li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.trend-x { border: 0; background: var(--surface-2); width: 26px; height: 26px; border-radius: 50%; color: var(--muted); }
.trend-x:hover { background: var(--hot); color: #fff; }
.days { width: 70px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
#trending-form .toggle { margin-right: 12px; }

/* "Because you watched" + history */
.seed { display: inline-flex; align-items: center; gap: 10px; max-width: min(560px, 100%); padding: 4px 14px 4px 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font: 600 15px/1.3 var(--body); letter-spacing: 0; transition: border-color .2s; }
.seed:hover { border-color: var(--hot); }
.seed img { width: 64px; height: 36px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.seed span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* Homepage heading: an h1 for SEO, sized like the other section headings */
.section__head h1.picks-title { font-size: clamp(22px, 3vw, 30px); text-transform: none; }

/* Section bar (Videos / VR Porn / Categories / Pornstars / Creators): square tabs */
.mainnav {
  /* Full width, no padding: each item is a rectangle running the full height of the bar, so it meets the
     bottom of the banner; neighbours touch, split by a thin divider. "Videos" text stays 1cm from the left edge. */
  max-width: none; margin: 0; padding: 0;
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a {
  flex-shrink: 0; display: flex; align-items: center; padding: 14px 28px; border-radius: 0;
  font-weight: 700; font-size: 17px; letter-spacing: 0.01em; color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* top line only spans the links, not the whole bar */
  border-right: 1px solid rgba(255, 255, 255, 0.3); transition: background .15s;
}
/* First link starts at the screen's left edge (so the top line does too); its text lines up with the logo. No left divider. */
.mainnav a:first-child { padding-left: 20px; }
.mainnav a:hover { background: #1a1a1a; }
.mainnav a.on { background: #1f1f1f; box-shadow: inset 0 -3px 0 var(--hot); }

/* Pornstars */
.star-search { display: flex; gap: 10px; margin-top: 14px; max-width: 480px; }
.star-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 0; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.star-search .btn { border-radius: 0; }
.stars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 16px 12px; }
.star { display: block; min-width: 0; }
.star img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
/* Face placeholder for stars whose avatar hasn't been harvested yet — a bold
   letter tile beats a broken-image icon every time. */
.star__ph, .shortcut__ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: 100%; background: linear-gradient(140deg, var(--surface) 0%, var(--blue) 160%); border: 1px solid var(--line); font: 800 3rem/1 var(--body); color: var(--blue); }
.shortcut__ph { width: 40px; height: 40px; aspect-ratio: auto; font-size: 1.05rem; border-radius: 50%; flex: none; }
.star:hover img { border-color: var(--hot); }
.star__name { display: block; margin-top: 8px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.star__count { display: block; font-size: 13px; color: var(--muted); }

/* Homepage: bigger previews, 4 per row (3 on small laptops, 2 on tablets, 1 on phones) */
.grid--large { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 12px; }
/* Homepage sections use the full screen width (no 1600px cap, slimmer side margins) so previews are bigger. */
.section:has(> .grid--large) { max-width: none; padding-left: 20px; padding-right: 20px; }
.grid--large .card__title { font-size: 15.5px; }
.grid--large .card__meta { font-size: 13.5px; }
@media (max-width: 1200px) { .grid--large { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid--large { grid-template-columns: 1fr; } }

/* Homepage: Top picks sits just under the banner, close but not touching. */
.section.section--flush { padding-top: 12px; }
.section--flush .section__head { margin-bottom: 12px; }

/* Search: pornstar / category shortcuts above results */
.shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.shortcut { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 0; font-weight: 700; transition: border-color .15s; }
.shortcut:hover { border-color: var(--hot); }
.shortcut img { width: 40px; height: 40px; object-fit: cover; }
.shortcut span { display: flex; flex-direction: column; line-height: 1.2; }
.shortcut small { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.shortcut:not(:has(img)) { padding-left: 16px; }
.section--top > .notice { margin: 0 0 18px; width: auto; }

/* Search: searched words highlighted in result titles */
.card__title mark { background: none; color: var(--hot-2); font-weight: 700; }

/* Search: marks where title matches end and tag-only matches begin */
.grid__divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; font-weight: 500; margin: 6px 0; }
.grid__divider::before, .grid__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.grid--side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.grid--side .card__title { font-size: 13.5px; }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; }
.grid--three .card__title { font-size: 15.5px; }
.watch__more { padding: 28px 20px 0; }
@media (max-width: 1100px) {
  .watch { grid-template-columns: 1fr; }
  .grid--side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid--side, .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sort / filter buttons: square, not pills */
.sorts .chip { border-radius: 0; padding: 8px 16px; }

/* Performers under a card's title: a step dimmer than the title */
.card__by { margin-top: 4px; font-size: 13px; font-weight: 500; color: #c3c7d1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__by a:hover { color: #fff; text-decoration: underline; }

/* Visually hidden, still read by screen readers and search engines */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Category "About" text and footer link lists */
.about { margin: 40px 0 0; max-width: 900px; color: var(--muted); }
.about h2 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.about p { margin: 6px 0; }
.about a, .footer__more a { color: #c3c7d1; }
.about a:hover, .footer__more a:hover { color: #fff; text-decoration: underline; }
.footer__more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 40px; }
.footer__more h3 { font-size: 14px; color: var(--text); margin: 0 0 8px; letter-spacing: .02em; }
.footer__more p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }

/* Ad spots: only rendered when ads/<spot>.html has code in it */
.ad { display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ad--grid { grid-column: 1 / -1; margin: 4px 0; }
.ad--footer { margin: 40px 20px 0; }
.ad--video-side { margin-bottom: 18px; }
.ad--video-below { margin-top: 18px; justify-content: flex-start; }

/* List pages: no visible heading, so the head block collapses when it has nothing else in it */
.section--flush .section__head:not(:has(> :not(.sr-only):not(:empty))) { margin-bottom: 0; }

/* Video page tags: square-ish, white text with a matching white outline */
.tags .chip { border-radius: 4px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.85); padding: 6px 12px; }
.tags .chip:hover { background: #fff; color: #111; border-color: #fff; }
