:root {
  --bg: #16151b;
  --bg2: #1e1d25;
  --card: #24232c;
  --line: #34323d;
  --text: #f4f2f6;
  --muted: #9a96a6;
  --accent: #ff2d7a;
  --accent2: #ff6aa8;
  --vip: #f5c518;
}
.theme-play { --accent: #ff2d7a; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.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; }

.pl-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(22, 21, 27, .94);
  border-bottom: 1px solid var(--line);
}
.pl-head-inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .8rem .4rem;
}
.pl-logo { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; min-width: 0; }
.pl-logo img { height: 38px; width: auto; max-width: 168px; object-fit: contain; background: #000; border-radius: 8px; }
.pl-logo span { font-weight: 800; color: var(--accent); font-size: .95rem; white-space: nowrap; }
.pl-search { flex: 1; display: flex; min-width: 0; background: #0f0e14; border: 1px solid #3a2432; border-radius: 999px; overflow: hidden; }
.pl-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: .42rem .8rem; outline: none; }
.pl-search button { border: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 0 .9rem; cursor: pointer; }
.pl-desk { display: none; }
.pl-cats {
  display: flex; gap: .4rem; overflow-x: auto; max-width: 1180px; margin: 0 auto;
  padding: .15rem .8rem .55rem; -webkit-overflow-scrolling: touch;
}
.pl-cats a {
  flex: 0 0 auto; padding: .28rem .65rem; border-radius: 999px;
  background: var(--card); color: #ddd; font-size: .76rem;
}
.pl-cats a.on, .pl-cats a:hover { background: var(--accent); color: #fff; }

.pl-main { max-width: 1180px; margin: 0 auto; padding: .7rem .7rem 5.6rem; }
.flash { background: #2a1a10; border: 1px solid #5a3a20; color: #f5d0a0; padding: .6rem .8rem; border-radius: 8px; margin-bottom: .8rem; }
.sec { margin-bottom: 1.25rem; }
.sec-head, .page-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; }
.sec-head h1, .sec-head h2, .page-head h1 { margin: 0; font-size: 1.05rem; }
.page-head p { margin: .35rem 0 0; color: var(--muted); font-size: .85rem; }
.pl-more { color: var(--muted); font-size: .78rem; }

.pl-hero { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: .9rem; background: #000; }
.pl-hero-slide { display: none; position: relative; }
.pl-hero-slide.on { display: block; }
.pl-hero-slide img { width: 100%; height: 44vw; max-height: 320px; object-fit: cover; }
.pl-hero-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .85rem .7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .86));
}
.pl-hero-meta span {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .08em;
  padding: .12rem .45rem; border-radius: 4px;
}
.pl-hero-meta h2 { margin: .35rem 0 0; font-size: 1.02rem; line-height: 1.35; }
.pl-hero-dots { position: absolute; right: .7rem; bottom: .5rem; display: flex; gap: .28rem; z-index: 2; }
.pl-hero-dots button { width: 6px; height: 6px; border: 0; border-radius: 50%; background: hsla(0, 0%, 100%, .4); padding: 0; }
.pl-hero-dots button.on { width: 16px; border-radius: 4px; background: var(--accent); }

