/*
Theme Name: ファンクラブナビ
Theme URI: https://fanclub-navi.com
Description: ファンクラブのカタログ型・比較／ランキングサイト用のクラシックテーマ v7（横長サムネ、自動で流れるスライド、特集・ランキング・棚のトップ、比較トレイ・検索候補・もっと見る・診断などの機能）。見た目の基準は v6 のまま。クリエイター・作品・ジャンルをタイルで比較。ブログ記事は別枠。見た目は v8（2026-10-09）: 暖かい薄いグレーの地に白いパネル、境目は 1px の線、ヘッダーとフッターは暗い帯、サムネが主役の場所は暗い面。アクセント #FF3700 の1色、角丸 2/4px、影なし、文字は 400 と 700。アイコンは Font Awesome Free（SVG）。jQuery 不使用。v8.1（2026-10-10）: myfans X保存ランキング（期間・タグ・クリエイター別の本物の URL・動画を直接再生・トップは左から右へ流れる帯）と爆乳データベース（カップ別）。
Author: fanclub-navi
Version: 8.6.1
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: fanclub-navi
*/

/* ===== 1. トークン（research/seo-2026-10/web/reference-sites-css.md の 3-1） ===== */
:root {
	/* 色: アクセントは #FF3700 の1色。面は「暖かい薄いグレーの地」と「白いパネル」の段差で見せ、境目は 1px の線で締める */
	--accent: #FF3700;
	--accent-strong: #D92D00;
	--accent-ink: #FFFFFF;
	--bg: #EBE8E3;          /* ページの地（暖かい薄いグレー） */
	--panel: #FFFFFF;       /* 中身のパネル */
	--sunken: #F5F3F0;      /* パネルの中の沈んだ面（見出し帯・表の見出し・サムネの下地） */
	--line: #DAD6CF;        /* パネルの中の区切り */
	--line-strong: #C2BCB3; /* 入力・ボタンの枠 */
	--edge: #B3ACA2;        /* パネル自身の外枠。地の上でも境目が見える濃さ */
	--ink: #1F1D1B;
	--ink-2: #5F5A53;
	--ink-3: #8C867D;
	--sale: #E63232;
	--frame: #1E1E23;       /* サムネの余白（contain の上下左右）。暗い単色の額縁 */
	/* 暗い面（ヘッダー・フッター・動画やサムネが主役の場所）。.on-dark を付けた要素の中では、上の色が下の値に置き換わる */
	--dk-0: #121115;
	--dk-1: #1A191E;        /* 暗い面の地（ヘッダー・フッター・.band-dark） */
	--dk-2: #25242B;        /* 暗い面の上のパネル・カード */
	--dk-3: #38363F;        /* 暗い面の線 */
	--dk-ink: #F4F2EE;
	--dk-ink-2: #B3AEB6;
	--dk-accent: #FF5A2E;   /* 暗い面の上のアクセント（#FF3700 より明るくして文字でも読める） */
	/* 角丸は 2 / 4 の2段だけ（--r-l も 4px に統一）。影は使わない（ダイアログのみ） */
	--r-0: 0;               /* 角を付けない（スマホで端まで広げたパネル） */
	--r-s: 2px;
	--r-m: 4px;
	--r-l: 4px;
	--shadow-pop: 0 2px 4px rgba(0, 0, 0, .2);
	/* 余白は 4px の格子。--pp はパネルの内側の余白（スマホ 16 / PC 24） */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--gap: 12px;
	--pad-sp: 16px;
	--pp: 16px;
	--wide: 1120px;
	/* 文字: 11 / 12 / 14 / 16 / 20 / 24 の整数。太さは 400 と 700 */
	--fs-xs: 11px;
	--fs-s: 12px;
	--fs-m: 14px;
	--fs-l: 16px;
	--fs-xl: 20px;
	--fs-2xl: 24px;
	--font: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
	--bnav-h: 56px;
	color-scheme: light;
	/* Font Awesome Free の SVG（記事の部品の mask 用。CC BY 4.0） */
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z'/%3E%3C/svg%3E");
	--i-checkc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z'/%3E%3C/svg%3E");
	--i-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M292.9 384c7.3-22.3 21.9-42.5 38.4-59.9 32.7-34.4 52.7-80.9 52.7-132.1 0-106-86-192-192-192S0 86 0 192c0 51.2 20 97.7 52.7 132.1 16.5 17.4 31.2 37.6 38.4 59.9l201.7 0zM288 432l-192 0 0 16c0 44.2 35.8 80 80 80l32 0c44.2 0 80-35.8 80-80l0-16zM184 112c-39.8 0-72 32.2-72 72 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-66.3 53.7-120 120-120 13.3 0 24 10.7 24 24s-10.7 24-24 24z'/%3E%3C/svg%3E");
	--i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z'/%3E%3C/svg%3E");
	--i-listcheck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M133.8 36.3c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 158 47 153L7 113C-2.3 103.6-2.3 88.4 7 79S31.6 69.7 41 79l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zm0 160c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 318 47 313L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zM224 96c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32zM64 376a40 40 0 1 1 0 80 40 40 0 1 1 0-80z'/%3E%3C/svg%3E");
}

/* ===== 2. 土台 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 var(--fs-m)/1.5 var(--font);
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}
@media (max-width: 759px) { body { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); } }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
svg.ico { display: inline-block; flex: none; vertical-align: -.15em; fill: currentColor; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
b, strong, th, h1, h2, h3, h4, summary, dt { font-weight: 700; }
small { font-size: 12px; }
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; }
.screen-reader-text, .skip:not(:focus) {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; left: 8px; top: 8px; z-index: 10000; background: var(--panel); border: 2px solid var(--accent); border-radius: var(--r-m); padding: 8px 12px; }

.wrap { max-width: calc(var(--wide) + 40px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { :root { --pp: 24px; } }
.wrap-article { max-width: 760px; }
.wrap-detail { max-width: 1040px; }
@media (max-width: 759px) { .wrap { padding: 0 var(--pad-sp); } }
.site-main { display: block; min-height: 60vh; padding-bottom: 24px; }

/* ===== 3. ヘッダー・下部ナビ・フッター ===== */
/* 暗い面。.on-dark（と、ヘッダー・フッター・下部ナビ・.band-dark）の中では、色のトークンが暗い値に置き換わる。
   中の部品は var(--ink) / var(--panel) / var(--line) などを使っているので、そのまま暗い面で読める */
.on-dark, .site-head, .site-foot, .bnav, .band-dark {
	--bg: var(--dk-1);
	--panel: var(--dk-2);
	--sunken: #2E2D35;
	--line: var(--dk-3);
	--line-strong: #4C4A55;
	--edge: #4C4A55;
	--ink: var(--dk-ink);
	--ink-2: var(--dk-ink-2);
	--ink-3: #8F8A96;
	--accent-strong: var(--dk-accent);
	--frame: #000;
	color-scheme: dark;
	background: var(--dk-1);
	color: var(--dk-ink);
}
.site-head { border-bottom: 1px solid var(--dk-3); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; }
.logo { order: 1; display: inline-flex; align-items: center; height: 48px; }
.logo-img { height: 28px; width: auto; }
.hd-tools { order: 2; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: 12px; height: 48px; }
.hd-search { flex: 1; min-width: 0; max-width: 260px; display: flex; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); }
.hd-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 10px; font-size: 16px; -webkit-appearance: none; appearance: none; border-radius: var(--r-m); }
.hd-search input:focus { outline: 0; }
.hd-search:focus-within { border-color: var(--dk-accent); }
.hd-search input::placeholder { color: var(--ink-3); opacity: 1; }
.hd-search button { flex: none; width: 34px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.hd-fav { position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); }
.fav-n { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; border-radius: var(--r-s); }
.gnav { order: 3; width: calc(100% + 32px); height: 40px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.gnav::-webkit-scrollbar { display: none; }
.gnav-list { list-style: none; display: flex; height: 40px; margin: 0; padding: 0; }
.gnav-list li { flex: none; }
.gnav-list a { display: flex; align-items: center; height: 40px; padding: 0 12px; font-size: 13px; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--ink); }
.gnav-list a:hover { color: var(--accent-strong); }
.gnav-list a[aria-current], .gnav-list .current-menu-item > a { color: var(--dk-accent); border-bottom-color: var(--accent); }
@media (min-width: 760px) {
	.head-in { flex-wrap: nowrap; height: 56px; gap: 0 24px; }
	.logo { height: 56px; }
	.logo-img { height: 32px; }
	.gnav { order: 2; width: auto; height: 56px; flex: 1; margin: 0; padding: 0; overflow: visible; border-top: 0; }
	.gnav-list, .gnav-list a { height: 56px; }
	.gnav-list a { padding: 0 14px; font-size: 14px; border-bottom-width: 2px; }
	.hd-tools { order: 3; flex: none; margin-left: 0; height: 56px; }
	.hd-search { width: 220px; }
}

.bnav { display: none; }
@media (max-width: 759px) {
	.bnav { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: var(--panel); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.bnav ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
	.bnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--bnav-h); font-size: 11px; color: var(--ink-2); }
	.bnav a[aria-current] { color: var(--dk-accent); font-weight: 700; }
	.bnav .fav-n { top: 6px; right: calc(50% - 22px); }
	body:has(.wk-sticky:not(.is-off)) .bnav { display: none; }
	body:has(.wk-sticky:not(.is-off)) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
.to-top { position: fixed; right: 12px; bottom: calc(var(--bnav-h) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 700; width: 40px; height: 40px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); color: var(--ink); cursor: pointer; }
.to-top:hover { color: var(--accent-strong); }
@media (min-width: 760px) { .to-top { right: 24px; bottom: 24px; } }
@media (max-width: 759px) { body:has(.wk-sticky:not(.is-off)) .to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

.site-foot { margin-top: 32px; padding: 32px 0; color: var(--ink-2); font-size: var(--fs-s); border-top: 3px solid var(--accent); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; align-items: center; }
.logo-foot { order: 0; height: auto; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 640px; font-size: 12px; }
.foot-links a:hover, .foot-nav a:hover { color: var(--accent-strong); }
.foot-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 13px; color: var(--ink); }
.foot-note { margin-top: 16px; line-height: 1.7; max-width: 680px; }
.foot-note b { color: var(--ink); margin-right: 4px; }
.foot-pr { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.foot-copy { margin-top: 8px; }

/* ===== 4. 共通の小部品 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 400; cursor: pointer; }
.btn:hover { color: var(--accent-strong); border-color: var(--ink-3); }
.cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--r-l); font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; cursor: pointer; max-width: 100%; }
.cta:hover { color: var(--accent-ink); filter: brightness(.92); }
.cta.s { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-m); white-space: nowrap; }
.cta:disabled { background: var(--line-strong); filter: none; cursor: default; }
.cta-wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: 24px 0 0 !important; }
.cta-wrap .cta { flex: 1 1 280px; max-width: 420px; }

.gchip { display: inline-block; height: 18px; padding: 0 6px; font-size: 11px; font-weight: 400; line-height: 18px; white-space: nowrap; color: var(--ink-2); background: var(--sunken); border-radius: var(--r-s); }
a.gchip:hover { color: var(--accent-strong); }
.gchip-lg { height: 22px; padding: 0 8px; font-size: 12px; line-height: 22px; }
.tag, .chips a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); font-size: 14px; background: var(--panel); }
.tag:hover, .chips a:hover { color: var(--accent-strong); border-color: var(--ink-3); }
.tag span { margin-left: 6px; color: var(--ink-3); font-size: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chips-lg { margin-top: 16px; }
.empty { color: var(--ink-2); font-size: 13px; padding: 16px; background: var(--sunken); }

/* ===== パネル（v8）。地（--bg）の上に白いパネルを置き、1px の線と上の 3px のアクセントで1ブロックずつ切る。
   スマホはパネルを画面の端まで広げ、パネルの間に 8px の地を見せる。PC は角丸 4px の箱で、間は 16px ===== */
.sec, .pf-sec, .panel { position: relative; margin: var(--sp-2) calc(var(--pad-sp) * -1) 0; padding: var(--pp); background: var(--panel); border: solid var(--edge); border-width: 3px 0 1px; border-top-color: var(--accent); border-radius: 0; }
.sec-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); margin-bottom: var(--sp-3); font-size: var(--fs-l); line-height: 1.4; font-weight: 700; }
.sec > .sec-title, .pf-sec > .sec-title, .panel > .sec-title { margin: calc(var(--pp) * -1) calc(var(--pp) * -1) var(--pp); padding: var(--sp-3) var(--pp); background: var(--sunken); border-bottom: 1px solid var(--line); font-size: 18px; }
.sec-title small { font-size: var(--fs-s); font-weight: 400; color: var(--ink-2); }
.sec-more { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-s); font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.sec-more:hover { color: var(--accent-strong); }
.sec-note { margin: var(--sp-3) 0 0; font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.sec-sub { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.sec-sub-t { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); font-size: var(--fs-l); line-height: 1.4; font-weight: 700; }
@media (min-width: 760px) {
	.sec, .pf-sec, .panel { margin: var(--sp-4) 0 0; border-width: 3px 1px 1px; border-radius: var(--r-m); }
	.sec > .sec-title, .pf-sec > .sec-title, .panel > .sec-title { font-size: var(--fs-xl); border-radius: 0; }
}
/* パネルの中のパネル（ジャンル別の入れ子など）は枠を外して、見出しの帯だけ残す */
.sec .sec, .sec .pf-sec, .pf-sec .sec { margin: var(--sp-4) calc(var(--pp) * -1) calc(var(--pp) * -1); border-width: 1px 0 0; border-top-color: var(--line); border-radius: 0; }
.sec > .quiz { padding: 0; border: 0; border-radius: 0; background: transparent; }

.crumbs { font-size: 12px; color: var(--ink-2); padding: 12px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: nowrap; }
.crumbs li { flex: none; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a:hover { color: var(--accent-strong); }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pagination { margin: 24px 0 8px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--r-m); font-size: 14px; background: var(--panel); }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent-strong); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.page-numbers.dots { border-color: transparent; background: transparent; }

