/*
 * 次の更新。
 *
 * サイドバーにも記事の中にも置けるので、
 * 親の幅に寄りかからず、狭いところでも読める形にしている。
 *
 * 親テーマは見出しやリンクの色を !important で押してくるので、
 * 譲れないところは同じ強さで返している。
 */

.tsch {
	--tsch-ink: #1f2933;
	--tsch-ink-2: #6b7280;
	--tsch-ink-3: #9aa3af;
	--tsch-line: #e5e7eb;
	margin: 0 0 1.2em;
	background: #fff;
	border: 1px solid var(--tsch-line);
	border-radius: 8px;
	overflow: hidden;
}

.tsch__head {
	padding: .6rem .9rem;
	background: #fafbfc;
	border-bottom: 1px solid var(--tsch-line);
}

.tsch .tsch__title {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--tsch-ink) !important;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .02em;
}

.tsch .tsch__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.tsch .tsch__item {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	margin: 0 !important;
	padding: .6rem .9rem;
	border-bottom: 1px solid var(--tsch-line);
	list-style: none !important;
}

.tsch .tsch__item:last-child {
	border-bottom: 0;
}

/*
 * 日付。「今日」「明日」だけ言葉にして、それ以外は 8/27(水) の形。
 * 数字は幅を揃えて、上から流し読みしたときに縦が乱れないようにする。
 */
.tsch__when {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 3.6rem;
	padding-top: .1rem;
	line-height: 1.3;
}

.tsch__when b {
	font-size: .8rem;
	font-weight: 800;
	color: var(--c, var(--tsch-ink));
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tsch__when i {
	font-style: normal;
	font-size: .66rem;
	color: var(--tsch-ink-3);
	font-variant-numeric: tabular-nums;
}

.tsch__what {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: .05rem;
}

/* 柱の名前。色は柱ごとに変わる */
.tsch__pillar {
	display: inline-block;
	padding: .1em .6em;
	border-radius: 999px;
	background: var(--c, #8a8f98);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .02em;
}

/* 題名が付くのは遊べるゲームだけ */
.tsch__name {
	display: block;
	margin-top: .3rem;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.55;
	color: var(--tsch-ink);
	word-break: break-word;
}

/* 記事の中に置いたときは少し大きく */
.entry-content .tsch {
	max-width: 34em;
	margin: 1.8em auto;
}

.entry-content .tsch .tsch__title {
	font-size: .95rem;
}

.entry-content .tsch__name {
	font-size: .84rem;
}
