/* siroutodouga.com — トークンは DESIGN.md。生のhexは :root 内のみ。モバイルファースト(390px) */
:root {
	--bg: #0f0f12;
	--surface: #1a1a1f;
	--surface-2: #151519;
	--border: #23232a;
	--border-strong: #3a3a43;
	--text: #f2f0ea;
	--muted: #a09fa8;
	--accent: #e8a33d;
	--on-accent: #0f0f12;
	--placeholder: #3a3a42;
	--placeholder-deep: #2a2a31;
	--placeholder-text: #c9c7cf;
	--scrim: rgba(15, 15, 18, .72);
	--overlay: rgba(15, 15, 18, .9);
	--live: #e5484d;

	--font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	--font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

	--fs-h1: 28px;
	--fs-h2: 19px;
	--fs-body: 14px;
	--fs-small: 12px;
	--fs-tiny: 11px;
	--fs-rank: 24px;
	--fs-rank-sm: 16px;

	--gutter: 16px;
	--gap: 12px;
	--section: 32px;
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 14px;
	--pill: 999px;
	--tap: 44px;
	--t: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 900; line-height: 1.3; }
ol, ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel__open:focus-visible, .reel__fav:focus-visible, .reel__who:focus-visible, .embed-more__item:focus-visible, .pickup-card a:focus-visible { outline-offset: -2px; } /* overflow:hidden の親の中でリングが切れないよう内側に */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--text); color: var(--on-accent); padding: 8px 14px; border-radius: var(--pill); }
.skip-link:focus { top: 8px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 720px; }
.site-main { padding-bottom: 8px; }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; }
.brand { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 24px; letter-spacing: .01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.live-link { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: 13px; font-weight: 700; white-space: nowrap; }
.live-link:hover { color: var(--live); }
.live-link__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.live-link__pr { font-size: 10px; font-weight: 400; color: var(--muted); }
/* 狭幅：ヘッダー右側（ライブチャット・♡・プレミアム）が全部出ても収まるように */
@media (max-width: 480px) {
	.live-link__dot { display: none; } /* PR 表示は消さない（ステマ規制）。点だけ省く */
	.site-header__actions { gap: 8px; }
}

/* ---------- 広告枠（PR） ---------- */
.ad-slot { margin-top: var(--section); text-align: center; }
.ad-slot__label { font-size: var(--fs-tiny); color: var(--muted); }
.ad-slot__body { display: flex; justify-content: center; min-height: 250px; margin-top: 4px; }

/* ---------- ボタン・チップ・バッジ ---------- */
.btn, .chip {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 1px solid var(--border-strong); border-radius: var(--pill); background: transparent; color: var(--text);
	font-weight: 700; line-height: 1; white-space: nowrap;
	transition: background-color var(--t) ease-out, color var(--t) ease-out, border-color var(--t) ease-out;
}
.btn { min-height: 38px; padding: 0 18px; font-size: 13px; }
.chip { min-height: 34px; padding: 0 14px; font-size: 13px; flex: none; }
.btn::before, .chip::before { content: ""; position: absolute; inset: -5px 0; } /* タップ領域44px */
.btn:hover, .chip:hover { background: var(--surface); }
.btn--sm { position: relative; min-height: 32px; padding: 0 14px; font-size: 12px; }
.btn--sm::before { content: ""; position: absolute; inset: -6px 0; } /* タップ領域 44px */
.btn--lg { min-height: 48px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent); filter: brightness(1.08); }
.btn--outline-accent { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) { .btn--outline-accent:hover { background: var(--accent); color: var(--on-accent); } } /* タッチ端末で押した後に塗りのまま残らない */
.btn--outline { border-color: var(--border-strong); }
.chip.is-active { background: var(--text); color: var(--on-accent); border-color: var(--text); }
.chip.is-active:hover { background: var(--text); }
.chip .icon { width: 14px; height: 14px; margin-right: -4px; }