.searchform { display: flex; gap: 8px; max-width: 520px; }
.searchform input[type="search"] { flex: 1; min-width: 0; height: 40px; padding: 0 12px; font-size: 16px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); -webkit-appearance: none; appearance: none; }
.searchform input[type="search"]:focus { border-color: var(--accent); outline: none; }
.searchform button { height: 40px; padding: 0 20px; border: 0; border-radius: var(--r-m); background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.searchform button:hover { filter: brightness(.92); }
.l-head .searchform { margin-top: 12px; }

/* 切り替えの行（並び替え・ジャンル・タブ）。高さ 32px・角丸 4px、選択中はアクセント塗り */
.gtabs-nav, .sorts, .gchips { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad-sp) * -1) 12px; padding: 0 var(--pad-sp); }
.gtabs-nav::-webkit-scrollbar, .sorts::-webkit-scrollbar, .gchips::-webkit-scrollbar { display: none; }
.gtabs-nav li, .sorts li, .gchips li { flex: none; }
.gtab, .sp, .gc { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 400; white-space: nowrap; }
.gtab:hover, .sp:hover, .gc:hover { color: var(--accent-strong); border-color: var(--ink-3); }
.gtab.is-cur, .sp.is-cur, .gc.is-cur { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gc span { margin-left: 6px; font-size: 11px; color: var(--ink-3); }
.gc.is-cur span { color: var(--accent-ink); }
@media (min-width: 760px) {
	.gtabs-nav, .sorts, .gchips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
}
.gtabs.js-tabs .gpanel[hidden] { display: none; }
.gtabs:not(.js-tabs) .gpanel { margin-bottom: 24px; }
.gpanel-more { margin-top: 16px; text-align: center; }

/* ===== 5. タイル（作品・クリエイター・記事）。外枠なし・影なし。作品のサムネは 1:1（756x756）、クリエイターは横長のカバー＋丸いアイコン ===== */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); } }
@media (max-width: 759px) {
	.tiles.is-feat > .tl:first-child { grid-column: 1 / -1; }
	.tiles.is-feat > .tl:first-child .tl-t { font-size: 14px; }
	.tiles.is-car { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--pad-sp) * -1); padding: 0 var(--pad-sp); }
	.tiles.is-car::-webkit-scrollbar { display: none; }
	.tiles.is-car > .tl { flex: 0 0 164px; scroll-snap-align: start; }
}
.tl { position: relative; min-width: 0; }
.tl-a { display: block; }
.tl-th { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sunken); overflow: hidden; }
.tl-cover { aspect-ratio: 5 / 2; }
.tl-cover.is-noimg::before, .tl-cover.is-broken::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); z-index: 1; }   /* カバーが無い時は myfans 色の帯 */
.tl-post .tl-th { aspect-ratio: 16 / 9; }
.tl-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); font-size: 22px; font-weight: 700; }
.tl-ph svg { width: 28px; height: 28px; }
.tl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.is-broken > .tl-img, .is-broken > .av-img { display: none; }
.thumb-blur .tl-img { filter: blur(18px); transform: scale(1.12); }
.thumb-blur.is-revealed .tl-img { filter: none; transform: none; }
.thumb-blur .tl-ph { filter: blur(6px); }
.tl-hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 2; padding: 2px 8px; border-radius: var(--r-s); background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; white-space: nowrap; pointer-events: none; }
.thumb-blur.is-revealed .tl-hint { display: none; }
.tl-bd { display: block; padding-top: 8px; }
.tl-creator .tl-bd { padding-top: 0; }   /* 位置を持たせない（作品名・クリエイター名のリンクをカード全体に広げるため。アイコンは負のマージンでサムネに重ねる） */
.tl-av .av-ph { font-size: 14px; }
.tl-bd .tl-av { position: relative; margin: -24px 0 4px; border: 2px solid var(--panel); box-sizing: content-box; }
.tl-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 13px; font-weight: 400; line-height: 1.4; }
.tl-post .tl-t { -webkit-line-clamp: 3; min-height: 4.2em; margin-top: 4px; }
/* 行き先の分け方: 作品名（クリエイターのカードでは名前）のリンク .tl-go をカード全体に広げる＝サムネ・価格など、どこを押しても同じ行き先。
   別の行き先（クリエイター名・チップ・クリエイターのサムネ上の作品の絵）は、その上に出る別のリンク（z-index 3）。 */
.tl-go::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tl-go:focus-visible { outline: none; }
.tl-go:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.tl-th.thumb-blur:not(.is-revealed) { z-index: 3; }   /* ぼかしの絵は、最初の1回のタップでぼかしを外す（その間はカード全体のリンクの上に出す） */
.tl-pic { position: absolute; inset: 0; z-index: 3; display: block; }   /* 作品の絵: myfans のその作品（アフィがある作品だけ）。無い作品はこのリンクごと出さず、絵は作品名のリンク（うちの作品ページ）になる */
.tl-buy { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; min-height: calc(var(--sp-6) + var(--sp-1) + var(--sp-2)); margin: calc(var(--sp-2) - var(--sp-1)) 0 calc(var(--sp-1) * -1); padding: 0 var(--sp-2); border: solid transparent; border-width: var(--sp-1) 0; background: var(--accent); background-clip: padding-box; overflow: hidden; color: var(--accent-ink); border-radius: var(--r-m); font-size: var(--fs-s); font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; }   /* 「この作品を見る」: カードがうるさくならない高さ。押せる範囲は上下の透明な枠 4px で広げる（見た目の高さ 32px・8.5.0 から overflow:hidden で光の帯を切るため、::before ではなく枠で持つ） */
.tl-buy:hover { color: var(--accent-ink); filter: brightness(.92); }
.pd-tx .tl-buy { width: 100%; }
.sr-bd .tl-buy { display: inline-flex; padding: 0 var(--sp-4); }
.tl-by { display: block; margin-top: 2px; font-size: 11px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-m { display: flex; align-items: center; gap: 8px; margin-top: 4px; min-height: 20px; }
.tl-p:empty { display: none; }
.tl-p { white-space: nowrap; }
.tl-l { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.tl-st { gap: 8px; }
.tl-st .st { display: inline-flex; align-items: center; gap: 3px; }
.tl-ago { color: var(--ink-3); }
.tl-by-a, .tl-by-n { max-width: 100%; }
.tl-by-a { position: relative; z-index: 3; display: inline-block; vertical-align: top; padding: 3px 0; margin: -3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* クリエイター名: カード全体（作品）とは別の行き先。押せる範囲は文字より縦に広い */
.tl-by-a:hover { text-decoration: underline; text-underline-offset: 2px; }
.tl-by:has(.tl-by-a) { display: flex; align-items: center; overflow: visible; }
.tl-by:has(.tl-by-a) .tl-by-a { flex: 0 1 auto; min-width: 0; }
.tl-by:has(.tl-by-a) .tl-ago { flex: none; white-space: pre; }
@media (max-width: 759px), (pointer: coarse) { .tl-by-a { padding: 14px 0; margin: -4px 0; } }   /* 指で押す画面: 押せる高さを約 44px に */
.sr-by .tl-by-a { display: inline-block; }
.tl-g { display: flex; gap: 4px; overflow: hidden; padding: 10px 0; margin: -10px 0; }
.tl a.gchip { position: relative; z-index: 3; }   /* カードの中のチップ: そのジャンル・タグの一覧へ（カード全体とは別の行き先）。押せる範囲は見た目より縦に広い */
.tl a.gchip::before { content: ""; position: absolute; inset: -10px -3px; }
.pr-n { font-size: 15px; font-weight: 700; color: var(--accent-strong); }
.pr-u { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.rk { position: absolute; top: 0; left: 0; z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink-3); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.rk-top { background: var(--accent); }
.rkd { font-size: 11px; line-height: 1; color: var(--ink-3); white-space: nowrap; }
.rkd-up { color: var(--accent-strong); }
.nw { position: absolute; left: 6px; bottom: 6px; z-index: 2; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; border-radius: var(--r-m); }
.nw-r { left: auto; right: 6px; }
.nw-sale { background: #e0245e; }   /* セール中（2026-10-26） */
.wk-tagbtn { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 700; border-radius: var(--r-m); text-decoration: none; }   /* 作品ページのタグへの入口（2026-10-26） */
.du { position: absolute; right: 6px; bottom: 6px; z-index: 2; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; gap: 3px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; border-radius: var(--r-s); }
.fav, .cmp { position: absolute; top: 6px; right: 6px; z-index: 3; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; background: rgba(0, 0, 0, .45); color: #fff; border: 0; border-radius: var(--r-s); cursor: pointer; }
.cmp { right: 38px; }
.tl-cover ~ .fav, .tl-creator .fav, .tl-creator .cmp { top: 6px; }
.fav .fav-on, .fav[aria-pressed="true"] .fav-off { display: none; }
.fav[aria-pressed="true"] .fav-on { display: block; }
.fav[aria-pressed="true"], .cmp[aria-pressed="true"] { background: var(--accent); }
.fav-btn, .wk-act .cmp, .pf-act .cmp { position: static; width: auto; height: 40px; padding: 0 16px; gap: 8px; display: inline-flex; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-m); }
.fav-btn::after { content: "お気に入りに追加"; font-size: 14px; }
.fav-btn[aria-pressed="true"] { background: var(--panel); color: var(--accent-strong); border-color: var(--accent); }
.fav-btn[aria-pressed="true"]::after { content: "お気に入りに登録済み"; }
.fav-btn:hover, .wk-act .cmp:hover, .pf-act .cmp:hover { border-color: var(--ink-3); }
.wk-act .cmp::after, .pf-act .cmp::after { content: "比較に追加"; font-size: 14px; }
.wk-act .cmp[aria-pressed="true"], .pf-act .cmp[aria-pressed="true"] { background: var(--panel); color: var(--accent-strong); border-color: var(--accent); }
.wk-act .cmp[aria-pressed="true"]::after, .pf-act .cmp[aria-pressed="true"]::after { content: "比較に追加済み"; }
.wk-act, .pf-act { display: flex; flex-wrap: wrap; gap: 8px; }

/* 横スクロールの棚（PC は前後ボタン。スマホは指で） */
.shelf { position: relative; }
.tiles.is-shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--pad-sp) * -1); padding: 0 var(--pad-sp) 2px; scroll-padding-left: var(--pad-sp); }
.tiles.is-shelf::-webkit-scrollbar { display: none; }
.tiles.is-shelf > .tl { flex: 0 0 164px; scroll-snap-align: start; }
@media (min-width: 760px) {
	.tiles.is-shelf { gap: var(--sp-3); margin: 0; padding: 0 0 2px; scroll-padding-left: 0; }
	.tiles.is-shelf > .tl { flex: 0 0 calc((100% - 48px) / 5); }
}
.sh-btn { display: none; }
@media (min-width: 760px) {
	.sh-btn { position: absolute; top: 56px; z-index: 5; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; padding: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-m); cursor: pointer; }
	.sh-btn:hover { border-color: var(--ink-3); color: var(--accent-strong); }
	.sh-btn:disabled { opacity: .35; cursor: default; }
	.sh-prev { left: -12px; }
	.sh-next { right: -12px; }
	.shelf.is-flat .sh-btn { display: none; }
}

/* 小さなランキングの行（表の行のように下線だけ） */
.rows { list-style: none; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .gpanel .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.rw-a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rw-a:hover .rw-name { color: var(--accent-strong); }
.rw-rk { position: static; flex: none; }
.rw-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rw-name { max-width: 100%; font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-main .tl-g { max-width: 100%; }
.rw-metric { flex: none; text-align: right; line-height: 1.3; }
.rw-metric b { display: block; font-size: 15px; }
.rw-metric small { font-size: 11px; color: var(--ink-2); }
.rw-metric b.up { color: var(--accent-strong); }
.av { position: relative; display: block; flex: none; width: var(--s, 56px); height: var(--s, 56px); background: var(--sunken); overflow: hidden; border-radius: 50%; }
.av-round { border-radius: 50%; }
.av-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); font-weight: 700; font-size: 18px; line-height: 1; }
.av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.duo { display: grid; gap: 24px; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }

/* ジャンルのタグクラウド（件数付き。12 / 13 / 14px の3段） */
.gcloud { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gtag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--sunken); color: var(--ink); border-radius: var(--r-m); font-size: 13px; }
.gtag-1 { font-size: 12px; }
.gtag-3 { font-size: 14px; }
.gtag span { font-size: 11px; color: var(--ink-2); }
.gtag:hover { color: var(--accent-strong); }

