@charset "UTF-8";
/*
 * ランキング（04）・タグ一覧（07）・更新履歴（08）・年齢確認（12）
 */

/* ========================================================= ランキング */

.md-page--ranking,
.md-page--tags,
.md-page--history {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.md-rtabs {
	display: flex;
	gap: 14px;
}

.md-rtabs__btn { flex: 1 1 0; }

.md-rnote {
	margin: -12px 0 0;
	font-size: 12.5px;
	line-height: 1.85;
	color: var(--md-ink-3);
}

.md-rchips,
.md-tagtop {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.md-podium--ranking .md-podium__item--1 {
	border-color: var(--md-red-line);
	background: var(--md-red-bg);
}

.md-rgenres { margin-top: 10px; }

/* =========================================================== タグ一覧 */

.md-tagblock {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.md-tagblock__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.md-tagblock__head .md-blockhead { margin-bottom: 0; }

.md-tagblock__status {
	margin: -8px 0 0;
	font-family: var(--md-font-mono);
	font-size: 11.5px;
	color: var(--md-ink-3);
	min-height: 1em;
}

.md-tagblock__empty {
	margin: 0;
	padding: 24px 0;
	text-align: center;
	font-size: 13.5px;
	color: var(--md-ink-3);
}

.md-tagfilter {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 280px;
	height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--md-line-3);
	border-radius: 999px;
	background: var(--md-surface);
	box-sizing: border-box;
}

.md-tagfilter__icon {
	font-size: 15px;
	color: var(--md-ink-3);
	flex: none;
}

.md-tagfilter__input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: var(--md-ink);
}

.md-tagfilter__input::placeholder { color: var(--md-ink-3); }

.md-tagbig {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--md-red-bg);
	border: 1.5px solid var(--md-red-line);
	text-decoration: none !important;
	box-sizing: border-box;
}

.md-tagbig:hover {
	border-color: var(--md-red);
	background: var(--md-red-pale);
}

.md-tagbig__label {
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 14px;
	color: var(--md-ink);
}

.md-tagbig__count {
	font-family: var(--md-font-mono);
	font-size: 11.5px;
	color: var(--md-red-dark);
}

.md-taglist {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 20px;
}

.md-tagrow {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none !important;
	box-sizing: border-box;
}

.md-tagrow:hover { background: var(--md-surface); }

.md-tagrow__label {
	font-size: 13px;
	color: var(--md-ink) !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.md-tagrow__count {
	margin-left: auto;
	flex: none;
	font-family: var(--md-font-mono);
	font-size: 10.5px;
	color: var(--md-ink-3);
}

/* ========================================================= 更新履歴 */

.md-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.md-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1.5px solid var(--md-line);
	border-radius: 14px;
	background: #fff;
}

.md-stat__label {
	font-size: 11.5px;
	color: var(--md-ink-3);
}

.md-stat__value {
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 30px;
	line-height: 1.1;
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.md-stat__value--ink { color: var(--md-ink); }
.md-stat__value--red { color: var(--md-red); }
.md-stat__value--teal { color: var(--md-teal-3); }

.md-stat__unit {
	font-size: 12px;
	font-weight: 700;
	color: var(--md-ink-3);
}

.md-timeline {
	display: flex;
	flex-direction: column;
}

.md-day {
	display: flex;
	gap: 22px;
	padding: 20px 0;
	border-bottom: 1px solid var(--md-line);
}

.md-day:last-child { border-bottom: none; }

.md-day__date {
	width: 118px;
	flex: none;
	display: flex;
	align-items: baseline;
	gap: 7px;
	position: relative;
	padding-left: 16px;
}

.md-day__dot {
	position: absolute;
	left: 0;
	top: .45em;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #d1cdc6;
	display: block;
}

.md-day.is-today .md-day__dot { background: var(--md-red); }

.md-day__num {
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.1;
	color: var(--md-ink);
}

.md-day.is-today .md-day__num { color: var(--md-red); }

.md-day__month {
	font-size: 15px;
	color: var(--md-ink-3);
}

.md-day__dow {
	font-size: 12px;
	color: var(--md-ink-3);
}

.md-day__dow.is-sun { color: var(--md-red-ink); }
.md-day__dow.is-sat { color: var(--md-teal-shadow); }

.md-day__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.md-day__summary {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--md-ink-2);
}

.md-day__feature {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--md-ink-2);
	flex-wrap: wrap;
}

.md-day__featurebadge {
	padding: 3px 9px;
	border-radius: 999px;
	background: #dff8f6;
	color: var(--md-teal-ink);
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 11px;
	flex: none;
}

