@charset "utf-8";
:root {
	--bg: #ababab;
	--text: #ffffff;
	--sub: #dddddd;
	--panel: rgba(15,24,144,.28);
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	min-height: 100vh;
	padding: 1.1rem .8rem 3rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: flex-start;
}
.title {
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 600;
}
.subtitle {
	color: var(--sub);
	max-width: 560px;
}
.legend {
	display: flex;
	gap: .6rem;
	flex-wrap: wrap;
	font-size: 1rem;
	color: var(--sub);
}
.dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	display: inline-block;
	margin-right: .3rem;
}
.block {
	border: 1px solid rgba(255,255,255,.03);
	border-radius: 5px;
	background: var(--panel);
	padding: .85rem .5rem 1rem;
	display: flex;
	flex-direction: column;
	gap: .7rem;
	overflow-x: auto;
}
.block-title {
	font-weight: 600;
	font-size: 1rem;
}
.block-sub {
	font-size: 1rem;
	color: var(--sub);
}
.matrix {
	display: grid;
	grid-template-columns: 160px repeat(4, minmax(130px, 1fr));
	gap: .35rem;
	min-width: 750px;
}
.wish-head {
	font-size: .8rem;
	font-weight: 500;
	border: 1px solid rgba(148,163,184,.12);
	border-radius: 10px;
	padding: .45rem .5rem .35rem;
	background: rgba(215,24,42,.8);
	min-height: 54px;
	display: flex;
	flex-direction: column;
	gap: .12rem;
}
.wish-note {
		font-size: .6rem;
		opacity: .7;
}
.state-head {
	border: 1px solid rgba(248,250,252,.04);
	border-radius: 10px;
	padding: .35rem .5rem .3rem;
	display: flex;
	flex-direction: column;
	gap: .15rem;
	min-height: 54px;
	font-size: 1rem;
	font-weight: 600;
}
.state-num {font-size: .58rem;
	opacity: .6;
	text-transform: uppercase;
}
.state-name {
	font-size: .8rem;
}
.cell {
	border-radius: 10px;
	padding: .35rem .45rem .3rem;
	min-height: 54px;
	font-size: .8rem;
	line-height: 1.06;
	display: flex;
	flex-direction: column;
	gap: .15rem;
	border: 1px solid rgba(0,0,0,0.02);
}
.cell-title {
	font-weight: 500;
	font-size: .8rem;
}
.cell-text {
	opacity: .9;
}
.s-9 {
	background: #ffffff;
	color:#000;
}
.s-8 {
	background: #f8fafc;
	color:#000;
}
.s-7 {
	background: #e2e8f0;
	color:#000;
}
.s-6 {
	background: #fdeebf;
	color:#000;
}
.s-5 {
	background: #facc15;
	color:#000;
}
.s-4 {
	background: #eab308;
	color:#000;
	}
.s-3 {
	background: #22c55e;
	color:#000;
}
.s-2 {
	background: #16a34a;
	color:#fff;
}
.s-1 {
	background: #1d633b;
	color:#fff;
}
}@media (max-width: 760px) {
	.matrix {
		min-width: unset;
		display: flex;
		flex-direction: column;
		gap: .35rem;
	}
	.row {
		display: flex;
		gap: .35rem;
		overflow-x: auto;
	}
	.state-head { min-width: 150px;
		flex: 0 0 150px;
	}
	.cell, .wish-head {
		min-width: 140px;
	}
}