/* ===== 6. トップのスライド（高さ固定。CLS 0）。PC は大きな1枚＋右に次の2枚、スマホは1枚＋次の端が見える ===== */
.wrap-slider { padding-top: 8px; }
@media (max-width: 759px) { .wrap-slider { padding-left: 0; padding-right: 0; } }   /* スマホは画面の横幅いっぱい（8.3.0） */
/* スラッグ home の固定ページ（ショートコード）: 部品を .wrap と同じ幅・余白に置く */
.home-page > :not(.wrap) { max-width: calc(var(--wide) + 40px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
@media (max-width: 759px) { .home-page > :not(.wrap) { padding-left: var(--pad-sp); padding-right: var(--pad-sp); } }
.hero-slider { position: relative; }
/* 題名はサムネに重ねず、絵の下に別枠で出す（7.21.0）。絵は object-fit: contain なので、枠の比率が変わっても切れない。
   高さ = 絵の枠（幅で決まる）＋ 題名の枠（px で一定）。幅から一意に決まるので CLS は 0 のまま。
   aspect-ratio は container query が無い環境向けの近似（題名のぶん少し広めに取ってある） */
.sl-view { position: relative; overflow: hidden; aspect-ratio: 1 / 1.25; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; background: transparent; }
@supports (container-type: inline-size) {
	.hero-slider { container-type: inline-size; }
	.sl-view { aspect-ratio: auto; height: calc(100cqw + 92px); }   /* スマホ: 絵の枠は正方形（作品のサムネは 1:1）。横幅いっぱい */
}
.sl-view.is-drag { cursor: grabbing; }
.sl-track { list-style: none; position: absolute; inset: 0; margin: 0; padding: 0; }
.sl { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform: translateX(calc(var(--o) * 100% + var(--dx, 0px))); opacity: .55; overflow: hidden; background: transparent; transition: transform .5s ease, opacity .5s ease; }   /* スマホ: 横に送るのは transform（left の transition はレイアウトのずれ＝CLS になる。8.5.0） */
.sl.is-cur { opacity: 1; }
.sl-view.is-drag .sl { transition: none; }
.sl-a { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sl-pic { position: relative; flex: 1 1 auto; min-height: 0; display: block; overflow: hidden; background: var(--sunken); }
.sl-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.sl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; -webkit-user-drag: none; }
.sl.is-broken > .sl-img, .sl-a.is-broken > .sl-img, .sl-pic.is-broken > .sl-img { display: none; }
.sl-cap { flex: none; padding: 8px var(--pad-sp) 0; color: var(--ink); }
.sl-k { display: inline-block; height: 18px; padding: 0 6px; margin-bottom: 4px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; border-radius: var(--r-s); }
.sl-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.8em; font-size: 15px; font-weight: 700; line-height: 1.4; overflow: hidden; }   /* 題名は 2 行まで（枠の高さは 2 行分で固定＝絵の大きさが枚ごとに動かない） */
.sl-a:hover .sl-t { color: var(--accent-strong); }
.sl-s { display: block; font-size: 12px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-bar { display: block; height: 3px; background: var(--line); overflow: hidden; }
.sl-bar i { display: block; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hero-slider.is-run .sl-bar i { animation: slbar 5s linear forwards; }
@keyframes slbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sl-ctl { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 6px; }
.sl-btn { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-s); cursor: pointer; }
.sl-btn:hover { color: var(--accent-strong); border-color: var(--ink-3); }
.sl-dots { display: flex; }
.sl-dots button { position: relative; width: 20px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sl-dots button::after { content: ""; position: absolute; left: 6px; top: 12px; width: 8px; height: 8px; background: var(--line-strong); }
.sl-dots button[aria-current="true"]::after { background: var(--accent); }
.sl-pause { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.sl-pause .ico-play, .sl-pause.is-paused .ico-pause { display: none; }
.sl-pause.is-paused .ico-play { display: inline-block; }
@media (min-width: 760px) {
	.sl-view { aspect-ratio: 1.75 / 1; }
	@supports (container-type: inline-size) {
		.sl-view { aspect-ratio: auto; height: calc(100cqw / 2.1 + 102px); }   /* PC: 8.3.0 で 2.6 → 2.1（絵の枠が縦に約2割大きい） */
	}
	/* PC: 枠の位置・大きさは切り替えの瞬間に変える（transition しない＝動く途中のずれが無い）。その間は .sl-track を一瞬透明にして入れ替わりを見せない（slider.js の is-swap）。 */
	.sl { top: 0; bottom: auto; left: 100%; width: 37%; height: 100%; opacity: 0; pointer-events: none; transform: translateX(var(--dx, 0px)); transition: opacity .5s ease; }
	.sl-track { transition: opacity .17s ease; }
	.sl-view.is-swap .sl-track { opacity: 0; visibility: hidden; transition: opacity .17s ease, visibility 0s .17s; }   /* 透明になりきってから visibility も隠す（opacity:0 だけだと入れ替えがずれとして数えられる） */
	.sl[data-o="-1"] { left: -40%; }
	.sl[data-o="0"] { left: 0; width: 62%; opacity: 1; pointer-events: auto; }
	.sl[data-o="1"] { left: 63%; height: 49%; opacity: 1; pointer-events: auto; }
	.sl[data-o="2"] { left: 63%; top: 51%; height: 49%; opacity: 1; pointer-events: auto; }
	.sl-t { font-size: 18px; }
	.sl-cap { padding: 10px 0 0; }
	.sl[data-o="1"] .sl-cap, .sl[data-o="2"] .sl-cap { padding: 6px 0 0; }
	.sl[data-o="1"] .sl-t, .sl[data-o="2"] .sl-t { font-size: 13px; }
	.sl[data-o="1"] .sl-s, .sl[data-o="2"] .sl-s, .sl[data-o="1"] .sl-k, .sl[data-o="2"] .sl-k { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sl, .sl-bar i { transition: none; } }

/* ===== 7. トップ・一覧・詳細の見出し ===== */
/* トップの暗い帯（.band-dark.home-hero）: メインビジュアル（スライド）だけ。h1 は見えない形で置く。検索は X保存ランキングの帯の下（.home-search） */
.home-hero { padding-bottom: var(--sp-4); }
.home-search { margin-top: var(--sp-4); }
.home-search .sbox { max-width: none; margin-top: 0; }
.sbox { display: flex; max-width: 560px; height: 44px; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); }
.sbox input { flex: 1; min-width: 0; padding: 0 12px; font-size: 16px; background: transparent; border: 0; -webkit-appearance: none; appearance: none; border-radius: 0; }
.sbox input:focus { outline: none; }
.sbox:focus-within { border-color: var(--dk-accent); }
.sbox input::placeholder { color: var(--ink-3); opacity: 1; }
.sbox button { flex: none; width: 44px; display: grid; place-items: center; border: 0; border-radius: 0 3px 3px 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.sbox button:hover { filter: brightness(.92); }
.trust { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 32px; padding: 12px 16px; background: var(--sunken); font-size: 12px; color: var(--ink-2); }
.trust b { color: var(--ink); margin: 0 1px; }
.blogbox-s { font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.gl { list-style: none; }
.gl a { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gl a:hover .gl-t { color: var(--accent-strong); }
.gl .gchip { flex: none; }
.gl-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl time { flex: none; font-size: 12px; color: var(--ink-2); }

.l-head { margin: 16px 0 16px; }
.l-title { font-size: 22px; line-height: 1.4; font-weight: 700; }
.l-desc { color: var(--ink-2); font-size: 13px; margin-top: 4px; max-width: 640px; }
.l-count { color: var(--ink-2); font-size: 12px; margin-top: 4px; }
.l-count b { font-size: 14px; color: var(--ink); }
.toolbar { display: grid; gap: 4px; margin-bottom: 16px; }
.toolbar-clear { font-size: 13px; }
.toolbar-clear a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

/* 作品一覧の絞り込み */
.wfd > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 14px; font-weight: 400; }
.wfd > summary::-webkit-details-marker { display: none; }
.wfd > summary b { margin-left: auto; padding: 0 8px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; border-radius: var(--r-s); }
.wfd[open] > summary { margin-bottom: 8px; }
@media (max-width: 759px) { .wfd:not(.is-set):not([data-active]) .wfilter { display: none; } .wfd:not(.is-set):not([data-active]) > summary { margin-bottom: 0; } }
@media (min-width: 760px) { .wfd > summary { display: none; } .wfd[open] > summary { margin: 0; } }
.wfilter { display: grid; gap: 12px; padding: 12px; background: var(--sunken); border-radius: var(--r-m); }
.wfilter fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wfilter legend { font-size: 12px; font-weight: 700; padding: 0 0 8px; }
.wf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; max-height: 128px; overflow-y: auto; }
.wf-chip { position: relative; display: inline-block; cursor: pointer; }
.wf-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wf-chip span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 13px; }
.wf-chip em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.wf-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.wf-chip input:checked + span em { color: #fff; }
.wf-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wf-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.wf-row label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-2); }
.wf-row select { height: 40px; min-width: 140px; padding: 0 10px; font-size: 14px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); color: var(--ink); }
.wf-row .cta.s { min-height: 40px; }
.wf-clear { font-size: 13px; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; align-self: center; }

/* クリエイター詳細・作品詳細 */
.pf-card { display: flex; align-items: flex-start; gap: 16px; margin-top: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pf-cover { margin-top: 12px; aspect-ratio: 5 / 2; overflow: hidden; border-radius: var(--r-m); background: var(--line); }
.pf-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.av.pf-av { --s: 88px; }
.av.pf-av .av-ph { font-size: 32px; }
@media (min-width: 760px) { .pf-card { gap: 24px; } .av.pf-av { --s: 112px; } }
.pf-card { flex-wrap: wrap; }
.pf-card > .share { flex: 0 0 100%; margin-top: 0; }
.pf-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pf-name { font-size: 22px; line-height: 1.4; font-weight: 700; }
.pf-user { font-size: 12px; color: var(--ink-2); }
.pf-rank { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.pf-rank .rk { position: static; }
.pf-genres { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-act { margin-top: 4px; }
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 16px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .pf-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.pf-stats > div { padding: 10px 12px; background: var(--panel); }
.pf-stats dt { font-size: 11px; color: var(--ink-2); }
.pf-stats dd { font-size: 18px; font-weight: 700; line-height: 1.4; }
.pf-stats dd.up { color: var(--accent-strong); }
.mark { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: var(--r-s); font-size: 11px; font-weight: 400; line-height: 16px; color: var(--ink-2); vertical-align: middle; }
.pf-checked { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.pf-sec { margin-top: 24px; }
@media (min-width: 760px) { .pf-sec { margin-top: 32px; } }
.ptable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
.ptable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th, .ptable td { padding: 10px 12px; text-align: left; border-top: 1px solid var(--line); }
.ptable thead th { background: var(--sunken); border-top: 0; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.ptable td { white-space: nowrap; }
.pf-sec .note, .pf-sec .wk-links { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.fn-cta { margin-bottom: 0 !important; }
.wk-top { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 900px) { .wk-top { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: start; } }
.wk-hero { position: relative; }
.wk-hero-link { display: block; }
.wk-hero .tl-th { aspect-ratio: 1200 / 630; }
.wk-hero .tl-ph svg { width: 56px; height: 56px; }
.wk-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wk-title { font-size: 22px; line-height: 1.4; font-weight: 700; }
.wk-by { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.wk-by .av-ph { font-size: 14px; }
.wk-price .pr-n { font-size: 22px; }
.nchips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.nchip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: var(--sunken); color: var(--ink-2); font-size: 12px; border-radius: var(--r-s); }
.nchip b { color: var(--ink); }
.wk-gone { margin: 0 0 10px; padding: 8px 10px; background: var(--sunken); border-radius: var(--r-s); font-size: 13px; color: var(--ink-2); }
.wk-gone b { margin-right: 8px; color: var(--ink); font-weight: 700; }
.nchip-rank, .nchip-new { background: var(--accent); color: #fff; font-weight: 700; }
.nchip-rank b { color: #fff; }
.wk-head .fn-cta { align-self: stretch; margin: 8px 0 0 !important; justify-content: flex-start; }
.wk-head .fn-cta .cta { flex: 1 1 auto; max-width: none; }
.desc-body { max-width: 760px; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; word-break: break-word; }
.sm-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
@media (min-width: 760px) { .sm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-i { display: block; width: 100%; min-height: 96px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--sunken); overflow: hidden; cursor: zoom-in; }
.sm-i img { display: block; width: 100%; height: auto; }
.sm-grid.is-blur .sm-i:not(.is-revealed) img { filter: blur(18px); transform: scale(1.12); }
.sm-grid.is-blur .sm-i:not(.is-revealed) { cursor: pointer; }
.dlg-lb .lb-nav { position: absolute; top: 50%; z-index: 2; width: 40px; height: 56px; margin-top: -28px; padding: 0; border: 0; border-radius: var(--r-m); background: rgba(0, 0, 0, .6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.dlg-lb .lb-prev { left: 4px; }
.dlg-lb .lb-next { right: 4px; }
.wk-video { max-width: 760px; }
.wk-video video { display: block; width: 100%; max-height: 70vh; background: #000; }
.wk-info th { width: 9em; min-width: 7em; white-space: nowrap; background: var(--sunken); color: var(--ink-2); font-size: 13px; font-weight: 400; }   /* 375px で見出し列が潰れない */
.wk-info td, .wk-info td * { white-space: nowrap; }
.wk-info td { overflow-wrap: normal; }
.wk-info td a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.wk-info td:has(a + a) { white-space: normal; }
/* 作品ページの量産用の節（inc/work.php）。角丸 2/4/6px・影なし・グラデなし・差し色 #FF3700 の 1 色 */
.wk-numtbl th { width: 11em; background: var(--sunken); color: var(--ink-2); font-size: 13px; font-weight: 400; }
.wk-numtbl td { white-space: normal; overflow-wrap: anywhere; font-weight: 700; }
@media (max-width: 759px) { .wk-numtbl th { width: 42%; } }
.wk-verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-m); background: var(--panel); font-size: 14px; line-height: 1.7; }
.wk-verdict b { font-size: 16px; color: var(--accent-strong); }
.wk-verdict span { flex: 1 1 14em; min-width: 0; overflow-wrap: anywhere; }
.wk-fitgrid { display: grid; gap: 12px; }
@media (min-width: 760px) { .wk-fitgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wk-fitcol { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
.wk-fitcol h3 { margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.wk-fitcol.is-good h3 { color: var(--accent-strong); }
.wk-fitcol.is-bad h3 { color: var(--ink-2); }
.wk-fitcol ul { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
.wk-fitcol li { overflow-wrap: anywhere; }
.wk-notebody { max-width: 760px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--sunken); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.wk-notebody p + p { margin-top: 8px; }
.wk-more { color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.wk-faqlist { max-width: 760px; font-size: 14px; line-height: 1.8; }
.wk-faqlist dt { margin-top: 12px; font-weight: 700; }
.wk-faqlist dt::before { content: "Q. "; color: var(--accent-strong); }
.wk-faqlist dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.wk-faqlist dd a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.nowrap { white-space: nowrap; }
.wk-sticky { display: none; }
@media (max-width: 759px) {
	.wk-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--panel); border-top: 1px solid var(--line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); }
	.wk-sticky.is-off { display: none; }
	.wk-sticky-in { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; }
	.wk-sticky-p { white-space: nowrap; line-height: 1.25; }
	.wk-sticky .cta { flex: 1; min-height: 44px; font-size: 15px; border-radius: var(--r-l); }
	body:has(.wk-sticky) .site-foot { padding-bottom: 80px; }
}

.genre-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 16px; }
@media (min-width: 760px) { .genre-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gtile { display: block; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
.gtile:hover { border-color: var(--ink-3); color: inherit; }
.gtile-av { display: flex; gap: 4px; min-height: 40px; margin-bottom: 8px; }
.gtile-t { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; }
.gtile-n { display: block; font-size: 12px; color: var(--ink-2); }
.fav-clear { margin-top: 24px; text-align: center; }

/* ===== 8. 記事（.entry）。engine が出す HTML の部品を、白と #F6F6F6 だけで ===== */
.a-head { padding: 12px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.a-title { font-size: 22px; line-height: 1.4; font-weight: 700; }
.a-thumb { margin-top: 8px; width: 100%; align-self: stretch; }
.a-thumb img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; object-position: center; background: var(--sunken); }
.entry { margin-top: 16px; font-size: 15px; line-height: 1.7; }
@media (min-width: 760px) { .entry { font-size: 16px; } }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1.2em; }
.entry a:not(.cta):not(.btn) { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.entry h2 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 2em 0 .8em; padding-left: 10px; border-left: 4px solid var(--accent); scroll-margin-top: 16px; }
.entry h3 { font-size: 16px; line-height: 1.5; font-weight: 700; margin: 1.8em 0 .6em; scroll-margin-top: 16px; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry li { margin: .3em 0; }
.entry li::marker { color: var(--ink-3); }
.entry blockquote { margin: 1.4em 0; padding: 12px 16px; border-left: 3px solid var(--line-strong); background: var(--sunken); color: var(--ink-2); }
.entry blockquote > :last-child { margin-bottom: 0; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry img { margin: 1.2em 0; }
.entry strong { font-weight: 700; }
.entry code { font-size: 13px; background: var(--sunken); border-radius: var(--r-s); padding: 1px 4px; }

/* 記事冒頭の要点（.fn-summary。旧 .lead も同じ） */
.lead, .fn-summary { background: var(--sunken); border-radius: var(--r-m); padding: 16px; margin: 0 0 24px; }
.entry .lead h2, .entry .fn-summary h2, .entry .fn-summary > :first-child:is(h2, h3, p.fn-summary-t) { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 8px; padding: 0; border: 0; }
.lead ul, .fn-summary ul { margin: 0; padding: 0; list-style: none; }
.lead li, .fn-summary li { position: relative; margin: .4em 0; padding-left: 24px; line-height: 1.7; }
.lead li::before, .fn-summary li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: var(--accent); -webkit-mask: var(--i-checkc) center/contain no-repeat; mask: var(--i-checkc) center/contain no-repeat; }
.lead p:last-child, .fn-summary p:last-child { margin-bottom: 0; }

/* 目次 */
details.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 0 24px; font-size: 14px; line-height: 1.6; }
details.toc > summary { list-style: none; cursor: pointer; padding: 10px 16px; display: flex; align-items: center; gap: 8px; background: var(--sunken); border-radius: var(--r-m); }
details.toc > summary::-webkit-details-marker { display: none; }
details.toc > summary::after { content: "開く"; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--ink-2); }
details.toc[open] > summary::after { content: "閉じる"; }
details.toc ol, details.toc ul { margin: 0; padding: 12px 16px 16px 36px; }
details.toc li { margin: .3em 0; }
details.toc ol ol { padding: 2px 0 2px 1em; font-size: 13px; }
details.toc a, .entry details.toc a:not(.cta) { text-decoration: none; color: var(--ink); }
details.toc a:hover { color: var(--accent-strong); }

/* 手順 .fn-steps（旧出力の素の ol も同じ） */
.fn-steps, .entry > ol:not(.list):not(.toc-list) { list-style: none; padding: 0; margin: 0 0 1.6em; counter-reset: st; border-top: 1px solid var(--line); }
.fn-steps > li, .entry > ol:not(.list):not(.toc-list) > li { counter-increment: st; position: relative; margin: 0; padding: 12px 0 12px 40px; min-height: 52px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.fn-steps > li::before, .entry > ol:not(.list):not(.toc-list) > li::before { content: counter(st); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.fn-steps > li > :last-child { margin-bottom: 0; }

/* ポイント .fn-point / 注意 .fn-warn */
.fn-point, .fn-warn { position: relative; margin: 1.6em 0; padding: 14px 16px 14px 44px; background: var(--sunken); border-left: 3px solid var(--ink); line-height: 1.7; }
.fn-warn { border-left-color: var(--sale); }
.fn-point::before, .fn-warn::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; background: var(--ink); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.fn-point { --ico: var(--i-bulb); }
.fn-warn { --ico: var(--i-warn); }
.fn-warn::before { background: var(--sale); }
.fn-point > :last-child, .fn-warn > :last-child { margin-bottom: 0; }
.fn-point > p, .fn-warn > p { margin-bottom: .6em; }

/* チェックリスト .fn-check */
.fn-check { list-style: none; padding: 0; margin: 0 0 1.6em; border-top: 1px solid var(--line); }
.fn-check > li { position: relative; margin: 0; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); }
.fn-check > li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; background: var(--accent); -webkit-mask: var(--i-check) center/contain no-repeat; mask: var(--i-check) center/contain no-repeat; }

/* Q&A .fn-qa */
.fn-qa { margin: 0 0 1.6em; border-top: 1px solid var(--line); }
.fn-qa dt, .fn-qa dd { position: relative; margin: 0; padding: 10px 0 0 36px; }
.fn-qa dd { padding-bottom: 12px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.fn-qa dt::before, .fn-qa dd::before { position: absolute; left: 0; top: 10px; width: 24px; height: 24px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.fn-qa dd::before { top: 10px; }
.fn-qa dt::before { content: "Q"; background: var(--accent); }
.fn-qa dd::before { content: "A"; background: var(--ink-3); }
.fn-qa dd > :last-child { margin-bottom: 0; }

/* 記事中の画像 .fn-figure */
.fn-figure { margin: 1.6em 0; }
.fn-figure img { width: 100%; margin: 0; }
.fn-figure figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--ink-2); text-align: center; }
.fn-figure figcaption small, .fn-figure figcaption cite, .fn-figure .fn-src { display: block; margin-top: 2px; font-size: 11px; font-style: normal; }

/* ランキングの行 .rank-row（表の行。下線だけ。順位は 28px の正方形） */
.rank-list { margin: 1.4em 0 1.8em; border-top: 1px solid var(--line); }
.rank-row { display: grid; grid-template-columns: 28px 72px minmax(0, 1fr) auto; grid-template-areas: "no av main cta"; gap: 4px 12px; align-items: center; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank-no { grid-area: no; align-self: start; width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink-3); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.rank-row[data-rank="1"] .rank-no, .rank-row[data-rank="2"] .rank-no, .rank-row[data-rank="3"] .rank-no { background: var(--accent); }
.rank-img, .rank-avatar { grid-area: av; width: 72px; height: 72px; object-fit: cover; margin: 0 !important; }
.rank-avatar { display: grid; place-items: center; background: var(--sunken); color: var(--line-strong); font-size: 22px; font-weight: 700; line-height: 1; }
.rank-main { grid-area: main; min-width: 0; }
.rank-name { margin: 0 !important; font-weight: 700; font-size: 14px; line-height: 1.4; }
.rank-tags { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0 0 !important; }
.rank-tags span { display: inline-block; height: 18px; padding: 0 6px; font-size: 11px; line-height: 18px; color: var(--ink-2); background: var(--sunken); border-radius: var(--r-s); }
.rank-nums { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 6px 0 0 !important; font-size: 11px; color: var(--ink-2); }
.rank-nums b { margin-left: 4px; color: var(--ink); font-size: 13px; }
.rank-cta { grid-area: cta; white-space: nowrap; }
@media (max-width: 600px) {
	.rank-row { grid-template-columns: 28px 56px minmax(0, 1fr); grid-template-areas: "no av main" "cta cta cta"; }
	.rank-img, .rank-avatar { width: 56px; height: 56px; font-size: 18px; }
	.rank-cta { width: 100%; margin-top: 8px; }
}
.entry ol.list { list-style: none; padding: 0; margin: 0 0 1.8em; counter-reset: rk; border-top: 1px solid var(--line); }
.entry ol.list > li { counter-increment: rk; position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: start; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.entry ol.list > li::before { content: counter(rk); grid-row: 1 / span 2; width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink-3); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.entry ol.list > li:nth-child(-n+3)::before { background: var(--accent); }
.entry ol.list > li > a:not(.cta) { text-decoration: none; color: var(--ink); }
.entry ol.list > li > a { font-weight: 700; font-size: 14px; line-height: 1.5; grid-column: 2; }
.entry ol.list > li > p { grid-column: 2; margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }

/* 表 .tbl */
.tbl { overflow-x: auto; margin: 1.6em 0 2em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); -webkit-overflow-scrolling: touch; }
.entry > table { display: block; overflow-x: auto; margin: 1.6em 0 2em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
.entry table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.entry th, .entry td { word-break: keep-all; line-break: strict; overflow-wrap: anywhere; padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); background: var(--panel); }
.entry tr:last-child > th, .entry tr:last-child > td { border-bottom: 0; }
.entry thead th { background: var(--sunken); font-size: 13px; line-height: 1.5; vertical-align: bottom; }
.entry tbody th { font-size: 13px; background: var(--sunken); }
.entry th:first-child, .entry td:first-child { position: sticky; left: 0; z-index: 1; min-width: 7.5em; max-width: 12em; font-size: 13px; border-right: 1px solid var(--line); }
.entry thead th:first-child { z-index: 2; }
.entry thead th:not(:first-child), .entry tbody td { min-width: 11em; }
.entry td.num, .entry th.num { text-align: right; }
.entry td.nw, .entry th.nw, .entry td.num { white-space: nowrap; }
.entry th.sortable { cursor: pointer; user-select: none; }
.entry th.sortable:hover { color: var(--accent-strong); }
.entry th.sortable::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: middle; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; opacity: .4; }
.entry th[aria-sort="ascending"]::after { border-top: 0; border-bottom: 5px solid currentColor; opacity: 1; }
.entry th[aria-sort="descending"]::after { opacity: 1; }
.entry td small, .entry small.chk { display: block; font-size: 11px; line-height: 1.5; color: var(--ink-2); margin-top: 2px; font-weight: 400; }
.entry small.chk.stale { color: var(--sale); font-weight: 700; }
.entry .data, .entry .calc { color: var(--ink); font-weight: 700; }
.entry .data::after, .entry .calc::after { content: "当サイト算出"; margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 0 5px; vertical-align: 1px; }

/* 掲載先ボックス */
.entry .box { margin: 0 0 16px; padding: 16px 16px 4px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-m); }
.entry .box > strong { display: block; font-size: 16px; line-height: 1.5; }
.entry .box > p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.entry .box .tbl { border-left: 0; border-right: 0; border-radius: 0; background: transparent; margin: 12px -16px 4px; border-bottom: 0; }
.entry .box th, .entry .box td { background: transparent !important; }
.entry .box th:first-child, .entry .box td:first-child { position: static; min-width: 0; max-width: none; width: 38%; border-right: 0; }
.entry .box td { min-width: 0; }

/* 出典 */
.entry .src { margin-top: 2.4em; padding: 16px; border-radius: var(--r-m); background: var(--sunken); font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.entry .src h2 { font-size: 14px; margin: 0 0 .6em; padding: 0; border: 0; }
.entry .src ul { margin: 0; }
.entry .src a:not(.cta) { color: var(--ink); }

.a-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.a-policy { font-size: 12px; color: var(--ink-2); line-height: 1.7; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.a-policy a { text-decoration: underline; text-underline-offset: 2px; }
.related { margin-top: 40px; }

/* 計算機（1本あたり単価） */
[data-fn-calc] { margin: 1.6em 0 2em; min-height: 184px; }
.fn-calc { height: 184px; margin: 0; padding: 16px; background: var(--sunken); border-radius: var(--r-m); }
.fn-calc-t { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0 0 12px !important; }
.fn-mark { font-size: 11px; font-weight: 400; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 0 5px; line-height: 16px; }
.fn-calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fn-calc label { display: block; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.fn-calc input { display: block; width: 100%; height: 44px; margin-top: 4px; padding: 0 12px; font-size: 16px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); }
.fn-calc input:focus { border-color: var(--accent); outline: none; }
.fn-calc-o { margin: 12px 0 0 !important; font-size: 13px; color: var(--ink-2); line-height: 1.6; min-height: 30px; }
.fn-calc-o.on { color: var(--ink); }
.fn-calc-o strong { font-size: 22px; font-weight: 700; color: var(--accent-strong); margin-left: 6px; }

/* ===== 9. 年齢確認の重ね表示（ダイアログなので影だけ許す） ===== */
html.fn-age { overflow: hidden; }
html.fn-age::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: var(--bg); }
.fn-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--sunken); }
.fn-gate-box { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-pop); padding: 24px; }
.fn-gate-k { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.fn-gate-box h2 { font-size: 22px; line-height: 1.4; font-weight: 700; margin: 4px 0 12px; }
.fn-gate-box p + p, .fn-gate-box h2 + p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.fn-gate-b { display: grid; gap: 8px; margin-top: 20px; }
.fn-gate-b button { min-height: 48px; border-radius: var(--r-l); font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid var(--line-strong); background: var(--panel); }
.fn-gate-b .fn-gate-yes { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fn-gate-b .fn-gate-yes:hover { filter: brightness(.92); }
.fn-gate-b .fn-gate-no { font-weight: 400; }
.fn-gate-b .fn-gate-no:hover { border-color: var(--ink-3); }

/* ===== 10. v7 の部品（数字・ページ内ナビ・特集・ランキング上位・ジャンル画像・診断・検索候補・比較・共有・推移・スケルトン） ===== */

.subnav { position: sticky; top: 0; z-index: 700; margin: var(--sp-2) calc(var(--pad-sp) * -1) 0; padding: 0 var(--pad-sp); background: var(--panel); border: solid var(--edge); border-width: 1px 0; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .subnav { margin: var(--sp-4) 0 0; padding: 0 var(--sp-2); border-width: 1px; border-radius: var(--r-m); } }
.subnav ul { list-style: none; display: flex; }
.subnav li { flex: none; }
.subnav a { display: flex; align-items: center; height: 40px; padding: 0 12px; font-size: 13px; white-space: nowrap; color: var(--ink-2); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--accent-strong); }
.subnav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
[id] { scroll-margin-top: 56px; }

.feats { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--pad-sp) * -1); padding: 0 var(--pad-sp); }
.feats::-webkit-scrollbar { display: none; }
.feats > li { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 760px) { .feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; } .feats > li { flex: none; } }
.feat { display: block; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
.feat:hover { border-color: var(--ink-3); color: inherit; }
.feat-th { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.feat-i { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sunken); overflow: hidden; }
.feat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feat-t { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.feat-s { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); }

.rk-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.seg { list-style: none; display: flex; gap: 8px; }
.seg button { height: 32px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 14px; cursor: pointer; }
.seg button:hover { border-color: var(--ink-3); color: var(--accent-strong); }
.seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.rkx:not(.js-rk) .rkp + .rkp { margin-top: 32px; }
.podium { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-bottom: 20px; }
.pd { position: relative; min-width: 0; }
.pd-1 { grid-column: 1 / -1; }
.pd-a { display: block; }
.pd .tl-th { aspect-ratio: 16 / 9; }
.pd-1 .rk { width: 40px; height: 40px; font-size: 22px; }
.pd-bd { display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.pd-tx { min-width: 0; }
.pd-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 13px; line-height: 1.4; }
.pd-1 .pd-t { min-height: 0; font-size: 18px; font-weight: 700; }
.pd-s { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.pd-p .pr-n { font-size: 15px; }
@media (min-width: 760px) {
	.podium { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); grid-template-rows: auto auto; gap: 16px; }
	.pd-1 { grid-column: 1; grid-row: 1 / span 2; }
	.pd-2 { grid-column: 2; grid-row: 1; }
	.pd-3 { grid-column: 2; grid-row: 2; }
}
@media (max-width: 759px) { .pd-2 .pd-t, .pd-3 .pd-t { font-size: 12px; } .pd-2 .pd-bd, .pd-3 .pd-bd { align-items: flex-start; } }

.gimgs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .gimgs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
/* ジャンルのタイル: 名前はサムネに重ねず下に別枠（7.21.0）。暗幕（旧 .gimg::after の rgba(0,0,0,.42)）も外して絵をそのまま見せる */
.gimg { display: block; color: var(--ink); }
.gimg:hover { color: var(--accent-strong); }
.gimg-in { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.gimg-in .tl-ph { color: transparent; }
.gimg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .3s ease; }
.gimg-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.gimg-n { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* ジャンル名は 1 行（長い名前は … で切る） */
.gimg-t small { flex: none; font-size: 11px; font-weight: 400; color: var(--ink-2); }

.quiz-t { font-size: var(--fs-xl); line-height: 1.4; font-weight: 700; text-wrap: balance; word-break: auto-phrase; }
.quiz-n { margin-bottom: var(--sp-1); font-size: var(--fs-s); color: var(--accent-strong); }
.quiz-o { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.quiz-a { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.quiz-a .cta { flex: 1 1 100%; }
@media (min-width: 760px) { .quiz-a .cta { flex: 0 0 auto; min-width: 240px; } }
.quiz-tag { display: block; margin-top: var(--sp-1); font-size: var(--fs-s); font-weight: 700; color: var(--accent-strong); }
.quiz .shelf { margin-top: 12px; }
.quiz .tiles.is-shelf { margin: 0; padding: 0 0 2px; }
.quiz .tiles.is-shelf > .tl { flex-basis: 164px; }
@media (min-width: 760px) { .quiz .tiles.is-shelf > .tl { flex-basis: calc((100% - 48px) / 5); } }

.has-sug { position: relative; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 900; max-height: min(70vh, 460px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); padding-bottom: 4px; }
.hd-search .sug { left: auto; right: 0; width: min(92vw, 360px); }
.sug-h { padding: 8px 12px 2px; font-size: 11px; color: var(--ink-2); }
.sug-r { display: flex; align-items: center; gap: 10px; padding: 6px 12px; font-size: 13px; }
.sug-r:hover, .sug-r.is-act { background: var(--sunken); color: var(--ink); }
.sug-i { position: relative; flex: none; width: 56px; height: 32px; overflow: hidden; background: var(--sunken); }
.sug-i.is-round { width: 32px; border-radius: 50%; }
.sug-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sug-g { display: grid; place-items: center; width: 32px; color: var(--ink-3); font-size: 14px; }
.sug-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-s { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--ink-2); }
.sug-sk { display: block; height: 32px; margin: 6px 12px; background: var(--sunken); }

.cmp-tray { position: fixed; left: 0; right: 0; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); z-index: 850; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: var(--panel); border-top: 1px solid var(--line-strong); }
@media (min-width: 760px) { .cmp-tray { bottom: 0; justify-content: center; } }
@media (max-width: 759px) { body:has(.wk-sticky:not(.is-off)) .cmp-tray { bottom: 76px; } }
.cmp-list { list-style: none; display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 760px) { .cmp-list { flex: 0 1 auto; } }
.cmp-i { display: flex; align-items: center; gap: 6px; flex: none; padding: 2px 4px 2px 2px; border: 1px solid var(--line); border-radius: var(--r-m); }
.cmp-th { position: relative; display: block; width: 48px; height: 27px; overflow: hidden; background: var(--sunken); }
.cmp-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-n { max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
@media (max-width: 759px) { .cmp-n { display: none; } }
.cmp-x { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; font-size: 16px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.cmp-hint { flex: none; font-size: 12px; color: var(--ink-2); }
.cmp-act { display: flex; gap: 8px; flex: none; }
.cmp-act .btn { height: 36px; padding: 0 12px; font-size: 13px; }
body.has-tray .to-top { bottom: calc(var(--bnav-h) + 68px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 760px) { body.has-tray .to-top { bottom: 76px; } body.has-tray .site-foot { padding-bottom: 80px; } }

.dlg { width: 100%; max-width: min(960px, 96vw); max-height: 90vh; padding: 0; border: 0; border-radius: var(--r-l); background: var(--panel); color: var(--ink); overflow: hidden; }
.dlg::backdrop { background: rgba(0, 0, 0, .6); }
.dlg[open] { display: flex; flex-direction: column; }
.dlg-bar { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 4px 8px 4px 16px; border-bottom: 1px solid var(--line); }
.dlg-t { font-size: 14px; }
.dlg-x { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.dlg-body { padding: 16px; overflow: auto; }
.cmp-scroll { overflow-x: auto; }
.cmp-tb { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-tb th, .cmp-tb td { min-width: 130px; padding: 8px 10px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-weight: 400; }
.cmp-tb thead th { border-top: 0; font-weight: 400; }
.cmp-tb th:first-child { position: sticky; left: 0; z-index: 1; min-width: 96px; background: var(--sunken); color: var(--ink-2); font-size: 12px; }
.cmp-tb thead th a { display: block; }
.cmp-tb thead img, .cmp-noimg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sunken); margin-bottom: 6px; }
.cmp-tb td.is-best { color: var(--accent-strong); }
.dlg-cmp .note { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.dlg-lb { width: auto; max-width: 96vw; background: #000; }
.dlg-lb .dlg-bar { position: absolute; top: 0; right: 0; z-index: 2; padding: 4px; border: 0; background: transparent; }
.dlg-lb .dlg-x { background: rgba(0, 0, 0, .6); color: #fff; }
.dlg-lb img { display: block; max-width: 96vw; max-height: 90vh; margin: auto; object-fit: contain; }
.wk-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 3; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .65); color: #fff; border: 0; border-radius: var(--r-m); font-size: 12px; cursor: pointer; }
.wk-hero:has(.thumb-blur:not(.is-revealed)) .wk-zoom { display: none; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.share-l { margin-right: 4px; font-size: 12px; color: var(--ink-2); }
.gl-wrap .gl-t { white-space: normal; }
.guide-rel-more { margin-top: 8px; font-size: 13px; }
.gcat-nav { margin-top: 12px; }
.gcat-sec { margin-top: 28px; }
.gcat-sec .l-desc { margin: 4px 0 8px; }
.gcat-n { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.sh { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 13px; cursor: pointer; }
.sh:hover { border-color: var(--ink-3); color: var(--accent-strong); }
.sparks { display: grid; gap: 16px; }
@media (min-width: 760px) { .sparks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.spark-t { font-size: 13px; }
.spark { margin: 8px 0 0; color: var(--accent); }
.spark svg { display: block; width: 100%; height: auto; background: var(--sunken); }
.spark figcaption { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--ink-2); }
.mx th[scope="row"] { position: sticky; left: 0; z-index: 1; white-space: nowrap; background: var(--sunken); font-size: 13px; }
.mx th small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-2); }
.mx td { min-width: 150px; }
.mx-c { display: flex; align-items: center; gap: 8px; }
.mx-c span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.more-wrap { margin-top: 20px; text-align: center; }
.btn-more { min-width: 240px; }

/* 読み込み中の灰色の枠と、画像のフェードイン（枠の大きさは固定なので CLS 0） */
@keyframes skp { from { opacity: 1; } to { opacity: .45; } }
.sk, .sug-sk, .js .tl-th:has(> .tl-img:not(.is-in)):not(.is-broken) { animation: skp .9s ease-in-out infinite alternate; }
.sk .tl-th { display: block; aspect-ratio: 1 / 1; background: var(--sunken); }
.sk-l { display: block; height: 12px; margin-top: 8px; background: var(--sunken); }
.sk-s { width: 60%; }
.fn-img { transition: opacity .3s ease; }
.js .fn-img[loading="lazy"]:not(.is-in) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sk, .sug-sk, .js .tl-th:has(> .tl-img:not(.is-in)):not(.is-broken) { animation: none; } .fn-img, .gimg-img { transition: none; } }
.reco, [data-recent-sec] { display: none; }
.has-fav .reco, .has-recent .reco, .has-recent [data-recent-sec] { display: block; }

@media print { .site-head, .site-foot, .fn-gate, .bnav, .to-top { display: none; } }

/* 作品のサムネは正方形（myfans の thumbnail_image は 756x756）。枠を 1:1 にして切れないようにする。末尾に置き、他の .tl-th の比率より優先 */
.tl-th.tl-sq, .pd .tl-th.tl-sq, .wk-hero .tl-th.tl-sq { aspect-ratio: 1 / 1; }
/* 横長の枠を残す所（トップのスライド・特集の小さなサムネ・ジャンルのタイル）は、正方形の絵を contain で全体を見せ、左右は暗い単色。
   暗い色を置くのは絵の枠（.sl-pic）だけ。題名は枠の外（下）に出すので、地の色のままにする（7.21.0） */
.sl-pic, .feat-i.is-sq { background: #151515; }
.feat-i.is-sq .feat-img { object-fit: contain; }

/* ===== ガイドのハブ・一覧（7.6.0）: ジャンルの入口タイル → 押すとカードのグリッド ===== */
.gtiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.gtiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gtiles a { position: relative; display: grid; grid-template-columns: 20px 1fr auto; grid-template-areas: "i t n" "d d d"; align-items: center; gap: 4px 8px; height: 100%; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); }
.gtiles a:hover { border-color: var(--accent); }
.gtiles a:hover .gt-t { color: var(--accent-strong); }
.gt-i { grid-area: i; display: inline-flex; color: var(--accent); }
.gt-i svg { width: 20px; height: 20px; }
.gt-t { grid-area: t; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.gt-n { grid-area: n; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.gt-d { grid-area: d; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 760px) { .gtiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .gtiles li:last-child:nth-child(odd) { grid-column: auto; } .gtiles a { padding: 16px; } }
.gcards { margin-top: 12px; }
.gcards .tl-t, .tl-guide .tl-t { -webkit-line-clamp: 2; min-height: 2.8em; margin-top: 4px; }
.tl-guide .tl-th.is-noimg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); z-index: 1; }
.tl-guide .tl-ph { color: var(--ink-3); }
@media (min-width: 760px) and (max-width: 999px) { .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .gcat-top .gcards > .tl:nth-child(n+3) { display: none; } }   /* スマホのハブは各ジャンル 2 枚だけ。続きはジャンルの一覧へ */
.gcat-top .sec-title { display: flex; align-items: baseline; }
.gchips a[aria-current]:not(.is-cur) { color: var(--accent); border-color: var(--accent); }   /* 選択中は .is-cur の塗り（白字）。ここで色を上書きすると字が背景に溶けた（8.0.0 で修正） */
.gcat-top + .gcat-top { margin-top: 24px; }
nav + .searchform { margin-bottom: 8px; }

/* ===== 7.7: セール・割引速報、順位バッジ、顔出し・セールの絞り込み、1本あたりの目安 ===== */
.wf-checks { margin-top: 8px; }
.wf-ck { display: inline-flex !important; grid-template-columns: none; align-items: center; gap: 6px !important; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 14px !important; color: var(--ink) !important; cursor: pointer; }
.wf-ck input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.wf-ck em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.wf-ck:has(input:disabled) { color: var(--ink-3) !important; background: var(--sunken); cursor: default; }
.wf-ck:has(input:checked) { border-color: var(--accent); }

/* 順位の変化バッジ（サムネの左上、順位の右。順位が無いタイルでは左上に単独） */
.rb { position: absolute; top: 5px; left: 34px; z-index: 2; height: 18px; padding: 0 6px; display: inline-flex; align-items: center; background: var(--panel); color: var(--accent-strong); border: 1px solid var(--accent); font-size: 11px; font-weight: 700; line-height: 1; border-radius: var(--r-s); white-space: nowrap; }
.rb-solo { left: 6px; }
.rb-new { background: var(--accent); color: #fff; }
.rb-reg { color: var(--ink); border-color: var(--line-strong); }
.pf-rank .rb, .rk-now .rb { position: static; }
.rk-now { margin: 0 0 8px; }
.nchip-rb { background: var(--panel); color: var(--accent-strong); border: 1px solid var(--accent); font-weight: 700; }
.nchip-rb-new { background: var(--accent); color: #fff; }
.nchip-rb-reg { color: var(--ink); border-color: var(--line-strong); }
.nchip-sale { background: var(--accent); color: #fff; font-weight: 700; }
.rk-hist td, .rk-hist th { white-space: nowrap; }
.rk-hist th[scope="row"] { font-weight: 400; color: var(--ink-2); }

/* タイルの下の1行（セール・1本あたり） */
.tl-sale { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-sale b { margin-right: 4px; padding: 0 4px; background: var(--ink-3); color: #fff; font-size: 10px; border-radius: var(--r-s); }
.tl-sale.is-live b { background: var(--accent); }
.tl-pp { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-2); }
.tl-pp b { font-size: 12px; color: var(--ink); }
.tl-pp small { margin-left: 4px; font-size: 10px; color: var(--ink-3); }
.tl-pp.is-none b { font-weight: 400; color: var(--ink-3); }
.pf-pp { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.pf-pp b { color: var(--ink); }
.pf-pp.is-none b { color: var(--ink-3); }

/* 割引の一覧 */
.sl-list { list-style: none; display: grid; gap: 6px; margin: 8px 0 0; padding: 0; }
.sl-it { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); font-size: 13px; }
.sl-it.is-live { border-color: var(--accent); }
.sl-t { font-weight: 700; }
.sl-d { color: var(--ink); font-size: 12px; }
.sl-d b { color: var(--accent-strong); }
.sl-u { font-size: 12px; color: var(--accent-strong); font-weight: 700; }
.sl-u.is-unk { color: var(--ink-2); font-weight: 400; }
.sl-c, .sl-cond { flex-basis: 100%; font-size: 12px; color: var(--ink-2); }
.sl-c code { padding: 1px 6px; background: var(--sunken); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; border-radius: var(--r-s); user-select: all; }
.sec-title small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.sr-list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.sr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sr-th { display: block; }
.sr-bd { min-width: 0; }
.sr-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; color: var(--ink); }
.sr-t:hover { color: var(--accent-strong); }
.sr-by { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-2); }
.sr-meta { margin: 6px 0 0; font-size: 11px; color: var(--ink-3); }
@media (min-width: 760px) { .sr { grid-template-columns: 160px minmax(0, 1fr); } .sr-t { font-size: 15px; } }

/* クリエイターのヘッダ画像が無い時（2026-10-04 たけ指摘。作品の正方形サムネを横長に切り抜かない）:
   作品のサムネを枠の高さの正方形のまま横に並べる（2枚。引き伸ばし・大きな切り抜きをしない）。枠が横に余る分は単色 */
.tl-thumbs .tl-sqs { position: absolute; inset: 0; display: flex; justify-content: center; gap: 2px; }
.tl-thumbs { background: var(--frame); }   /* 一覧・トップのカード: 枠より小さいサムネの残りは暗い単色 */
.tl-thumbs .tl-ph { display: none; }
.tl-sqimg { display: block; height: 100%; width: auto; aspect-ratio: 1 / 1; flex: none; object-fit: cover; }
.tl-sq-a { position: relative; z-index: 3; display: block; height: 100%; aspect-ratio: 1 / 1; flex: none; }   /* クリエイターのカードの作品の絵: その作品のページへ */
.tl-sq-a .tl-sqimg { width: 100%; height: 100%; }
.tl-thumbs.is-broken::before { content: none; }
/* クリエイター詳細: ヘッダ画像が無い時は、枠を低くして、サムネ（正方形）の幅ぴったりに縮める（1枚なら1枚分。灰色の面を作らない） */
.pf-cover.pf-thumbs { position: relative; aspect-ratio: auto; height: 150px; width: fit-content; max-width: 100%; background: var(--frame); }
.pf-thumbs .tl-sqs { display: flex; gap: 2px; height: 100%; }
@media (min-width: 760px) { .pf-cover.pf-thumbs { height: 200px; } }

/* 作品の絵が横長（engine が測った縦横比が 1:1 から 12% 以上外れる）: 1:1 の枠で中央切りせず、全体を見せる（上下に暗い単色の余白） */
.tl-th.tl-fit { background: var(--frame); }
.tl-th.tl-fit > .tl-img { object-fit: contain; }
.tl-th.tl-fit > .tl-ph { display: none; }

/* ランキング一覧（/ranking/works/ ・ /ranking/creators/）: 種類・期間の切り替えは別ページへのリンク */
.seg .seg-a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--panel); font-size: 14px; color: inherit; text-decoration: none; }
.seg .seg-a:hover { border-color: var(--ink-3); color: var(--accent-strong); }
.seg .seg-a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.wrap-ranking .toolbar { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.rk-of { position: absolute; top: 0; left: 28px; z-index: 2; height: 28px; padding: 0 6px; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; line-height: 1; white-space: nowrap; }
.pd-1 .rk + .rk-of { left: 40px; height: 40px; font-size: 12px; }

/* タップ目安 44px（一覧カードのお気に入り・比較ボタン。見た目は 28px のまま、当たり判定だけ広げる。点検 L3） */
@media (pointer: coarse) { .tl > .fav::after, .tl > .cmp::after { content: ""; position: absolute; inset: -8px; } }

/* ハブ（fn_hub。/hub/<slug>/）と、全ページ下部の「誤りを報告」（塊 C・G。2026-10-05） */
.hb-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.hb-num { padding: 10px 12px; background: var(--sunken); border-radius: var(--r-m); }
.hb-num dt { font-size: 12px; color: var(--ink-2); }
.hb-num dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-num dd small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
@media (min-width: 760px) { .hb-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hb-concl { margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--sunken); font-size: 15px; line-height: 1.7; }
.hb-sec { margin-bottom: 20px; }
.hb-sec .ptable th[scope="row"] { white-space: normal; min-width: 11em; word-break: keep-all; overflow-wrap: anywhere; }
.hb-sec .ptable td { white-space: nowrap; }
.hb-sec .ptable th[scope="row"] { font-weight: 400; text-align: left; background: var(--panel); font-size: 14px; color: var(--ink); }
.hb-sec .ptable th[scope="row"] a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.hb-sec .ptable td.num, .hb-sec .ptable th.num { text-align: right; white-space: nowrap; }
.hb-links a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.hb-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; font-size: 14px; }
.hb-log { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.hb-log li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.hb-log time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.foot-report { margin-top: 16px; font-size: 12px; line-height: 1.7; }
.foot-report > a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.foot-report > span { margin-left: 12px; color: var(--ink-2); }
.foot-report > span a { text-decoration: underline; text-underline-offset: 2px; }
.rp-from { margin-bottom: 16px; word-break: break-all; }

/* 塊 H 機能・塊 I 技術の小物（2026-10-05。損益分岐・お気に入りの動き・価格の履歴・つまずき診断・数字の「?」・一覧の遅延表示） */
.js ul[data-more] > li[data-defer] { display: none; }   /* 一覧は最初の画面ぶんだけ。残りは more.js が「もっと見る」で出す（JS が無ければ全部見える） */
.pf-stats, .pf-sec { position: relative; }
/* 根拠を開くボタン: 「?」1文字ではなく「計算式と出どころ」という言葉で出す（文言の規則 W26）ので、幅は中身に合わせる */

.be-sum { font-size: 14px; line-height: 1.8; }
.be-f { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0 0; padding: 12px; background: var(--sunken); border-radius: var(--r-m); }
@media (min-width: 760px) { .be-f { grid-template-columns: 2fr 1fr 1fr; } }
.be-f label { display: block; min-width: 0; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.be-f select, .be-f input { display: block; width: 100%; height: 44px; margin-top: 4px; padding: 0 10px; font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); }
.be-f select:focus, .be-f input:focus { border-color: var(--accent); outline: none; }
.be-o { margin: 10px 0 0; font-size: 14px; line-height: 1.8; }
.row-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.row-thumb { flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border-radius: var(--r-m); background: var(--sunken); }
.row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.row-link > span:last-child { min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ptable th .row-link { min-width: 11em; }
@media (max-width: 759px) { .row-thumb { flex-basis: 44px; width: 44px; height: 44px; } }
.be-o strong { font-size: 20px; color: var(--accent-strong); }
.plan-cta { margin: 16px 0 0; padding: 14px 14px 12px; border: 2px solid var(--accent); border-radius: var(--r-l); background: var(--panel); }
.plan-cta .cta-wrap { margin: 10px 0 0 !important; }
.plan-cta .cta-wrap .cta { max-width: none; }
.plan-cta.is-soft { border-width: 1px; border-color: var(--line-strong); }
.be-plan-wins .plan-cta { background: var(--sunken); border-width: 3px; }

.fm { margin: 0 0 16px; padding: 12px; border: 1px solid var(--accent); border-radius: var(--r-m); background: var(--panel); }
.fm-t { font-size: 14px; line-height: 1.4; }
.fm-t small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--ink-2); }
.fm-l { list-style: none; margin: 8px 0 0; padding: 0; }
.fm-l > li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fm-n { font-weight: 700; margin-right: 4px; }
.fm-n:hover { color: var(--accent-strong); }
.fm-c { display: inline-block; padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-s); font-size: 11px; line-height: 1.6; color: var(--ink-2); }
.fm-c.is-sale { border-color: var(--accent); color: var(--accent-strong); }
.fm-c.is-new { border-color: var(--ink); color: var(--ink); }
.fm-more a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

.ph-sum { font-size: 14px; line-height: 1.8; }
.ph-ch { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.ph-ch time { color: var(--ink-2); margin-right: 4px; }

.tb { margin: 0 0 24px; }
.tb-q { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.tb-o { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-o .btn { height: auto; min-height: 44px; padding: 8px 14px; text-align: left; line-height: 1.5; }
.tb-g { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.9; }
.tb-g a, .tb-bk a, .tb-l a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.tb-bk { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; font-size: 13px; }
.tb-r { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.tb-h { margin: 12px 0 4px; font-size: 14px; }
.tb-l { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
.tb .sec-title { flex-wrap: wrap; }
.tb .sec-title small { flex-basis: 100%; margin-left: 0; }

/* ---------- 塊 E: クリエイター詳細の数字と結論・プラン別の1本あたり・価格レンジ（inc/creator.php） ---------- */
.cs-concl { margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid var(--accent); background: var(--sunken); font-size: 15px; font-weight: 700; line-height: 1.7; }
.cs-nums { margin-top: 0; }
@media (max-width: 759px) { .cs-nums > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.cs-rng { margin: 0 0 10px; font-size: 14px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.cs .ptable th[scope="row"] { font-weight: 400; text-align: left; background: var(--panel); font-size: 14px; color: var(--ink); white-space: normal; min-width: 8em; overflow-wrap: anywhere; }
.cs .ptable td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cs .ptable td.cs-w { white-space: normal; min-width: 12em; }
.cs .ptable td.cs-w a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- おすすめ N 選（inc/roundups.php・single-fn_roundup.php） ---------- */
.rd-tbl { margin-bottom: 24px; }
.rd-tbl .ptable td.rd-str { white-space: normal; min-width: 7em; overflow-wrap: anywhere; }
.rd-it { margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.rd-h { display: flex; gap: 10px; align-items: baseline; margin: 0 0 10px; font-size: 18px; line-height: 1.5; }
.rd-h a { color: var(--ink); text-decoration: none; }
.rd-h a:hover { color: var(--accent-strong); text-decoration: underline; }
.rd-n { flex: none; min-width: 1.7em; padding: 0 6px; border-radius: var(--r-s, 2px); background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.rd-bd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rd-th { display: block; max-width: 320px; }
.rd-th.rd-av { max-width: 96px; }
.rd-by { margin: 0 0 6px; font-size: 13px; color: var(--ink-2); }
.rd-by a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.rd-nums { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; padding: 0; }
.rd-nums > div { min-width: 0; }
.rd-nums dt { font-size: 11px; color: var(--ink-3); }
.rd-nums dd { margin: 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rd-why, .rd-top { margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.rd-top a, .rd-lk a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.rd-lk { margin: 0 0 10px; font-size: 14px; }
.rd-mn .cta-wrap { margin: 0; }
@media (min-width: 760px) { .rd-bd { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; } .rd-th { max-width: none; } .rd-th.rd-av { max-width: 96px; } .rd-bd:has(.rd-av) { grid-template-columns: 96px minmax(0, 1fr); } }

/* ===== myfans X保存ランキング（トップの流れる帯 .xs-strip と、専用ページ .xr-page）と 爆乳データベース（.bd-page・トップの .bd-banner）=====
   動画・サムネが主役なので、カードの並びは暗い面（section.sec.on-dark）。色・余白・文字・角丸はトークンだけ（直書きしない）。
   競合は「順位と@だけ」を絵に重ねる作りで、数字が出ていない。こちらは順位をバッジで、指標の数字（保存／いいね）をカードの中でいちばん大きく出す。 */
.xs-more { margin: var(--sp-3) 0 0; }
.xs-more .btn { width: 100%; max-width: calc(var(--sp-6) * 13); border-color: var(--accent); color: var(--accent-strong); }
.xs-more .btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-lg { height: calc(var(--sp-6) + var(--sp-4)); font-size: var(--fs-l); font-weight: 700; }

/* 順位のバッジ（絵の左上。絵の上に置いてよい小さな印）。1〜3位だけ大きくアクセント色 */
.xr-rk { position: absolute; top: 0; left: 0; z-index: 2; min-width: var(--sp-6); height: var(--sp-6); padding: 0 var(--sp-2); display: grid; place-items: center; background: var(--dk-0); color: var(--dk-ink); font-size: var(--fs-l); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.is-top .xr-rk { min-width: calc(var(--sp-6) + var(--sp-2)); height: calc(var(--sp-6) + var(--sp-2)); background: var(--accent); color: var(--accent-ink); font-size: var(--fs-xl); }

/* トップの帯: 横にスクロールできる箱。3日間の上位が左から右へゆっくり流れ続ける（JS が scrollLeft を動かす）。指・マウスのドラッグ・横ホイール・‹ › で動かせる。
   JS が項目を複製して .is-flow を付ける（JS が無い・動きを減らす設定の時は、自動では流れない横スクロール） */
.xs-wrap { position: relative; }
.xs-flow { margin: 0 calc(var(--pp) * -1); padding: 0 var(--pp); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; -webkit-user-select: none; user-select: none; }
.xs-flow::-webkit-scrollbar { display: none; }
.xs-flow.is-flow { padding: 0; }
.xs-flow.is-drag { cursor: grabbing; }
.xs-slide-a, .xs-slide-img { -webkit-user-drag: none; }
.xs-nav { position: absolute; top: calc(var(--sp-6) * 3); z-index: 3; width: calc(var(--sp-6) + var(--sp-2)); height: calc(var(--sp-6) * 2); margin-top: calc(var(--sp-6) * -1); padding: 0; border: 0; border-radius: var(--r-m); background: var(--dk-0); color: var(--dk-ink); font-size: var(--fs-2xl); line-height: 1; cursor: pointer; opacity: .85; }
.xs-nav:hover:not(:disabled) { background: var(--accent); color: var(--accent-ink); opacity: 1; }
.xs-nav:disabled { opacity: .3; cursor: default; }
.xs-nav[hidden] { display: none; }
.xs-prev { left: calc(var(--pp) * -1 + var(--sp-1)); }
.xs-next { right: calc(var(--pp) * -1 + var(--sp-1)); }
.xs-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.xs-slide { flex: none; width: calc(var(--sp-6) * 4.5); margin-right: var(--sp-3); }
.xs-slide-a { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; color: var(--ink); }
.xs-slide.is-top .xs-slide-a { border-top: 3px solid var(--accent); }
.xs-slide-a:hover { border-color: var(--accent); color: var(--ink); }
.xs-slide-pic { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--frame); overflow: hidden; }
.xs-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xs-slide-bd { display: block; padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.xs-slide-v { display: flex; align-items: baseline; gap: var(--sp-1); }
.xs-slide-v small { font-size: var(--fs-xs); color: var(--ink-2); }
.xs-slide-v b { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; }
.xs-slide.is-top .xs-slide-v b { color: var(--accent-strong); }
.xs-slide-n { display: block; font-size: var(--fs-s); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 760px) { .xs-slide { width: calc(var(--sp-6) * 5); } }

/* 専用ページ: 見出し → 期間・タグ（リンク）→ 暗いパネルにカード → ページ送り */
.xr-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.xr-actions .cta.s { min-height: calc(var(--sp-6) + var(--sp-2)); }
.xr-bar, .bd-bar { display: grid; gap: var(--sp-3); }
.xr-tabs, .xr-tags { display: grid; gap: var(--sp-1); align-items: start; }
.xr-lab { font-size: var(--fs-s); color: var(--ink-2); }
.xr-bar .sorts, .xr-bar .gchips, .bd-bar .gchips { margin-bottom: 0; }
.xr-more { margin-top: var(--sp-2); }
.xr-more > summary { cursor: pointer; font-size: var(--fs-s); color: var(--ink-2); }
.xr-more[open] > summary { margin-bottom: var(--sp-2); }
.xr-more .gchips { flex-wrap: wrap; overflow: visible; }
@media (min-width: 760px) {
	.xr-tabs, .xr-tags { grid-template-columns: calc(var(--sp-6) * 2) minmax(0, 1fr); gap: var(--sp-2); }
	.xr-lab { padding-top: var(--sp-2); }
	.xr-tags > .xr-more { grid-column: 2; }
}

.xr-grid, .bd-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0; padding: 0; }
@media (min-width: 760px) { .xr-grid, .bd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); } }
@media (min-width: 1000px) { .xr-grid, .bd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .xr-grid, .bd-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.xr-grid + .pagination { margin-top: var(--sp-4); }

.xr-card, .bd-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; scroll-margin-top: calc(var(--sp-6) * 3); }
.xr-card.is-top { border-top: 3px solid var(--accent); }
.xr-pic { position: relative; aspect-ratio: 3 / 4; background: var(--frame); overflow: hidden; }
.xr-img, .xr-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 動画は押して再生が始まるまで見せない（サムネのまま）。始まったらサムネと同じ切り方（cover）で同じ枠に重なるので、絵が跳ねない */
.xr-v { z-index: 1; background: var(--frame); opacity: 0; pointer-events: none; }
.xr-pic.is-started .xr-v { opacity: 1; }
.xr-pic .xr-rk { pointer-events: none; }
.xr-pic-a { position: absolute; inset: 0; z-index: 2; display: block; }   /* 動画（絵）を押す → myfans のその作品（アフィ）。再生は右下の ▶ だけ */
.xr-open { position: absolute; right: var(--sp-2); bottom: var(--sp-2); z-index: 3; width: calc(var(--sp-6) + var(--sp-4)); height: calc(var(--sp-6) + var(--sp-4)); margin: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: var(--r-m); background: var(--dk-0); color: var(--dk-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.xr-open:hover { background: var(--accent); color: var(--accent-ink); }
.xr-play, .xr-pause { display: grid; place-items: center; }
.xr-pause { display: none; }
.xr-pic.is-play .xr-play { display: none; }
.xr-pic.is-play .xr-pause { display: grid; }
.xr-snd { position: absolute; left: var(--sp-2); bottom: var(--sp-2); z-index: 3; min-height: calc(var(--sp-6) + var(--sp-3)); padding: 0 var(--sp-3); border: 0; border-radius: var(--r-m); background: var(--dk-0); color: var(--dk-ink); font-size: var(--fs-s); font-weight: 700; line-height: 1; cursor: pointer; }
.xr-snd:hover { background: var(--accent); color: var(--accent-ink); }
.xr-bd, .bd-bd { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-2) var(--sp-3) var(--sp-3); flex: 1; }
.xr-val { display: flex; align-items: baseline; gap: var(--sp-1); margin: 0; }
.xr-val span { font-size: var(--fs-xs); color: var(--ink-2); }
.xr-val b { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; }
.xr-card.is-top .xr-val b { color: var(--accent-strong); }
.xr-who { margin: 0; min-width: 0; }
.xr-name { display: block; padding: var(--sp-2) 0; margin: calc(var(--sp-2) * -1) 0; font-size: var(--fs-m); font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 名前は1回だけ。押せる高さは 36px */
a.xr-name:hover { color: var(--accent-strong); }
.bd-name a:hover { color: var(--accent-strong); }
.cta.xr-cta, .cta.bd-cta { display: flex; justify-content: center; text-align: center; margin-top: auto; align-self: stretch; min-height: calc(var(--sp-6) + var(--sp-2)); padding: var(--sp-1) var(--sp-2); font-size: var(--fs-s); white-space: normal; }
/* 絵の下のボタン。主は塗りの「このクリエイターを見る」1つ。アフィリンクがある時だけ、枠付きの「myfansで見る」を下に添える */
.cta.xr-go { display: flex; justify-content: center; align-items: center; text-align: center; margin-top: auto; align-self: stretch; min-height: calc(var(--sp-6) + var(--sp-2)); padding: var(--sp-1) var(--sp-1); font-size: min(var(--fs-s), 3.3vw); white-space: nowrap; }
/* 爆乳データベース */
.bd-only { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 0; }
.bd-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.bd-form input[type="search"], .bd-form select { height: calc(var(--sp-6) + var(--sp-2)); padding: 0 var(--sp-3); font-size: var(--fs-l); background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-m); color: var(--ink); -webkit-appearance: none; appearance: none; }
.bd-form input[type="search"] { flex: 1 1 calc(var(--sp-6) * 6); min-width: 0; }
.bd-form select { flex: 0 1 auto; max-width: 100%; padding-right: var(--sp-5); }
.bd-form input[type="search"]:focus { border-color: var(--accent); outline: none; }
.bd-form .cta.s { min-height: calc(var(--sp-6) + var(--sp-2)); }
.bd-pic.tl-th { aspect-ratio: 1 / 1; background: var(--frame); }
.bd-pic-a { position: absolute; inset: 0; display: block; }
.bd-cup { position: absolute; top: var(--sp-2); left: var(--sp-2); z-index: 2; display: flex; align-items: baseline; gap: var(--sp-1); padding: var(--sp-1) var(--sp-2); background: var(--dk-0); color: var(--dk-ink); border: 2px solid var(--accent); border-radius: var(--r-s); pointer-events: none; }
.bd-cup b { font-size: var(--fs-xl); line-height: 1; font-weight: 700; }
.bd-cup small { font-size: var(--fs-xs); }
.bd-name { margin: 0; }
.bd-name a { display: flex; align-items: center; min-height: calc(var(--sp-6) + var(--sp-3)); font-size: var(--fs-m); font-weight: 700; line-height: 1.4; }   /* 押せる高さは 44px 以上。文字は2行まで */
.bd-name a > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-3); margin: 0; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-2); }
.bd-meta .ico { margin-right: var(--sp-1); }
.bd-by a { display: inline-flex; align-items: center; min-height: calc(var(--sp-6) + var(--sp-3)); color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }   /* クリエイター名: 押せる高さは 44px 以上 */
.bd-by a:hover { color: var(--accent-strong); }
.bd-price { font-size: var(--fs-m); color: var(--ink); }
.bd-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); margin: 0; padding: 0; }
@media (min-width: 760px) { .bd-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-3); } }
.bd-tile { display: grid; justify-items: center; padding: var(--sp-3) var(--sp-2); background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-m); color: var(--ink); }
.bd-tile:hover { border-color: var(--accent); color: var(--ink); }
.bd-tile b { position: relative; font-size: calc(var(--fs-2xl) * 2); line-height: 1.1; font-weight: 700; color: var(--accent-strong); }
.bd-tile small { font-size: var(--fs-xs); color: var(--ink-2); }
.bd-tile span { font-size: var(--fs-m); font-weight: 700; }
.bd-tile i { font-style: normal; font-variant-numeric: tabular-nums; }

/* ===== 11. v8: 一覧・詳細・記事のページをパネルに載せる（2026-10-09）=====
   一覧: 見出し・並べ替え・タイルをそれぞれ白いパネルにする（見出しのパネルだけ上にアクセントの線）。
   詳細: 先頭の顔（プロフィール・作品の頭）を1枚のパネルにする。記事: 記事全体を1枚のパネルにし、本文の h2 は帯にする。 */
.wrap-list > :is(.l-head, .toolbar, .tiles, .gchips, .gimgs, .gcloud, .genre-tiles, .rows, .share, .tb, .gcat-sec, .gcat-nav, .fm),
.wrap-detail article > :is(.pf-card, .pf-stats, .wk-top),
.wrap-detail > :is(.a-policy) {
	position: relative; margin: var(--sp-2) calc(var(--pad-sp) * -1) 0; padding: var(--pp); background: var(--panel);
	border: solid var(--edge); border-width: 1px 0; border-radius: var(--r-0);
}
.wrap-list > :is(.l-head, .gcat-sec) { border-top: 3px solid var(--accent); }
.wrap-list > .fm { border-color: var(--accent); }
.wrap-list > .gcat-sec > .sec-title { margin: calc(var(--pp) * -1) calc(var(--pp) * -1) var(--pp); padding: var(--sp-3) var(--pp); background: var(--sunken); border-bottom: 1px solid var(--line); font-size: 18px; }
.wrap-list > .gcat-sec { margin-top: var(--sp-2); }
.wrap-list > .gcat-top + .gcat-top { margin-top: var(--sp-2); }
.wrap-list > .l-head { margin-top: var(--sp-2); }
.wrap-list > .l-head > .l-title { font-size: var(--fs-xl); }
.wrap-list > .gchips, .wrap-list > .sorts, .wrap-list > .gtabs-nav { margin-bottom: 0; }
.wrap-list > .pagination { margin: var(--sp-4) 0 0; }
.wrap-list > .toolbar { gap: var(--sp-2); }
.wrap-list > .toolbar > * { margin-bottom: 0; }
.wrap-list > .toolbar .sorts, .wrap-list > .toolbar .gchips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
/* 詳細ページ: パンくず・ページ内ナビは地の上。顔の部分は白いパネル、カバー画像の行は暗い面 */
.wrap-detail article > .pf-cover { margin: var(--sp-2) calc(var(--pad-sp) * -1) 0; border-radius: var(--r-0); background: var(--dk-1); }
.wrap-detail article > .pf-cover.pf-thumbs { width: auto; max-width: none; height: auto; padding: var(--sp-2); background: var(--dk-1); }
.wrap-detail article > .pf-cover.pf-thumbs .tl-sqs { height: 150px; overflow: hidden; }
.wrap-detail article > .pf-card { margin-top: 0; border-top: 0; }
.wrap-detail article > .pf-stats { margin-top: var(--sp-2); padding: 0; gap: 0; overflow: hidden; background: var(--panel); }
.wrap-detail article > .pf-stats > div { margin: 0 -1px -1px 0; background: var(--panel); border: solid var(--line); border-width: 0 1px 1px 0; }
.wrap-detail article > .wk-top { gap: var(--sp-4); }
.wrap-detail article .wk-hero { background: var(--dk-1); }
.wrap-detail article .wk-hero .tl-th { background: var(--dk-1); }
.wrap-detail > .a-policy { margin-top: var(--sp-2); font-size: var(--fs-s); }
.pf-name, .wk-title { font-size: var(--fs-xl); }
.l-title { font-size: var(--fs-xl); }
@media (min-width: 760px) {
	.wrap-list > :is(.l-head, .toolbar, .tiles, .gchips, .gimgs, .gcloud, .genre-tiles, .rows, .share, .tb, .gcat-sec, .gcat-nav, .fm),
	.wrap-detail article > :is(.pf-card, .pf-stats, .wk-top),
	.wrap-detail > :is(.a-policy) { margin: var(--sp-4) 0 0; border-width: 1px; border-radius: var(--r-m); }
	.wrap-list > :is(.l-head, .gcat-sec) { border-top-width: 3px; }
	.wrap-list > .l-head { margin-top: var(--sp-4); }
	.wrap-list > .gcat-sec, .wrap-list > .gcat-top + .gcat-top { margin-top: var(--sp-4); }
	.wrap-list > .l-head > .l-title, .pf-name, .wk-title, .l-title { font-size: var(--fs-2xl); }
	.wrap-detail article > .pf-cover { margin: var(--sp-4) 0 0; border-radius: var(--r-m); }
	.wrap-detail article > .pf-stats { margin-top: var(--sp-4); }
	.wrap-detail article > .pf-card { margin-top: var(--sp-4); }
	.wrap-list > .tiles.is-feat, .gimgs { gap: var(--sp-3); }
	.gimgs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 記事: 全体を1枚のパネルに。本文の h2 は沈んだ色の帯（左に 4px のアクセント）、h3 は太字のまま */
.wrap-article > article.article { margin: var(--sp-2) calc(var(--pad-sp) * -1) 0; padding: var(--pp); background: var(--panel); border: solid var(--edge); border-width: 3px 0 1px; border-top-color: var(--accent); }
@media (min-width: 760px) { .wrap-article > article.article { margin: var(--sp-4) 0 0; border-width: 3px 1px 1px; border-radius: var(--r-m); } }
.a-head { padding-top: 0; }
.entry h2 { margin: 2em calc(var(--pp) * -1) .8em; padding: var(--sp-3) var(--pp); background: var(--sunken); border: solid var(--line); border-width: 1px 0; border-left: 4px solid var(--accent); font-size: 18px; }
@media (min-width: 760px) { .entry h2 { font-size: var(--fs-xl); } }
.entry .lead h2, .entry .fn-summary h2, .entry .src h2, .entry details.toc h2 { margin: 0 0 8px; padding: 0; background: transparent; border: 0; }
.wrap-article .related { margin-top: var(--sp-2); }

/* ===== 見本動画（クリエイター詳細・作品詳細の上のほう）。大きい1本＋横に流せる数本。動画の直下にアフィのボタン ===== */
.sv-main { max-width: calc(var(--sp-6) * 22); }
.sv-stage { position: relative; width: 100%; aspect-ratio: var(--sv-ar, 16 / 9); max-height: min(70vh, calc(var(--sp-6) * 18)); background: var(--frame); overflow: hidden; }
.sv-img, .sv-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sv-v { z-index: 1; background: var(--frame); opacity: 0; pointer-events: none; }
.sv-stage.is-started .sv-v { opacity: 1; }
.sv-open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--dk-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sv-play, .sv-pause { position: absolute; right: var(--sp-3); bottom: var(--sp-3); width: calc(var(--sp-6) + var(--sp-5)); height: calc(var(--sp-6) + var(--sp-5)); display: grid; place-items: center; background: var(--dk-0); border-radius: var(--r-m); }
.sv-pause { display: none; }
.sv-stage.is-play .sv-play { display: none; }
.sv-stage.is-play .sv-pause { display: grid; }
.sv-open:hover .sv-play, .sv-open:hover .sv-pause { background: var(--accent); color: var(--accent-ink); }
.sv-snd { position: absolute; left: var(--sp-3); bottom: var(--sp-3); z-index: 3; min-height: calc(var(--sp-6) + var(--sp-3)); padding: 0 var(--sp-3); border: 0; border-radius: var(--r-m); background: var(--dk-0); color: var(--dk-ink); font-size: var(--fs-s); font-weight: 700; line-height: 1; cursor: pointer; }
.sv-snd:hover { background: var(--accent); color: var(--accent-ink); }
.sv-act { margin: var(--sp-3) 0 0; }
.sv-cta { width: 100%; }
.sv-strip-wrap { margin-top: var(--sp-3); }
.sv-strip { list-style: none; display: flex; gap: var(--sp-2); margin: 0; padding: 0 0 var(--sp-1); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sv-strip li { flex: none; scroll-snap-align: start; }
.sv-th { display: block; width: calc(var(--sp-6) * 4); aspect-ratio: 16 / 9; margin: 0; padding: 0; border: 2px solid transparent; border-radius: var(--r-m); background: var(--frame); overflow: hidden; cursor: pointer; }
.sv-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-th.is-cur { border-color: var(--accent); }

/* ===== 12. 動き（8.5.0・2026-10-10 たけ指示「めっちゃ動きのある感じ。スライドもランキングも、リッチでモダンな UI」）=====
   原則: 動かすのは transform と opacity だけ（レイアウトは動かさない＝CLS 0）。画面に入った時だけ動かす（assets/js/motion.js が .mo-in / .mo-vis を付ける）。
   止まった飾り（影・角丸・淡い色面）は足さない。光が走る帯・奥で動く光だけ、一時的にグラデーションを使う。色はオレンジ（--accent の仲間）の中で巡らせる。
   動きを減らす設定（prefers-reduced-motion）では全部止まる（下の @media の中にだけ書く）。JS が無い時は何も動かず、ふつうに見える。
   使う印: [data-mo] = 画面に入ったら浮かび上がる（PHP が付ける。JS が来なくても 3 秒後に必ず出る）／ .mo-x = JS が付ける同じ物 ／ [data-count] = 数え上げる数字 ／ .mo-vis = 画面内にある間だけ続く動き */
:root { --mo-warm: #FF9A1F; --mo-ease: cubic-bezier(.2, .8, .2, 1); }
[data-count] { font-variant-numeric: tabular-nums; }
i[data-count] { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
	@keyframes mo-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
	@keyframes mo-fs { to { opacity: 1; transform: none; } }
	@keyframes mo-sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 26%, 100% { transform: translateX(260%) skewX(-18deg); } }
	@keyframes mo-sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
	@keyframes mo-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
	@keyframes mo-ring-b { 0% { transform: scale(1); opacity: .65; } 65%, 100% { transform: scale(1.04, 1.5); opacity: 0; } }
	@keyframes mo-twinkle { 0%, 100% { opacity: .1; } 50% { opacity: 1; } }
	@keyframes mo-glow { from { transform: translateX(-35%); } to { transform: translateX(35%); } }
	@keyframes mo-hue { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

	/* 入場: 少し下から浮かび上がる。同じ瞬間に出た物は --d（motion.js が 70ms ずつ）で順に */
	.js [data-mo]:not(.mo-in), .mo-x:not(.mo-in) { opacity: .01; transform: translateY(14px); }   /* 0 でなく .01: 先頭の絵が LCP から外れないように */
	.js:not(.mo-ready) [data-mo]:not(.mo-in) { animation: mo-fs 0s 3s forwards; }   /* motion.js が動き出さなければ（.mo-ready が付かなければ）3 秒後には必ず出る */
	[data-mo].mo-in, .mo-x.mo-in { animation: mo-rise .55s var(--mo-ease) var(--d, 0ms) backwards; }

	/* 押した時の手応え・マウスを載せた時の持ち上がり */
	.cta, .btn, .tl-buy, .bd-tile, .xs-slide-a, .xr-card, .bd-card { transition: transform .16s var(--mo-ease); }
	.cta:active, .btn:active, .tl-buy:active, .bd-tile:active, .xs-slide-a:active { transform: scale(.97); }
	@media (hover: hover) {
		.bd-tile:hover, .xs-slide-a:hover, .xr-card:hover, .bd-card:hover { transform: translateY(calc(var(--sp-1) * -1)); }
		.bd-tile:active, .xs-slide-a:active { transform: scale(.97); }
	}

	/* アフィのボタン（「この作品を見る」など）: 数秒おきに光が一筋走る。画面にある間だけ。枚ごとに位相をずらす */
	a.cta[rel~="sponsored"] { position: relative; overflow: hidden; }
	.tl-buy::after, a.cta[rel~="sponsored"]::after, :is(.tl, .pd) .rk-top::after, .is-top .xr-rk::after {
		content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; pointer-events: none;
		background: linear-gradient(100deg, transparent 0, rgba(255, 255, 255, .6) 50%, transparent 100%);
		transform: translateX(-120%) skewX(-18deg);
	}
	:is(.tl, .pd, .xr-card, .bd-card, .sv-main).mo-vis :is(.tl-buy, a.cta[rel~="sponsored"])::after,
	a.cta[rel~="sponsored"].mo-vis::after { animation: mo-sheen 4.6s linear var(--sd, 0s) infinite; }
	:is(.tl, .pd, .xr-card, .bd-card):nth-child(3n + 2) { --sd: 1.5s; }
	:is(.tl, .pd, .xr-card, .bd-card):nth-child(3n) { --sd: 3s; }

	/* 1〜3位の印: 光が走り、色がオレンジ ⇄ 琥珀へゆっくり巡る */
	:is(.tl, .pd) .rk-top, .is-top .xr-rk { overflow: hidden; }
	:is(.tl, .pd) .rk-top::before, .is-top .xr-rk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mo-warm); opacity: 0; pointer-events: none; }
	:is(.tl, .pd).mo-vis .rk-top::after, .xr-card.mo-vis.is-top .xr-rk::after, .xs-slide.mo-vis.is-top .xr-rk::after { animation: mo-sheen 3.4s linear var(--sd, 0s) infinite; }
	:is(.tl, .pd).mo-vis .rk-top::before, .xr-card.mo-vis.is-top .xr-rk::before, .xs-slide.mo-vis.is-top .xr-rk::before { animation: mo-hue 3.8s ease-in-out var(--sd, 0s) infinite; }

	/* ▶ ボタン: 再生前だけ、輪が広がって消える */
	.xr-open::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--dk-accent); border-radius: inherit; opacity: 0; pointer-events: none; }
	.xr-card.mo-vis .xr-pic:not(.is-play) .xr-open::after { animation: mo-ring 2.6s ease-out var(--sd, 0s) infinite; }

	/* トップの帯・爆乳データベースの入口の下のボタン: 輪が時々広がる */
	.xs-more .btn { position: relative; }
	.xs-more .btn::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--accent); border-radius: var(--r-m); opacity: 0; pointer-events: none; }
	:is(.xs-strip, .bd-banner).mo-vis .xs-more .btn::after { animation: mo-ring-b 3s ease-out 1s infinite; }

	/* 爆乳データベースの入口: 奥で光が動き、星がまたたき、カップの文字の色が巡り、タイルを光の帯が順に走る */
	.bd-banner { overflow: hidden; }
	.bd-banner > * { position: relative; z-index: 1; }
	.bd-banner::before { content: ""; position: absolute; z-index: 0; top: -45%; bottom: -45%; left: 10%; width: 80%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 90, 46, .3), transparent); }
	.bd-banner.mo-vis::before { animation: mo-glow 8s ease-in-out infinite alternate; }
	.bd-banner::after, .bd-tiles::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .1; }
	.bd-banner::after {
		background:
			radial-gradient(circle at 6% 20%, #fff 0 1.5px, rgba(255, 255, 255, .35) 3px, transparent 7px),
			radial-gradient(circle at 92% 28%, #fff 0 1.5px, rgba(255, 255, 255, .35) 3px, transparent 7px),
			radial-gradient(circle at 48% 9%, var(--mo-warm) 0 1.5px, rgba(255, 154, 31, .4) 3px, transparent 7px),
			radial-gradient(circle at 70% 92%, #fff 0 1.5px, rgba(255, 255, 255, .35) 3px, transparent 7px);
	}
	.bd-tiles { position: relative; }
	.bd-tiles::after {
		background:
			radial-gradient(circle at 22% 24%, #fff 0 1px, rgba(255, 154, 31, .5) 2px, transparent 5px),
			radial-gradient(circle at 63% 14%, #fff 0 1px, rgba(255, 154, 31, .5) 2px, transparent 5px),
			radial-gradient(circle at 80% 72%, #fff 0 1px, rgba(255, 154, 31, .5) 2px, transparent 5px),
			radial-gradient(circle at 38% 84%, #fff 0 1px, rgba(255, 154, 31, .5) 2px, transparent 5px),
			radial-gradient(circle at 96% 46%, #fff 0 1px, rgba(255, 154, 31, .5) 2px, transparent 5px);
	}
	.bd-banner.mo-vis::after { animation: mo-twinkle 3.4s ease-in-out infinite; }
	.bd-banner.mo-vis .bd-tiles::after { animation: mo-twinkle 2.5s ease-in-out -1.1s infinite; }
	.bd-tile { position: relative; overflow: hidden; }
	.bd-tile b::after { content: attr(data-t); content: attr(data-t) / ""; position: absolute; inset: 0; color: var(--mo-warm); opacity: 0; pointer-events: none; }
	.bd-tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none; background: linear-gradient(100deg, transparent 0, rgba(255, 255, 255, .24) 50%, transparent 100%); transform: translateX(-120%) skewX(-18deg); }
	.bd-banner.mo-vis .bd-tile::after { animation: mo-sheen 5s linear infinite; }
	.bd-banner.mo-vis .bd-tile b::after { animation: mo-hue 3.6s ease-in-out infinite; }
	.bd-tiles li:nth-child(2) .bd-tile::after { animation-delay: .35s; } .bd-tiles li:nth-child(3) .bd-tile::after { animation-delay: .7s; }
	.bd-tiles li:nth-child(4) .bd-tile::after { animation-delay: 1.05s; } .bd-tiles li:nth-child(5) .bd-tile::after { animation-delay: 1.4s; } .bd-tiles li:nth-child(6) .bd-tile::after { animation-delay: 1.75s; }
	.bd-tiles li:nth-child(2) .bd-tile b::after { animation-delay: .6s; } .bd-tiles li:nth-child(3) .bd-tile b::after { animation-delay: 1.2s; }
	.bd-tiles li:nth-child(4) .bd-tile b::after { animation-delay: 1.8s; } .bd-tiles li:nth-child(5) .bd-tile b::after { animation-delay: 2.4s; } .bd-tiles li:nth-child(6) .bd-tile b::after { animation-delay: 3s; }

	/* トップのスライド: ゆっくりした寄り（Ken Burns）、切り替わった時に題名が順に浮かび絵に光が一度走る、進み具合の線、いまの点が伸びる */
	.sl-img.fn-img { transition: opacity .3s ease, transform .9s var(--mo-ease); }
	.hero-slider.is-kb .sl.is-cur .sl-img { transform: scale(1.09); transition: opacity .3s ease, transform 7s linear; }
	.sl:nth-child(even) .sl-img { transform-origin: 70% 62%; }
	.sl:nth-child(odd) .sl-img { transform-origin: 30% 40%; }
	.sl.is-enter .sl-k { animation: mo-rise .55s var(--mo-ease) backwards; }
	.sl.is-enter .sl-t { animation: mo-rise .55s var(--mo-ease) 110ms backwards; }
	.sl.is-enter .sl-s { animation: mo-rise .55s var(--mo-ease) 220ms backwards; }
	.sl.is-enter .sl-pic::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; background: linear-gradient(100deg, transparent 0, rgba(255, 255, 255, .3) 50%, transparent 100%); animation: mo-sweep 1.1s ease-out 120ms both; }
	.sl-dots button::after { transition: transform .3s var(--mo-ease), background-color .3s ease; }
	.sl-dots button[aria-current="true"]::after { transform: scaleX(2); }
}
