/*
 * 白に一本化 (v0.89.0)
 *
 * BOSSの依頼（2026-10-29）：「白のほうがいかがわしくない。白に一本化して最適化したい」。
 * ローカルの見本で決めたもの（2026-10-29〜30）：
 *   配色   … 白×濃紺。本文 #333・リンク青・見出しと選択中は濃紺・買うはオレンジ（buy-buttons.css）・セールは赤。
 *            金は1位の札だけ。以前は価格・タグ・目次・小見出しの文字が暗い金（#77550c）だった。
 *   書体   … Noto Sans JP（400・700の2つだけ読む。mo-child-discovery.php）。
 *   見出し … 記事の h2 は濃紺の帯に白い文字。欄の見出しは左に濃紺の線。
 *   ヘッダー … PCは1段（ロゴ・メニュー・小さい検索）。スマホは検索と☰のアイコン＋画面の下に5つのタブ。
 *   作品カード … 画像・題名2行・価格だけ（product-card.php）。
 * 競合（av-wiki・ザ・マン汁・VOD365、2026-10-29 実測）は白地・本文 #333・リンク青 #1176d4・
 * 見出しは濃紺 #04384c の帯・購入ボタンはオレンジだった。
 *
 * どのCSSよりも後に読む（mo-buy-buttons のあと）。ライト用の指定（:root[data-mo-theme="light"] …）と
 * 同じ強さで書けば、後に読むこちらが勝つ。<html> には常に data-mo-theme="light" が付く。
 * 色の変数の名前（--mo-gold など）は既存のCSSが使っているのでそのまま残し、中身だけ入れ替える。
 *   --mo-gold      … 文字の強調色だった → 本文と同じ #333（太字で区別する）
 *   --mo-gold-dark … 枠・下線の強調色だった → 濃紺
 *   --mo-gold-fill … 選択中などの地だった（濃い文字を乗せる）→ 薄い濃紺（濃い文字のまま読める）
 */

:root,
:root[data-mo-theme="light"] {
  --mo-bg: #ffffff;
  --mo-panel: #ffffff;
  --mo-panel-2: #f5f6f8;
  --mo-line: #e2e5e9;
  --mo-text: #333333;
  --mo-muted: #666666;
  --mo-link: #1a6dcc;
  --mo-navy: #1f3a5f;
  --mo-navy-2: #2c5282;
  --mo-navy-soft: #edf2f8;
  --mo-gold: #333333;
  --mo-gold-dark: #1f3a5f;
  --mo-gold-fill: #edf2f8;
  --mo-rank-gold: #e3b341;
  --mo-brand: #1f3a5f;
  --mo-brand-ink: #ffffff;
  --mo-sale: #d7263d;
  --mo-shadow: 0 10px 30px rgba(24, 39, 55, .08);
  --mo-font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", Meiryo, sans-serif;
  --mo-font-head: var(--mo-font-jp);
  /* 旧記事の本文に焼き込まれた金の文字（mo-child-legacy-skin.php の読み替え先） */
  --mo-lt-f4c24f: #333333;
}

/* ---- 地と文字 ---- */
:root[data-mo-theme="light"] body,
:root[data-mo-theme="light"] .mo-site-frame,
:root[data-mo-theme="light"] .mo-db { color: var(--mo-text); background: var(--mo-bg); }
:root[data-mo-theme="light"] .mo-db { font-size: 16px; }

/* ---- 本文のリンクは青に下線（クラスの無い a だけ。ボタン・カードには効かせない） ---- */
:root[data-mo-theme="light"] .mo-editorial-body a:not([class]),
:root[data-mo-theme="light"] .entry-content a:not([class]) { color: var(--mo-link); text-decoration: underline; text-underline-offset: 3px; }
:root[data-mo-theme="light"] .mo-editorial-body a:not([class]):hover,
:root[data-mo-theme="light"] .entry-content a:not([class]):hover { text-decoration: none; }
/* 目次（Cocoon）は本文の色。押せることは番号と並びで分かる */
:root[data-mo-theme="light"] .mo-editorial-body .toc a,
:root[data-mo-theme="light"] .entry-content .toc a { color: var(--mo-text); text-decoration: none; }
:root[data-mo-theme="light"] .mo-editorial-body .toc a:hover,
:root[data-mo-theme="light"] .entry-content .toc a:hover { color: var(--mo-link); text-decoration: underline; }
/* 文字のリンク（金の文字だった所）を青に */
:root[data-mo-theme="light"] .mo-work-meta a,
:root[data-mo-theme="light"] .mo-work-facts dd > a,
:root[data-mo-theme="light"] .mo-work-cast a,
:root[data-mo-theme="light"] .mo-db .mo-hub-cta a,
:root[data-mo-theme="light"] .mo-actress-line a,
:root[data-mo-theme="light"] .mo-section-head > a { color: var(--mo-link); }
:root[data-mo-theme="light"] .mo-section-head > a { font-weight: 500; text-decoration: none; }
:root[data-mo-theme="light"] .mo-section-head > a:hover { text-decoration: underline; }

/* ---- 見出し ---- */
:root .mo-section-head h2::before { background: var(--mo-navy); width: 5px; }
:root[data-mo-theme="light"] .mo-editorial-body h2 {
  margin: 2.2em 0 1em; padding: .6em .85em; color: #ffffff; background: var(--mo-navy);
  border: 0; border-radius: 4px; font: 700 22px/1.5 var(--mo-font-head);
}
:root[data-mo-theme="light"] .mo-editorial-body h2::after { display: none; }
:root[data-mo-theme="light"] .mo-editorial-body h2 a { color: inherit; }
:root[data-mo-theme="light"] .mo-editorial-body h3 {
  margin: 1.8em 0 .8em; padding: .1em 0 .1em .7em; color: var(--mo-text);
  border-left: 5px solid var(--mo-navy); font: 700 19px/1.5 var(--mo-font-head);
}
@media (max-width: 600px) {
  :root[data-mo-theme="light"] body .mo-editorial-body h2 { font-size: 19px; margin-top: 2em; }
  :root[data-mo-theme="light"] body .mo-editorial-body h3 { font-size: 17px; }
}

/* ---- 価格は本文の色の太字。セールは赤 ---- */
:root[data-mo-theme="light"] .mo-card-price strong,
:root[data-mo-theme="light"] .mo-rank-price,
:root[data-mo-theme="light"] .mo-price-yen,
:root[data-mo-theme="light"] .mo-work-buy-price strong,
:root[data-mo-theme="light"] .mo-sticky-buy-price strong { color: var(--mo-text); }
:root[data-mo-theme="light"] .mo-sale-badge { color: #ffffff; background: var(--mo-sale); }
:root[data-mo-theme="light"] .mo-sticky-buy-price span b.mo-sticky-sale { color: var(--mo-sale); }

/* ---- 選択中は濃紺に白い文字。触れたときは薄い濃紺 ---- */
:root[data-mo-theme="light"] .mo-pagination a.is-current,
:root[data-mo-theme="light"] .mo-inline-filter a.is-active,
:root[data-mo-theme="light"] .mo-inline-filter button.is-active,
:root[data-mo-theme="light"] .mo-inline-filter .is-active,
:root[data-mo-theme="light"] .mo-visual-filter-tabs button.is-active,
:root[data-mo-theme="light"] .mo-filter-tags label input:checked + span,
:root[data-mo-theme="light"] .mo-rank-tabs a.is-active,
:root[data-mo-theme="light"] .mo-actress-type-nav a.is-active,
:root[data-mo-theme="light"] .mo-ontology-sections .mo-fetish-pick.is-selected { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); }
:root[data-mo-theme="light"] .mo-chips a:hover,
:root[data-mo-theme="light"] .mo-ontology-sections a:hover,
:root[data-mo-theme="light"] .mo-ontology-sections a.mo-fetish-solo:hover { color: var(--mo-navy); background: var(--mo-navy-soft); border-color: var(--mo-navy-2); }

/* ---- 金は1位の札だけ ---- */
:root[data-mo-theme="light"] .mo-shelf.is-ranked .mo-shelf-item:nth-child(1)::before,
:root[data-mo-theme="light"] .mo-site-rank-grid.is-first-page > .mo-site-rank-item:nth-child(1)::before { color: #17130a; background: var(--mo-rank-gold); border-color: var(--mo-rank-gold); }
:root[data-mo-theme="light"] .mo-rank-card.is-top-1 .mo-rank-badge { color: #17130a; background: var(--mo-rank-gold); border-color: var(--mo-rank-gold); }
:root[data-mo-theme="light"] .mo-shelf.is-ranked.is-actresses .mo-shelf-item:not(.is-more)::before { color: #ffffff; background: var(--mo-navy); border-color: #ffffff; }

/* ---- 作品カード（少なめ）：画像・題名2行・価格 ---- */
:root[data-mo-theme="light"] .mo-product-card { background: #ffffff; border: 0; border-radius: 0; box-shadow: none; }
:root[data-mo-theme="light"] .mo-product-image { border: 1px solid var(--mo-line); border-radius: 4px; background: var(--mo-panel-2); }
:root .mo-product-body { padding: 8px 0 0; }
:root .mo-product-body h2 { margin: 0 0 4px; font: 500 13px/1.5 var(--mo-font-jp); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:root[data-mo-theme="light"] .mo-product-body h2 a { color: var(--mo-text); }
:root[data-mo-theme="light"] .mo-product-card:hover .mo-product-body h2 a { color: var(--mo-link); text-decoration: underline; }
:root[data-mo-theme="light"] .mo-card-price { padding: 0; border-top: 0; }
:root .mo-card-price strong { font-size: 15px; font-weight: 700; }
/* カーソルを当てたときの動き (v0.88.0) は残し、縁と影を濃紺の薄いものに */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :root[data-mo-theme="light"] .mo-product-card:hover { border-color: transparent; box-shadow: none; }
  :root[data-mo-theme="light"] .mo-product-card:hover .mo-product-image { border-color: var(--mo-navy-2); box-shadow: 0 10px 24px rgba(24, 39, 55, .16); }
  :root[data-mo-theme="light"] .mo-post-card:hover,
  :root[data-mo-theme="light"] .mo-rank-card:hover .mo-rank-thumb,
  :root[data-mo-theme="light"] .mo-related-card > a:hover .mo-related-thumb,
  :root[data-mo-theme="light"] .mo-related-post > a:hover { border-color: var(--mo-navy-2); box-shadow: 0 10px 24px rgba(24, 39, 55, .14); }
  :root[data-mo-theme="light"] .mo-post-card:hover h2 a,
  :root[data-mo-theme="light"] .mo-related-post > a:hover h3 { color: var(--mo-link); }
}

/* ---- ヘッダー：PCは1段 ---- */
:root[data-mo-theme="light"] .mo-db-header { color: var(--mo-text); background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--mo-line); box-shadow: none; }
.mo-db-utility { display: none; }
:root .mo-db-header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 300px); gap: 20px; align-items: center; min-height: 64px; }
:root .mo-db-header-icons { display: none; }
:root[data-mo-theme="light"] .mo-db-nav { min-width: 0; border-top: 0; }
:root .mo-db-nav-links { min-height: 64px; }
:root .mo-db-nav-links a,
:root .mo-db-nav-links a:first-child { padding: 0 11px; font-size: 15px; font-weight: 500; }
:root[data-mo-theme="light"] .mo-db-nav-links a:hover { color: var(--mo-navy-2); }
:root[data-mo-theme="light"] .mo-db-nav-links a.is-active { color: var(--mo-navy); font-weight: 700; }
:root .mo-db-nav-links a.is-active::after,
:root .mo-db-nav-links a:first-child.is-active::after { right: 11px; left: 11px; background: var(--mo-navy); }
:root .mo-db-global-search { width: 100%; justify-self: end; }
:root .mo-db-brand strong { color: var(--mo-navy); }
/* 幅が足りないときはメニューを2段目に（横に流れる） */
@media (max-width: 1180px) and (min-width: 861px) {
  :root .mo-db-header-main { grid-template-columns: auto minmax(0, 1fr); gap: 0 20px; min-height: 0; padding-top: 10px; }
  :root[data-mo-theme="light"] .mo-db-nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--mo-line); margin-top: 10px; }
  :root .mo-db-nav-links { min-height: 46px; }
  :root .mo-db-global-search { max-width: 420px; }
}

