
:root {
  --bg: #0a0a0c;
  --surface: #131318;
  --surface-2: #1c1c23;
  --line: #24242d;
  --text: #f0f0f4;
  --muted: #8c8c9c;
  --dim: #62626f;
  --accent: #e8365d;
  --accent-2: #ff4d6d;
  --s: #ffc93c;
  --a: #3ddc84;
  --b: #4d9fff;
  --c: #ff9142;
  --d: #6b6b78;
  --radius: 8px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.6; font-size: 14px; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,12,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar { display: flex; align-items: center; gap: 20px; height: 56px; }
.logo {
  font-weight: 900; font-size: 21px; letter-spacing: -.01em; white-space: nowrap;
  display: flex; align-items: baseline; gap: 8px; line-height: 1.1;
}
.logo em { color: var(--accent); font-style: normal; margin-left: -2px; }
.logo .tagline {
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--dim); align-self: center; padding-top: 3px;
}
@media (max-width: 620px) { .logo .tagline { display: none; } }
.searchbox {
  flex: 1; max-width: 520px; display: flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px;
}
.searchbox:focus-within { border-color: var(--accent); }
.searchbox input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--text);
  font-size: 14px; font-family: inherit;
}
.searchbox input::placeholder { color: var(--dim); }
.searchbox .ico { color: var(--dim); font-size: 15px; }
.topnav { display: flex; gap: 18px; margin-left: auto; }
.topnav a { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.topnav a.on, .topnav a:hover { color: var(--text); }

/* ---------- filter chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip:hover { color: var(--text); }

/* ---------- section ---------- */
.section { margin: 32px 0 44px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
h2 { font-size: 19px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.section-head .more { margin-left: auto; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* 一覧の切り替えタブ(直近2年 / それ以前) */
.tabs { display: flex; gap: 6px; margin-left: 4px; }
.tab {
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
}
.tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab:hover:not(.on) { color: var(--text); }
[data-p][hidden] { display: none; }
.section-note { color: var(--muted); font-size: 12.5px; margin: 0 0 16px; line-height: 1.6; }

/* ---------- card grid (高密度) ---------- */
/* 横4列固定。auto-fill だと画面幅次第で6列以上になりサムネイルが小さくなりすぎる */
.grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: block; }
.card .thumb {
  position: relative; aspect-ratio: 16/10.6; border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .thumb img { transform: scale(1.045); }
.card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 32%, transparent 62%, rgba(0,0,0,.72) 100%);
}
.tag {
  position: absolute; z-index: 2; font-size: 10.5px; font-weight: 800;
  padding: 2.5px 6px; border-radius: 4px; letter-spacing: .04em; line-height: 1.35;
}
.tag-code { top: 6px; left: 6px; background: rgba(0,0,0,.7); color: #fff; backdrop-filter: blur(3px); }
.tag-time { bottom: 6px; right: 6px; background: rgba(0,0,0,.7); color: #e4e4ea; }
.tag-grade { top: 6px; right: 6px; color: #0d0d12; }
.tag-off { bottom: 6px; left: 6px; background: var(--accent); color: #fff; }
.card .title {
  font-size: 13.5px; font-weight: 600; margin: 9px 0 5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .title { color: var(--accent-2); }
.card .sub { font-size: 11.5px; color: var(--muted); display: flex; gap: 9px; align-items: center; }
.card .sub .st { font-weight: 700; }

/* ---------- grade / status ---------- */
.grade {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 5px; font-weight: 900; font-size: 12.5px; color: #0d0d12; flex: none;
}
.grade.lg { width: 72px; height: 72px; font-size: 38px; border-radius: 14px; }
.g-S { background: var(--s); } .g-A { background: var(--a); }
.g-B { background: var(--b); } .g-C { background: var(--c); }
.g-D { background: var(--d); color: #dcdce2; }
.g-unrated { background: var(--surface-2); color: var(--dim); font-size: 9px !important; font-weight: 700; }

.status { font-weight: 700; }
.status.hidden_gem { color: var(--s); }
.status.staple, .status.solid { color: var(--a); }
.status.hyped { color: var(--c); }
.status.popular_only { color: var(--b); }
.status.standard, .status.skip { color: var(--dim); }

/* ---------- item page ---------- */
/* 左列は購入判断に要る事実(画像・価格・作品情報)、右列は評価、と役割を分ける。
   引き伸ばして中央寄せにすると空白が目立つので、実際の情報で埋める。 */
.hero { display: grid; grid-template-columns: 420px 1fr; gap: 28px; margin: 20px 0; align-items: start; }
.hero .side { display: flex; flex-direction: column; gap: 14px; }
.hero .cover { border-radius: var(--radius); overflow: hidden; }
.spec {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.spec .sh {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--dim);
  padding-bottom: 9px; margin-bottom: 11px; border-bottom: 1px solid var(--line);
}
.code-line {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .07em;
  background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 4px;
}
/* 左列に置くので、長いタイトルでも縦に伸びすぎないよう本文より少し詰める */
h1 { font-size: 18px; line-height: 1.55; margin: 8px 0 12px; font-weight: 700; }
.facts { display: grid; grid-template-columns: 62px 1fr; gap: 3px 12px; font-size: 12.5px; line-height: 1.55; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts a { color: var(--b); }

.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 22px 0; }
.verdict-top { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.verdict-head { font-size: 11px; color: var(--dim); font-weight: 800; letter-spacing: .12em; }
.verdict-status { font-size: 20px; font-weight: 900; margin: 1px 0 3px; }
.verdict-sub { font-size: 12.5px; color: var(--muted); }
/* 同ジャンル内での順位。ここが読者の一番知りたい情報なので独立した帯にする */
.genre-rank {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 16px; margin-top: 15px;
}
.genre-rank .gr-txt { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.genre-rank .gr-name { color: var(--text); font-weight: 800; }
.genre-rank .gr-rank {
  margin-left: auto; font-size: 21px; font-weight: 900; font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 4px;
}
.genre-rank .gr-rank small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .genre-rank .gr-rank { margin-left: 0; } }

.bars-head {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--dim);
  margin: 20px 0 2px; padding-top: 16px; border-top: 1px solid var(--line);
}
.bars { display: grid; gap: 11px; padding-top: 12px; }
.bar-row { display: grid; grid-template-columns: 118px 1fr 116px; gap: 12px; align-items: center; font-size: 12.5px; }
.bar-label { color: var(--muted); }
.bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--muted); }
.callout {
  margin-top: 16px; padding: 12px 15px; background: rgba(232,54,93,.09);
  border-left: 3px solid var(--accent); border-radius: 0 7px 7px 0; font-size: 12.5px;
}

.buy { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.price-now { font-size: 28px; font-weight: 900; }
.price-was { color: var(--dim); text-decoration: line-through; font-size: 14px; margin-left: 7px; }
.price-off { color: var(--accent-2); font-weight: 800; }
.sale-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 5px; }
.cta {
  display: block; text-align: center; background: var(--accent); color: #fff;
  font-weight: 800; padding: 13px; border-radius: 8px; margin-top: 14px; font-size: 14.5px;
}
.cta:hover { background: var(--accent-2); }
.buy-note { font-size: 10.5px; color: var(--dim); text-align: center; margin-top: 8px; }

/* DMM 公式のサンプル再生プレイヤー(litevideo)を iframe で埋める */
.player { position: relative; width: 100%; aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 運営者コメント — 箇条書きの事実 + それを踏まえた講評 */
.comment {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 11px 11px 0; padding: 17px 20px; margin-top: 16px;
}
.comment .ch {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--accent-2);
  display: flex; align-items: center; gap: 7px;
}
.comment ul { margin: 11px 0 13px; padding-left: 17px; }
.comment li { font-size: 12.5px; color: var(--muted); line-height: 1.95; }
.comment li b { color: var(--text); font-weight: 700; }
.comment p { font-size: 13px; line-height: 2.0; margin: 0 0 13px; color: #d8d8e0; }
.comment p:last-of-type { margin-bottom: 0; }
.comment p b { color: var(--text); }

/* 順位つきカード(同女優・同ジャンルのランキング) */
.rank-grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rank-card { position: relative; }
.rank-medal {
  position: absolute; z-index: 3; top: -7px; left: -7px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--bg); color: var(--muted);
  font-size: 12.5px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.rank-medal.m1 { background: var(--s); color: #1a1a1a; }
.rank-medal.m2 { background: #c8ccd4; color: #1a1a1a; }
.rank-medal.m3 { background: #c98a5b; color: #1a1a1a; }

/* サンプル。動画だけを置くと右側が大きく空くので、脇に画像を並べて埋める。
   画像は縦横比がまちまちなので aspect-ratio + cover で高さを揃える。 */
.media { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.media-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; }
.shot { display: block; aspect-ratio: 16/10.6; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .media { grid-template-columns: 1fr; } }

/* 縦並びのランキング。グリッドだと順位の上下関係が伝わらないため、
   1位から縦に積んで順位バッジを大きく出す。 */
.rank-list { display: grid; gap: 8px; }
.rank-row {
  display: grid; grid-template-columns: 46px 132px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px 9px 6px;
}
.rank-row:hover { border-color: #3a3a48; background: var(--surface-2); }
.rank-num {
  text-align: center; font-weight: 900; font-size: 19px; color: var(--dim);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.rank-num small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
.rank-row.top1 .rank-num { color: var(--s); }
.rank-row.top2 .rank-num { color: #c8ccd4; }
.rank-row.top3 .rank-num { color: #c98a5b; }
.rank-thumb { aspect-ratio: 16/10.6; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-body .t {
  font-size: 13px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-row:hover .rank-body .t { color: var(--accent-2); }
.rank-body .m { font-size: 11px; color: var(--muted); display: flex; gap: 9px; margin-top: 3px; flex-wrap: wrap; }
.rank-score { text-align: right; display: flex; align-items: center; gap: 10px; }
.rank-score .sc { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rank-score .sc small { display: block; font-size: 10px; color: var(--dim); font-weight: 600; }
@media (max-width: 700px) {
  .rank-row { grid-template-columns: 34px 92px 1fr; gap: 10px; }
  .rank-score { display: none; }
}

table.rank { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.rank th { text-align: left; color: var(--dim); font-weight: 700; font-size: 11px; padding: 7px 9px; border-bottom: 1px solid var(--line); }
table.rank td { padding: 9px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.rank tr:hover td { background: var(--surface); }
.rank-no { color: var(--dim); font-weight: 800; width: 30px; font-variant-numeric: tabular-nums; }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--dim); font-size: 11.5px; }
.disclaimer { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; margin-top: 12px; line-height: 1.7; }

/* ---------- guide (ステータスの見方) ---------- */
.lead { font-size: 15px; line-height: 1.85; color: #d6d6de; max-width: 760px; }
.lead b { color: var(--text); }
h3.step {
  font-size: 16px; font-weight: 800; margin: 40px 0 6px;
  padding-left: 11px; border-left: 3px solid var(--accent);
}
.axis-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.axis-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; }
.axis-card .k { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.axis-card .n { font-weight: 800; font-size: 14px; }
.axis-card .d { font-size: 12px; color: var(--muted); line-height: 1.65; }
.axis-card .c { font-size: 11px; color: var(--dim); margin-top: 7px; font-variant-numeric: tabular-nums; }

/* 軸ラベル付きのマトリクス。縦=評価 / 横=購入数 が一目で分かるようにする */
.matrix-wrap { display: grid; grid-template-columns: 30px 1fr; gap: 6px; margin: 18px 0 10px; }
.axis-y {
  /* 日本語は vertical-rl だけで上から下に正しく読める。rotate すると文字が上下逆になる。
     text-orientation: upright で矢印も回転させずに縦に並べる */
  writing-mode: vertical-rl; text-orientation: upright;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .12em;
  background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 4px 0;
}
.axis-y b { color: var(--a); }
.axis-x {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em;
  background: var(--surface); border: 1px solid var(--line); border-radius: 7px;
  padding: 5px 14px; margin-bottom: 5px; margin-left: 101px;
}
.axis-x b { color: var(--b); }
.matrix-scroll { overflow-x: auto; }

.matrix { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 5px; font-size: 12px; }
.matrix th { color: var(--muted); font-size: 11.5px; font-weight: 700; padding: 6px 4px; text-align: center; }
.matrix th.row-h { text-align: right; width: 96px; padding-right: 10px; }
.matrix td { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 11px 8px; text-align: center; }
.matrix td .st { font-weight: 800; font-size: 12.5px; display: block; }
.matrix td .ct { color: var(--dim); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.matrix td.hl { border-color: var(--s); background: rgba(255,201,60,.08); }
.matrix .gcell { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.matrix .gcell small { color: var(--dim); font-weight: 500; }

.status-list { display: grid; gap: 10px; margin-top: 16px; }
.status-row {
  display: grid; grid-template-columns: 150px 1fr 92px; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
}
.status-row .lbl { font-weight: 800; font-size: 14.5px; }
.status-row .lbl small { display: block; color: var(--dim); font-weight: 600; font-size: 10.5px; letter-spacing: .05em; }
.status-row .desc { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.status-row .desc b { color: var(--text); font-weight: 700; }
.status-row .cnt { text-align: right; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.note-box { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--b); border-radius: 0 10px 10px 0; padding: 14px 17px; font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 16px 0; }
.note-box b { color: var(--text); }

@media (max-width: 820px) {
  .status-row { grid-template-columns: 1fr; gap: 6px; }
  .status-row .cnt { text-align: left; }
  .matrix { font-size: 11px; }
  .matrix th.row-h { width: 62px; }

  .hero { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .bar-row { grid-template-columns: 92px 1fr 88px; gap: 9px; font-size: 11.5px; }
  h1 { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}

.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0; }

/* 女優ページの見出し。写真をアイコンとして左に置く */
.actress-head { display: flex; align-items: center; gap: 14px; }
.actress-photo {
  width: 142px; height: 142px; flex: none; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--line); background: var(--surface-2);
}
.actress-photo.ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 50px; font-weight: 800; color: var(--dim);
}
.actress-head h1 { margin: 4px 0 0; font-size: 22px; }

/* 集計は項目数が多いので行を詰める。読み取りは一覧性が優先 */
.spec.compact { padding: 16px 18px; }
.spec.compact .facts { grid-template-columns: 88px 1fr; gap: 6px 12px; font-size: 12.5px; line-height: 1.6; }
.spec.compact .sh { padding-bottom: 9px; margin-bottom: 11px; }

/* 出演作のグレード構成。色はサイト共通のグレード色をそのまま使い、
   色覚特性で黄と緑が近づく分はセグメント上の文字と凡例の数値で補う。 */
.gdist { margin-top: 15px; }
.gdist-h { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-bottom: 9px; }
.gdist-bar { display: flex; gap: 2px; height: 26px; }
.gdist-bar span {
  display: flex; align-items: center; justify-content: center; min-width: 3px;
  font-size: 11px; font-weight: 900; color: #10101a; overflow: hidden;
}
.gdist-bar span:first-child { border-radius: 5px 0 0 5px; }
.gdist-bar span:last-child { border-radius: 0 5px 5px 0; }
.gdist-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 11px; font-size: 12px; color: var(--muted); }
.gdist-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gdist-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.gdist-legend b { color: var(--text); font-variant-numeric: tabular-nums; }

/* 運営者コメントを主役として大きく見せる版 */
.comment-lg { border-left-width: 4px; padding: 20px 24px; }
.comment-lg .ch { font-size: 13px; }
.comment-lg p { font-size: 14px; line-height: 2.05; }

/* ランキングの続きを開くボタン */
.more-btn {
  display: block; width: 100%; margin-top: 10px; padding: 13px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.more-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.more-wrap[hidden] { display: none; }
/* クレジットは規定の画像をそのまま置く。サイズや見た目を変えると改変扱いになるため
   img には一切スタイルを当てない */
.credit { margin: 14px 0 4px; }

/* 広告であることの表示。景表法(ステマ規制)は「客観的に視認される範囲」での明示を
   求めているので、フッターだけでなく購入ボタンの直近にも置く */
.ad-label {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 4px;
  padding: 2px 8px; margin-bottom: 8px;
}
.foot-nav a { color: var(--muted); font-size: 12px; }
.foot-nav a:hover { color: var(--text); }

/* 年齢認証。JS で body に差し込む */
.agegate {
  position: fixed; inset: 0; z-index: 999; background: rgba(6,6,9,.97);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.agegate-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 30px; max-width: 440px; text-align: center;
}
.agegate-logo { font-weight: 900; font-size: 20px; color: var(--accent); margin-bottom: 18px; }
.agegate-box h2 { font-size: 16px; margin: 0 0 12px; }
.agegate-box p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0 0 22px; }
.agegate-btns { display: grid; gap: 10px; }
.agegate-btns button {
  background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 13px; font-size: 14.5px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.agegate-btns button:hover { background: var(--accent-2); }
.agegate-btns .no { color: var(--muted); font-size: 12.5px; padding: 6px; }

/* 作品ページの版切り替え(通常版/特典版など) */
.versions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.version {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px;
  padding: 6px 12px; font-size: 12px; color: var(--muted);
}
.version.on { border-color: var(--accent); color: var(--text); }

/* セールが終了した作品ページ。割引の主張だけを消し、現在価格の表示は残す。
   価格そのものも取得時点の値なので、いつのデータかを併記する。 */
.sale-over .sale-tag,
.sale-over .price-was,
.sale-over .price-off,
.sale-over .sale-until { display: none; }
.sale-over .sale-ended { display: block; }
.sale-ended {
  display: none; font-size: 12px; color: var(--muted); margin-top: 6px;
  border-left: 2px solid var(--line); padding-left: 8px;
}
.price-asof { font-size: 11px; color: var(--dim); margin-top: 6px; }

/* 法的ページ */
.doc { max-width: 760px; }
.doc h3 { font-size: 15px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 13.5px; line-height: 1.95; color: #d3d3db; }
.doc ul { padding-left: 20px; }

.facts-fold { margin-top: 12px; }
.facts-fold summary {
  cursor: pointer; font-size: 11.5px; font-weight: 700; color: var(--muted);
  list-style: none; display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.facts-fold summary::-webkit-details-marker { display: none; }
.facts-fold summary::before { content: "▸"; font-size: 9px; }
.facts-fold[open] summary::before { content: "▾"; }
.facts-fold summary:hover { color: var(--text); border-color: #3a3a48; }
.facts-fold ul { margin: 11px 0 0; padding-left: 17px; }