.pl-types {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem .25rem;
  list-style: none; margin: 0 0 1.05rem; padding: 0;
}
.pl-types a { display: flex; flex-direction: column; align-items: center; gap: .28rem; font-size: .72rem; color: #ddd; text-align: center; }
.pl-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #3a1830, #ff2d7a);
  box-shadow: 0 0 0 1px rgba(255, 45, 122, .28), 0 6px 14px rgba(255, 45, 122, .2);
}
.pl-ico svg { width: 22px; height: 22px; display: block; }
.pl-ico.ico-japan { background: linear-gradient(145deg, #3a1040, #ff4d7a); }
.pl-ico.ico-wife { background: linear-gradient(145deg, #4a1848, #c45cff); }
.pl-ico.ico-hotel { background: linear-gradient(145deg, #2a1848, #7a5cff); }
.pl-ico.ico-live, .pl-ico.ico-cam { background: linear-gradient(145deg, #4a1020, #ff2d7a); }

.pl-collect { margin-bottom: 1.25rem; }
.pl-collect-row {
  display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .2rem;
  -webkit-overflow-scrolling: touch;
}
.pl-collect-card {
  flex: 0 0 46%; max-width: 220px; position: relative;
  border-radius: 12px; overflow: hidden; background: #000;
}
.pl-collect-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pl-collect-card b {
  position: absolute; top: .4rem; left: .4rem; z-index: 1;
  min-width: 1.5rem; padding: .08rem .28rem; border-radius: 6px;
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
}
.pl-collect-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem .5rem .4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .88));
  font-size: .76rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .4rem; }
.vcard { display: block; min-width: 0; }
.vcard-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: #0f0e14; }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard-hd {
  position: absolute; top: .3rem; right: .3rem;
  background: var(--accent); color: #fff; font-size: .58rem; font-weight: 800;
  font-style: normal; padding: .08rem .28rem; border-radius: 3px;
}
.vcard-hits { position: absolute; left: .3rem; bottom: .3rem; font-size: .6rem; background: rgba(0, 0, 0, .55); padding: .08rem .28rem; border-radius: 3px; }
.vcard-dur { position: absolute; right: .3rem; bottom: .3rem; font-size: .6rem; background: rgba(0, 0, 0, .55); padding: .08rem .28rem; border-radius: 3px; }
.vcard-title { margin: .32rem 0 0; font-size: .8rem; font-weight: 400; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard-type { font-size: .68rem; color: var(--muted); margin-top: .1rem; }

.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.type-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .85rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.tag-pill { display: inline-flex; padding: .28rem .65rem; border-radius: 6px; background: var(--card); font-size: .75rem; }
.empty { color: var(--muted); text-align: center; padding: 1.4rem 0; }
.pager { display: flex; justify-content: center; gap: 1rem; margin: 1.2rem 0; }
.watch h1 { font-size: 1.1rem; margin: .7rem 0 .3rem; }
.watch .meta { color: var(--muted); font-size: .8rem; }
.watch-blurb { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: .55rem 0 .85rem; }
.player { background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.player video { width: 100%; height: 100%; }
.player-lock { width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.lock-box { background: rgba(0, 0, 0, .72); padding: 1rem 1.2rem; border-radius: 10px; text-align: center; }
.search-form { display: flex; gap: 0; margin-bottom: 1rem; border-radius: 999px; overflow: hidden; border: 1px solid #3a2432; }
.search-form input { flex: 1; background: #0f0e14; border: 0; color: #fff; padding: .55rem .85rem; }
.search-form button { background: var(--accent); color: #fff; border: 0; padding: 0 .9rem; font-weight: 700; }
.auth-card { max-width: 26rem; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; }
.auth-card h1 { margin: 0 0 .8rem; font-size: 1.2rem; }
.auth-card label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .7rem; }
.auth-card input, .auth-card select { width: 100%; margin-top: .3rem; background: #0f0e14; border: 1px solid var(--line); color: #fff; border-radius: 8px; padding: .55rem .7rem; }
.btn-vip { background: var(--accent); color: #fff; font-weight: 800; font-size: .75rem; padding: .4rem .75rem; border-radius: 999px; border: 0; }
.btn-vip.wide { display: block; width: 100%; text-align: center; padding: .7rem; cursor: pointer; }
.nf-hero { text-align: center; padding: 1.1rem .4rem 1.2rem; }
.nf-hero .nf-code { margin: 0; font-size: 3.4rem; font-weight: 800; color: var(--accent); }
.nf-hero h1 { margin: .45rem 0 .25rem; font-size: 1.15rem; }
.nf-hero p { margin: 0; color: var(--muted); }
.nf-hero .btn-vip { display: inline-block; margin-top: .75rem; }

.pl-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; background: #121118; border-top: 1px solid var(--line);
  padding: .22rem 0 calc(.22rem + env(safe-area-inset-bottom));
}
.pl-tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem;
  font-size: .66rem; color: #8a8494; padding: .28rem 0 .18rem;
}
.pl-tabbar a.on { color: var(--accent); font-weight: 700; }
.pl-tabbar svg, .pl-foot svg { width: 22px; height: 22px; fill: currentColor; }
.pl-tabbar svg.ico-stroke, .pl-foot svg.ico-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl-foot { padding: 0 .8rem 4.8rem; text-align: center; color: var(--muted); font-size: .75rem; }
.pl-foot nav { display: none; }
.age-note { color: #555; font-size: .7rem; margin: .35rem 0 0; }

@media (max-width: 420px) { .pl-logo span { display: none; } }
@media (min-width: 900px) {
  .pl-head-inner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 440px) 1fr;
    align-items: center;
    gap: 1.2rem;
    padding: .75rem 1.2rem .55rem;
  }
  .pl-logo { justify-self: start; }
  .pl-logo img { height: 46px; max-width: 210px; }
  .pl-search { width: 100%; justify-self: center; }
  .pl-desk {
    display: flex; justify-self: end; gap: 1.05rem;
    font-size: .88rem; font-weight: 700; color: #c8c2d0;
  }
  .pl-desk a.on, .pl-desk a:hover { color: var(--accent); }
  .pl-cats { justify-content: center; flex-wrap: wrap; overflow: visible; padding: .2rem 1.2rem .7rem; }
  .pl-tabbar { display: none; }
  .pl-main { padding: 1.1rem 1.2rem 1.4rem; }
  .pl-hero-slide img { height: 320px; }
  .pl-types { grid-template-columns: repeat(6, 1fr); }
  .vgrid { grid-template-columns: repeat(5, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .pl-collect-card { flex-basis: 200px; }
  .pl-foot { padding: 1.5rem 1rem 2rem; border-top: 1px solid var(--line); }
  .pl-foot nav {
    display: flex; justify-content: center; gap: 2.2rem; margin-bottom: .8rem;
  }
  .pl-foot a { display: flex; flex-direction: column; align-items: center; gap: .28rem; color: #8a8494; font-size: .75rem; }
  .pl-foot a.on, .pl-foot a:hover { color: var(--accent); }
}