/* ---- スマホ：検索と☰のアイコン・横から出るメニュー・下のタブ ---- */
.mo-db-drawer, .mo-db-tabbar { display: none; }
@media (max-width: 860px) {
  :root .mo-db-header-main { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 56px; padding-top: 0; padding-bottom: 0; }
  :root[data-mo-theme="light"] .mo-db-nav { display: none; }
  :root .mo-db-global-search { display: none; grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 10px; }
  :root .mo-db-header.is-search-open .mo-db-global-search { display: grid; }
  :root .mo-db-header-icons { display: flex; gap: 2px; }
  .mo-db-header-icons button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--mo-navy); background: none; border: 0; border-radius: 6px; cursor: pointer; }
  .mo-db-header-icons button[aria-expanded="true"] { background: var(--mo-navy-soft); }

  .mo-db-drawer:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(10, 20, 35, .45); }
  .mo-db-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 85vw); padding: 52px 18px 24px; overflow-y: auto; background: #ffffff; }
  .mo-db-drawer-panel nav a { display: block; padding: 13px 4px; color: var(--mo-text); border-bottom: 1px solid var(--mo-line); font-size: 16px; text-decoration: none; }
  .mo-db-drawer-panel nav a.is-active { color: var(--mo-navy); font-weight: 700; }
  .mo-db-drawer-close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; color: var(--mo-muted); background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
  html.mo-drawer-open, html.mo-drawer-open body { overflow: hidden; }

  .mo-db-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; right: 0; bottom: 0; left: 0; z-index: 75; background: #ffffff; border-top: 1px solid var(--mo-line); padding-bottom: env(safe-area-inset-bottom); }
  .mo-db-tabbar a { display: grid; justify-items: center; gap: 1px; padding: 6px 0 5px; color: var(--mo-muted); font-size: 10px; line-height: 1.3; text-decoration: none; }
  .mo-db-tabbar a.is-active { color: var(--mo-navy); font-weight: 700; }
  body.mo-standalone-shell { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  /* 下に付いてくる購入バー・フェチの選択バーはタブの上に */
  :root .mo-sticky-buy, :root .mo-fetish-bar { bottom: calc(56px + env(safe-area-inset-bottom)); }
  body:has(.mo-sticky-buy.is-article) { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
}

/* ---- フッター：濃紺 ---- */
:root[data-mo-theme="light"] .mo-db-footer { color: #cfd9e6; background: var(--mo-navy); border-top: 0; }
:root[data-mo-theme="light"] .mo-db-footer-brand > a,
:root[data-mo-theme="light"] .mo-db-footer nav strong { color: #ffffff; }
:root[data-mo-theme="light"] .mo-db-footer-brand > a small,
:root[data-mo-theme="light"] .mo-db-footer-brand p,
:root[data-mo-theme="light"] .mo-db-footer nav a,
:root[data-mo-theme="light"] .mo-db-footer-bottom { color: #cfd9e6; }
:root[data-mo-theme="light"] .mo-db-footer nav a:hover { color: #ffffff; text-decoration: underline; }
:root[data-mo-theme="light"] .mo-db-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); }
:root[data-mo-theme="light"] .mo-db-footer-brand > a b { color: var(--mo-navy); background: #ffffff; }

/* ============================================================
   手順2：記事とタグ (v0.90.0)
   記事の上を白に（パンくず・題名・カテゴリーと日付・アイキャッチ）、右にサイドバー、
   本文の下に「この記事のタグ」、記事の並びは1本1行のリスト。
   ============================================================ */

/* ---- 2列（記事とタグの一覧だけ） ---- */
.mo-db-main.mo-editorial-single,
.mo-db-main.mo-tag-archive { padding-top: 0; }
.mo-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.mo-article-main { min-width: 0; }
/* 記事の下の欄は .mo-shell で幅を決めていた。列の中では列の幅に合わせる */
:root .mo-article-layout .mo-shell { width: auto; margin-inline: 0; }
:root .mo-article-layout .mo-home-section { padding-left: 0; padding-right: 0; }
:root .mo-article-main .mo-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
@media (max-width: 960px) {
  .mo-article-layout { grid-template-columns: minmax(0, 1fr); }
  .mo-article-side { display: none; }
}
@media (max-width: 640px) {
  :root .mo-article-main .mo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
}

/* ---- 記事の上 ---- */
.mo-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 16px 0 10px; color: var(--mo-muted); font-size: 12px; line-height: 1.5; }
:root[data-mo-theme="light"] .mo-crumbs a { color: var(--mo-link); text-decoration: none; }
:root[data-mo-theme="light"] .mo-crumbs a:hover { text-decoration: underline; }
.mo-crumbs > span:last-child { overflow: hidden; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; }
:root .mo-article-head h1 { margin: 0 0 10px; color: var(--mo-text); font: 700 clamp(22px, 2.5vw, 28px)/1.5 var(--mo-font-head); }
.mo-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 18px; color: var(--mo-muted); font-size: 12px; }
:root[data-mo-theme="light"] .mo-article-meta a.mo-article-cat { padding: 1px 10px; color: #ffffff; background: var(--mo-navy); border-radius: 3px; font-weight: 500; text-decoration: none; }
.mo-article-eyecatch { margin: 0 0 24px; }
.mo-article-eyecatch img { display: block; width: 100%; height: auto; border-radius: 6px; }
:root .mo-article-main .mo-editorial-body { max-width: none; padding-top: 0; }

/* ---- この記事のタグ（本文の中の「投稿のタグ」ブロックは隠して、ここに一本化） ---- */
:root .mo-editorial-body .wp-block-post-terms.taxonomy-post_tag { display: none; }
.mo-post-tags { margin: 2.4em 0 0; padding: 16px 18px; background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 8px; }
:root[data-mo-theme="light"] .mo-editorial-body .mo-post-tags h2 { margin: 0 0 10px; padding: 0; color: var(--mo-text); background: none; border: 0; border-radius: 0; font: 700 15px/1.5 var(--mo-font-head); }
.mo-tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:root[data-mo-theme="light"] a.mo-tag-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; color: var(--mo-text); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 999px; font-size: 13px; line-height: 1.4; text-decoration: none; }
:root[data-mo-theme="light"] a.mo-tag-chip::before { content: "#"; color: #8a94a3; }
.mo-tag-chip small { color: var(--mo-muted); font-size: 11px; }
:root[data-mo-theme="light"] a.mo-tag-chip:hover { color: var(--mo-navy); background: var(--mo-navy-soft); border-color: var(--mo-navy-2); }

/* ---- 記事の並び：1本1行のリスト（記事一覧・同じタグの記事・タグの一覧・トップ） ---- */
:root .mo-post-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
:root[data-mo-theme="light"] .mo-post-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--mo-line); border-radius: 0; overflow: visible; }
:root[data-mo-theme="light"] .mo-post-thumb { aspect-ratio: 16 / 9; border-radius: 6px; background: var(--mo-panel-2); box-sizing: border-box; padding: 0; }
:root .mo-post-card > div { padding: 0; }
:root[data-mo-theme="light"] .mo-post-card p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--mo-muted); font-size: 12px; }
.mo-post-card b.mo-post-cat { padding: 0 8px; color: #ffffff; background: var(--mo-navy); border-radius: 3px; font-size: 11px; font-weight: 500; }
:root .mo-post-card h2 { margin: 6px 0 6px; font: 700 17px/1.55 var(--mo-font-head); }
:root[data-mo-theme="light"] .mo-post-card h2 a { color: var(--mo-text); }
:root[data-mo-theme="light"] .mo-post-card > div > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--mo-muted); font-size: 13px; line-height: 1.7; }
.mo-post-card small.mo-post-shared { display: block; margin-top: 6px; color: var(--mo-muted); font-size: 12px; }
/* カーソルを当てたときの動き (v0.88.0) はリストでは使わない（カードが浮くと隣の行に重なる）。題名の色と下線だけ */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :root[data-mo-theme="light"] .mo-post-card:hover { z-index: auto; margin-bottom: 0; transform: none; border-color: var(--mo-line); box-shadow: none; }
  :root[data-mo-theme="light"] .mo-post-card:hover .mo-post-thumb { padding-bottom: 0; }
  :root[data-mo-theme="light"] .mo-post-card:hover h2 a { color: var(--mo-link); text-decoration: underline; }
}
@media (max-width: 640px) {
  :root[data-mo-theme="light"] .mo-post-card { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
  :root .mo-post-card h2 { font-size: 14px; margin: 4px 0 0; }
  :root[data-mo-theme="light"] .mo-post-card > div > span { display: none; }
}

/* ---- サイドバー ---- */
.mo-article-side { position: sticky; top: 80px; padding-top: 16px; }
body.admin-bar .mo-article-side { top: 112px; }
.mo-side-box { margin-bottom: 26px; }
.mo-side-box h2 { margin: 0 0 10px; padding: 8px 12px; color: #ffffff; background: var(--mo-navy); border-radius: 4px; font: 700 15px/1.4 var(--mo-font-head); }
.mo-side-posts, .mo-side-cats { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mo-side-posts li, .mo-side-cats li { border-bottom: 1px solid var(--mo-line); }
:root[data-mo-theme="light"] .mo-side-posts a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 9px 0; color: var(--mo-text); line-height: 1.5; text-decoration: none; }
.mo-side-posts img, .mo-side-posts i { display: block; width: 72px; height: 48px; object-fit: cover; border-radius: 3px; background: var(--mo-panel-2); }
.mo-side-posts span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:root[data-mo-theme="light"] .mo-side-posts a:hover span { color: var(--mo-link); text-decoration: underline; }
:root[data-mo-theme="light"] .mo-side-cats a { display: flex; justify-content: space-between; padding: 9px 2px; color: var(--mo-text); text-decoration: none; }
:root[data-mo-theme="light"] .mo-side-cats a:hover { color: var(--mo-link); }
.mo-side-cats small { color: var(--mo-muted); }
.mo-article-side .mo-tag-chips { gap: 6px; }

/* ---- タグの一覧 ---- */
.mo-tag-head { margin: 0 0 6px; }
:root .mo-tag-head h1 { margin: 0 0 6px; color: var(--mo-text); font: 700 clamp(22px, 2.5vw, 28px)/1.5 var(--mo-font-head); }
.mo-tag-head span { color: var(--mo-muted); font-size: 14px; }
/* ページ送りの番号 (v1.4.0)。窓は PC 9個・スマホ 3個（inc/mo-child-pagination.php）。その幅で出さない番号を隠す */
.mo-pagination { flex-wrap: wrap; align-items: center; }
.mo-pagination .mo-pg-gap { display: grid; place-items: center; min-width: 24px; min-height: 42px; color: var(--mo-muted); font-size: 14px; }
@media (min-width: 641px) { .mo-pagination .is-pc-off { display: none; } }
@media (max-width: 640px) {
  .mo-pagination { gap: 4px; }
  .mo-pagination .is-sp-off { display: none; }
  .mo-pagination a { min-width: 36px; min-height: 40px; padding: 0 8px; }
  .mo-pagination .mo-pg-step span { display: none; }
  .mo-pagination .mo-pg-gap { min-width: 14px; min-height: 40px; }
}
.mo-tag-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
:root[data-mo-theme="light"] .mo-tag-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; color: var(--mo-text); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 6px; font-size: 14px; text-decoration: none; }
:root[data-mo-theme="light"] .mo-tag-pagination .page-numbers.current { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); }
.mo-empty-note { color: var(--mo-muted); }

/* ============================================================
   手順3：トップ（読みもの型）(v0.91.0)
   冒頭を1行に詰め、記事を主役に。下に人気ランキング（作品8本）・人気の女優（12人）・タグ。
   ============================================================ */
.mo-home-intro { padding: 22px 0 18px; background: var(--mo-navy-soft); border-bottom: 1px solid var(--mo-line); }
.mo-home-intro .mo-shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
:root .mo-home-intro h1 { margin: 0 0 4px; color: var(--mo-navy); font: 700 clamp(20px, 2.4vw, 26px)/1.4 var(--mo-font-head); }
.mo-home-intro p { margin: 0; color: var(--mo-muted); font-size: 13px; line-height: 1.6; }
:root .mo-home-intro .mo-home-ahegao-links { flex: 0 1 460px; margin: 0; }
:root[data-mo-theme="light"] .mo-db .mo-home-intro .mo-home-ahegao-links a { padding: 10px 12px; background: #ffffff; border: 1px solid var(--mo-line); border-left: 5px solid var(--mo-navy); border-radius: 6px; }
:root[data-mo-theme="light"] .mo-db .mo-home-intro .mo-home-ahegao-links a:hover { border-color: var(--mo-navy-2); border-left-color: var(--mo-navy); }
:root .mo-home-reading .mo-home-section { padding-top: 32px; padding-bottom: 8px; }

/* 大きな記事＋小さな4本 */
.mo-home-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
:root[data-mo-theme="light"] a.mo-home-feature-big { display: block; color: var(--mo-text); text-decoration: none; }
.mo-home-feature-thumb { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 8px; background: var(--mo-panel-2); }
.mo-home-feature-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-home-feature-big b { display: block; margin: 12px 0 6px; font: 700 21px/1.5 var(--mo-font-head); }
.mo-home-feature-big small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--mo-muted); font-size: 13px; line-height: 1.7; }
:root[data-mo-theme="light"] a.mo-home-feature-big:hover b { color: var(--mo-link); text-decoration: underline; }
.mo-home-feature-minis { display: grid; gap: 12px; align-content: start; margin: 0; padding: 0; list-style: none; }
:root[data-mo-theme="light"] .mo-home-feature-minis a { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; color: var(--mo-text); text-decoration: none; }
.mo-home-feature-mini-thumb { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 4px; background: var(--mo-panel-2); }
.mo-home-feature-mini-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-home-feature-minis b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 14px/1.5 var(--mo-font-head); }
:root[data-mo-theme="light"] .mo-home-feature-minis a:hover b { color: var(--mo-link); text-decoration: underline; }