.badge {
	display: inline-flex; align-items: center; min-height: 20px; padding: 0 9px; border-radius: var(--pill);
	font-size: var(--fs-tiny); font-weight: 700; line-height: 1; white-space: nowrap; border: 1px solid transparent;
}
.badge--service { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.badge--sns { border-color: var(--border-strong); color: var(--text); }
.badge--outline-accent { border-color: var(--accent); color: var(--accent); min-height: 24px; padding-inline: 12px; font-size: var(--fs-small); }
.badge--lg { min-height: 28px; padding-inline: 12px; font-size: 13px; }
.badge--link { position: relative; min-height: 30px; padding-inline: 14px; font-size: var(--fs-small); }
.badge--link::before { content: ""; position: absolute; inset: -7px 0; } /* タップ領域44px */
.badge--link:hover { background: var(--surface); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- プレースホルダー ---------- */
.ph {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(180deg, var(--placeholder), var(--placeholder-deep));
	color: var(--placeholder-text); font-size: var(--fs-small); text-align: center;
}
.ph--round { border-radius: 50%; }
.avatar { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--placeholder); border: 1px solid var(--border-strong); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; }
.avatar--xl { width: 96px; height: 96px; }

/* ---------- 共通レイアウト ---------- */
.tabs { display: flex; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--border); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; display: inline-flex; align-items: center; min-height: var(--tap); margin-bottom: -1px; padding: 0 10px; font-size: var(--fs-body); font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color var(--t) ease-out; }
.tab:first-child { padding-left: 0; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--accent); }
.tab:focus-visible, .feat__link:focus-visible { outline-offset: -2px; } /* overflow 行の中でリングが切れないように */
.tabs:first-child { margin-top: 8px; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding-block: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 18px; }
.page-head__title { font-size: var(--fs-h1); letter-spacing: .01em; }
.page-head__title--solo { margin-top: 24px; }
.page-head__aside { font-size: var(--fs-small); color: var(--muted); padding-bottom: 4px; white-space: nowrap; }
.lead { margin-top: 8px; color: var(--muted); font-size: var(--fs-body); }
.lead--center { text-align: center; }
.section { margin-top: var(--section); }
.section--tight { margin-top: 20px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.section-head__title { font-size: var(--fs-h2); margin-bottom: 12px; }
.section-head .section-head__title { margin: 0; }
.note { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.empty { padding: 28px 0; color: var(--muted); text-align: center; }
.muted { color: var(--muted); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; font-size: 13px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); }
.topbar__rank { color: var(--muted); }
.topbar__rank strong { color: var(--text); font-family: var(--font-head); font-size: var(--fs-rank-sm); }

.filters { margin-top: 14px; }
.filters .scroll-x { padding-block: 3px; }

/* 折りたたみ：JSありのときだけ閉じる（なしなら全表示） */
.js [data-collapsible]:not(.is-open) { display: none; }
html:not(.js) [data-sd-toggle] { display: none; }
.js .scroll-x[data-collapsible].is-open { display: flex; }

/* ---------- ランキング ---------- */
.rank-list { border-top: 1px solid var(--border); }
.rank-list--more { margin-top: 0; border-top: 0; }
.rank-row { border-bottom: 1px solid var(--border); }
.rank-row__link { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 2px; transition: background-color var(--t) ease-out; }
.rank-row__link:hover { background: var(--surface-2); }
.rank-num { flex: none; width: 28px; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: var(--fs-rank); line-height: 1; color: var(--muted); }
.rank-num.is-first { color: var(--accent); font-size: 28px; }
.rank-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rank-row__name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__meta { font-size: var(--fs-small); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__side { flex: none; display: flex; align-items: center; gap: 8px; text-align: right; }
.rank-row__play { width: 18px; height: 18px; color: var(--muted); }
.section-head__sub { font-size: var(--fs-small); color: var(--muted); }
.section-head { flex-wrap: wrap; }
.section-head__chips { display: flex; gap: 6px; margin-left: auto; }
.rank-row__prev { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.rank-row__chev { color: var(--muted); }
.rank-row--list .rank-row__link { align-items: flex-start; padding-block: 12px; }
.rank-row--list .rank-num { padding-top: 8px; }
.rank-row--list .rank-row__chev { align-self: center; }
.rank-row--list .badges { margin-top: 4px; }
.rank-list--plain .rank-row__link { align-items: center; }
[data-sd-toggle].btn { margin-top: 12px; }

/* 注目カード */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feat-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feat-card__thumb { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.feat-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.feat-card__name { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat-card__comment { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }


/* プレミアム導線 */
.premium-banner { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg); color: var(--accent); transition: background-color var(--t) ease-out; }
.premium-banner:hover { background: var(--surface-2); }
.premium-banner__crown { width: 26px; height: 26px; }
.premium-banner__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.premium-banner__text strong { font-family: var(--font-head); font-size: 15px; }
.premium-banner__text small { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }

/* ---------- リール ---------- */
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.reel { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reel__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.reel__open { position: absolute; inset: 0; display: block; }
.reel__open > img, .reel__open > video, .reel__open > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(180deg, transparent, var(--scrim) 55%); pointer-events: none; } /* 下半分は濃さ一定（白いサムネでも文字 4.5:1） */
.reel__rank { position: absolute; z-index: 1; top: 8px; left: 8px; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; background: var(--scrim); border-radius: var(--pill); font-family: var(--font-head); font-weight: 900; font-size: var(--fs-rank-sm); pointer-events: none; }
.reel-grid > .reel:first-child .reel__rank { color: var(--accent); }
.reel__sns { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; background: var(--scrim); border-radius: 50%; pointer-events: none; }
.reel__sns svg { width: 16px; height: 16px; }
.reel__who { position: absolute; z-index: 2; left: 4px; bottom: 0; max-width: calc(100% - 56px); display: flex; align-items: center; min-height: var(--tap); padding: 0 6px; font-size: var(--fs-small); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel__who:hover { text-decoration: underline; text-underline-offset: 3px; }
/* FANZA：作品名＋女優名（@handle の位置）。リンクではないのでタップはサムネへ通す */
.reel__who--work { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding-block: 4px; pointer-events: none; }
.reel__who--work:hover { text-decoration: none; }
.reel__who--work .reel__title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.reel__sub { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-tiny); font-weight: 400; line-height: 1.3; color: var(--text); } /* サムネ下部スクリム上では muted が 4.5:1 を切るため text。主従は太さで */
/* FANZA の「全編見る」横の PR 表示（景表法：広告リンクであることを隣接表示）。文字だけ、塗らない */
.reel__pr { margin-left: 6px; font-size: var(--fs-tiny); font-weight: 700; opacity: .85; }
/* 「公式」：SNSアイコンと同じスクリムのピル（上端はスクリム外なので文字だけでは読めない）。順位バッジの反対側 */
.reel__official { position: absolute; z-index: 1; top: 8px; right: 8px; height: 26px; display: flex; align-items: center; padding: 0 8px; font-size: var(--fs-tiny); font-weight: 700; line-height: 1; color: var(--text); background: var(--scrim); border-radius: var(--pill); pointer-events: none; }
.reel__fav { position: absolute; z-index: 2; right: 0; bottom: 0; display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; color: var(--text); background: transparent; border: 0; cursor: pointer; }
.reel__fav svg { width: 22px; height: 22px; transition: color var(--t) ease-out; }
.reel__fav[aria-pressed="true"] { color: var(--accent); }
.reel__fav[aria-pressed="true"] svg { fill: currentColor; }
.reel__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.reel__myfans { align-self: stretch; }
.fav-link { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin-right: -8px; color: var(--text); }
.fav-link:hover { color: var(--accent); }
.fav-link svg { width: 22px; height: 22px; }
/* モーダルの myfans 導線：折り返し可・縦長埋め込みでもスクロール位置に関わらず見える（sticky） */
.embed-pane__myfans { position: sticky; bottom: 8px; margin-top: 12px; padding-block: 10px; white-space: normal; line-height: 1.4; text-align: center; }
.reel__myfans::before { inset: -6px 0; } /* btn--sm でもタップ領域44px */
/* カード下の myfans：アンバー文字のテキストリンク（塗りはヒーローとモーダルだけ） */
.reel__myfans--text { align-self: flex-start; position: relative; display: inline-flex; align-items: center; min-height: 28px; padding: 0 2px; font-size: var(--fs-small); font-weight: 700; line-height: 1.3; color: var(--accent); white-space: nowrap; }
.reel__myfans--text::before { content: ""; position: absolute; inset: -3px -2px -13px; } /* タップ領域44px。サムネ側に被せず下へ寄せる */
.reel__myfans--text:hover { text-decoration: underline; text-underline-offset: 3px; }
.reel--hero .reel__media { border-radius: var(--radius); }
.reel--hero .reel__rank { top: 10px; left: 10px; min-width: 36px; height: 36px; padding: 0 10px; font-size: var(--fs-rank); }
.reel--hero .reel__body { align-items: stretch; }
.reel-grid--ranked > .reel:first-child { grid-column: span 2; grid-row: span 2; }
.reel-grid--ranked > .reel:first-child .reel__media { aspect-ratio: auto; flex: 1; min-height: 200px; }
@media (max-width: 719px) {
	.reel:not(.reel--hero) .reel__who { max-width: calc(100% - 48px); padding: 0 4px; font-size: var(--fs-tiny); } /* 3列（約115px）で @handle を読める幅に */
}

/* ---------- ハブ（All/X/インスタ/TikTok） ---------- */
.hub__side { display: flex; flex-direction: column; gap: 4px; }
.hub__chips { display: flex; gap: 10px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 6px; scrollbar-width: none; }
.hub__chips::-webkit-scrollbar { display: none; }
.hub__chiprow { display: flex; gap: 6px; flex: none; }
.hub__chiprow + .hub__chiprow { padding-left: 10px; border-left: 1px solid var(--border); }
.hub__fav { display: none; align-items: center; gap: 8px; min-height: var(--tap); font-size: var(--fs-small); color: var(--muted); }
.hub__fav:hover { color: var(--text); }
.hub__main { min-width: 0; }
.hub__main > .section-head--board { margin-top: 16px; margin-bottom: 12px; align-items: baseline; }
.section-head--board .section-head__title { font-size: var(--fs-h2); }
.section-head__aside { margin-left: auto; }
.hub__grid { margin-top: 0; }

.feat { margin-top: 4px; }
.feat__label { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-small); color: var(--muted); margin-bottom: 8px; padding-top: 6px; }
.feat__list { display: flex; gap: 14px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); margin-block: -4px; padding: 4px var(--gutter); scrollbar-width: none; }
.feat__list::-webkit-scrollbar { display: none; }
.feat__item { flex: none; width: 72px; }
.feat__link { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: var(--tap); text-align: center; }
.feat__avatar { width: 56px; height: 56px; }
.feat__text { display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
.feat__name { font-size: var(--fs-small); font-weight: 700; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat__comment { display: none; font-size: var(--fs-small); color: var(--muted); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat__link:hover .feat__name { text-decoration: underline; text-underline-offset: 3px; }

.play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--scrim); border: 1px solid var(--border-strong); }
.play .icon { width: 20px; height: 20px; margin-left: 2px; }

/* ---------- 個人クリエイター ---------- */

/* クリエイターページ */
.profile { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.profile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.profile__name { font-size: var(--fs-rank); }
.profile__meta { font-size: var(--fs-small); color: var(--muted); }
.profile__intro { margin-top: 16px; }
.profile__kuro { margin-top: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--fs-body); }
.profile__kuro-label { display: block; font-size: var(--fs-tiny); color: var(--accent); margin-bottom: 2px; font-weight: 700; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); transition: background-color var(--t) ease-out; }
.svc:hover { background: var(--surface); }
.svc__name { font-family: var(--font-head); font-weight: 900; font-size: 20px; line-height: 1.2; }
.svc__meta { font-size: var(--fs-small); line-height: 1.5; }
.svc__chev { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.svc--main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.svc--main:hover { background: var(--accent); filter: brightness(1.08); }
.sns-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-grid { display: grid; gap: 10px; }
.social-card { padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.social-card__head { display: flex; align-items: center; gap: 10px; }
.social-card__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: var(--on-accent); flex: none; }
.social-card__ico .icon { width: 18px; height: 18px; }
.social-card__who { flex: 1; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.social-card__who strong { font-size: 13px; }
.social-card__at { font-size: var(--fs-small); color: var(--muted); }
.social-card__media { position: relative; display: block; margin-top: 10px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--placeholder); }
.social-card__media img, .social-card__media video { width: 100%; height: 100%; object-fit: cover; }
.social-card__foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }
.social-card__ext { text-decoration: underline; text-underline-offset: 3px; }
.mini-row { display: flex; justify-content: space-around; gap: 8px; }
.mini { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.mini__name { font-size: 13px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- プレミアム ---------- */
.premium { padding-top: 24px; }
.kuro { text-align: center; }
.kuro__avatar { display: block; width: 124px; height: 124px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); }
.kuro__name { margin-top: 14px; font-size: 32px; }
.kuro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.price-card { margin-top: 24px; padding: 20px 16px; text-align: center; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg); }
.price-card__crown { margin: 0 auto 6px; width: 28px; height: 28px; color: var(--accent); }
.price-card__price { font-size: 30px; }
.price-card__price span { font-size: 16px; }
.price-card__text { margin: 8px 0 16px; font-size: 13px; color: var(--muted); }
.price-card__member { color: var(--accent); font-weight: 700; }
.price-card__login { margin-top: 10px; font-size: var(--fs-small); }
.price-card__login a { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.price-card__note { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.work-list { display: grid; gap: 12px; }
.work { display: flex; gap: 12px; align-items: stretch; }
.work__thumb { position: relative; flex: none; width: 42%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--placeholder); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work__thumb .play { width: 36px; height: 36px; top: auto; bottom: 6px; left: 50%; }
.work__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.work__title { font-size: 15px; }
.work__meta { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.work__lock { cursor: default; }
.work__lock:hover { background: transparent; }
.work-single { margin-top: 8px; }
.work-single__teaser { margin-top: 14px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.work-single__teaser img { width: 100%; height: 100%; object-fit: cover; }
.work-single__main { margin-top: 14px; }
.work-video { width: 100%; border-radius: var(--radius); background: var(--surface-2); }
.work-single__lock { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--muted); }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 18px; }
.field__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.field__label em { font-style: normal; font-size: var(--fs-tiny); color: var(--accent); margin-left: 4px; }
.field__help { margin-top: 4px; font-size: var(--fs-small); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
	width: 100%; min-height: var(--tap); padding: 10px 14px; background: var(--surface-2); color: var(--text);
	border: 1px solid var(--border-strong); border-radius: var(--radius); font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; }
.field__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: var(--tap); align-items: center; font-size: 13px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); }
.notice--ok { border-color: var(--accent); }
.prose { margin-top: 16px; }
.prose h2 { font-size: var(--fs-h2); margin: 20px 0 8px; }
.prose p { margin-bottom: 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.pagination { margin-top: 20px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--pill); }
.pagination .current { background: var(--text); color: var(--on-accent); }

/* ---------- フッター ---------- */
.site-footer { margin-top: var(--section); padding: 20px 0 32px; text-align: center; border-top: 1px solid var(--border); }
.site-footer__note { font-size: var(--fs-small); color: var(--muted); }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 2px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 年齢確認 ---------- */
.age-gate { display: none; position: fixed; inset: 0; z-index: 1000; place-items: center; padding: var(--gutter); background: var(--overlay); }
.age-pending .age-gate { display: grid; }
.age-pending body { overflow: hidden; }
.age-gate__box { width: 100%; max-width: 380px; padding: 28px 20px 22px; text-align: center; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.age-gate__brand { font-family: var(--font-head); font-weight: 900; font-size: 15px; color: var(--muted); }
.age-gate__title { margin-top: 10px; font-size: 22px; }
.age-gate__text { margin: 10px 0 20px; color: var(--muted); }
.age-gate__actions { display: flex; flex-direction: column; gap: 10px; }
.age-gate__actions .btn { min-height: 44px; }

/* ---------- 公式埋め込みダイアログ ---------- */
.embed-dialog { width: calc(100% - 2 * var(--gutter)); max-width: 580px; max-height: calc(100dvh - 2 * var(--gutter)); margin: auto; padding: 0; overflow: auto; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.embed-dialog::backdrop { background: var(--overlay); }
.embed-dialog[open] { animation: sd-fade 200ms ease-out both; }
html:has(.embed-dialog[open]) { overflow: hidden; }
.embed-dialog__inner { padding: 12px 16px 16px; }
.embed-dialog__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); }
.embed-dialog__title { font-size: 15px; }
.embed-dialog__x { display: grid; place-items: center; width: var(--tap); height: var(--tap); margin-right: -12px; color: var(--muted); background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.embed-dialog__x:hover { color: var(--text); }
.embed-dialog__status { padding: 16px 0; text-align: center; color: var(--muted); }
.embed-dialog__inner > .btn { margin-top: 16px; }
.embed-pane__embed { min-height: 120px; }
.embed-pane__embed .twitter-tweet, .embed-pane__embed .instagram-media, .embed-pane__embed .tiktok-embed { margin-inline: auto; }
.embed-pane__video { display: block; width: 100%; max-height: min(80dvh, 720px); aspect-ratio: 9 / 16; margin-inline: auto; background: var(--bg); border-radius: var(--radius); }
.embed-pane__dummy { padding: 48px 0; text-align: center; color: var(--muted); background: var(--placeholder-deep); border-radius: var(--radius); }
.embed-pane__review { margin-top: 12px; font-size: var(--fs-body); line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.embed-pane__read { margin-top: 12px; } /* 上の「全編見る」のタップ領域（::before）と重ならない間隔 */
.embed-pane__ext { margin-top: 8px; font-size: var(--fs-small); text-align: center; }
.embed-pane__ext a { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

/* ---------- FANZA 作品ページ・ターム一覧（/adult/ /actress/ /fanza-series/） ---------- */
.crumb { padding-top: 0; font-size: var(--fs-small); color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumb li + li::before { content: "›"; margin: 0 6px; }
.crumb a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: underline; text-underline-offset: 3px; }
.crumb [aria-current] { color: var(--text); }
.fz-single__title { margin-top: 4px; font-size: var(--fs-h1); line-height: 1.4; }
.fz-cast { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; }
.fz-cast__label { font-size: var(--fs-small); color: var(--muted); }
.fz-player { margin-top: 16px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.fz-player video, .fz-player img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 72dvh; object-fit: contain; background: var(--bg); }
.fz-note { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); }
.fz-cta { margin-top: 16px; }
@media (min-width: 720px) { .fz-cta .btn--block { max-width: 360px; } }
.fz-body { margin-top: var(--section); }
.fz-body > :first-child { margin-top: 0; }
.fz-body h2 { margin-top: 28px; font-size: var(--fs-h2); }
.fz-body h3 { margin-top: 20px; font-size: var(--fs-body); font-weight: 700; }
.fz-body p { margin-top: 10px; }
.fz-body ul, .fz-body ol { margin-top: 10px; padding-left: 1.4em; list-style: disc; }
.fz-body a { text-decoration: underline; text-underline-offset: 3px; }
.fz-body img, .fz-body video, .fz-body figure { max-width: 100%; height: auto; margin-inline: 0; }
.reel--pr .reel__official { color: var(--accent); background: var(--scrim); border: 1px solid var(--accent); }
.fz-term .page-head__aside { align-self: center; }
.actress-list { display: grid; gap: 0; }
.actress-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--tap); padding: 6px 2px; border-bottom: 1px solid var(--border); }
.actress-list a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.actress-list__n { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- モーション（控えめ） ---------- */
@keyframes sd-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.site-main .container > * { animation: sd-fade 240ms ease-out both; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- タブレット・PC ---------- */
@media (min-width: 720px) {
	:root { --gutter: 24px; --fs-h1: 32px; --fs-body: 15px; --section: 40px; }
	.reel-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.hub__main .reel-grid { grid-template-columns: repeat(5, 1fr); } /* ハブは5列。4列だとヒーロー2×2が1画面を超える */
	.feat-grid { gap: 16px; }
	.social-grid { grid-template-columns: repeat(2, 1fr); }
	.social-grid--single { grid-template-columns: 1fr; }
	.svc-grid { grid-template-columns: repeat(3, 1fr); }
	.scroll-x { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
	.age-gate__actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 1000px) {
	.reel-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
	.hub { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 24px; }
	.hub__side { position: sticky; top: 16px; gap: 0; max-height: calc(100dvh - 32px); margin: -4px -4px 0; padding: 4px 4px 0; overflow-y: auto; scrollbar-width: none; } /* 余白4pxはフォーカスリング用 */
	.hub__main .pickup-row { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
	.hub__side .tabs { flex-direction: column; margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--border); overflow: visible; }
	.hub__side .tabs:first-child { margin-top: 0; }
	.hub__side .tab, .hub__side .tab:first-child { margin: 0; padding: 0 0 0 12px; border-bottom: 0; border-left: 2px solid transparent; }
	.hub__side .tab.is-active { border-left-color: var(--accent); }
	.hub__chips { flex-direction: column; gap: 10px; overflow: visible; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--border); }
	.hub__chiprow { flex-wrap: wrap; }
	.hub__chiprow + .hub__chiprow { padding-left: 0; border-left: 0; }
	.hub__side .feat { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--border); }
	.feat--side .feat__list { flex-direction: column; gap: 4px; overflow: visible; margin: 0; padding: 0; }
	.feat--side .feat__item { width: auto; }
	.feat--side .feat__link { flex-direction: row; gap: 10px; text-align: left; }
	.feat--side .feat__avatar { width: 40px; height: 40px; }
	.feat--side .feat__text { flex: 1; }
	.feat--side .feat__comment { display: block; }
	.hub__fav { display: inline-flex; padding-top: 6px; }
	.hub__main > .section-head--board { margin-top: 0; }
	.rank-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.rank-list--more { margin-top: 0; }
	.creator-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
	.work-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.work { flex-direction: column; }
	.work__thumb { width: 100%; }
	.premium-banner { max-width: 720px; }
		.container:not(.container--narrow) .btn--block[data-sd-toggle] { max-width: 360px; margin-inline: auto; }
}

/* 補正 */
.avatar .ph { font-size: 10px; line-height: 1.2; }
.avatar--lg .ph, .avatar--xl .ph { font-size: var(--fs-small); }
@media (min-width: 720px) { .feat-grid { max-width: 760px; } }
.work__thumb .ph { align-items: start; padding-top: 12px; }

/* PICK UP（有料枠）：横スクロール＋scroll-snap。スクロールバーは隠さない */
.pickup-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.pickup-card { flex: 0 0 132px; scroll-snap-align: start; min-width: 0; }
.pickup-card__link { position: relative; display: flex; flex-direction: column; gap: 6px; }
.pickup-card__thumb { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.pickup-card__thumb > img, .pickup-card__thumb > .ph { width: 100%; height: 100%; object-fit: cover; }
.pickup-card__name { font-weight: 700; font-size: var(--fs-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickup-card__pr { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: var(--pill); background: var(--overlay); font-size: var(--fs-tiny); font-weight: 700; color: var(--text); }

/* クリエイターページ */
.profile-block { margin-top: 8px; }
.creator-myfans { margin-top: 16px; }
.profile-block .note a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* モーダル：このクリエイターの他の動画 */
.embed-more { margin-top: 16px; }
.embed-more__title { font-size: var(--fs-small); color: var(--muted); margin-bottom: 8px; }
.embed-more__row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
.embed-more__row li { flex: 0 0 72px; scroll-snap-align: start; }
.embed-more__item { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.embed-more__item > img, .embed-more__item > video, .embed-more__item > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 冒頭フレームのサムネ代わり：読めるまではプレースホルダーを前に、読めたら動画を前に */
.sd-frame { z-index: 1; opacity: 0; transition: opacity var(--t) ease-out; pointer-events: none; }
.sd-frame.is-ready { opacity: 1; }
.ph--behind { z-index: 0; }
@media (min-width: 720px) { .pickup-card { flex-basis: 160px; } }
