@font-face {
  font-family: "Barlow Condensed";
  src: url(fonts/barlow-bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url(fonts/dm-sans.ttf) format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Abel";
  src: url(fonts/abel-regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #d6d6d6;
  --surface: #fff;
  --ink: #262629;
  --muted: #58585b;
  --line: #d6d6d6;
  --blue: #05b3f3;
  --brand: #db3c46;
  --link: #006d94;
  --focus: #007398;
  --frame: 966px;
  --edge: max(6px, .5vw);
  --body: "DM Sans", Arial, Helvetica, sans-serif;
  --display: "Barlow Condensed", Arial, sans-serif;
  --tube: "Abel", "Arial Narrow", var(--body);
}
*, *::before, *::after { box-sizing: border-box }
html { min-width: 0; background: var(--bg); scroll-padding-top: 12px }
body {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
  margin: 0 auto; color: var(--ink); background: var(--bg);
  font: 400 16px/1.44 var(--body); -webkit-font-smoothing: antialiased;
}
main, article, section, nav, .browse-layout { min-width: 0 }
a { color: inherit; text-decoration: none }
button, input, select { font: inherit; color: inherit }
button, input { min-width: 0 }
button, summary { cursor: pointer }
img, svg { display: block }
img { max-width: 100% }
body [hidden] { display: none !important }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere }
:where(a,button,input,select,summary,video):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px }
summary { list-style: none }
summary::-webkit-details-marker { display: none }
.shell, .mast, .browse-layout, .base { width: min(var(--frame),calc(100% - 2 * var(--edge))); margin-inline: auto }
.screen-reader-text, .sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: absolute; z-index: 30; top: 4px; left: var(--edge); padding: .5rem .85rem; background: #fff; transform: translateY(-150%) }
.skip:focus { transform: none }


