/* Rico-Shot Hall of Fame — palette lifted straight from the game's
   BaseScreen: gray backdrop, dark-red rounded buttons, blood-red title. */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	background: #bfbfbd;
	color: #1f1f1f;
	font-family: "Verdana", "DejaVu Sans", sans-serif;
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 12px 40px;
	text-align: center;
}

header h1 {
	font-size: 44px;
	letter-spacing: 2px;
	color: #b30d0d;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

header h2 {
	font-size: 20px;
	letter-spacing: 6px;
	color: #400d0d;
	margin: 6px 0 22px;
}

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 10px; }

.tabs button {
	background: #400d0d;
	color: #f2e6e6;
	border: none;
	border-radius: 20px;
	padding: 10px 18px;
	font-size: 16px;
	cursor: pointer;
}
.tabs.small button { font-size: 13px; padding: 7px 14px; }
.tabs button:hover { background: #801414; }
.tabs button.active { background: #b30d0d; color: #fff; box-shadow: 0 0 0 2px #000 inset; }

main { margin-top: 18px; }

#board-blurb { font-size: 13px; color: #47474a; margin-bottom: 10px; min-height: 1.2em; }

table {
	width: 100%;
	border-collapse: collapse;
	background: #edede6;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

th {
	background: #400d0d;
	color: #f2e6e6;
	font-size: 13px;
	padding: 8px 10px;
	text-align: left;
}

td { padding: 9px 10px; font-size: 15px; text-align: left; border-top: 1px solid #d5d5cc; }

th.rank, td.rank { width: 2.5em; text-align: center; }
tr.top td { background: #f7f2da; font-weight: bold; }
td .sub { font-size: 12px; color: #6b6b6e; font-weight: normal; }

.badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	color: #fff;
}
.badge.easy { background: #2f8a33; }    /* labeled "Normal" in game */
.badge.normal { background: #c77c1b; }  /* labeled "Hard" */
.badge.hard { background: #b30d0d; }    /* labeled "Impossible" */

#status { margin-top: 16px; font-size: 15px; color: #47474a; }

footer { margin-top: 34px; font-size: 12px; color: #5c5c5f; }
footer p { margin-bottom: 14px; }

a.play {
	display: inline-block;
	background: #400d0d;
	color: #f2e6e6;
	text-decoration: none;
	border-radius: 20px;
	padding: 12px 26px;
	font-size: 18px;
}
a.play:hover { background: #801414; }

@media (max-width: 520px) {
	header h1 { font-size: 32px; }
	td, th { padding: 7px 6px; font-size: 13px; }
	td .sub { display: block; }
}