/* 人気ランキング：作品8本（4列×2段）。順位の札は画像の外（上） */
:root .mo-home-rank-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 14px; margin: 0; padding: 0; list-style: none; }
.mo-home-rank-item { position: relative; padding-top: 30px; }
.mo-home-rank-item::before { content: attr(data-rank); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; color: var(--mo-text); background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 50%; font: 700 13px/1 var(--mo-font-jp); }
.mo-home-rank-item:nth-child(1)::before { color: #17130a; background: var(--mo-rank-gold); border-color: var(--mo-rank-gold); }
.mo-home-rank-item:nth-child(2)::before { color: #17130a; background: #c9d1da; border-color: #c9d1da; }
.mo-home-rank-item:nth-child(3)::before { color: #17130a; background: #d39b6a; border-color: #d39b6a; }

/* 人気の女優：顔写真の丸を12人 */
.mo-home-actresses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
:root[data-mo-theme="light"] .mo-home-actresses a { display: grid; justify-items: center; gap: 2px; color: var(--mo-text); text-align: center; text-decoration: none; }
.mo-home-actresses img, .mo-home-actresses .mo-image-placeholder { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: cover; object-position: top; border: 1px solid var(--mo-line); border-radius: 50%; background: var(--mo-panel-2); }
.mo-home-actresses b { margin-top: 6px; font-size: 13px; font-weight: 700; }
.mo-home-actresses small { color: var(--mo-muted); font-size: 11px; }
:root[data-mo-theme="light"] .mo-home-actresses a:hover b { color: var(--mo-link); text-decoration: underline; }

@media (max-width: 1060px) {
  :root .mo-home-rank-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mo-home-feature { grid-template-columns: minmax(0, 1fr); }
  .mo-home-actresses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mo-home-intro { padding: 16px 0 14px; }
  :root .mo-home-intro .mo-home-ahegao-links { flex-basis: 100%; }
  .mo-home-feature-big b { font-size: 17px; }
  :root[data-mo-theme="light"] .mo-home-feature-minis a { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  .mo-home-feature-minis b { font-size: 13px; }
  :root .mo-home-rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .mo-home-actresses { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
}

/* ============================================================
   手順4：女優名鑑（1人1行）と女優ページ（案1）(v0.92.0)
   ============================================================ */

/* ---- 1人1行（女優名鑑・ランキング・体型別・メーカー） ---- */
:root .mo-actress-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
:root[data-mo-theme="light"] .mo-actress-card.mo-actress-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--mo-line); border-radius: 0; overflow: visible; }
:root[data-mo-theme="light"] .mo-actress-card.mo-actress-row.has-strip { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.2fr); }
.mo-actress-row .mo-image-placeholder b { font-size: 10px; }
.mo-actress-row .mo-image-placeholder small { font-size: 7px; }
:root[data-mo-theme="light"] .mo-actress-row .mo-actress-image { width: 96px; height: 96px; aspect-ratio: 1; border: 1px solid var(--mo-line); border-radius: 50%; background: var(--mo-panel-2); }
.mo-actress-row .mo-actress-image img { object-fit: cover; object-position: top; }
:root .mo-actress-row > div.mo-actress-row-body { padding: 0; }
:root .mo-actress-row h2 { margin: 0 0 4px; font: 700 17px/1.4 var(--mo-font-head); }
:root[data-mo-theme="light"] .mo-actress-row h2 a { color: var(--mo-text); }
:root[data-mo-theme="light"] .mo-actress-row h2 a:hover { color: var(--mo-link); text-decoration: underline; }
:root .mo-actress-row h2 small { display: inline; margin-left: 8px; font: 400 12px var(--mo-font-jp); }
.mo-actress-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; }
:root[data-mo-theme="light"] .mo-actress-row p.mo-actress-facts { margin: 0 0 6px; color: var(--mo-muted); font-size: 12px; }
.mo-actress-facts b { color: var(--mo-text); font-weight: 700; }
.mo-actress-row .mo-chips { gap: 4px; }
:root[data-mo-theme="light"] .mo-actress-row .mo-chips span { padding: 1px 8px; font-size: 11px; background: var(--mo-panel-2); border-color: var(--mo-line); }
.mo-actress-row .mo-rank-number { position: static; grid-row: 1; width: 26px; height: 26px; font-size: 13px; }
:root[data-mo-theme="light"] .mo-actress-card.mo-actress-row:has(.mo-rank-number) { grid-template-columns: 26px 96px minmax(0, 1fr); }
.mo-actress-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mo-actress-strip a { display: block; aspect-ratio: 147 / 200; overflow: hidden; border: 1px solid var(--mo-line); border-radius: 3px; background: var(--mo-panel-2); }
.mo-actress-strip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 98% center; }
@media (max-width: 640px) {
  :root[data-mo-theme="light"] .mo-actress-card.mo-actress-row, :root[data-mo-theme="light"] .mo-actress-card.mo-actress-row.has-strip { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  :root[data-mo-theme="light"] .mo-actress-row .mo-actress-image { width: 72px; height: 72px; }
  .mo-actress-row .mo-actress-strip { grid-column: 1 / -1; }
  :root[data-mo-theme="light"] .mo-actress-card.mo-actress-row:has(.mo-rank-number) { grid-template-columns: 22px 72px minmax(0, 1fr); }
}

/* ---- 名鑑の絞り込み：カップ数・年代・身長・並び順を文字のボタンで（v0.95.0） ---- */
.mo-actress-facets { margin: 0 0 22px; padding: 14px 18px; background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 8px; }
.mo-actress-facets dl { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px 14px; margin: 0; align-items: center; }
.mo-actress-facets dt { color: var(--mo-navy); font-size: 14px; font-weight: 700; }
.mo-actress-facets dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
:root[data-mo-theme="light"] .mo-actress-facets dd a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; color: var(--mo-text); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 4px; font-size: 14px; text-decoration: none; }
:root[data-mo-theme="light"] .mo-actress-facets dd a:hover { color: var(--mo-navy); border-color: var(--mo-navy-2); }
:root[data-mo-theme="light"] .mo-actress-facets dd a.is-active { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); font-weight: 700; }
.mo-actress-facets-note { margin: 10px 0 0; color: var(--mo-muted); font-size: 12px; }
@media (max-width: 640px) {
  .mo-actress-facets { padding: 12px; }
  .mo-actress-facets dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mo-actress-facets dt { margin-top: 6px; font-size: 13px; }
  /* 1項目1行にして横に送る（折り返すと箱が473pxになり、最初の画面がほぼ埋まった。実測） */
  .mo-actress-facets dd { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 2px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .mo-actress-facets dd::-webkit-scrollbar { display: none; }
  :root[data-mo-theme="light"] .mo-actress-facets dd a { flex: none; min-height: 34px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
}

/* ---- 名鑑の名前の検索 ---- */
.mo-actress-search { display: flex; max-width: 560px; margin: 0 0 12px; }
:root[data-mo-theme="light"] .mo-db .mo-actress-search input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 14px; border: 1px solid #c9ced6; border-right: 0; border-radius: 6px 0 0 6px; font-size: 15px; }
:root[data-mo-theme="light"] .mo-db .mo-actress-search button { height: 44px; padding: 0 20px; color: #ffffff; background: var(--mo-navy); border: 0; border-radius: 0 6px 6px 0; font-weight: 700; }

/* ---- 女優ページの冒頭 ---- */
.mo-actress-head { padding-bottom: 8px; }
.mo-actress-head-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.mo-actress-photo { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--mo-line); border-radius: 8px; background: var(--mo-panel-2); }
.mo-actress-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
:root .mo-actress-head h1 { margin: 0 0 10px; color: var(--mo-text); font: 700 clamp(24px, 3vw, 30px)/1.3 var(--mo-font-head); }
.mo-actress-head h1 small { margin-left: 10px; color: var(--mo-muted); font: 400 14px var(--mo-font-jp); }
.mo-actress-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.mo-actress-stats li { padding: 4px 12px; color: var(--mo-muted); background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 6px; font-size: 13px; }
.mo-actress-stats b { margin-right: 2px; color: var(--mo-text); font-size: 17px; }
.mo-actress-stats small { font-size: 11px; }
.mo-actress-profile { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px 12px; margin: 0 0 12px; font-size: 14px; }
.mo-actress-profile dt { color: var(--mo-muted); }
.mo-actress-profile dd { margin: 0; color: var(--mo-text); }
:root[data-mo-theme="light"] .mo-actress-profile a { color: var(--mo-link); }
.mo-actress-fetishes { margin-top: 22px; }
.mo-actress-fetishes h2 { margin: 0 0 10px; padding-left: 12px; color: var(--mo-text); border-left: 5px solid var(--mo-navy); font: 700 17px/1.4 var(--mo-font-head); }

/* ---- 迷ったらこの3本 (v1.5.0。BOSSの決定 2026-11-04「3本：案A」) ----
   ラベル＋縦長の表紙＋題名（2行）＋価格を横3列。スマホは横スワイプ（カード幅62%）。 */
:root .mo-product-grid.mo-picks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
:root .mo-pick-item { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
:root .mo-pick-item > .mo-pick-label { align-self: flex-start; margin: 0; padding: 2px 10px; color: var(--mo-navy); background: #e8edf4; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.mo-picks-note { margin: 12px 0 0; color: var(--mo-muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) {
  :root .mo-product-grid.mo-picks-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  :root .mo-pick-item { scroll-snap-align: start; }
}

/* ---- 出演作の絞り込みのツールバー (v1.5.0。BOSSの決定 2026-11-04「絞り込み：案A」) ----
   1行目：種類の切り替えボタン・単体のみのスイッチ・並び順のプルダウン（右端）。点線の下にフェチ。
   リンクの色は .mo-db a { color:inherit } (0,1,1) に負けないよう .mo-db から書く。 */
.mo-works-toolbar { margin: 0 0 18px; padding: 14px; background: #f6f7f9; border: 1px solid #e3e6ea; border-radius: 10px; }
.mo-works-toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
:root .mo-works-toolbar .mo-work-filter { display: inline-flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 3px; background: #ffffff; border: 1px solid #e3e6ea; border-radius: 8px; }
.mo-db .mo-works-toolbar .mo-work-filter a { display: inline-flex; align-items: center; padding: 5px 14px; color: #333333; background: transparent; border-radius: 6px; font-size: 13px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.mo-db .mo-works-toolbar .mo-work-filter a:hover { background: #e8edf4; }
.mo-db .mo-works-toolbar .mo-work-filter a.is-active { color: #ffffff; background: var(--mo-navy); font-weight: 700; }
/* 単体のみ＝スイッチの形をしたリンク。押すと ?solo=1 の付け外しをしたページへ */
.mo-db .mo-works-toolbar a.mo-work-solo { display: inline-flex; align-items: center; gap: 8px; color: #333333; font-size: 13px; text-decoration: none; white-space: nowrap; }
.mo-work-solo-track { position: relative; flex: none; width: 38px; height: 22px; background: #c8cdd3; border-radius: 99px; transition: background .15s; }
.mo-work-solo-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #ffffff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.mo-work-solo.is-on .mo-work-solo-track { background: var(--mo-navy); }
.mo-work-solo.is-on .mo-work-solo-track::after { left: 19px; }
/* 並び順。プルダウンは catalog.js が出す。JSが無いときは隣のリンクの列 */
.mo-db .mo-works-toolbar select.mo-work-order { flex: none; width: auto; height: auto; margin: 0 0 0 auto; padding: 6px 30px 6px 12px; color: #333333; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid #e3e6ea; border-radius: 8px; font: inherit; font-size: 13px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mo-db .mo-works-toolbar select.mo-work-order[hidden], .mo-works-toolbar .mo-work-sort[hidden] { display: none; }
.mo-works-toolbar .mo-work-sort { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 0 auto; font-size: 13px; }
.mo-db .mo-works-toolbar .mo-work-sort a { color: var(--mo-link); }
.mo-db .mo-works-toolbar .mo-work-sort a.is-active { color: var(--mo-text); font-weight: 700; text-decoration: none; }
/* フェチ。上位12個より後ろ（.is-extra）は「もっと見る」で開く。JSが無いときは全部出す */
:root .mo-works-toolbar .mo-actress-fetish-filter { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed #d5d9de; }
:root .mo-works-toolbar .mo-actress-fetish-filter > p { margin: 0 0 8px; color: #777777; font-size: 12px; font-weight: 700; }
.mo-works-toolbar .mo-fetish-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.mo-db .mo-works-toolbar .mo-fetish-filter a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; color: #333333; background: #ffffff; border: 1px solid #e3e6ea; border-radius: 99px; font-size: 13px; text-decoration: none; }
.mo-db .mo-works-toolbar .mo-fetish-filter a:hover { border-color: var(--mo-navy); }
.mo-db .mo-works-toolbar .mo-fetish-filter a.is-active { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); }
.mo-works-toolbar .mo-fetish-filter.is-collapsible:not(.is-open) a.is-extra { display: none; }
.mo-db .mo-works-toolbar button.mo-fetish-more { display: inline-flex; align-items: center; min-height: 0; margin: 0; padding: 4px 8px; color: var(--mo-navy); background: none; border: 0; border-radius: 0; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mo-db .mo-works-toolbar button.mo-fetish-more[hidden] { display: none; }
@media (max-width: 640px) {
  .mo-works-toolbar { padding: 12px; }
  .mo-db .mo-works-toolbar .mo-work-filter a { padding: 5px 11px; }
}
@media (max-width: 640px) {
  .mo-actress-head-grid { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .mo-actress-head h1 small { display: block; margin: 4px 0 0; }
  .mo-actress-profile { grid-column: 1 / -1; grid-template-columns: 72px minmax(0, 1fr); font-size: 13px; }
}

/* ============================================================
   手順5：作品ページ（案2）(v0.93.0)
   左の列に横長ジャケット → 題名 → 情報 → 下の欄。右の列に価格と購入の箱（画面に付いてくる）。
   961px 以上だけ2列。それより狭いときは今までの並び（題名の下に購入の箱）。
   ============================================================ */
:root[data-mo-theme="light"] .mo-work-hero { padding: 0 0 8px; background: transparent; border: 0; }
:root .mo-work-layout .mo-shell { width: auto; margin-inline: 0; }
.mo-work-aside { display: none; }
@media (min-width: 961px) {
  .mo-work-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
  .mo-work-main { min-width: 0; }
  .mo-work-aside { display: block; position: sticky; top: 80px; padding-top: 16px; }
  body.admin-bar .mo-work-aside { top: 112px; }
  /* 上の部分は1列に（画像 → 題名 → 情報）。購入の箱は右の列にあるので、ここでは出さない */
  :root .mo-work-top, :root .mo-work-top.has-poster { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  :root .mo-work-main .mo-work-col-main .mo-work-buy { display: none; }
  :root .mo-work-main .mo-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* v0.97.0: 見本どおり右の列は 320px・間 32px */
  :root .mo-work-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

/* ---- 作品ページを見本に合わせる (v0.97.0。BOSSが選んだ見本 2026-10-30) ---- */
/* 上の横長ジャケットは列の幅いっぱい・高さは画像なり。スマホでも同じ（以前は 961px 以上だけ） */
:root .mo-work-top .mo-detail-poster.is-jacket { max-width: none; aspect-ratio: auto; margin: 0; background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 6px; box-shadow: none; }
:root .mo-work-top .mo-detail-poster.is-jacket img { height: auto; }
/* 題名の下の1行（販売元・配信日・評価） */
.mo-work-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 0; color: var(--mo-muted); font-size: 12px; }
.mo-work-src { padding: 1px 10px; color: #ffffff; background: var(--mo-navy); border-radius: 3px; font-weight: 500; }
.mo-work-src.is-mgs { background: #b03a2e; }
/* スマホは列の入れ物を外して order で並べる（catalog.css：画像1・題名2・箱3・フェチ4）。この1行も題名と同じ番号にしないと先頭（0）に出る */
@media (max-width: 960px) {
  .mo-work-top .mo-work-line, .mo-work-top .mo-pid-line { order: 2; }
  .mo-work-top.is-pilot .mo-work-line, .mo-work-top.is-pilot .mo-pid-line { order: 1; }
}

/* ジャケットの上の「公式販売ページで見る」は乗せたときだけ（見本は画像だけ）。リンクは画像全体に重ねたまま */
:root .mo-detail-poster.is-jacket .mo-affiliate-overlay { opacity: 0; transition: opacity .15s ease; }
:root .mo-detail-poster.is-jacket:hover .mo-affiliate-overlay, :root .mo-detail-poster.is-jacket:focus-within .mo-affiliate-overlay { opacity: 1; }

/* 価格の箱（右の列とスマホの題名の下で同じ中身）。
   light-theme.css の :root[data-mo-theme="light"] .mo-work-buy (0,3,0) の灰色の細い枠と、.mo-work-buy の中央寄せに勝つ (0,4,0) */
/* display はここに書かない（961px 以上で左の列の箱を隠す display:none (0,4,0) を、後に読まれるこちらが打ち消してしまう）。
   スマホの箱は catalog.css の縦並び（flex-direction:column; align-items:stretch）のまま、右の列だけ block */
:root .mo-work-aside-inner .mo-work-pbox { display: block; }
:root[data-mo-theme="light"] .mo-work-buy.mo-work-pbox { padding: 14px 16px; color: var(--mo-text); background: #ffffff; border: 2px solid var(--mo-navy); border-radius: 8px; text-align: left; }
/* 2つ目のボタンは白地に濃紺（見本）。buy-buttons.css の :root .mo-db a.mo-button.mo-button-sub[href] (0,5,1) に勝つ */
:root .mo-db .mo-work-pbox a.mo-button.mo-button-sub[href] { color: var(--mo-navy); background: #ffffff; border: 1px solid var(--mo-navy); box-shadow: none; }
:root .mo-db .mo-work-pbox a.mo-button.mo-button-sub[href]:hover { background: var(--mo-navy-soft); }
.mo-pbox-head { margin: 0 0 8px; color: var(--mo-text); font-size: 13px; }
.mo-pbox-head b { color: var(--mo-navy); }
.mo-work-pbox .mo-buy-timing { margin: 0 0 8px; }
:root .mo-pbox-table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-size: 13px; }
/* Cocoon の tr:nth-child の縞を敷かない（見本は罫線だけ） */
:root .mo-pbox-table tr, :root .mo-pbox-table tr:nth-child(odd), :root .mo-pbox-table tr:nth-child(even) { background: none; }
:root .mo-pbox-table th, :root .mo-pbox-table td { padding: 7px 4px; color: var(--mo-text); background: none; border: 0; border-bottom: 1px solid var(--mo-line); text-align: left; vertical-align: middle; }
:root .mo-pbox-table th { font-weight: 700; white-space: nowrap; }
:root .mo-pbox-table td.mo-pbox-yen { font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
:root .mo-pbox-table td.mo-pbox-yen.is-sale { color: var(--mo-sale); }
.mo-pbox-table del { color: var(--mo-muted); font-size: 11px; font-weight: 400; }
:root .mo-work-pbox .mo-work-buy-actions { display: flex; flex-direction: column; gap: 8px; }
:root .mo-work-pbox .mo-work-buy-actions .mo-button { width: 100%; min-width: 0; margin: 0; }
.mo-pbox-note { margin: 8px 0 0; color: var(--mo-muted); font-size: 11px; line-height: 1.6; }
.mo-pbox-hist { margin-top: 14px; padding: 10px 14px; color: var(--mo-text); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 8px; font-size: 13px; }
.mo-pbox-hist small { display: block; color: var(--mo-muted); font-size: 12px; }
.mo-pbox-hist-chart { margin: 6px 0; }
.mo-pbox-hist-chart svg { display: block; width: 100%; height: 70px; }
:root[data-mo-theme="light"] .mo-work-aside-link { display: block; margin-top: 10px; color: var(--mo-link); font-size: 13px; text-align: center; }

/* サンプル画像は5列（見本）。960px 以下は3列、600px 以下は2列 */
:root .mo-work-main .mo-sample-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
:root .mo-work-main .mo-sample-thumb { background: var(--mo-panel-2); border: 0; border-radius: 4px; }
@media (max-width: 960px) { :root .mo-work-main .mo-sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { :root .mo-work-main .mo-sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* サンプル動画は 640px まで（見本） */
:root .mo-movie-section .mo-detail-movie { max-width: 640px; background: #000000; border: 0; border-radius: 6px; box-shadow: none; }
/* 作品の情報：白い表 */
:root .mo-work-about .mo-work-facts { margin: 0 0 14px; border-top: 1px solid var(--mo-line); }
:root .mo-work-about .mo-work-facts > div { grid-template-columns: 96px minmax(0, 1fr); border-bottom: 1px solid var(--mo-line); }
:root .mo-work-about .mo-work-facts dt { color: var(--mo-muted); font-size: 13px; }
:root .mo-work-about .mo-work-facts dd { color: var(--mo-text); font-size: 13px; }
:root .mo-work-about .mo-affiliate-note { margin: 10px 0; }
/* 情報の表（以前は暗い地の右の列）を白に合わせる */
:root[data-mo-theme="light"] .mo-work-head h1 { color: var(--mo-text); font: 700 clamp(20px, 2.2vw, 24px)/1.55 var(--mo-font-head); }

/* ============================================================
   手順6：フェチ一覧（文字のチップ・複数選択）(v0.94.0)
   軸の見出し → 小見出しごとの箱（3列）→ チップ（作品数つき）。下の帯で「すべて含む／どれかを含む」。
   ============================================================ */
.mo-db-main.mo-fetish-index { padding-top: 0; }
.mo-fetish-head { margin-bottom: 4px; }
.mo-fetish-axis { margin-top: 28px; }
:root .mo-fetish-axis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; }
:root .mo-ontology-sections section.mo-fetish-box { display: block; padding: 12px 14px; background: #ffffff; border: 1px solid var(--mo-line); border-radius: 8px; }
:root[data-mo-theme="light"] .mo-ontology-sections .mo-fetish-box h3 { margin: 0 0 8px; padding-bottom: 6px; color: var(--mo-text); border-bottom: 1px solid var(--mo-line); font: 700 14px/1.4 var(--mo-font-head); }
.mo-fetish-box .mo-fetish-picks { display: flex; flex-wrap: wrap; gap: 6px; }
:root[data-mo-theme="light"] .mo-ontology-sections .mo-fetish-pick { min-height: 0; padding: 4px 4px 4px 12px; color: var(--mo-text); background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 999px; font-size: 13px; cursor: pointer; }
:root[data-mo-theme="light"] .mo-ontology-sections .mo-fetish-pick:hover { color: var(--mo-navy); background: var(--mo-navy-soft); border-color: var(--mo-navy-2); }
.mo-fetish-pick span small { margin-left: 5px; color: var(--mo-muted); font-size: 11px; }
.mo-fetish-pick.is-selected span small { color: #cfd9e6; }
:root[data-mo-theme="light"] .mo-ontology-sections a.mo-fetish-solo { width: 1.6em; height: 1.6em; color: var(--mo-muted); background: transparent; }
:root[data-mo-theme="light"] .mo-ontology-sections .mo-fetish-pick.is-selected a.mo-fetish-solo { color: #ffffff; background: rgba(255, 255, 255, .18); }
:root[data-mo-theme="light"] .mo-ontology-sections a.mo-fetish-solo:hover { color: #ffffff; background: var(--mo-navy-2); }

/* 押すボタン（<button> の .mo-button と、購入ではない a.mo-button）は濃紺。light-theme.css が金（#f4c24f）を直書きしていた。
   購入ボタン（a.mo-button-primary / -sub。buy-buttons.css）はオレンジのまま */
:root[data-mo-theme="light"] .mo-db button.mo-button,
:root[data-mo-theme="light"] .mo-db a.mo-button:not(.mo-button-primary):not(.mo-button-sub) { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); }
:root[data-mo-theme="light"] .mo-db button.mo-button:hover { background: var(--mo-navy-2); }

/* 下の帯 */
:root[data-mo-theme="light"] .mo-fetish-bar { padding: 10px 0; background: rgba(255, 255, 255, .98); border-top: 2px solid var(--mo-navy); box-shadow: 0 -6px 18px rgba(20, 40, 70, .12); }
.mo-fetish-bar-info { display: grid; gap: 2px; min-width: 0; }
.mo-fetish-bar-names { overflow: hidden; color: var(--mo-navy); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
:root[data-mo-theme="light"] .mo-fetish-bar-note { color: var(--mo-muted); font-size: 12px; }
.mo-fmode { display: inline-flex; margin: 0; padding: 0; border: 1px solid var(--mo-line); border-radius: 6px; overflow: hidden; }
.mo-fmode[hidden] { display: none; }
.mo-fmode label { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; color: var(--mo-text); background: #ffffff; font-size: 13px; cursor: pointer; }
.mo-fmode label:has(input:checked) { color: #ffffff; background: var(--mo-navy); }
.mo-fmode input { accent-color: var(--mo-navy); }
.mo-filter-panel .mo-fmode { margin: 8px 0 10px; }
.mo-filter-panel .mo-fmode legend { float: left; margin: 0 8px 0 0; padding: 6px 0; color: var(--mo-muted); font-size: 13px; }
.mo-fmode-note { align-self: center; padding: 2px 8px; color: #ffffff; background: var(--mo-navy); border-radius: 3px; font-size: 12px; }
@media (max-width: 960px) {
  :root .mo-fetish-axis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root .mo-fetish-axis-grid { grid-template-columns: minmax(0, 1fr); }
  /* 帯は2段に詰める（選んだもの／組み合わせ方とボタン）。縦に積むと画面の4分の1を覆った（217px。実測） */
  :root[data-mo-theme="light"] .mo-fetish-bar { padding: 8px 0; }
  :root .mo-fetish-bar .mo-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 8px; text-align: left; }
  :root .mo-fetish-bar-info { display: flex; flex-basis: 100%; align-items: baseline; gap: 8px; }
  :root .mo-fetish-bar-note { margin: 0; white-space: nowrap; }
  .mo-fmode { flex: none; min-inline-size: 0; }
  .mo-fmode label { padding: 0 8px; min-height: 38px; font-size: 12px; line-height: 1.2; white-space: nowrap; }
  .mo-fmode input { margin: 0; }
  :root .mo-fetish-bar-actions { flex: 1 1 0; min-width: 0; width: auto; gap: 6px; }
  /* 選び直すはチップをもう一度押せばよいので、スマホでは出さない（1段に収める） */
  :root .mo-db .mo-fetish-bar-actions .mo-fetish-clear { display: none; }
  :root .mo-db .mo-fetish-bar-actions button.mo-button { flex: 1 1 auto; min-width: 0; min-height: 38px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
}

/* ============================================================
   ランキングの絞り込み（案1）(v0.96.0)
   種類は1段のタブ、フェチは人気の12個＋「すべてのフェチから選ぶ」を開くと分類ごと。
   ============================================================ */
.mo-rank-kinds { display: flex; margin: 8px 0 0; overflow-x: auto; border-bottom: 2px solid var(--mo-navy); scrollbar-width: none; }
.mo-rank-kinds::-webkit-scrollbar { display: none; }
:root[data-mo-theme="light"] .mo-rank-kinds a { flex: none; padding: 10px 16px; color: var(--mo-muted); font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
:root[data-mo-theme="light"] .mo-rank-kinds a:hover { color: var(--mo-navy); }
:root[data-mo-theme="light"] .mo-rank-kinds a.is-active { color: #ffffff; background: var(--mo-navy); border-radius: 6px 6px 0 0; }
.mo-rank-kind-note { margin: 10px 0 0; color: var(--mo-muted); font-size: 13px; }
.mo-rank-fetish { margin: 14px 0 6px; }
.mo-rank-fetish-head { margin: 0 0 8px; color: var(--mo-navy); font-size: 14px; font-weight: 700; }
.mo-rank-fetish-head small { margin-left: 10px; color: var(--mo-muted); font-size: 12px; font-weight: 400; }
.mo-rank-chips { display: flex; flex-wrap: wrap; gap: 6px; }
:root[data-mo-theme="light"] a.mo-rank-chip { padding: 5px 12px; color: var(--mo-text); background: var(--mo-panel-2); border: 1px solid var(--mo-line); border-radius: 999px; font-size: 13px; white-space: nowrap; text-decoration: none; }
:root[data-mo-theme="light"] a.mo-rank-chip:hover { color: var(--mo-navy); border-color: var(--mo-navy-2); }
:root[data-mo-theme="light"] a.mo-rank-chip.is-active { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); font-weight: 700; }
.mo-rank-more { margin-top: 10px; border: 1px solid var(--mo-line); border-radius: 8px; }
.mo-rank-more > summary { padding: 10px 14px; color: var(--mo-navy); font-size: 14px; font-weight: 700; cursor: pointer; }
.mo-rank-more-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding: 4px 14px 14px; }
.mo-rank-group h3 { margin: 6px 0; color: var(--mo-muted); font-size: 13px; }
.mo-rank-current { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 12px; color: var(--mo-navy); background: var(--mo-navy-soft); border-radius: 6px; font-size: 13px; }
:root[data-mo-theme="light"] .mo-rank-current a { color: var(--mo-link); text-decoration: underline; }
@media (max-width: 640px) {
  .mo-rank-fetish > .mo-rank-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .mo-rank-fetish > .mo-rank-chips::-webkit-scrollbar { display: none; }
  .mo-rank-fetish-head small { display: block; margin: 2px 0 0; }
  .mo-rank-more-body { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   作品・フェチを探す（案２）(v0.99.0)
   PC は左に絞り込みの列（付いてくる）、右に結果。960px 以下は「絞り込み」ボタンで下から出るシート。
   押してすぐ反映する欄の見出しに「押すとすぐ絞り込み」、語の欄に「打って検索」の札。
   ボタンと a は .mo-db button（金の地）・.mo-db a に勝つよう :root[data-mo-theme="light"] .mo-works で書く。
   ============================================================ */
.mo-works-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.mo-works-side { position: sticky; top: 76px; display: flex; flex-direction: column; max-height: calc(100vh - 92px); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 10px; }
.mo-works-side-scroll { overflow-y: auto; padding: 6px 14px 14px; overscroll-behavior: contain; }
.mo-works-side-head, .mo-works-side-foot { display: none; }
.mo-works-backdrop { display: none; }
:root[data-mo-theme="light"] .mo-works .mo-works-sheet-open { display: none; }
.mo-works-side-total { margin: 8px 0 4px; padding: 8px 10px; color: var(--mo-muted); background: var(--mo-navy-soft); border-radius: 6px; font-size: 13px; transition: background .3s; }
.mo-works-side-total b { margin-right: 2px; color: var(--mo-navy); font-size: 18px; }
.mo-works-layout.is-updated .mo-works-side-total { background: #fff3c4; }
.mo-works-box { padding: 14px 0; border-top: 1px solid var(--mo-line); }
.mo-works-side-total + .mo-works-box { border-top: 0; }
.mo-works-box h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; padding: 0; color: var(--mo-text); background: none; border: 0; font-size: 15px; font-weight: 700; }
.mo-works-box h2::before { display: none; }
.mo-works-how { margin-left: auto; padding: 1px 7px; color: var(--mo-navy-2); background: var(--mo-navy-soft); border-radius: 4px; font-size: 11px; font-weight: 400; }
.mo-works-how::before { content: "\2713\00a0"; }
.mo-works-how.is-enter { color: var(--mo-muted); background: var(--mo-panel-2); }
.mo-works-how.is-enter::before { content: "\21B5\00a0"; }
.mo-works-box h2 b, .mo-works-axis summary b, .mo-works-sheet-open b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; color: #ffffff; background: var(--mo-sale); border-radius: 999px; font-size: 12px; line-height: 1; }

/* 語の欄：打って「検索」 */
.mo-works-search { display: flex; margin: 0 0 8px; }
.mo-works-search input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; color: var(--mo-text); background: #ffffff; border: 1px solid #b9c3cf; border-right: 0; border-radius: 6px 0 0 6px; font-size: 14px; }
:root[data-mo-theme="light"] .mo-works .mo-works-search button { min-height: 38px; height: 38px; padding: 0 12px; color: #ffffff; background: var(--mo-navy); border: 0; border-radius: 0 6px 6px 0; font-size: 13px; }

/* 人気のフェチ：札。押すと濃紺に✓ */
.mo-works-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-works-chip { display: inline-flex; align-items: center; gap: 3px; padding: 6px 11px; color: var(--mo-text); background: #ffffff; border: 1px solid #b9c3cf; border-radius: 999px; font-size: 13px; line-height: 1.3; cursor: pointer; user-select: none; }
.mo-works-chip:hover { color: var(--mo-navy); background: var(--mo-navy-soft); border-color: var(--mo-navy-2); }
.mo-works-chip.is-on { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); font-weight: 700; }
.mo-works-chip.is-on::before { content: "\2713"; }
.mo-works-aside-link { margin: 10px 0 0; font-size: 13px; }
:root[data-mo-theme="light"] .mo-works .mo-works-aside-link a { color: var(--mo-link); text-decoration: underline; }

/* すべてのフェチ：軸ごとに開閉、チェックと作品数 */
/* Cocoon の input[type="search"]（幅70%）に勝つよう input を付ける */
.mo-works-box input.mo-works-ffilter { display: block; width: 100%; max-width: none; height: 34px; margin: 0 0 6px; padding: 0 10px; color: var(--mo-text); background: #ffffff; border: 1px solid #c3ccd7; border-radius: 6px; font-size: 13px; box-sizing: border-box; }
.mo-works-box input.mo-works-ffilter[hidden], .mo-works-axis[hidden], .mo-works-axis li[hidden] { display: none; }
.mo-works-axis { border-top: 1px dashed var(--mo-line); }
.mo-works-axis > summary { display: flex; align-items: center; gap: 6px; padding: 9px 2px; color: var(--mo-text); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.mo-works-axis > summary::-webkit-details-marker { display: none; }
.mo-works-axis > summary::before { content: "\FF0B"; width: 1em; color: var(--mo-navy-2); }
.mo-works-axis[open] > summary::before { content: "\FF0D"; }
.mo-works-axis > summary:hover { color: var(--mo-navy); }
.mo-works-sec { margin: 4px 0 2px; color: var(--mo-muted); font-size: 12px; }
.mo-works-axis ul { margin: 0 0 6px; padding: 0; list-style: none; }
.mo-works-axis li { margin: 0; padding: 0; }
.mo-works-check { display: flex; align-items: center; gap: 7px; padding: 5px 4px; color: var(--mo-text); border-radius: 4px; font-size: 14px; cursor: pointer; }
.mo-works-check:hover { background: var(--mo-navy-soft); }
.mo-works-check input, .mo-works-radio input { width: 16px; height: 16px; margin: 0; accent-color: var(--mo-navy); }
.mo-works-check small { margin-left: auto; color: var(--mo-muted); font-size: 12px; }
.mo-works-check.is-zero { color: #9aa3ae; }
.mo-works-check:has(input:checked) { color: var(--mo-navy); font-weight: 700; }
.mo-works-radio { display: flex; align-items: center; gap: 7px; padding: 4px; color: var(--mo-text); border-radius: 4px; font-size: 14px; cursor: pointer; }
.mo-works-radio:hover { background: var(--mo-navy-soft); }
.mo-works-radio:has(input:checked) { color: var(--mo-navy); font-weight: 700; }
:root[data-mo-theme="light"] .mo-works .mo-works-submit { width: 100%; margin-top: 10px; color: #ffffff; background: var(--mo-navy); border: 0; }

/* 結果の側 */
.mo-works-body { min-width: 0; transition: opacity .15s; }
.mo-works-layout.is-loading .mo-works-body { opacity: .45; }
.mo-works .mo-filter-current { align-items: center; margin: 0 0 12px; padding: 10px 12px; background: var(--mo-navy-soft); border-radius: 8px; }
.mo-works-current-cap { color: var(--mo-muted); font-size: 12px; font-weight: 700; }
:root[data-mo-theme="light"] .mo-works .mo-filter-current a { padding: 4px 11px; color: #ffffff; background: var(--mo-navy); border: 0; border-radius: 999px; font-size: 13px; text-decoration: none; }
:root[data-mo-theme="light"] .mo-works .mo-filter-current a.is-clear { margin-left: auto; color: var(--mo-link); background: none; text-decoration: underline; }
.mo-works .mo-filter-current .mo-fmode { background: #ffffff; }
.mo-works-resbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; }
.mo-works-resbar .mo-result-summary { margin: 0; }
.mo-works-sort { display: inline-flex; overflow: hidden; background: #ffffff; border: 1px solid #b9c3cf; border-radius: 8px; }
:root[data-mo-theme="light"] .mo-works .mo-works-sort a { padding: 7px 13px; color: var(--mo-muted); border-left: 1px solid var(--mo-line); font-size: 13px; white-space: nowrap; text-decoration: none; }
:root[data-mo-theme="light"] .mo-works .mo-works-sort a:first-child { border-left: 0; }
:root[data-mo-theme="light"] .mo-works .mo-works-sort a:hover { color: var(--mo-navy); background: var(--mo-navy-soft); }
:root[data-mo-theme="light"] .mo-works .mo-works-sort a.is-on { color: #ffffff; background: var(--mo-navy); font-weight: 700; }
.mo-works-body .mo-product-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }

/* 960px 以下：左の列は「絞り込み」ボタンで下から出るシート（JS があるときだけ。無ければ縦に並ぶ） */
@media (max-width: 960px) {
  .mo-works-layout { display: block; }
  .mo-works-side { position: static; max-height: none; margin: 0 0 16px; }
  :root[data-mo-theme="light"] .mo-works .is-js .mo-works-sheet-open { position: static; display: flex; gap: 6px; width: 100%; min-height: 46px; margin: 0 0 12px; color: #ffffff; background: var(--mo-navy); border: 0; border-radius: 10px; font-size: 15px; box-shadow: 0 6px 16px rgba(20, 35, 55, .18); }
  .is-js .mo-works-side { position: fixed; z-index: 1000; top: auto; right: 0; bottom: 0; left: 0; max-height: 86vh; margin: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); transform: translateY(105%); visibility: hidden; transition: transform .22s, visibility .22s; }
  body.mo-works-sheet-on .is-js .mo-works-side { transform: none; visibility: visible; }
  body.mo-works-sheet-on { overflow: hidden; }
  /* 暗い幕はシートと同じ親に置く（v1.12.0）。body::after だと iPhone の Safari で幕がシートの上に重なり、中身が見えなかった */
  .mo-works-backdrop { display: none; }
  body.mo-works-sheet-on .is-js .mo-works-backdrop { display: block; position: fixed; inset: 0; z-index: 999; background: rgba(10, 20, 35, .45); }
  body.mo-works-sheet-on .is-js .mo-works-side { z-index: 1001; max-height: 86vh; max-height: 86dvh; }
  .is-js .mo-works-side-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--mo-line); font-size: 16px; }
  :root[data-mo-theme="light"] .mo-works .mo-works-sheet-close { min-height: 40px; padding: 0 8px; color: var(--mo-text); background: none; border: 0; font-size: 26px; }
  .is-js .mo-works-side-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mo-line); }
  :root[data-mo-theme="light"] .mo-works .mo-works-side-foot a.mo-works-clear { color: var(--mo-link); font-size: 14px; text-decoration: underline; }
  :root[data-mo-theme="light"] .mo-works .mo-works-go { flex: 1; min-height: 48px; color: #ffffff; background: var(--mo-navy); border: 0; border-radius: 10px; font-size: 16px; }
  .is-js .mo-works-side-total { display: none; }
  .mo-works-resbar { flex-direction: column; align-items: stretch; }
  .mo-works-sort { display: flex; overflow-x: auto; }
  :root[data-mo-theme="light"] .mo-works .mo-works-sort a { flex: 1 0 auto; text-align: center; }
  .mo-works-body .mo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-mo-theme="light"] .mo-works .mo-filter-current a.is-clear { margin-left: 0; }
}

/* =====================================================================
 * 作品ページの独自情報 (v1.6.0 ／ catalog-core v0.67.0。見本 .claude/preview-work-ideas.html の ①〜⑥)
 * ボタンは .mo-db button (0,1,1)＝金の地・46px に負けないよう .mo-db .mo-work-page … button.… で書く（CLAUDE.md の地雷）。
 * 文字を置く指定には必ず color を書く。
 * ===================================================================== */
/* ① 品番の表記 */
.mo-db .mo-work-page .mo-pid-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 8px 0 0; color: var(--mo-text); font-size: 13px; line-height: 1.5; }
.mo-db .mo-work-page .mo-pid-line > span { color: var(--mo-muted); font-size: 12px; }
.mo-db .mo-work-page .mo-pid-line > b { color: var(--mo-text); font-size: 18px; letter-spacing: .04em; }
.mo-db .mo-work-page .mo-pid-line > small { color: var(--mo-muted); font-size: 12px; }
.mo-db .mo-work-page .mo-pid-line button.mo-pid-copy { display: inline-block; min-height: 0; padding: 2px 10px; color: var(--mo-text); background: var(--mo-bg); border: 1px solid var(--mo-line); border-radius: 6px; font-size: 12px; font-weight: 400; line-height: 1.6; }

/* ④ 値段の伝え方 */
.mo-db .mo-work-page .mo-value { display: grid; gap: 6px; margin: 10px 0 0; }
.mo-db .mo-work-page .mo-value-row { margin: 0; padding: 8px 10px; color: var(--mo-text); background: var(--mo-panel); border-radius: 8px; font-size: 12.5px; line-height: 1.65; }
.mo-db .mo-work-page .mo-value-row > span { display: block; color: var(--mo-muted); font-size: 11px; font-weight: 700; }

/* ⑤ 値下がりの印 */
.mo-db .mo-work-page .mo-watch { margin: 10px 0 0; padding: 10px 12px; color: var(--mo-text); background: var(--mo-bg); border: 1px solid var(--mo-line); border-radius: 10px; }
.mo-db .mo-work-page .mo-watch button.mo-watch-btn { display: block; width: 100%; min-height: 40px; padding: 0 12px; color: var(--mo-navy); background: #ffffff; border: 1px solid var(--mo-navy); border-radius: 8px; font-size: 13px; font-weight: 700; }
.mo-db .mo-work-page .mo-watch button.mo-watch-btn.is-on { color: #ffffff; background: var(--mo-navy); }
.mo-db .mo-work-page .mo-watch-note { margin: 6px 0 0; color: var(--mo-muted); font-size: 11.5px; line-height: 1.6; }
.mo-db .mo-work-page .mo-watch-drop { margin: 8px 0 0; padding: 8px 10px; color: #7a1f19; background: #fff1f0; border-radius: 8px; font-size: 12.5px; font-weight: 700; line-height: 1.6; }
.mo-db .mo-work-page .mo-watch-drop[hidden] { display: none; }

/* ② データで見るこの作品 */
.mo-db .mo-work-page .mo-insight-lead { margin: 0 0 14px; color: var(--mo-text); font-size: 14.5px; line-height: 1.95; }
.mo-db .mo-work-page .mo-insight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mo-db .mo-work-page .mo-insight-grid > div { padding: 12px; color: var(--mo-text); background: var(--mo-panel); border: 1px solid var(--mo-line); border-radius: 10px; }
.mo-db .mo-work-page .mo-insight-grid span { display: block; color: var(--mo-muted); font-size: 11.5px; }
.mo-db .mo-work-page .mo-insight-grid b { display: block; margin: 2px 0; color: var(--mo-text); font-size: 20px; }
.mo-db .mo-work-page .mo-insight-grid small { color: var(--mo-muted); font-size: 11.5px; line-height: 1.5; }

/* ⑥ 前後の品番 */
.mo-db .mo-work-page .mo-pid-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mo-db .mo-work-page .mo-pid-nav a { display: block; padding: 12px 14px; color: var(--mo-text); background: var(--mo-bg); border: 1px solid var(--mo-line); border-radius: 10px; text-decoration: none; }
.mo-db .mo-work-page .mo-pid-nav a.is-next { text-align: right; }
.mo-db .mo-work-page .mo-pid-nav a:hover { border-color: var(--mo-navy); }
.mo-db .mo-work-page .mo-pid-nav small { display: block; color: var(--mo-muted); font-size: 11.5px; }
.mo-db .mo-work-page .mo-pid-nav b { display: block; color: var(--mo-text); font-size: 16px; }
.mo-db .mo-work-page .mo-pid-nav a > span { display: block; margin-top: 2px; color: var(--mo-muted); font-size: 12px; line-height: 1.5; }

/* ③ よくある質問 */
.mo-db .mo-work-page .mo-faq details { margin: 0 0 8px; background: var(--mo-bg); border: 1px solid var(--mo-line); border-radius: 10px; }
.mo-db .mo-work-page .mo-faq summary { padding: 12px 14px; color: var(--mo-text); font-size: 14px; font-weight: 700; cursor: pointer; }
.mo-db .mo-work-page .mo-faq details > div { padding: 0 14px 12px; color: var(--mo-text); font-size: 13.5px; line-height: 1.85; }

@media (max-width: 760px) {
  .mo-db .mo-work-page .mo-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-db .mo-work-page .mo-pid-nav { grid-template-columns: 1fr; }
  .mo-db .mo-work-page .mo-pid-nav a.is-next { text-align: left; }
  .mo-db .mo-work-page .mo-pid-nav .is-empty { display: none; }
}

/* ⑤ 値下がりのお知らせ（どのページにも出る。assets/watch.js） */
.mo-watch-panel { position: fixed; right: 16px; bottom: 16px; z-index: 9990; width: min(360px, calc(100vw - 32px)); padding: 14px 16px; color: #1c2333; background: #ffffff; border: 1px solid #d9dee8; border-radius: 12px; box-shadow: 0 8px 28px rgba(15, 29, 58, .18); font-size: 13px; line-height: 1.6; }
.mo-watch-panel[hidden] { display: none; }
.mo-watch-panel p.mo-watch-panel-head { margin: 0 32px 8px 0; color: #1c2333; font-weight: 700; }
.mo-watch-panel ul { margin: 0; padding: 0; list-style: none; }
.mo-watch-panel li { margin: 0 0 8px; }
.mo-watch-panel li a { display: block; color: #1c2333; text-decoration: none; }
.mo-watch-panel li a b { color: #c0392b; }
.mo-watch-panel li a small { display: block; color: #5b6475; font-size: 11.5px; }
.mo-watch-panel button.mo-watch-panel-close { position: absolute; top: 8px; right: 8px; display: inline-block; min-height: 0; width: 28px; height: 28px; padding: 0; color: #5b6475; background: transparent; border: 0; border-radius: 6px; font-size: 18px; line-height: 28px; cursor: pointer; }
@media (max-width: 860px) {
  .mo-watch-panel { bottom: 76px; } /* スマホの下の操作バー・追従の購入バーに重ねない */
}

/* 作品ページの改善の試験 (v1.9.0 ／ catalog-core v0.70.0)。試験の作品の HTML にだけある .mo-pbox-now・.mo-trial-contribute にだけ効く。
   ほかの作品の HTML にはこのクラスが無いので、見た目は変わらない。 */
.mo-pbox-now { margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--mo-line); }
.mo-pbox-now p { margin: 0; color: var(--mo-text); line-height: 1.6; }
.mo-pbox-now-price { font-size: 13px; }
.mo-pbox-now-price b { color: var(--mo-navy); }
.mo-pbox-now-price strong { color: var(--mo-navy); font-size: 20px; font-weight: 700; }
.mo-pbox-now-price span { color: var(--mo-muted); font-size: 12px; }
.mo-pbox-now-sale { display: inline-block; margin-top: 4px !important; padding: 1px 8px; color: #ffffff !important; background: var(--mo-sale); border-radius: 4px; font-size: 12px; font-weight: 700; }
.mo-pbox-now-checked { margin-top: 4px !important; color: var(--mo-muted) !important; font-size: 11px; }
.mo-trial-contribute { margin-top: 8px; }
/* セールの一言を赤い札に（全作品の価格の箱。v1.9.1、BOSS 2026-11-18）。試験の作品の .mo-pbox-now-sale と同じ見た目 */
.mo-pbox-head .mo-pbox-sale { display: inline-block; margin: 2px 0 0 4px; padding: 1px 8px; color: #ffffff; background: var(--mo-sale); border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: baseline; }
.mo-trial-contribute > summary { color: var(--mo-navy); font-size: 14px; font-weight: 700; cursor: pointer; }

/* 広告の表示 (v1.12.0。BOSS 2026-11-23「邪魔くさい。一文で目立たなく」)。ステマ規制で消せないので、1行・小さく・淡く */
.mo-pr-notice, :root[data-mo-theme="light"] .mo-pr-notice { margin: 0; padding: 2px 12px; color: #8a94a3; background: transparent; border: 0; font-size: 10px; line-height: 1.5; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* セールの札は画像の右上 (v1.12.0。BOSS 2026-11-23) */
:root .mo-product-image .mo-sale-badge, :root[data-mo-theme="light"] .mo-product-image .mo-sale-badge { top: 0; right: 0; left: auto; padding: 3px 8px; color: #ffffff; background: #e6007e; border-radius: 0 0 0 6px; font-size: 12px; font-weight: 800; line-height: 1.4; z-index: 2; }

/* ===== 横長のカード (v1.13.0。BOSS 2026-11-23「作品の表示を横長に。タイトルや品番も」) =====
   枠はどれも 800:538（FANZA pl.jpg・MGS pb_e_ の比率）。縦の画像しか無い作品は切らずに中央へ置き、
   左右は同じ画像のぼかしで埋める。縦と横が混ざっても並びの形はそろう。 */
:root .mo-product-card.is-landscape .mo-product-image,
:root .mo-product-card.is-landscape .mo-product-image.is-amateur { aspect-ratio: 800 / 538; isolation: isolate; }
:root .mo-product-card.is-landscape .mo-product-image img,
:root .mo-product-card.is-landscape .mo-product-image.is-wide-jacket img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
:root .mo-product-card.is-landscape .mo-product-image.is-fallback::before { content: ""; position: absolute; inset: -16px; z-index: -1; background: var(--mo-card-bg) center / cover no-repeat; filter: blur(14px) brightness(.85); }
:root .mo-product-card.is-landscape .mo-product-image.is-fallback img,
:root .mo-product-card.is-landscape .mo-product-image.is-fallback.is-wide-jacket img { object-fit: contain; }
:root .mo-product-card.is-landscape .mo-product-body h2 { min-height: 0; margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
.mo-card-facts { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 4px; color: var(--mo-muted); font-size: 12px; line-height: 1.5; }
.mo-card-facts .mo-card-code { color: var(--mo-navy); font-weight: 700; letter-spacing: .02em; }
.mo-card-facts .mo-card-cast a { color: var(--mo-link); }
/* 横長は縦より幅を取るので、並べる数を1段減らす */
:root .mo-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:root .mo-works-body .mo-product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 1100px) { :root .mo-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  :root .mo-product-grid, :root .mo-works-body .mo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  :root .mo-product-card.is-landscape .mo-product-body h2 { font-size: 13px; }
  .mo-card-facts { font-size: 11px; gap: 0 6px; }
}

/* ランキングも横長 (v1.13.1) */
:root .mo-rank-thumb.is-landscape { aspect-ratio: 800 / 538; isolation: isolate; }
:root .mo-rank-thumb.is-landscape img, :root .mo-rank-thumb.is-landscape.is-wide-jacket img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
:root .mo-rank-thumb.is-landscape.is-fallback::before { content: ""; position: absolute; inset: -16px; z-index: -1; background: var(--mo-card-bg) center / cover no-repeat; filter: blur(14px) brightness(.85); }
:root .mo-rank-thumb.is-landscape.is-fallback img { object-fit: contain; }
:root .mo-rank-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { :root .mo-rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { :root .mo-rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; } }

/* 関連記事の1枚。作品ページ・女優ページで共通 (v1.13.1。BOSS 2026-11-23「アイキャッチとサンプル画像一枚と最初の文章」) */
.mo-rposts { display: grid; gap: 14px; }
.mo-rpost { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: start; gap: 14px; padding: 12px; background: #ffffff; border: 1px solid #e2e5e9; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.mo-rpost-eye { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f1f3f6; border-radius: 3px; }
.mo-rpost-eye img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-rpost-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mo-rpost-body h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.mo-rpost-body h3 a { color: #e6007e; font-weight: 700; text-decoration: underline; }
.mo-rpost-text { margin: 0; color: #333333; font-size: 13px; line-height: 1.75; }
.mo-rpost-sample { display: block; overflow: hidden; aspect-ratio: 16 / 9; max-width: 260px; background: #f1f3f6; border-radius: 3px; }
.mo-rpost-sample img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-rpost-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: auto 0 0; color: #888888; font-size: 12px; }
.mo-rpost-foot a { color: var(--mo-link); font-weight: 700; }
@media (max-width: 760px) {
  .mo-rpost { grid-template-columns: 1fr; padding: 10px; }
  .mo-rpost-sample { max-width: none; }
}

/* 横送りの棚（幅約140px）では品番の行が題名に重なったので出さない (v1.13.1。2026-11-24 本番で測定) */
.mo-shelf .mo-card-facts { display: none; }

/* ===== 女優ページ (v1.14.0。BOSS 2026-11-23) ===== */
/* 横長のパッケージが流れる帯。同じ並びを2回置き、半分の幅だけ動かして継ぎ目なく回す */
.mo-astrip { overflow: hidden; margin: 0 0 20px; padding: 10px 0; background: #14161a; }
.mo-astrip-track { display: flex; gap: 8px; width: max-content; animation: mo-astrip 60s linear infinite; }
.mo-astrip:hover .mo-astrip-track, .mo-astrip:focus-within .mo-astrip-track { animation-play-state: paused; }
.mo-astrip a { display: block; flex: none; width: 260px; aspect-ratio: 800 / 538; overflow: hidden; border-radius: 2px; }
.mo-astrip img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 素人作品の写真（16:9）は切らずに収める (v1.27.0。全女優に帯を出すため素人作品も混ざる) */
.mo-astrip a.is-whole { background: #000; }
.mo-astrip a.is-whole img { object-fit: contain; }
@keyframes mo-astrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .mo-astrip a { width: 180px; } .mo-astrip-track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) {
  .mo-astrip { overflow-x: auto; }
  .mo-astrip-track { animation: none; }
  .mo-astrip a[aria-hidden="true"] { display: none; }
}
/* 画像が販売元へ行くカードは、押すと別のタブで販売元が開くことを小さく示す */
.mo-product-image.is-shop::after { content: "FANZA・MGSで見る ↗"; position: absolute; right: 0; bottom: 0; padding: 2px 6px; color: #ffffff; background: rgba(20, 22, 26, .72); font-size: 10px; font-weight: 700; line-height: 1.5; pointer-events: none; }
/* 関連の女優 */
.mo-rel-actress-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 10px; margin: 0; padding: 0; list-style: none; }
.mo-rel-actress-list a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--mo-text); text-align: center; text-decoration: none; }
.mo-rel-actress-photo { display: block; width: 96px; height: 96px; overflow: hidden; margin-bottom: 4px; background: #eef1f5; border: 2px solid #ffffff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.mo-rel-actress-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mo-rel-actress-list b { color: var(--mo-link); font-size: 14px; line-height: 1.4; }
.mo-rel-actress-list small { color: var(--mo-muted); font-size: 11px; line-height: 1.4; }
@media (max-width: 760px) { .mo-rel-actress-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mo-rel-actress-photo { width: 76px; height: 76px; } }

/* ===== 女優名鑑のカード (v1.14.0。BOSS 2026-11-23「erodougazo の女優一覧のように」) ===== */
.mo-adir { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mo-adir > li > a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 14px 10px 10px; color: var(--mo-text); text-align: center; text-decoration: none; background: #ffffff; border: 1px solid var(--mo-line); border-radius: 6px; transition: box-shadow .15s, border-color .15s; }
.mo-adir > li > a:hover { border-color: var(--mo-navy-2); box-shadow: 0 6px 16px rgba(24, 39, 55, .12); }
.mo-adir-photo { display: block; width: 104px; height: 104px; overflow: hidden; margin-bottom: 8px; background: #eef1f5; border: 3px solid #ffffff; border-radius: 50%; box-shadow: 0 1px 5px rgba(0, 0, 0, .18); }
.mo-adir-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mo-adir-name { color: var(--mo-link); font-size: 15px; line-height: 1.4; }
.mo-adir-kana { color: var(--mo-muted); font-size: 11px; }
.mo-adir dl { width: 100%; margin: 8px 0 0; padding: 6px 0 0; border-top: 1px dashed var(--mo-line); font-size: 11px; line-height: 1.6; }
.mo-adir dl > div { display: flex; justify-content: center; gap: 6px; }
.mo-adir dt { color: var(--mo-muted); font-weight: 400; }
.mo-adir dd { margin: 0; color: var(--mo-text); }
.mo-adir-works { margin-top: auto; padding-top: 6px; color: var(--mo-muted); font-size: 11px; }
.mo-actress-facets dd.is-small a { padding: 2px 8px; font-size: 12px; }
@media (max-width: 760px) {
  .mo-adir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mo-adir-photo { width: 84px; height: 84px; }
}

/* ラベルが1文字ずつ折れていた（2026-11-24 本番）。ラベルと値を1つの行として流す (v1.14.2) */
.mo-adir dl > div { display: block; }
.mo-adir dt { display: inline; margin-right: 4px; white-space: nowrap; }
.mo-adir dd { display: inline; }

/* ===== サンプル画像の棚 (v1.15.0。BOSS 2026-11-23 添付1枚目の形) ===== */
.mo-sstrip { margin: 0 0 18px; padding: 10px 0 12px; background: #1b1d22; }
.mo-sstrip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mo-sstrip-head h2 { margin: 0; color: #ffffff; font-size: 16px; font-weight: 700; }
.mo-sstrip-head h2::before { content: "▶"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; color: #1b1d22; background: #ffffff; border-radius: 50%; font-size: 9px; vertical-align: 2px; }
.mo-sstrip-head a { color: #ffffff; font-size: 12px; }
.mo-sstrip-track { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.mo-sstrip-tile { position: relative; flex: none; width: 360px; aspect-ratio: 800 / 538; overflow: hidden; scroll-snap-align: start; color: #ffffff; text-decoration: none; background: #000000; }
.mo-sstrip-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.mo-sstrip-tile:hover img { transform: scale(1.03); }
.mo-sstrip-tags { position: absolute; top: 0; left: 0; display: flex; }
.mo-sstrip-tags b { padding: 2px 8px; color: #ffffff; background: #e6007e; font-size: 13px; font-weight: 800; }
.mo-sstrip-tags span { padding: 2px 8px; color: #222222; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 700; }
.mo-sstrip-title { position: absolute; right: 0; bottom: 0; left: 0; display: -webkit-box; overflow: hidden; padding: 6px 8px; color: #ffffff; background: rgba(230, 0, 126, .78); font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 760px) { .mo-sstrip-tile { width: 76vw; } .mo-sstrip-title { font-size: 12px; } }

/* ===== PR 今絶対オススメの新作ビデオ (v1.15.0) ===== */
.mo-prpick { margin: 0 0 24px; }
.mo-prpick-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 0 0 6px; color: var(--mo-text); border-bottom: 2px solid #e6007e; font-size: 17px; }
.mo-prpick-label { padding: 1px 6px; color: #ffffff; background: #8a94a3; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.mo-prpick-item { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 12px; margin: 0 0 12px; padding: 10px; background: #ffffff; border: 1px solid #e2e5e9; border-radius: 4px; }
.mo-prpick-jacket { display: block; overflow: hidden; aspect-ratio: 800 / 538; background: #f1f3f6; }
.mo-prpick-jacket img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-prpick-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mo-prpick-title { display: -webkit-box; overflow: hidden; color: #e6007e; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: underline; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mo-prpick-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.mo-prpick-samples a { display: block; overflow: hidden; aspect-ratio: 800 / 538; background: #f1f3f6; }
.mo-prpick-samples img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mo-prpick-item { grid-template-columns: 1fr; } }

/* v1.15.2: Now Printing を隠した枠。display を書いた要素なので [hidden] を自分で書く */
.mo-sstrip-tile[hidden], .mo-prpick-samples[hidden], .mo-prpick-samples a[hidden] { display: none; }
/* .mo-db a { color: inherit }（0,1,1）に負けて題名が黒かった。同じ強さ以上で書く */
.mo-db a.mo-prpick-title { color: #e6007e; }

/* ===== 記事を作品ページの見た目に寄せる (v1.16.0。BOSS 2026-11-23「記事の見た目も erodougazo の作品ページっぽく。作品ページとの親和性を」) =====
   作品ページ（work.css の .mo-wv2）と同じ部品：題名は濃い帯＋ピンクの縁、h2 はピンクの▶、h3 はピンクの縦線、カードは白い箱＋ピンクの題名 */
:root[data-mo-theme="light"] .mo-article-main .mo-article-head h1, :root[data-mo-theme="light"] .mo-article-main > h1 { margin: 0 0 12px; padding: 12px 16px; color: #ffffff; background: #1f2630; border-left: 6px solid #e4007f; border-radius: 2px; font: 700 clamp(18px, 2.2vw, 24px)/1.55 var(--mo-font-head, sans-serif); }
:root[data-mo-theme="light"] body .mo-editorial-body h2 { display: flex; align-items: center; gap: 8px; margin: 2.2em 0 .9em; padding: 0 0 6px; color: #222222; background: none; border: 0; border-bottom: 2px solid #e4007f; border-radius: 0; font: 700 21px/1.45 var(--mo-font-head, sans-serif); }
:root[data-mo-theme="light"] body .mo-editorial-body h2::before { content: ""; flex: none; width: 22px; height: 22px; background: #e4007f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") center/100% no-repeat; border-radius: 2px; }
:root[data-mo-theme="light"] body .mo-editorial-body h3 { margin: 1.8em 0 .8em; padding: 6px 10px; color: #222222; background: #f6f7f9; border-left: 5px solid #e4007f; font: 700 18px/1.5 var(--mo-font-head, sans-serif); }
@media (max-width: 600px) {
  :root[data-mo-theme="light"] body .mo-editorial-body h2 { font-size: 18px; }
  :root[data-mo-theme="light"] body .mo-editorial-body h3 { font-size: 16px; }
}
/* 記事の購入カード：作品ページの「シリーズ新着」と同じ白い箱。題名はピンク */
:root[data-mo-theme="light"] body .mo-editorial-body .mo-shop-card { background: #ffffff; border: 1px solid #e2e5e9; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
:root[data-mo-theme="light"] body .mo-editorial-body .mo-shop-card__title, :root[data-mo-theme="light"] body .mo-editorial-body .mo-shop-card__title a { color: #e4007f; font-weight: 700; }

/* 記事の中のパッケージ（MGSのウィジェット・FANZAのリンク1本の段落を読み替えたもの。inc/mo-child-article-packages.php） */
.mo-apkg { margin: 1.4em 0; padding: 10px; background: #ffffff; border: 1px solid #e2e5e9; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.mo-apkg-img { display: block; overflow: hidden; aspect-ratio: 800 / 538; background: #f1f3f6; }
.mo-editorial-body .mo-apkg-img img, .mo-apkg-img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.mo-apkg figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.mo-db a.mo-apkg-title, a.mo-apkg-title { flex: 1 1 260px; color: #e4007f; font-weight: 700; line-height: 1.5; text-decoration: underline; }
.mo-db a.mo-apkg-btn, a.mo-apkg-btn { flex: none; padding: 9px 16px; color: #ffffff; background: #0a66c2; border-radius: 3px; font-weight: 700; text-decoration: none; }

/* ==== v1.17.0（BOSS 2026-11-24 の依頼） ==== */
/* 女優ページ：無料動画サンプル・セール中・出演作品のボタン、身長・年齢のリンク */
.mo-actress-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.mo-actress-btns a { min-width: 110px; padding: 6px 14px; color: #ffffff; border-radius: 3px; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.mo-actress-btns a.is-movie { background: #0a66c2; }
.mo-actress-btns a.is-sale { background: #f24a8b; }
.mo-actress-btns a.is-works { background: #3f7f7a; }
.mo-actress-btns a:hover { filter: brightness(1.1); }
.mo-actress-stats li a { color: inherit; text-decoration: none; }
.mo-actress-stats li a b { color: var(--mo-link, #0a66c2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) { .mo-actress-btns a { flex: 1; min-width: 0; padding: 6px 4px; } }

/* 女優ページの帯：パッケージの下にサンプル画像の段（逆向きに流す） */
.mo-astrip-track.is-samples { margin-top: 8px; animation-direction: reverse; animation-duration: 75s; }
.mo-astrip-track.is-samples a { width: 220px; }
.mo-astrip-track a[hidden] { display: none; }
@media (max-width: 760px) { .mo-astrip-track.is-samples a { width: 150px; } }

/* 作品カードの下のサンプル画像（横に送る。PCでもスマホでも） */
.mo-srow { display: flex; gap: 4px; margin-top: 6px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.mo-srow a { flex: none; width: 46%; aspect-ratio: 800 / 538; overflow: hidden; scroll-snap-align: start; background: #eef1f5; border-radius: 2px; }
.mo-srow a[hidden] { display: none; }
.mo-srow img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* トップの帯：自動で流すあいだは吸い付きを止める（catalog.js の data-mo-autoflow） */
.mo-sstrip-track.is-autoflow { scroll-snap-type: none; }
.mo-sstrip-tile[hidden] { display: none; }

/* 女優名鑑の顔写真を大きく */
.mo-adir-photo { width: 140px; height: 140px; }
@media (max-width: 760px) { .mo-adir-photo { width: 112px; height: 112px; } }
.mo-srow[hidden], .mo-astrip-track[hidden] { display: none; }
@media (max-width: 600px) { .mo-actress-btns a { padding: 5px 4px; font-size: 12px; line-height: 1.35; } }

/* ==== v1.18.0 女優名鑑の定規（年齢・身長） ==== */
.mo-ruler { margin: 14px 0 6px; padding: 14px 16px 10px; background: #ffffff; border: 1px solid var(--mo-line); border-radius: 6px; }
.mo-ruler-head { margin: 0 0 10px; color: var(--mo-text); font-weight: 700; }
.mo-ruler-head small { display: block; margin-top: 2px; color: var(--mo-muted); font-size: 12px; font-weight: 400; }
.mo-ruler-row { margin: 0 0 14px; }
.mo-ruler-label { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; font-size: 14px; }
.mo-ruler-label output { color: #e4007f; font-weight: 700; }
.mo-ruler-track { position: relative; height: 28px; }
.mo-ruler-track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; background: #dfe3e8; border-radius: 2px; }
.mo-ruler-fill { position: absolute; top: 12px; height: 4px; background: #e4007f; border-radius: 2px; }
.mo-ruler-track input[type=range], :root[data-mo-theme] .mo-db .mo-ruler-track input[type=range] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 28px; min-height: 0; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.mo-ruler-track input[type=range]::-webkit-slider-runnable-track { background: none; border: 0; }
.mo-ruler-track input[type=range]::-moz-range-track { background: none; border: 0; }
.mo-ruler-track input[type=range]::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: 0; background: #ffffff; border: 3px solid #e4007f; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); cursor: pointer; pointer-events: auto; -webkit-appearance: none; appearance: none; }
.mo-ruler-track input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: #ffffff; border: 3px solid #e4007f; border-radius: 50%; cursor: pointer; pointer-events: auto; }
.mo-ruler-scale { display: flex; margin: 2px 11px 0; padding: 0; list-style: none; }
.mo-ruler-scale li { position: relative; flex: 1 1 0; height: 6px; border-left: 1px solid #c4cad2; font-size: 10px; color: var(--mo-muted); }
.mo-ruler-scale li:last-child { flex: 0 0 0; }
.mo-ruler-scale li.is-big { height: 10px; border-left-color: #8a939e; }
.mo-ruler-scale li.is-big { padding-top: 11px; line-height: 1; white-space: nowrap; text-indent: -.5em; }
.mo-ruler-actions { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; }
.mo-ruler-actions button { padding: 8px 22px; color: #ffffff; background: #e4007f; border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.mo-ruler-actions a { font-size: 13px; }

/* ==== v1.18.0 出演作品一覧：1作品ずつ（題名 → 横長パッケージ → 情報 → サンプル画像） ==== */
.mo-wrows { display: flex; flex-direction: column; gap: 18px; }
.mo-wrow { padding: 14px; background: #ffffff; border: 1px solid var(--mo-line); border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.mo-wrow-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 1.55; }
.mo-wrow-title a { color: #e4007f; text-decoration: none; }
.mo-wrow-title a:hover { text-decoration: underline; }
.mo-wrow-title i { margin-right: 6px; padding: 0 6px; color: #ffffff; background: #1f2630; border-radius: 3px; font-size: 12px; font-style: normal; vertical-align: 1px; }
.mo-wrow-tag { display: inline-block; margin-right: 6px; padding: 0 6px; color: #ffffff; border-radius: 3px; font-size: 11px; vertical-align: 2px; }
.mo-wrow-tag.is-solo { background: #3f7f7a; }
.mo-wrow-tag.is-sale { background: #d7263d; }
.mo-wrow-pic { display: block; overflow: hidden; background: #eef1f5; border-radius: 3px; }
.mo-wrow-pic img { display: block; width: 100%; height: auto; }
.mo-wrow-pic.is-raw:not(.is-amateur) img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; }
.mo-wrow-data { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; font-size: 13px; }
.mo-wrow-data > div { display: flex; gap: 6px; }
.mo-wrow-data dt { color: var(--mo-muted); font-weight: 400; }
.mo-wrow-data dt::after { content: "："; }
.mo-wrow-data dd { margin: 0; color: var(--mo-text); }
.mo-wrow-price { color: #d7263d !important; font-weight: 700; }
.mo-wrow .mo-srow { margin-top: 10px; }
.mo-wrow .mo-srow a { width: calc((100% - 12px) / 4); }
@media (max-width: 600px) {
  .mo-wrow { padding: 10px; }
  .mo-wrow-title { font-size: 14px; }
  .mo-wrow .mo-srow a { width: 46%; }
}

/* ---- ヘッダーの「記事」の2段メニュー (v1.23.0。inc/mo-child-article-menu.php。BOSSの決定 2026-11-28・案3) ----
 * PC だけ。メニューは横に流れるリンクの列の外（後ろ）に置いてあるので、列の overflow には切られない。
 * nav 自体の overflow:hidden（catalog.css）だけ PC で外す。
 * 開くのは :hover と :focus-within（Tab キーでも開く）。閉じるのは 0.25 秒待つ（斜めにマウスを動かしても閉じない）。
 * 「記事」はメニューの右端なので、1段目は右に揃えて下へ、2段目は左へ開く。
 * メニューが2段目に並ぶ幅（861〜1180px）では1段目だけ左に揃える（2段目を右へ開くと 420px のタグの一覧が画面からはみ出す）。 */
@media (min-width: 861px) {
  :root[data-mo-theme="light"] .mo-db-nav { display: flex; overflow: visible; }
  :root .mo-db-nav .mo-db-nav-links { flex: 0 1 auto; min-width: 0; }
  .mo-nav-dd { position: relative; flex: 0 0 auto; display: flex; }
  :root .mo-nav-dd > a.mo-nav-dd-top { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 11px; color: #c3ccd6; font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; text-decoration: none; }
  :root[data-mo-theme="light"] .mo-nav-dd > a.mo-nav-dd-top { color: var(--mo-text); }
  .mo-nav-dd > a.mo-nav-dd-top::after { content: ""; width: 0; height: 0; border-top: 5px solid currentColor; border-right: 4px solid transparent; border-left: 4px solid transparent; opacity: .55; }
  :root[data-mo-theme="light"] .mo-nav-dd:hover > a.mo-nav-dd-top,
  :root[data-mo-theme="light"] .mo-nav-dd:focus-within > a.mo-nav-dd-top { color: var(--mo-navy-2); }
  :root[data-mo-theme="light"] .mo-nav-dd > a.mo-nav-dd-top.is-active { color: var(--mo-navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--mo-navy); }

  .mo-nav-dd-panel,
  .mo-nav-dd-l2 { position: absolute; z-index: 120; visibility: hidden; opacity: 0; background: #ffffff; border: 1px solid var(--mo-line); box-shadow: 0 14px 34px rgba(24, 39, 55, .16); transition: opacity .12s ease .05s, visibility 0s linear .25s; }
  .mo-nav-dd-panel { top: 100%; right: 0; width: 250px; padding: 6px 0; border-radius: 0 0 8px 8px; }
  .mo-nav-dd:hover > .mo-nav-dd-panel,
  .mo-nav-dd:focus-within > .mo-nav-dd-panel,
  .mo-nav-dd-l1 > li:hover > .mo-nav-dd-l2,
  .mo-nav-dd-l1 > li:focus-within > .mo-nav-dd-l2 { visibility: visible; opacity: 1; transition-delay: 0s; }
  .mo-nav-dd-l1 { margin: 0; padding: 0; list-style: none; }
  .mo-nav-dd-l1 > li { position: relative; margin: 0; list-style: none; }
  .mo-nav-dd-l1 > li.is-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--mo-line); }
  :root .mo-nav-dd-panel a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: var(--mo-text); font-size: 14px; font-weight: 400; line-height: 1.4; text-decoration: none; white-space: nowrap; }
  :root .mo-nav-dd-panel a:hover,
  :root .mo-nav-dd-panel a:focus-visible { color: var(--mo-navy); background: var(--mo-navy-soft); }
  .mo-nav-dd-l1 > li.has-sub > a::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin: 0 2px 0 3px; border-bottom: 1.5px solid var(--mo-muted); border-left: 1.5px solid var(--mo-muted); transform: rotate(45deg); }
  :root .mo-nav-dd-l1 > li.has-sub:hover > a,
  :root .mo-nav-dd-l1 > li.has-sub:focus-within > a { color: var(--mo-navy); background: var(--mo-navy-soft); font-weight: 700; }
  .mo-nav-dd-count { margin-left: auto; padding-left: 10px; color: var(--mo-muted); font-size: 12px; font-weight: 400; }

  .mo-nav-dd-l2 { top: -7px; right: 100%; width: 240px; max-height: min(70vh, 560px); padding: 6px 0; overflow-y: auto; border-radius: 8px 0 8px 8px; }
  .mo-nav-dd-l2.is-tags { width: 420px; display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
  .mo-nav-dd-group { padding-bottom: 6px; }
  .mo-nav-dd-group p { margin: 0; padding: 8px 16px 2px; color: var(--mo-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
  :root .mo-nav-dd-l2 a { padding: 7px 16px; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .mo-nav-dd-panel { right: auto; left: 0; }
}

/* スマホの☰メニューの「記事」（押すと開く） */
.mo-drawer-dd > summary { display: flex; align-items: center; padding: 13px 4px; color: var(--mo-text); border-bottom: 1px solid var(--mo-line); font-size: 16px; cursor: pointer; list-style: none; }
.mo-drawer-dd > summary::-webkit-details-marker { display: none; }
.mo-drawer-dd > summary::after { content: "＋"; margin-left: auto; color: var(--mo-muted); }
.mo-drawer-dd[open] > summary::after { content: "－"; }
.mo-drawer-dd > summary.is-active,
.mo-drawer-dd[open] > summary { color: var(--mo-navy); font-weight: 700; }
.mo-drawer-dd-body { padding: 4px 0 8px 12px; border-bottom: 1px solid var(--mo-line); }
:root .mo-db-drawer-panel nav .mo-drawer-dd-body > a { padding: 11px 4px; font-size: 15px; }
:root .mo-db-drawer-panel nav .mo-drawer-dd-body > a:last-child { border-bottom: 0; }

/* タグと型のチップ（スマホのメニュー・記事一覧の上） */
.mo-article-chips { margin: 12px 0; }
.mo-article-chips > p { margin: 0 0 6px; color: var(--mo-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.mo-article-chips > div { display: flex; flex-wrap: wrap; gap: 6px; }
:root .mo-article-chips a,
:root .mo-db-drawer-panel nav .mo-article-chips a { display: inline-block; padding: 5px 12px; color: var(--mo-text); background: #ffffff; border: 1px solid var(--mo-line); border-radius: 999px; font-size: 13px; line-height: 1.5; text-decoration: none; }
:root .mo-article-chips a:hover { color: var(--mo-navy); background: var(--mo-navy-soft); border-color: var(--mo-navy-2); }
:root .mo-article-chips a.is-current { color: #ffffff; background: var(--mo-navy); border-color: var(--mo-navy); font-weight: 700; }
.mo-db-main > .mo-article-chips + .mo-article-chips { margin-top: 0; }
.mo-db-main > .mo-article-chips:last-of-type { margin-bottom: 22px; }

/* ==== v1.25.0（BOSS 2026-11-30 の依頼：ランダムな女優 → すぐサンプル動画） ==== */
/* 女優ページの無料サンプル動画。/actresses/random/ はここ（#mo-actress-movie）へ飛ぶ。動画は 720px まで・中央 */
.mo-actress-movie { scroll-margin-top: 70px; }
.mo-actress-movie .mo-actress-movie-video { max-width: 720px; margin: 0 auto; }
.mo-db .mo-actress-movie p.mo-actress-movie-title { max-width: 720px; margin: 8px auto 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.mo-db .mo-actress-movie p.mo-actress-movie-title a { color: var(--mo-link, #0a66c2); text-decoration: none; }
.mo-db .mo-actress-movie p.mo-actress-movie-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 720px; margin: 10px auto 0; }
.mo-db .mo-actress-movie p.mo-actress-movie-btns a { flex: 1 1 200px; padding: 10px 14px; color: #ffffff; border-radius: 3px; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.mo-db .mo-actress-movie p.mo-actress-movie-btns a.is-work { background: #3f7f7a; }
.mo-db .mo-actress-movie p.mo-actress-movie-btns a.is-random { background: #e4007f; }
.mo-db .mo-actress-movie p.mo-actress-movie-btns a:hover { color: #ffffff; filter: brightness(1.1); }
/* 女優名鑑の「ランダムで1人」 */
.mo-db a.mo-random-actress { display: inline-block; margin: 0 0 12px; padding: 8px 16px; color: #ffffff; background: #e4007f; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; }
.mo-db a.mo-random-actress:hover { color: #ffffff; filter: brightness(1.1); }
/* 女優ページの「迷ったらこの3本」「最新作と配信予定」：上から1作品ずつ、パッケージの横にサンプル画像2列×2段（v1.25.0） */
.mo-wrow-label { display: inline-block; margin: 0 0 8px; padding: 2px 10px; color: #1f2630; background: #e9eef4; border-radius: 3px; font-size: 13px; font-weight: 700; }
.mo-wrow-label.is-latest { color: #ffffff; background: #e4007f; }
.mo-wrow-label.is-upcoming { color: #ffffff; background: #0a66c2; }
.mo-wrow.is-side .mo-wrow-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: start; }
/* 候補は10枚。2段より下の行は高さ0にして枠で切る（縦の画像が隠れても、横長の先頭4枚で2×2が埋まる） */
.mo-wrow.is-side .mo-wrow-media .mo-srow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-rows: 0; column-gap: 4px; row-gap: 0; margin: 0; overflow: hidden; }
.mo-wrow.is-side .mo-wrow-media .mo-srow a { margin-bottom: 4px; }
.mo-wrow.is-side .mo-wrow-media .mo-srow a { width: auto; }
.mo-wrow.is-side .mo-wrow-media .mo-srow a[hidden] { display: none; }
.mo-wrow.is-side .mo-wrow-pic.is-raw:not(.is-amateur) img { max-height: 340px; }
/* 横長のサンプルが1枚も無い作品（VR に多い。catalog.js が列ごと hidden にする）は、パッケージを幅いっぱいに */
.mo-wrow.is-side .mo-wrow-media:has(> .mo-srow[hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) {
  .mo-wrow.is-side .mo-wrow-media { gap: 4px; }
  .mo-wrow.is-side .mo-wrow-media .mo-srow { column-gap: 3px; }
  .mo-wrow.is-side .mo-wrow-media .mo-srow a { margin-bottom: 3px; }
  .mo-wrow.is-side .mo-wrow-media .mo-srow a { width: auto; }
}