.mast {
  position: relative; z-index: 5; flex: none; display: grid; align-items: center;
  grid-template-columns: auto minmax(0,1fr) auto; column-gap: 12px;
  min-height: 70px; padding: 8px 15px; margin-top: 2px; background: #fefefe;
}
.mast-inner, .nav-band { display: contents }
.brand { display: inline-flex; flex: none; align-items: center; gap: 8px; width: fit-content; max-width: 100%; color:#25252a; white-space: nowrap }
.mast .brand { grid-column: 1; grid-row: 1 }
.brand-sign { position: relative; display: inline-block; flex: none; width: 34px; height: 27px; border-radius: 5px; background: var(--brand); transform: skew(-7deg) }
.brand-sign i { position: absolute; top: 7px; left: 12px; border-block: 6.5px solid transparent; border-left: 11px solid white }
.brand-sign b { position: absolute; top: 5px; bottom: 5px; left: -4px; width: 2px; border-radius: 2px; background: var(--brand) }
.brand-name { font: 700 clamp(29px,2.7vw,41px)/1 var(--display); letter-spacing: -.045em }
.brand.domain-brand { min-width: 0; max-width: min(100%, clamp(170px,25vw,320px)) }
.brand .domain-wordmark { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: clamp(21px,2.2vw,34px); line-height: 1.02 }
.base small { min-width: 0; overflow-wrap: anywhere }
.brand-name > span { color: var(--brand) }
.brand-name small { margin-left: .12em; color: #59585d; font: 720 .36em/1 var(--body); letter-spacing: .01em }
.primary-nav {
  grid-column: 2; grid-row: 1; display: flex; justify-content: flex-end; align-items: center;
  gap: clamp(10px,1.35vw,24px); width: 100%; max-width: 100%; margin: 0;
}
.primary-nav a {
  display: inline-flex; align-items:center; justify-content: center; min-height: 38px;
  color: #343436; text-transform: uppercase; font: 400 17px/20px var(--tube); white-space: nowrap;
}
.primary-nav svg { display: none }
.primary-nav a:hover, .primary-nav a[aria-current]:not([aria-current=false]) { color: var(--link) }
.primary-nav a[aria-current]:not([aria-current=false]) { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px }
.age {
  position: absolute; top: 5px; right: 8px; color: #68686a; border: 1px solid #bcbcbc;
  border-radius: 2px; padding: 0 3px; font: 680 9px/12px var(--body);
}
.header-search { grid-column: 3; grid-row: 1; position: relative }
.search-toggle, .drawer-toggle {
  display: grid; place-items: center; width: 34px; height: 36px; border-radius: 2px; color: #353537;
}
.search-toggle:hover, .drawer-toggle:hover, .header-search[open] .search-toggle, .browse-drawer[open] .drawer-toggle { color: var(--link); background: #eaf6fc }
.search-toggle svg, .drawer-toggle svg { width: 21px; height: 21px }
.site-search {
  display: flex; align-items: stretch; min-width: 0; height: 37px; margin: 0; border: 1px solid #bdbdbd; background: white;
}
.header-search > .site-search {
  position: absolute; z-index: 2; right: calc(100% + 4px); top: 50%; transform: translateY(-50%);
  width: min(550px,54vw); box-shadow: 0 0 0 5px #fefefe;
}
.site-search:focus-within, .rail-category-search:focus-within, .category-search:focus-within { border-color: var(--focus); outline: 2px solid #b4e8fb }
.site-search input:not([type=hidden]), .rail-category-search input:not([type=hidden]), .category-search input:not([type=hidden]) {
  flex: 1; min-width: 0; width: 100%; padding: 5px 9px; border: 0; border-radius: 0; background: transparent; color: var(--ink); outline: none; font-size: 15px;
}
.site-search input::placeholder, .rail-category-search input::placeholder, .category-search input::placeholder { color: #666; opacity: 1 }
.site-search button, .rail-category-search button, .category-search button {
  display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 4px;
  padding: 2px 9px; min-width: 36px; border: 0; border-radius: 0; color: #525252; background: #fff;
}
.site-search button:hover, .rail-category-search button:hover, .category-search button:hover { color: var(--link); background: #eef9ff }
.browse-drawer { display: none }
.browse-sidebar { display: none }
.drawer-panel {
  position: absolute; z-index: 10; top: calc(100% + 1px); left: 0; width: min(290px,100%); max-height: calc(100vh - 75px); max-height: calc(100dvh - 75px);
  overflow: auto; padding: 14px; border: 1px solid #c5c5c5; background: #fff; box-shadow: 0 7px 18px #0003;
}
.rail-inner { color: var(--ink); font-size: 14px }
.rail-group + .rail-group { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line) }
.rail-heading, .rail-title { margin: 0 0 5px; padding: 0 6px; text-transform: uppercase; font-size: 15px }
.rail-feeds, .rail-genres { display: grid }
.rail-feeds a, .rail-genres a, .rail-all {
  display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 35px; padding: 4px 6px; color: var(--ink); overflow-wrap: anywhere;
}
.rail-feeds a svg, .rail-all svg { width: 16px; height: 16px; flex: none; color: #707077 }
.rail-feeds a:is(:hover,[aria-current=page]), .rail-genres a:is(:hover,[aria-current=page]), .rail-all:hover { color: var(--link); background: #eaf7fd }
.rail-count { margin-left: auto; font-size: 12px; color: var(--muted) }
.rail-all { font-weight: 650; color: var(--link) }
.rail-category-search, .category-search { display: flex; align-items: stretch; max-width: 100%; height: 34px; border: 1px solid #c2c2c2; background:white }
.rail-category-search { margin: 7px 0 }
.category-search { width: min(100%,360px); margin: 0 0 5px }
.rail-empty { padding:3px 6px; color: var(--muted) }

.browse-layout { flex: 1 0 auto; min-width: 0; padding-block: 9px 24px }
.browse-main { min-width: 0; width: 100% }
.section-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px;
  min-height: 55px; margin: 0; padding: 7px 11px; background: #fefefe;
}
.heading-group { display:flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; min-width: 0 }
.section-top h1, .film-reader h1, .archive h1 {
  margin: 0; color: #222; font: 400 22px/1.3 var(--tube); text-transform: uppercase;
}
.section-top h2 { font: 400 20px/1.3 var(--tube); text-transform: uppercase }
.result-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums }
.feed-sort { position: relative; flex: none; max-width: 100%; font-size: 14px }
.feed-sort summary {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 4px 8px;
  border: 1px solid #c7c7c7; background: #fff; font-weight: 610;
}
.feed-sort summary svg { width: 15px; height: 15px }
.feed-sort summary:hover, .feed-sort[open] summary { color: var(--link); background: #edf8fd }
.feed-tabs { position: absolute; top: calc(100% + 3px); right: 0; z-index: 3; display: grid; min-width: 145px; padding: 3px; border: 1px solid #ccc; background: #fff; box-shadow: 0 4px 12px #0002 }
.feed-tabs a { display: flex; align-items: center; gap: 5px; padding: 6px 9px; font-size: 14px; white-space: nowrap }
.feed-tabs a:hover, .feed-tabs a[aria-current]:not([aria-current=false]) { background: #edf8fd; color: var(--link) }
.feed-description, .catalog-summary { margin: 0; padding: 0 11px 10px; color: #525255; font-size: 14px; background: #fefefe }
.catalog-summary a, .empty a, .text a { color:var(--link); font-weight:650; text-decoration:underline; text-underline-offset:2px }
.catalog-summary a { margin-left: 4px }

/* The title covers card whitespace; media and metadata links retain their own hit areas. */
.film-grid, .category-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 3px; margin-top: 3px;
}
.film-card {
  position: relative; isolation: isolate; display: flex; min-width: 0; background: var(--surface);
}
.film-card.has-owner-cover { flex-direction: column }
.film-card > .owner-cover {
  display: block; position: relative; z-index: 2; flex: none; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: #15191d;
}
.film-card > .owner-cover > img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.film-card:hover, .film-card:focus-within { box-shadow: inset 0 2px var(--blue) }
.card-info {
  display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 14px 11px;
}
.card-info :is(h2,h3) {
  margin: 0; color: #1f2328; font: 720 clamp(17px,1.35vw,20px)/1.22 var(--body);
  letter-spacing: -.035em; overflow-wrap: anywhere;
}
.has-owner-cover > .card-info { padding: 8px 10px 10px }
.has-owner-cover .card-info :is(h2,h3) {
  font-size: clamp(15px,1.2vw,18px); line-height: 1.23; letter-spacing: -.015em;
}
.has-owner-cover .card-meta:not(:empty) { margin-top: 4px }
.has-owner-cover .card-tags:not(:empty) { margin-top: 5px }
.has-owner-cover .card-footer { padding-top: 8px }
.card-title-link::after { position: absolute; z-index: 1; inset: 0; content: "" }
.card-title-link:focus-visible { outline: 0 }
.card-title-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px }
.card-title-link:hover, .card-title-link:focus-visible { color: var(--link) }
.card-meta, .video-meta, .card-tags, .more-tags-list, .card-actions {
  display: flex; align-items: center; flex-wrap: wrap; min-width: 0;
}
.card-meta { gap: 4px 10px; color: #43515b; font-size: 14px; font-weight: 540 }
.card-meta:not(:empty) { margin-top: 6px }
.card-meta a, .card-tags a, .card-more-tags, .card-actions a { position: relative; z-index: 2 }
.card-meta a, .film-meta a, .film-meta span, .video-meta > * {
  display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%;
  overflow-wrap: anywhere;
}
.card-meta svg, .film-meta svg, .video-meta svg {
  flex: none; width: 15px; height: 15px; color: #62717c;
}
.studio-credit svg, .film-meta a svg { color: #007b9f }
.card-meta a:hover, .film-meta a:hover {
  color: var(--link); text-decoration: underline; text-underline-offset: .15em;
}
.card-tags, .more-tags-list { gap: 4px }
.card-tags:not(:empty) { margin-top: 8px }
.card-tags a, .card-more-tags summary, .detail-tags a, .detail-models a {
  display: inline-flex; align-items: center; gap: 3px; min-width: 0; max-width: 100%;
  min-height: 24px; padding: 2px 6px; color: #40515b; border: 1px solid #dbe1e3;
  border-radius: 3px; background: #f5f7f7; font: 540 12px/1.3 var(--body); overflow-wrap: anywhere;
}
.card-tags a:hover, .card-more-tags summary:hover, .detail-tags a:hover, .detail-models a:hover {
  color: var(--link); border-color: #90bccb; background: #eef8fb;
}
.card-tags svg, .detail-tags a svg, .detail-models a svg { flex: none; width: 12px; height: 12px }
.card-more-tags { min-width: 0; max-width: 100% }
.card-more-tags summary { width: fit-content; border-style: dashed; background: #fff; color: var(--link) }
.card-more-tags[open] { flex-basis: 100% }
.card-more-tags[open] .more-tags-list { margin-top: 5px }
.card-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 6px 9px; min-width: 0; margin-top: auto; padding-top: 12px;
}
.video-meta {
  gap: 2px 7px; color: #5c6268; font: 540 13px/1.3 var(--body); font-variant-numeric: tabular-nums;
}
.card-actions { gap: 3px 8px; margin-left: auto }
.catalog-action {
  display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-width: 0;
  max-width: 100%; min-height: 33px; padding: 5px 10px; border: 1px solid #006b8e;
  border-radius: 3px; color: #fff; background: #006b8e; font: 680 13px/1.3 var(--body);
  overflow-wrap: anywhere;
}
.catalog-action:hover { background: #00536f; border-color: #00536f }
.catalog-action svg { flex: none; width: 15px; height: 15px }
.category-preview { margin-top: 13px }
.category-preview .section-top { min-height: 42px }
.all-films, .back, .section-label { display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-size: 14px; font-weight: 630 }
.all-films, .section-label { color: var(--link) }
.all-films:hover, .back:hover, .section-label:hover { text-decoration: underline; text-underline-offset: 2px }
.category-card { display: flex; align-items: stretch; min-width: 0; background: var(--surface) }
.category-info {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 1px 7px; width: 100%; min-width: 0; padding: 12px 13px;
}
.category-info :is(h2,h3) { color: #21282d; font: 650 15px/1.3 var(--body); overflow-wrap: anywhere }
.category-info span { color: #62686c; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap }
.category-card:hover, .category-card:focus-visible { background: #eff8fa }
.category-card:hover .category-info :is(h2,h3), .category-card:focus-visible .category-info :is(h2,h3) { color: var(--link) }
.pager { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; min-height:47px; padding:6px; margin-top:7px; color:var(--muted); background:#fff; font-size:14px }
.pager a { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:33px; padding:5px 11px; font-weight:650 }
.pager a { border:1px solid #ccc; color:#282828; background:white }
.pager a:hover { color:var(--link); border-color:var(--link) }
.empty { margin:2px 0; padding:17px 11px; color:#535357; background:white }
.film-reader .back, .archive .back { margin:0; padding:8px 11px; color:var(--link); background:white }
.film-reader h1, .archive h1 { margin:2px 0; padding:10px 11px; background:white }
.detail-action { margin-top: 2px; padding: 14px 11px; background: var(--surface) }
.detail-action.has-poster {
  display: grid; place-items: center; width: min(100%, 864px, 110vh); margin: 2px auto 0;
  aspect-ratio: 16 / 9; padding: 0; isolation: isolate; background: #15191d;
}
.has-poster .detail-cover, .has-poster .detail-play { grid-area: 1 / 1 }
.detail-cover { position: relative; align-self: stretch; justify-self: stretch; margin: 0 }
.detail-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain }
.detail-play { min-height: 46px; padding: 10px 24px; gap: 7px; font-size: 17px }
.detail-play svg { width: 20px; height: 20px }
.has-poster .detail-play { z-index: 1; border: 2px solid white; border-radius: 5px; background: #00546e; box-shadow: 0 2px 12px #0009 }
.has-poster .detail-play:is(:hover, :focus-visible) { background: #003d52 }
.detail-play:disabled, .has-poster .detail-play:disabled { color: #495158; background: #e9ecee; border-color: #cbd2d6; cursor: default }
#play-unavailable { margin: 0; padding: 7px 11px 10px; color: var(--muted); background: var(--surface); font-size: 14px }
.has-poster + #play-unavailable { text-align: center }
.film-notes { display: flow-root; padding: 13px; margin-top: 2px; background: var(--surface) }
.film-meta, .detail-tags, .detail-models {
  display: flex; align-items: center; flex-wrap: wrap; min-width: 0;
}
.film-meta { gap: 5px 13px; color: #515961; font-size: 14px }
.detail-tags, .detail-models { gap: 4px 8px; overflow-wrap: anywhere; font-size: 14px }
.detail-tags h2, .detail-models h2 { margin: 0; color: #37434c; font: 680 14px/1.4 var(--body) }
.term-list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; max-width: 100% }
.detail-tags:not(:empty), .detail-models:not(:empty) { margin-top: 8px }
.film-notes > .catalog-action { margin-top: 12px }
.text { max-width:85ch; margin-top:6px; font-size:15px; white-space:pre-line; line-height:1.6 }
.archive > .text { margin:0; padding:9px 11px; background:#fff }
.film-reader .library { margin-top:12px }
.vhl-ad { max-width:100%; text-align:center; overflow-x:auto; overflow-wrap:anywhere }
.vhl-ad :is(img,iframe,video) { max-width:100% }
.base { margin-top:auto; background:#fefefe; color:#39393b }
.base > .shell { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 15px; min-height:61px; width:100%; padding:11px }
.base .brand-name { font-size:25px }
.base .brand-sign { width:26px; height:21px }
.base .brand-sign i { top:5px; left:9px; border-block-width:5px; border-left-width:9px }
.footer-links { display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; font-size:14px }
.footer-links a:hover { color:var(--link); text-decoration:underline }
.base small { color:#626265; font-size:12px }
.visitor-privacy { min-width: 0; max-width: 100%; color: var(--muted); font-size: 13px }
.visitor-privacy[open] { flex: 1 0 100% }
.visitor-privacy summary { width: fit-content; padding: 4px 0; color: var(--link); font-weight: 620; text-decoration: underline; text-underline-offset: 2px }
.visitor-privacy p { max-width: 74ch; margin: 2px 0 5px; line-height: 1.5 }

@media(min-width:1308px) { :root { --frame:1288px } .film-grid, .category-grid { grid-template-columns:repeat(4,minmax(0,1fr)) } }
@media(min-width:1630px) { :root { --frame:1610px } .film-grid, .category-grid { grid-template-columns:repeat(5,minmax(0,1fr)) } }
@media(max-width:799px) {
  :root { --edge:max(3px,.5vw) }
  .mast { grid-template-columns:40px 1fr 40px; gap:0; min-height:57px; padding:5px 6px; }
  .mast .brand { grid-row:1; grid-column:2; justify-self:center }
  .mast .brand-name { font-size:30px }
  .mast .brand.domain-brand { max-width: 100% }
  .mast .brand .domain-wordmark { font-size: clamp(17px,4.5vw,27px) }
  .mast .brand-sign { width:29px; height:23px }
  .mast .brand-sign i { top:5px; left:10px; border-block-width:6px; border-left-width:10px }
  .browse-drawer { display:block; grid-column:1; grid-row:1 }
  .drawer-panel { left:0 }
  .primary-nav { display:none }
  .header-search { grid-column:3; justify-self:end }
  .header-search > .site-search { top:calc(100% + 12px); transform:none; right:0; width:min(470px,calc(100vw - 25px)); height:42px; box-shadow:0 0 0 5px white,0 6px 14px #0003 }
  .site-search input:not([type=hidden]) { font-size:16px }
  .age { top:1px; right:3px; padding:0 2px; font-size:8px; line-height:10px }
  .browse-layout { padding-block:2px 12px }
  .section-top { min-height:40px; padding:5px 8px }
  .section-top h1, .film-reader h1, .archive h1 { font-size:19px }
  .section-top h2 { font-size:17px }
  .result-count { font-size:12px }
  .feed-description, .catalog-summary { padding:0 8px 7px; font-size:13px }
  .card-info { padding: 10px 9px 8px }
  .card-info :is(h2,h3) { font-size: 16px; line-height: 1.25 }
  .card-meta { gap: 2px 6px; font-size: 13px }
  .card-meta svg, .video-meta svg { width: 13px; height: 13px }
  .card-info .catalog-action { padding-inline: 8px }
  .category-info { padding: 9px }
  .category-info :is(h2,h3) { font-size: 14px }
  .base > .shell { min-height:0 }
}
@media(max-width:629px) { .film-grid, .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media(max-width:440px) {
  .heading-group { gap:2px 5px }
  .feed-sort summary { min-height:28px; padding:3px 5px; font-size:12px }
  .base small { width:100% }
  .card-actions { margin-left: 0 }
  .card-footer { align-items: flex-start; flex-direction: column; padding-top: 9px }
  .card-tags a, .card-more-tags summary { padding: 2px 4px; font-size: 11px }
  .card-meta, .video-meta { font-size: 12px }
}
@media(max-width:285px) { .film-grid, .category-grid { grid-template-columns:minmax(0,1fr) } }
