/* つぎの巻 作品ページ。Cocoonの上に載せる前提で、色は控えめにして文字と余白で整える。 */

.tsg-work {
	margin-top: 2em;
	font-size: 16px;
	line-height: 1.8;
}

.tsg-work section {
	margin-bottom: 2.4em;
}

.tsg-work .tsg-h2 {
	font-size: 1.25em;
	margin: 0 0 0.8em;
	padding-bottom: 0.3em;
	border-bottom: 2px solid currentColor;
}

.tsg-work .tsg-h3 {
	font-size: 1.05em;
	margin: 1.4em 0 0.5em;
}

.tsg-work .tsg-range {
	margin: -0.2em 0 0.5em;
	font-size: 0.9em;
	color: #555;
}

/* 結論 */
.tsg-conclusion-item {
	margin-bottom: 1em;
	padding: 1em 1.1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.02);
}

.tsg-conclusion-label {
	margin: 0 0 0.2em;
	font-size: 0.85em;
	opacity: 0.75;
}

.tsg-conclusion-answer {
	margin: 0;
	font-size: 1.2em;
}

.tsg-conclusion-answer strong {
	font-size: 1.15em;
}

.tsg-conclusion-meta {
	margin: 0.4em 0 0;
	font-size: 0.85em;
	opacity: 0.8;
}

.tsg-verified {
	margin: 0;
	font-size: 0.85em;
	opacity: 0.75;
}

/* 折りたたみ */
.tsg-details {
	margin-top: 0.8em;
}

.tsg-details > summary {
	cursor: pointer;
	font-size: 0.9em;
	padding: 0.4em 0;
}

/* 表 */
.tsg-table-wrap {
	overflow-x: auto;
}

.tsg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.tsg-table th,
.tsg-table td {
	padding: 0.6em 0.7em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	text-align: left;
	vertical-align: middle;
}

.tsg-table thead th {
	font-size: 0.85em;
	font-weight: normal;
	opacity: 0.75;
	white-space: nowrap;
}

