/*
 * ゲーム記事の下に出す「関係するレビュー」。
 *
 * 遊び終わりに置くので、記事本文の続きに見えてはいけない。
 * 上に太い線を引いて、ここから先は別のものだと分かるようにする。
 *
 * 親テーマは見出しやリンクの色を !important で押してくるので、
 * 譲れないところは同じ強さで返している。
 */

.trr {
	--ink: #1f2933;
	--ink-2: #6b7280;
	--ink-3: #9aa3af;
	--line: #e5e7eb;
	margin: 2.6em 0 1.4em;
	padding-top: 1.4em;
	border-top: 3px solid var(--c, #a26a1e);
}

.entry-content .trr__title {
	margin: 0 0 .35em !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	background-image: none !important;
	color: var(--c, #a26a1e) !important;
	font-size: 1.18rem;
	font-weight: 800;
	line-height: 1.45;
}

.entry-content .trr__note {
	margin: 0 0 1.1em !important;
	color: var(--ink-3);
	font-size: .78rem;
	line-height: 1.7;
}

.trr__list {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.entry-content .trr__item {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: .6rem .7rem;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color .15s, box-shadow .15s;
}

.entry-content .trr__item:hover {
	border-color: var(--tier, var(--c, #a26a1e));
	box-shadow: 0 2px 10px rgba(60, 45, 25, .08);
}

.trr__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 63px;
	border-radius: 5px;
	overflow: hidden;
	background: #eef0f3;
}

.trr__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.trr__body {
	flex: 1 1 auto;
	min-width: 0;
}

.trr__name {
	display: block;
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--ink);
	/* 題名は2行まで。3行になると行の高さが揃わず一覧に見えない */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.trr__meta {
	display: block;
	margin-top: .25rem;
	font-size: .72rem;
	color: var(--ink-3);
	line-height: 1.5;
}

/* 点数は段の色で出す。--tier は tier.css の .is-tier-N が載せる */
.trr__score {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
	min-width: 4.2rem;
	text-align: center;
}

.trr__score b {
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1;
	color: var(--tier, var(--c, #a26a1e));
	font-variant-numeric: tabular-nums;
}

.trr__score small {
	font-size: .58rem;
	color: var(--ink-3);
}

.trr__score .tab-tier {
	font-size: .66rem;
	padding: .08em .55em;
}

.entry-content .trr__more {
	margin: 1rem 0 0 !important;
	text-align: right;
	font-size: .82rem;
}

.entry-content .trr__more a {
	color: var(--c, #a26a1e) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.entry-content .trr__more a:hover {
	text-decoration: underline !important;
}

@media (max-width: 480px) {
	.trr__thumb {
		width: 64px;
		height: 48px;
	}

	.trr__name {
		font-size: .82rem;
	}

	.trr__score {
		min-width: 3.4rem;
	}

	.trr__score b {
		font-size: 1.1rem;
	}
}
