.play { padding: 26px 0 10px; }

.frame { padding: 10px; }
.screen {
	position: relative;
	width: 100%;
	aspect-ratio: 1280 / 854;
	background: #000;
	border: 3px solid var(--ink);
	border-radius: 4px;
	overflow: hidden;
}
.screen canvas { display: block; width: 100%; height: 100%; outline: none; }
.screen:fullscreen { border: 0; border-radius: 0; aspect-ratio: auto; }

.cover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 24px;
	text-align: center;
	color: var(--cream);
	background:
		linear-gradient(rgba(10, 20, 48, 0.55), rgba(10, 20, 48, 0.75)),
		url("../assets/shots/02-home-dock-pondmother.png") center / cover;
	image-rendering: pixelated;
}
.cover .logo { width: min(480px, 70%); height: auto; }
.cover .small-print { margin: 0; max-width: 520px; font-size: 0.95rem; text-shadow: 0 1px 0 #000; }
.cover .touch-note { margin: 0; max-width: 520px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 8px; padding: 6px 12px; font-size: 0.95rem; }
.loading-title { margin: 0; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 2px 0 #000; }
.bar { width: min(460px, 80%); height: 26px; background: var(--cream); border: 3px solid var(--ink); border-radius: 8px; box-shadow: inset 0 0 0 3px var(--rim); padding: 4px; }
.bar .fill { height: 100%; width: 0; background: var(--green); border-radius: 3px; transition: width 120ms; }

.below { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-top: 18px; align-items: start; }
@media (max-width: 860px) { .below { grid-template-columns: 1fr; } }
.keys { padding: 20px 24px; }
.keys h2, .end h2 { margin: 0 0 10px; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.keys dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
@media (max-width: 600px) { .keys dl { grid-template-columns: 1fr; } }
.keys dl div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 0.98rem; }
.keys dt { font-weight: 700; }
.keys dd { margin: 0; color: var(--muted); }
kbd {
	display: inline-block;
	min-width: 1.7em;
	padding: 0 6px;
	margin: 0 2px 2px 0;
	font: inherit;
	font-weight: 700;
	font-size: 0.85rem;
	text-align: center;
	background: var(--cream-2);
	border: 2px solid var(--ink);
	border-radius: 6px;
	box-shadow: 0 2px 0 var(--ink);
}
.side { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.side > .btn { justify-content: center; }
.end { padding: 20px 22px; border-color: var(--ink); animation: pop 400ms ease-out; }
.end p { margin: 0 0 14px; font-size: 1rem; }
.end-buttons { display: flex; flex-direction: column; gap: 12px; }
.end-buttons .btn { justify-content: center; font-size: 0.95rem; white-space: nowrap; }
.save-note { margin: 0; color: var(--cream); font-size: 0.92rem; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }

/* small screens: the cover keeps only the button and the note, so nothing is cut off */
@media (max-width: 600px) {
	.cover { gap: 10px; padding: 12px; }
	.cover .logo { display: none; }
	.cover .small-print, .cover .touch-note { font-size: 0.82rem; }
}