.tsg-table .tsg-num {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* 左の列は「1話」のような短い見出しにも「第1期（1〜12話）」のような長い見出しにも使うので、折り返させる */
.tsg-table .tsg-ep {
	width: 8em;
	font-weight: normal;
}

.tsg-store {
	min-width: 9em;
}

.tsg-note {
	display: block;
	font-size: 0.8em;
	opacity: 0.75;
}

.tsg-badge {
	display: inline-block;
	margin-left: 0.4em;
	padding: 0.1em 0.5em;
	border-radius: 4px;
	font-size: 0.75em;
	white-space: nowrap;
}

.tsg-badge-best {
	background: #e3f2ea;
	color: #1c5f45;
}

.tsg-badge-sale {
	background: #fcf1dc;
	color: #7a4a05;
}

.tsg-link {
	display: inline-block;
	padding: 0.35em 0.9em;
	border: 1px solid currentColor;
	border-radius: 6px;
	font-size: 0.9em;
	text-decoration: none;
	white-space: nowrap;
}

.tsg-ad-notice {
	margin: 0 0 0.8em;
	font-size: 0.85em;
	color: #555;
}

/* 記事の冒頭の広告表示。読者がはっきり分かる大きさと色にする */
.tsg-pr {
	margin: 0 0 1.2em;
	padding: 0.5em 0.8em;
	border-radius: 6px;
	background: #f5f6f8;
	color: #333;
	font-size: 0.9em;
}

.tsg-pr-label {
	display: inline-block;
	margin-right: 0.6em;
	padding: 0 0.5em;
	border-radius: 4px;
	background: #555;
	color: #fff;
	font-size: 0.85em;
	font-weight: bold;
}

.tsg-credit,
.tsg-home-note {
	margin: 0.6em 0 0;
	font-size: 0.8em;
	color: #555;
}

.tsg-updated {
	margin: 0.6em 0 0;
	font-size: 0.85em;
	opacity: 0.8;
}

.tsg-stale {
	margin-left: 0.4em;
	color: #a33;
}

/* 放送の情報 */
.tsg-dl {
	margin: 0;
	display: grid;
	gap: 1px;
	background: rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	overflow: hidden;
}

.tsg-dl > div {
	display: flex;
	gap: 1em;
	padding: 0.6em 0.8em;
	background: #fff;
}

.tsg-dl dt {
	flex: 0 0 7em;
	font-size: 0.9em;
	opacity: 0.75;
	margin: 0;
}

.tsg-dl dd {
	margin: 0;
}

/* 根拠 */
.tsg-source-list {
	margin: 0 0 0.8em;
	padding-left: 1.2em;
	font-size: 0.95em;
}

.tsg-source-list li {
	margin-bottom: 0.3em;
}

.tsg-correction {
	font-size: 0.9em;
}

/* 各巻の収録話の表：続きの巻の行 */
.tsg-volumes-table tr.is-next th,
.tsg-volumes-table tr.is-next td {
	background: rgba(217, 130, 43, 0.12);
	font-weight: 700;
}

.tsg-volumes-next {
	margin-left: 0.6em;
	font-size: 0.8em;
	font-weight: 400;
	white-space: nowrap;
}

/* 公開後の訂正のお知らせ（答えのすぐ下）と、訂正の記録のページ */
.tsg-corrected {
	margin: 0.6em 0 0;
	padding: 0.5em 0.8em;
	border-left: 3px solid #d9822b;
	background: rgba(217, 130, 43, 0.08);
	font-size: 0.88em;
}

.tsg-corrected p {
	margin: 0 0 0.3em;
}

.tsg-corrected strong {
	margin-right: 0.5em;
}

.tsg-corrected-more {
	font-size: 0.95em;
}

.tsg-correction-list {
	list-style: none;
	padding-left: 0;
}

.tsg-correction-list li {
	padding: 0.7em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tsg-correction-date {
	display: inline-block;
	min-width: 8.5em;
	margin-right: 0.5em;
	font-size: 0.9em;
	opacity: 0.8;
}

.tsg-correction-text {
	display: block;
	margin-top: 0.2em;
	font-size: 0.92em;
}

/* 確認日の横の「誤りを知らせる」（確認日の行は薄いので、リンクだけ濃さを戻さず下線で見せる） */
.tsg-correction-link {
	margin-left: 1em;
	white-space: nowrap;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.tsg-work {
		font-size: 15px;
	}

	.tsg-dl > div {
		display: block;
	}

	.tsg-dl dt {
		margin-bottom: 0.1em;
	}
}

.tsg-unreleased {
	display: inline-block;
	margin-left: 0.6em;
	padding: 0.1em 0.6em;
	border-radius: 4px;
	background: #eef1f5;
	font-size: 0.7em;
	vertical-align: 0.15em;
}

/* トップページ */
.tsg-home-intro {
	margin-bottom: 2em;
	padding: 1.2em 1.3em;
	border-radius: 10px;
	background: #f4f6fa;
}

.tsg-home-lead {
	margin: 0 0 0.4em;
	font-size: 1.3em;
	font-weight: bold;
}

.tsg-home-intro p:last-child {
	margin-bottom: 0;
}

.tsg-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.tsg-card {
	display: flex;
	flex-direction: column;
	padding: 1em 1.1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	background: #fff;
}

.tsg-card-title {
	margin: 0 0 0.5em;
	font-size: 1.05em;
	line-height: 1.5;
}

.tsg-card-title a {
	text-decoration: none;
}

.tsg-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 0.8em;
}

.tsg-card-badges span {
	padding: 0.1em 0.6em;
	border-radius: 4px;
	background: #eef1f5;
	font-size: 0.8em;
}

.tsg-card-editions {
	margin: 0 0 0.8em;
	padding: 0;
	list-style: none;
}

.tsg-card-editions li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0.5em 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tsg-card-label {
	font-size: 0.8em;
	opacity: 0.75;
}

.tsg-card-answer strong {
	font-size: 1.1em;
}

.tsg-card-answer em {
	margin-left: 0.5em;
	padding: 0.05em 0.5em;
	border-radius: 4px;
	background: #eef1f5;
	font-size: 0.75em;
	font-style: normal;
}

.tsg-card-price {
	font-size: 0.85em;
	font-variant-numeric: tabular-nums;
}

.tsg-card-more {
	margin: auto 0 0;
	text-align: right;
	font-size: 0.9em;
}

.tsg-recent {
	margin: 0;
	padding-left: 1.2em;
}

.tsg-recent li {
	margin-bottom: 0.4em;
}

/* 画面には出さず、読み上げソフトにだけ伝える文字 */
.tsg-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ジャンルの一覧：よく読まれている作品・作品名で絞り込む窓・放送年の見出し（2026-10-03） */
.tsg-genre-popular {
	margin: 0.8em 0 1.2em;
	padding: 0.6em 0.9em;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.03);
}

.tsg-genre-popular-h {
	margin: 0 0 0.3em;
	font-weight: 700;
	font-size: 0.95em;
}

.tsg-genre-filter input {
	width: 100%;
	max-width: 360px;
	padding: 0.5em 0.8em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 999px;
	font-size: 16px;
}

.tsg-genre-year {
	scroll-margin-top: 70px;
}

