/**
 * 特集
 *
 * 色・線・余白はサイト共通のもの（.avc-page の変数）をそのまま使う。
 * この画面のためだけの色は作らない。
 *
 * 【ニュースの一覧と、作りを変える】
 * ニュースは新聞の見出しのように、絵を小さく題名を主役にしている。
 * 特集は逆。**絵が主役で、題名が添え物。**
 * 場面のポスター（Bunny の webp）を重ねて、透明度だけを入れ替える。
 *
 * 動画は貼らない。一覧に video を並べると、
 * スマホの復号器が足りなくなる（シーン集でそこにぶつかっている）。
 */

/* ------------------------------------------------------------
   並べ方
   ------------------------------------------------------------ */
.avc-tkgrid {
	display: grid;
	gap: 18px;
	margin: 0 0 8px;
}

/*
 * 【スマホでは1列】
 * 2列に割ると、絵が小さくなって「絵で見せる」意味が無くなる。
 */
.avc-tkgrid--lg { grid-template-columns: 1fr; }
.avc-tkgrid--md { grid-template-columns: 1fr; }

@media (min-width: 600px) {
	.avc-tkgrid--lg { grid-template-columns: repeat(2, 1fr); }
	.avc-tkgrid--md { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.avc-tkgrid--md { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------
   1件ぶん
   ------------------------------------------------------------ */
.avc-tkcard {
	border: 1px solid var(--avc-line);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.avc-tkcard__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.avc-tkcard__link:hover .avc-tkcard__title { color: var(--avc-accent); }

/*
 * 絵の枠。
 *
 * 【高さを先に決める】
 * 決めないと、切り出しが終わった瞬間に一覧の高さが動く。
 * 16:9 は切り出した動画の寸法に合わせている。
 */
.avc-tkcard__pic {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #11161c;
	overflow: hidden;
}
.avc-tkcard__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/*
 * 【重ねて、透明度だけ入れ替える】
 * ニュースより速く回す（速さは data-avc-slide-ms で札ごとに決める）。
 * 溶暗も短くする。ゆっくり溶けると、速く回しても止まって見える。
 */
.avc-tkcard__pic.is-slide img {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .5s ease;
}
.avc-tkcard__pic.is-slide img.is-on { opacity: 1; }

/* 動いていることを、そっと知らせる */
.avc-tkcard__pic.is-slide::after {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .25);
}

/* まだ切れていないとき */
.avc-tkcard__wait {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .6);
	font-size: 12px;
}

/* 何作品入っているか */
.avc-tkcard__n {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
}

.avc-tkcard__body {
	display: block;
	padding: 11px 13px 13px;
}
.avc-tkcard__title {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.55;
	color: var(--avc-ink);
}
.avc-tkcard--lg .avc-tkcard__title { font-size: 15.5px; }

.avc-tkcard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 7px;
	font-size: 11.5px;
	color: var(--avc-dim);
}
.avc-tkcard__new {
	padding: 1px 7px;
	border-radius: 3px;
	background: var(--avc-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
}
.avc-tkcard__genre,
.avc-tkcard__fav {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.avc-tkcard__fav { color: var(--avc-accent); font-weight: 700; }
.avc-tkcard__date { margin-left: auto; }

/* ------------------------------------------------------------
   特集1本
   ------------------------------------------------------------ */
.avc-tokushu__head {
	margin: 0 0 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--avc-line);
}
.avc-tokushu__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--avc-ink);
}
.avc-tokushu__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--avc-dim);
}
.avc-tokushu__genre {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--avc-accent);
	text-decoration: none;
	font-weight: 700;
}
.avc-tokushu__n {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--avc-soft);
	font-weight: 700;
}
.avc-tokushu__fav { margin: 12px 0 0; }

/*
 * 本文は、ニュースと同じ幅と字づかいにする（.avc-news__body）。
 * ここで足すのは、場面の並びの間隔だけ。
 */
.avc-tokushu__body .avc-scn { margin: 0 0 8px; }