.md-day__covers {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.md-day__cover {
	position: relative;
	height: 112px;
	flex: none;
	border-radius: 4px;
	border: 1px solid var(--md-line-2);
	overflow: hidden;
	background: var(--md-surface-2);
	display: block;
}

.md-day__cover img {
	height: 100%;
	width: auto;
	display: block;
}

.md-day__off {
	position: absolute;
	top: 0;
	left: 0;
	padding: 2px 5px;
	border-bottom-right-radius: 5px;
	background: var(--md-red);
	color: #fff;
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 10px;
}

.md-day__more {
	flex: none;
	align-self: center;
	padding: 0 12px;
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 14px;
	color: var(--md-ink-3);
}

.md-months {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.md-month {
	border: 1.5px solid var(--md-line);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.md-month[open] { background: var(--md-surface); }

.md-month__summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	min-height: 44px;
	box-sizing: border-box;
}

.md-month__summary::-webkit-details-marker { display: none; }

.md-month__label {
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 15px;
	color: var(--md-ink);
	flex: none;
}

.md-month__meta {
	font-size: 12px;
	color: var(--md-ink-3);
	flex: none;
}

.md-month__peek {
	display: flex;
	gap: 5px;
	margin-left: auto;
	overflow: hidden;
}

.md-month__peekcover {
	width: 26px;
	height: 37px;
	border-radius: 3px;
	border: 1px solid var(--md-line-2);
	overflow: hidden;
	display: block;
	flex: none;
	background: var(--md-surface-2);
}

.md-month__peekcover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.md-month__mark {
	flex: none;
	width: 16px;
	text-align: center;
	font-size: 11px;
	color: var(--md-ink-3);
}

.md-month__mark::after { content: "▼"; }
.md-month[open] .md-month__mark::after { content: "▲"; }

.md-month__body {
	padding: 0 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.md-month__all {
	font-size: 12.5px;
	color: var(--md-red);
}

/* ========================================================== 年齢確認 */

html.md-agegate-open,
html.md-agegate-open body {
	overflow: hidden;
}

.md-agegate {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: var(--md-red-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.md-agegate__card {
	width: 540px;
	max-width: 100%;
	background: #fff;
	border: 1.5px solid var(--md-red-line);
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(160, 40, 30, .08);
	padding: 40px 40px 32px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.md-agegate__logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.md-agegate__pill {
	margin: 0;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--md-red-bg);
	border: 1px solid var(--md-red-line);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--md-red-ink);
}

.md-agegate__title {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	font-family: var(--md-font-round);
	font-weight: 800;
	font-size: 34px;
	line-height: 1.4;
	color: var(--md-ink);
}

.md-agegate__note {
	margin: 0;
	font-size: 13.5px;
	color: var(--md-ink-2);
}

.md-agegate__actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 4px;
}

.md-agegate__yes {
	height: 68px;
	border: none;
	border-radius: 999px;
	padding: 0;
	width: 100%;
}

.md-agegate__yes .md-btn3d__label { font-size: 20px; }

.md-agegate__no {
	height: 52px;
	width: 100%;
	border: 1.5px solid var(--md-line-3);
	border-radius: 999px;
	background: #fff;
	color: var(--md-ink-2);
	font-family: var(--md-font-body);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.md-agegate__no:hover { border-color: var(--md-ink-4); }

.md-agegate__fine {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.9;
	color: var(--md-ink-3);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 14px;
}

/* ======================================================= レスポンシブ */

@media screen and (max-width: 1023px) {
	.md-taglist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 834px) {
	.md-rtabs { gap: 8px; }
	.md-rtabs__btn { height: 48px; }
	.md-rtabs__btn .md-btn3d__label { font-size: 15px; }

	.md-rnote { font-size: 11.5px; }

	.md-taglist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }

	.md-tagblock__head { align-items: stretch; }
	.md-tagfilter { width: 100%; }

	.md-tagbig { padding: 9px 14px; }
	.md-tagbig__label { font-size: 13px; }

	.md-stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }

	.md-stat {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		padding: 13px 16px;
	}

	.md-stat__value { font-size: 22px; }

	.md-day {
		flex-direction: column;
		gap: 10px;
		padding: 16px 0;
	}

	.md-day__date { width: auto; }
	.md-day__cover { height: 88px; }

	.md-month__summary { flex-wrap: wrap; gap: 8px 12px; }
	.md-month__peek { margin-left: 0; }

	.md-agegate {
		padding: 0;
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-end;
	}

	.md-agegate__card {
		width: 100%;
		border: none;
		border-radius: 28px 28px 0 0;
		box-shadow: 0 -18px 50px rgba(160, 40, 30, .1);
		padding: 28px 20px 24px;
		gap: 14px;
	}

	.md-agegate__title { font-size: 26px; }
	.md-agegate__yes { height: 62px; }
	.md-agegate__yes .md-btn3d__label { font-size: 18px; }
}
