:root {
  --bg: #070b14;
  --bg2: #0f182a;
  --card: #111b2e;
  --line: #24375a;
  --text: #eef4ff;
  --muted: #9fb2cc;
  --accent: #2f7bff;
  --accent-2: #8ec5ff;
  --hot: #00c2ff;
  --grad: linear-gradient(100deg, #2f7bff 0%, #2fa4ff 55%, #22d3ee 100%);
  --sale: #ff3b3b;
  --time: #ffb020;
  --x: #e7e9ea;
  --mf: #ff8a3d;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 15% -80px, rgba(47, 123, 255, .22), transparent 70%),
    radial-gradient(700px 380px at 95% -60px, rgba(34, 211, 238, .16), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 14px/1.65 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
}
html.gated body > :not(.age-gate) { filter: blur(18px); pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
small { font-size: .72em; color: var(--muted); font-weight: 600; margin-left: .5em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 20, .92); backdrop-filter: blur(10px); }
.site-header::after { content: ""; display: block; height: 2px; background: var(--grad); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.logo { flex: none; white-space: nowrap; font-weight: 900; font-size: 23px; letter-spacing: .01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { display: inline-block; white-space: nowrap; font-size: 10.5px; font-weight: 800; color: #fff; margin-left: 8px; background: var(--grad); border-radius: 999px; padding: 2px 8px; vertical-align: 4px; -webkit-text-fill-color: #fff; }
.pr-note { font-size: 11px; color: var(--muted); min-width: 0; }
.head-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lang-switch { flex: none; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--bg2); }
.lang-switch:hover { border-color: var(--muted); }
.lang-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 44px 10px 16px; background: var(--bg2); border-top: 1px solid var(--line); font-size: 13px; }
.lang-banner[hidden] { display: none; }
.lang-banner .btn { padding: 6px 14px; font-size: 13px; }
.lang-banner-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px; }
.nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 9px; padding-top: 7px; scrollbar-width: none; }
.nav a { flex: none; padding: 6px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; border: 1px solid transparent; }
.nav a:hover { color: var(--text); border-color: var(--line); }
.nav a.on { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(47, 123, 255, .35); }
/* 上部タブの「オリジナルリール動画」（スマホでは3列ぶんの幅） */
.ls-short { display: none; }
.nav a.nav-reel { border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; color: #fff; border: 1px solid #ffd166; background: linear-gradient(135deg, rgba(255, 209, 102, .16), rgba(47, 123, 255, .18)); }
.nav-reel small { font-size: 10.5px; font-weight: 800; color: #ffd166; }
.nav-reel b { font-weight: 900; }
.nav a.nav-reel.on { background: var(--grad); border-color: transparent; }
.nav a.nav-reel.on small { color: #fff; }
/* ジャンル別X動画リール（人妻 / NTR / 熟女）。Xの黒と青で、ほかのタブと色を分ける */
.nav a.nav-genre { border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #fff; border: 1px solid rgba(29, 155, 240, .7); background: linear-gradient(135deg, #0b0f14 0%, #10263a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 0 12px rgba(29, 155, 240, .18); }
.nav a.nav-genre b { font-weight: 900; letter-spacing: .02em; }
.nav-genre .gx { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #000; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.nav-genre .gx i { position: absolute; right: -5px; bottom: -4px; width: 12px; height: 12px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: 6.5px; font-style: normal; display: grid; place-items: center; padding-left: 1px; }
@media (min-width: 720px) {
  /* PCはリール動画の下（右寄せ）に2段目として並べる */
  .nav { flex-wrap: wrap; row-gap: 8px; }
  .nav-break { flex-basis: 100%; height: 0; }
  .nav-break + .nav-genre { margin-left: auto; }
  .nav a.nav-genre { min-width: 104px; }
}
@media (max-width: 719px) { .nav-break { display: none; } }
.nav a.nav-genre:hover { border-color: #1d9bf0; }
.nav a.nav-genre.on { background: #1d9bf0; border-color: transparent; }
.nav a.nav-genre.on .gx i { background: #fff; color: #1d9bf0; }
@media (max-width: 719px) {
  /* ロゴは「巨乳fans」の下にバッジ（2段）、PRの注記は1行、言語切替は短く（EN / JA） */
  .logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
  .logo-sub { margin: 3px 0 0; vertical-align: 0; }
  .pr-note { white-space: nowrap; font-size: 10.5px; }
  .ls-long { display: none; }
  .ls-short { display: inline; }
  .nav a.nav-reel { border-radius: 999px; grid-column: 1 / -1; justify-content: center; flex-direction: column; gap: 1px; padding: 6px 4px; line-height: 1.25; }
  .nav a.nav-reel b { font-size: 14px; }
  .nav a.nav-genre { border-radius: 999px; padding: 6px 4px; gap: 6px; }
  .nav a.nav-genre b { font-size: 13.5px; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding-top: 8px; }
  .nav a { text-align: center; padding: 7px 2px; font-size: 12.5px; white-space: nowrap; background: var(--bg2); border-color: var(--line); border-radius: 10px; }
  .nav a.on { border-color: transparent; }
  .site-header { position: static; }
  .feature { scroll-margin-top: 12px; }
}

/* hero */
.hero {
  position: relative; overflow: hidden;
  margin: 18px 0 8px; padding: 22px 20px 18px;
  border-radius: 18px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(34, 211, 238, .35), transparent 70%),
    linear-gradient(135deg, #0b2253 0%, #0e1a36 55%, #0a1020 100%);
  border: 1px solid rgba(47, 123, 255, .35);
  box-shadow: 0 10px 40px rgba(47, 123, 255, .15);
}
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: rgba(47, 123, 255, .18); color: var(--accent-2); font-weight: 800; font-size: 12px; letter-spacing: .03em; }
.flame { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px var(--hot); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: 23px; line-height: 1.4; margin: 0 0 10px; font-weight: 900; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: #d4e2f4; margin: 0 0 14px; font-size: 13.5px; max-width: 760px; }
.hero-lead strong { color: #fff; }
.hero-points { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { padding: 6px 12px 6px 28px; position: relative; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 700; }
.hero-points li::before { content: "✓"; position: absolute; left: 11px; color: var(--accent-2); font-weight: 900; }
.hero-points b { color: var(--accent-2); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.hero-stats div { background: rgba(0, 0, 0, .28); border-radius: 10px; padding: 8px 10px; }
.hero-stats dt { font-size: 11px; color: var(--muted); font-weight: 700; }
.hero-stats dd { margin: 0; font-size: 20px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dd.small { font-size: 13px; padding-top: 5px; }
@media (min-width: 720px) { .hero { padding: 30px 32px 24px; } .hero h1 { font-size: 30px; } }
@media (max-width: 719px) {
  .pc { display: none; }
  .hero { padding: 16px 14px 14px; margin-top: 12px; }
  .hero h1 { font-size: 19px; }
  .hero-lead { font-size: 12.5px; margin-bottom: 10px; }
  .hero-points { gap: 6px; margin-bottom: 12px; }
  .hero-points li { font-size: 11.5px; padding: 4px 10px 4px 24px; }
  .hero-points li::before { left: 9px; }
  .hero-stats { gap: 6px; }
  .hero-stats div { padding: 6px 8px; }
  .hero-stats dt { font-size: 10px; }
  .hero-stats dd { font-size: 16px; }
  .hero-stats dd.small { font-size: 11px; padding-top: 3px; }
}
.lead { color: var(--muted); margin: 0 0 14px; }

/* sections */
.sec { margin: 34px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 3px; background: var(--grad); }
.sec-head h1, .sec-head h2 { margin: 0; font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(47, 123, 255, .15); font-size: 17px; }
.page-head { margin-top: 24px; }
.page-head h1 { font-size: 23px; }
.tabs { display: flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tabs a { padding: 5px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 13px; }
.tabs a.on { background: var(--grad); color: #fff; box-shadow: 0 3px 12px rgba(47, 123, 255, .35); }
.more { display: block; text-align: center; margin: 18px auto 0; padding: 11px; border-radius: 999px; font-weight: 800; color: #fff; max-width: 340px; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.more::after { content: " →"; }
.more:hover { background: var(--grad) border-box; }
.empty { color: var(--muted); padding: 24px 0; }

/* grid & card */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.player { position: relative; background: #000; cursor: pointer; overflow: hidden; }
.card .player { aspect-ratio: 4 / 5; }
.card .player.is-h img { object-position: center; }
.player img, .player video { width: 100%; height: 100%; object-fit: cover; }
.player video { object-fit: contain; background: #000; }
.play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; font-size: 16px; padding-left: 3px; pointer-events: none; }
.player.playing .play, .player.playing .badges, .player.playing .likes, .player.playing .rank { display: none; }
.rank { position: absolute; top: 0; left: 0; min-width: 30px; padding: 3px 7px; background: rgba(0,0,0,.72); font-weight: 800; border-bottom-right-radius: 8px; text-align: center; }
.rank.top { background: var(--grad); }
.grid .card:nth-child(1) .rank.top { background: linear-gradient(135deg, #ffe27a, #e6a400); color: #3a2600; }
.grid .card:nth-child(2) .rank.top { background: linear-gradient(135deg, #f1f1f1, #a9adb5); color: #222; }
.grid .card:nth-child(3) .rank.top { background: linear-gradient(135deg, #ffb27a, #b8622d); color: #2d1300; }
.badges { position: absolute; left: 6px; bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 60px); }
.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 4px; line-height: 1.4; }
.badge.sale { background: var(--sale); color: #fff; }
.badge.time { background: var(--time); color: #1a1200; }
.likes { position: absolute; right: 6px; bottom: 6px; font-size: 11px; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 4px; }
.card-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-title:hover { color: var(--accent-2); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price { font-weight: 800; font-size: 15px; }
.price.sale { color: var(--sale); }
.price.big { font-size: 24px; }
s.list, .price-line s { color: var(--muted); font-size: 12px; }
.dur { font-size: 11px; color: var(--muted); }
.creator { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.creator img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
.creator span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg2); font-weight: 700; cursor: pointer; color: var(--text); font-size: 13px; }
.btn small { font-size: 10px; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; margin: 0; color: inherit; opacity: .8; }
.btn.cta { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 12.5px; }
.btn.cta:hover { filter: brightness(1.1); }
.btn.cta.big { width: 100%; font-size: 16px; padding: 13px; margin-top: 10px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: 13px; }
.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.chip { font-weight: 700; }
.tag-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .tag-list { grid-template-columns: repeat(4, 1fr); } }
.tag-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--card); }
.tag-card img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.tag-name { position: absolute; left: 10px; bottom: 26px; font-weight: 800; font-size: 15px; }
.tag-n { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: var(--muted); }

/* creators table */
.ctable { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.crow { display: grid; grid-template-columns: 36px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 52px 64px; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--card); }
.crow.chead { border-top: 0; background: var(--bg2); color: var(--muted); font-size: 12px; font-weight: 700; }
.crank { font-weight: 900; font-size: 16px; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cname { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.cname img, .noavatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg2); }
.cname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); display: inline-block; max-width: 100%; }
.acct.mf { color: var(--mf); }
.acct.x { color: var(--x); }
.acct.none { border: 0; color: var(--muted); }
.svc { font-size: 10px; font-weight: 700; opacity: .75; margin-right: 5px; letter-spacing: .02em; }
.acct:hover { border-color: currentColor; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
  .crow { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "r n n" "r m x"; row-gap: 6px; }
  .crow.chead { display: none; }
  .crow .crank { grid-area: r; }
  .crow .cname { grid-area: n; }
  .crow .acct.mf { grid-area: m; justify-self: start; }
  .crow .acct.x, .crow .acct.none { grid-area: x; justify-self: end; }
  .crow .num { display: none; }
}

/* creator page / detail */
.creator-head { display: flex; gap: 16px; align-items: center; margin-top: 22px; }
.creator-head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.creator-head h1 { margin: 0 0 6px; font-size: 20px; }
.accts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.detail { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.player.big { border-radius: var(--radius); max-height: 80vh; margin: 0 auto; width: 100%; }
.detail-body h1 { font-size: 17px; margin: 0 0 12px; line-height: 1.5; }
.price-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.price-line { margin: 0 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.deadline { color: var(--time); font-weight: 700; margin: 4px 0; }
.note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.summary { white-space: pre-line; color: var(--muted); font-size: 13px; }

/* footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 20px 0 40px; color: var(--muted); font-size: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.foot-nav a:hover { color: var(--text); }

/* age gate */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-box { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; max-width: 360px; text-align: center; }
.age-title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }

/* contact form */
.contact { display: grid; gap: 14px; max-width: 560px; }
.contact label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
.contact input, .contact select, .contact textarea { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.contact button { justify-self: start; padding: 10px 24px; }
.sent { color: var(--accent-2); font-weight: 700; }

/* static pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 16px; margin-top: 24px; }
.prose p, .prose li { color: #d0dbe8; }

/* creator feature */
.feature { margin: 26px 0 38px; padding: 18px 16px 20px; border-radius: 18px; background: linear-gradient(160deg, #11203b 0%, #0b1424 60%); border: 1px solid var(--line); scroll-margin-top: 110px; }
.feature-head { display: flex; align-items: center; gap: 12px; }
.feature-rank { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: var(--grad); color: #fff; }
.feature-avatar-link { flex: none; display: block; line-height: 0; border-radius: 50%; }
.feature-avatar-link:hover .feature-avatar { box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px rgba(47,123,255,.35); }
.feature-avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--bg2); box-shadow: 0 0 0 2px var(--accent); }
.feature-id { min-width: 0; flex: 1; display: grid; gap: 4px; justify-items: start; }
.feature-id h2 { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.35; }
.feature-id h2 a:hover { color: var(--accent-2); }
.x-follow { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #000; border: 1px solid #444; color: #fff; font-weight: 800; font-size: 12.5px; max-width: 46%; }
.x-follow span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-logo { font-size: 15px; }
.x-follow:hover { border-color: #fff; }
@media (max-width: 719px) {
  .x-follow { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .x-follow span:last-child { display: none; }
  .x-logo { font-size: 18px; }
  .feature-avatar { width: 52px; height: 52px; }
  .feature-id h2 { font-size: 16px; }
}
.feature-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 4px; }
.feature-stats li { font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 8px; padding: 5px 10px; }
.feature-stats b { color: var(--text); font-size: 14px; margin-right: 4px; }
.feature-sub { font-size: 15px; font-weight: 900; margin: 18px 0 10px; padding-left: 10px; border-left: 4px solid var(--accent); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.hs-item { scroll-snap-align: start; }
@media (min-width: 720px) { .hscroll { grid-auto-columns: minmax(180px, 23%); } }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .works { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.work { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; background: #000; display: block; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.work-dur { position: absolute; right: 6px; bottom: 6px; font-size: 11px; background: rgba(0, 0, 0, .65); padding: 1px 6px; border-radius: 4px; }
.work-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-title { margin: 0; font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.work-actions { display: flex; gap: 6px; margin-top: auto; }
.work-actions .cta { flex: 1; }
.btn.ghost { background: transparent; font-size: 12px; padding: 8px 10px; }
.feature-index { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.feature-index a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.feature-index img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.feature-index a:hover { border-color: var(--accent); }
.feature-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 38%); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
@media (min-width: 720px) { .feature-strip { grid-auto-columns: minmax(150px, 18%); } }
.fs-item { display: grid; gap: 6px; }
.fs-thumb { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #000; }
.fs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fs-rank { position: absolute; left: 0; top: 0; background: var(--grad); color: #fff; font-weight: 900; padding: 2px 9px; border-bottom-right-radius: 8px; }
.fs-name { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fs-name img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
.feature-metric { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: var(--grad); border-radius: 999px; padding: 2px 10px; }
.cr-block { margin-bottom: 18px; }
.cr-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.cr-label { font-weight: 900; font-size: 15px; padding: 3px 12px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--accent); color: var(--accent-2); }
.cr-sub { font-size: 12px; color: var(--muted); }
.cr-all { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--accent-2); }

/* sub tabs (X厳選) / myfans works grid */
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.subtabs a { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); background: var(--bg2); border: 1px solid var(--line); }
.subtabs a.on { color: #fff; background: #000; border-color: #fff; }
.subtabs a:hover { color: var(--text); }
.big-tabs a { padding: 7px 20px; font-size: 14px; }
.work-thumb .rank { z-index: 1; }
.work .creator { margin-top: -2px; }
@media (min-width: 960px) { .grid-works { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 640px) and (max-width: 959px) { .grid-works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* sale tabs / plan discount */
.sale-tabs { margin: 0 0 10px; flex-wrap: wrap; border-radius: 14px; width: fit-content; max-width: 100%; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.plan-card:hover { border-color: var(--accent); }
.plan-thumb { position: relative; aspect-ratio: 16 / 10; background: #000; display: block; }
.plan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.plan-rate { position: absolute; left: 6px; bottom: 6px; font-size: 12.5px; }
.plan-body { padding: 8px 10px 10px; display: grid; gap: 4px; }
.plan-name { display: flex; align-items: center; gap: 6px; font-size: 13px; min-width: 0; }
.plan-name img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.plan-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-meta { font-size: 11.5px; color: var(--muted); }
.sec-head .cr-all { margin-left: auto; }
@media (max-width: 719px) {
  .sale-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 3px; }
  .sale-tabs a { text-align: center; padding: 7px 2px; font-size: 12px; white-space: nowrap; }
}
.plan-thumb img.avatar-fill { object-fit: contain; background: radial-gradient(circle, #1a2d4d, #09101c); padding: 12%; }
.btn.cta.alt { background: #152340; border-color: var(--accent); color: var(--accent-2); }
.btn.cta.alt:hover { background: var(--accent); color: #fff; }

/* mobile fit fixes */
.feature-metric { white-space: nowrap; font-size: 11px; }
.badge { white-space: nowrap; }
.card .likes { bottom: auto; top: 6px; }
.card .player .rank + .likes, .card .likes { right: 6px; }
.badges { max-width: calc(100% - 12px); }
.btn { white-space: nowrap; }
.work-actions { flex-wrap: nowrap; }
.work-actions .cta { min-width: 0; padding-left: 6px; padding-right: 6px; }
.btn.xbtn { flex: none; width: 36px; padding: 8px 0; font-size: 15px; }
@media (max-width: 400px) {
  .btn.cta { font-size: 12px; }
  .btn small { font-size: 9px; padding: 0 2px; }
  .card-body, .work-body { padding-left: 8px; padding-right: 8px; }
}
.work-dur { bottom: auto; top: 6px; }

/* ---------- 動画ビューア（縦長・縦スワイプで次の動画） ---------- */
html.vv-open, html.vv-open body { overflow: hidden; }
.vv { position: fixed; inset: 0; z-index: 1000; background: #000; }
.vv-list { height: 100%; height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.vv-list::-webkit-scrollbar { display: none; }
.vv-slide { position: relative; height: 100%; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vv-slide video { width: 100%; height: 100%; max-width: calc(100dvh * 9 / 16); object-fit: contain; background: #000; }
.vv-pause { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; display: none; align-items: center; justify-content: center; pointer-events: none; }
.vv-slide.paused .vv-pause { display: flex; }
.vv-err { display: none; position: absolute; top: 45%; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.vv-slide.err .vv-err { display: block; }
.vv-seek { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; touch-action: none; }
.vv-seek input { flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; margin: 0; cursor: pointer; --p: 0%; }
.vv-seek input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #2f7bff var(--p), rgba(255,255,255,.3) var(--p)); }
.vv-seek input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.vv-seek input::-moz-range-progress { height: 4px; border-radius: 4px; background: #2f7bff; }
.vv-seek input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -6px; box-shadow: 0 0 0 3px rgba(47,123,255,.5); }
.vv-seek input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
.vv-time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .9; white-space: nowrap; }
.vv-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); color: #fff; max-width: 560px; margin: 0 auto; }
.vv-creator { margin: 0 0 4px; font-weight: 800; font-size: 14px; }
.vv-title { margin: 0 0 12px; font-size: 13px; line-height: 1.5; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vv-cta { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding: 12px; font-size: 16px; }
.vv-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; pointer-events: none; }
.vv-bar button { pointer-events: auto; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; font-weight: 700; cursor: pointer; }
.vv-close { width: 40px; height: 40px; font-size: 18px; }
.vv-snd-row { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: -4px 0 10px; }
.vv-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 auto 0 0; min-width: 0; }
.vv-tags li { font-size: 12px; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 3px 11px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); white-space: nowrap; }
.vv-sound { padding: 8px 14px; font-size: 13px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; font-weight: 700; cursor: pointer; }
.vv-pagetitle { flex: 1; text-align: center; color: #fff; font-weight: 900; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.vv-hint { position: absolute; left: 0; right: 0; top: 40%; margin: 0; text-align: center; color: #fff; font-weight: 700; text-shadow: 0 2px 8px #000; pointer-events: none; animation: vvhint 2.5s ease forwards; }
@keyframes vvhint { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

.summary-orig { margin-top: 10px; color: var(--muted); font-size: 12px; }
.summary-orig summary { cursor: pointer; }

/* 編集部おすすめ枠（ランキングとは別枠） */
.rec { border: 1px solid rgba(142, 197, 255, .45); border-radius: 16px; padding: 14px; background: linear-gradient(135deg, rgba(47, 123, 255, .14), rgba(34, 211, 238, .08) 60%, transparent), var(--bg2); }
.rec-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rec-label { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .06em; }
.rec-head small { color: var(--muted); font-size: 11.5px; }
.rec-who { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; margin-bottom: 12px; flex-wrap: wrap; }
.rec-who img, .rec-noimg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-2); flex: none; background: var(--card); }
.rec-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.rec-text b { font-size: 17px; font-weight: 900; }
.rec-catch { font-weight: 800; color: var(--accent-2); }
.rec-desc { color: var(--muted); font-size: 13px; }
.rec-who em { font-style: normal; font-weight: 800; color: var(--accent-2); font-size: 13px; margin-left: auto; }
.rec-works { margin-top: 4px; }

/* セールのトップ：月額プラン割引のチップ */
.plan-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.plan-chip { flex: none; width: 128px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: inherit; text-decoration: none; text-align: center; }
.plan-chip img, .plan-chip-noimg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--bg2); }
.plan-chip-name { font-size: 12px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sale-extra { margin-bottom: 18px; }

/* AI検索（トップの説明文の下・/search/）。2026-10-11 オーナー指示：「AI検索」を目立たせる */
.hs { margin: 4px 0 14px; }
.hs form { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border-radius: 999px; background: linear-gradient(#0e1930, #0e1930) padding-box, linear-gradient(110deg, #5b5cff, #2f7bff, #ffb347, #34d6ff, #5b5cff) border-box; background-size: 100% 100%, 300% 100%; border: 2px solid transparent; box-shadow: 0 0 22px rgba(91, 92, 255, .35), 0 0 34px rgba(47, 123, 255, .22); animation: hs-flow 6s linear infinite; }
@keyframes hs-flow { to { background-position: 0 0, 300% 0; } }
.hs-badge { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #fff; background: linear-gradient(120deg, #5b5cff, #2f7bff); letter-spacing: .04em; white-space: nowrap; }
.hs-spark { display: inline-block; animation: hs-twinkle 1.8s ease-in-out infinite; }
@keyframes hs-twinkle { 50% { transform: scale(1.25) rotate(12deg); opacity: .75; } }
.hs input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 16px; padding: 8px 2px; }
.hs input::placeholder { color: #8aa2c4; font-size: 13.5px; }
.hs input::-webkit-search-cancel-button { filter: invert(1); }
.hs button[type=submit] { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2f7bff, #22d3ee); cursor: pointer; box-shadow: 0 2px 10px rgba(47, 123, 255, .45); }
.hs-hist { display: flex; align-items: center; gap: 6px; margin: 8px 4px 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.hs-hist::-webkit-scrollbar { display: none; }
.hs-hist[hidden] { display: none; }
.hs-hist-lab { flex: none; font-size: 11px; color: var(--muted); font-weight: 700; }
.hs-hist a { flex: none; font-size: 12px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbe7f6; }
.hs-hist-clear { flex: none; background: none; border: 0; color: var(--muted); font-size: 15px; padding: 0 14px 0 4px; cursor: pointer; }
.sr-top { margin-top: 14px; }
.sr-msg { margin: 6px 2px 12px; font-size: 13px; color: #d4e2f4; }
.sr-ai { color: #9cc4ff; font-weight: 700; }
.sr-wait { animation: hs-pulse 1.2s ease-in-out infinite; }
@keyframes hs-pulse { 50% { opacity: .45; } }
.sr-creators { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sr-head { margin: 8px 2px 4px; }
.sr-q { margin: 0 0 4px; font-size: 15px; font-weight: 800; line-height: 1.5; }
.sr-qw { overflow-wrap: anywhere; }
.sr-counts { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.sr-counts b { color: #fff; }
.nw { white-space: nowrap; }
.sr-desc { margin: -4px 2px 12px; font-size: 11.5px; line-height: 1.6; color: var(--muted); opacity: .85; }
.sr-desc span { display: block; }
/* 文節ごとに折り返す（言葉の途中で改行しない）。長すぎる文節だけは中で折り返す */
.ph { display: inline-block; max-width: 100%; }
.sr-creators a { flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.sr-creators img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.sr-list > [hidden] { display: none !important; }
button.more { display: block; width: 100%; cursor: pointer; font: inherit; }
@media (max-width: 480px) {
  .hs-badge { font-size: 12px; padding: 6px 9px; }
  .hs input::placeholder { font-size: 12px; }
}
.sr-creators a { max-width: 100%; min-width: 0; }
.sr-creators span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* つなげて再生（同じ作品の短いX動画を続けて流す） */
.vv-chain { display: inline-block; margin: -6px 0 10px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: linear-gradient(120deg, rgba(91, 92, 255, .85), rgba(47, 123, 255, .85)); }
/* 作品一覧の並べ替え・もっと見る（WorkList） */
.wl-bar { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.wl-sort { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.wl-sort.on { color: #fff; border-color: var(--accent-2); background: rgba(47, 123, 255, .18); }
.wl-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.wl .works > .work[hidden], .wl-more[hidden] { display: none !important; }
/* ビューアの最後（クリエイターページ・Pick up）：最初から／ページに戻る */
.vv-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #08101c; }
.vv-end-t { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #fff; }
.vv-end-b { width: min(320px, 80%); }

/* クーポンコード（/sale/coupon/・2026-10-13） */
.coupon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.coupon-card { border: 1px dashed var(--line, #444); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.coupon-who { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; min-width: 0; }
.coupon-who img, .coupon-who .plan-chip-noimg { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.coupon-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coupon-code code { display: inline-block; font-size: 1.35em; font-weight: 700; letter-spacing: .08em; padding: 4px 10px; border-radius: 8px; background: rgba(80, 160, 255, .12); user-select: all; }
.coupon-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9em; }
.coupon-links { display: flex; justify-content: space-between; gap: 8px; font-size: .85em; flex-wrap: wrap; }

/* X動画・サイズ厳選（ヘッダー。2026-10-13）。「厳選」の文字だけ、人妻fansのロゴ「人妻」と同じピンク→オレンジのグラデーション文字。囲いはなし */
.cup-pick { flex-basis: 100%; display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.cup-pick-label { flex: none; display: inline-flex; align-items: center; }
.cup-pick-label b { font-weight: 900; font-size: 15px; letter-spacing: .04em; white-space: nowrap; color: #fff; }
.cup-pick-label em { font-style: normal; font-size: 1.25em; margin-left: 2px; background: linear-gradient(100deg, #ff2e74 0%, #ff4f52 55%, #ff8a2b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cup-pick-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a.cup-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; font-size: 17px; font-weight: 900; color: #fff; background: linear-gradient(180deg, #16284a, #0c1730); border: 1px solid rgba(142, 197, 255, .45); }
.nav a.cup-btn:hover { border-color: #8ec5ff; box-shadow: 0 0 10px rgba(142, 197, 255, .45); }
.nav a.cup-btn.on { background: var(--grad); border-color: transparent; }
@media (max-width: 719px) {
  .cup-pick { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 2px; }
  .cup-pick-label { justify-content: center; }
  .cup-pick-btns { justify-content: center; }
  .nav a.cup-btn { width: 38px; height: 38px; font-size: 16px; padding: 0; background: linear-gradient(180deg, #16284a, #0c1730); border-color: rgba(142, 197, 255, .45); border-radius: 11px; }
}

/* つなげて再生：切り替え中に直前のコマを表示しておくキャンバス（2026-10-13） */
.vv-hold { position: absolute; z-index: 1; pointer-events: none; }
.vv-hold[hidden] { display: none; }
