/* An app page (apps/launcher/pages/<id>.html) inside the launcher's content area. The launcher
   (launcher.html) defines the color tokens; each page's .app-page element sets --app. Every rule
   is scoped to .app-page so the launcher's own views are untouched, and outranks the launcher's
   bare element rules (h1, footer, button, .icon). */
.app-page {
	max-width: 880px;
	margin: 0 auto;
	padding-top: 16px;
	border-top: 6px solid var(--app);
}
.app-page a { color: var(--link); }
.app-page .back { display: inline-block; margin-bottom: 24px; font-size: 14px; }
.app-page header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.app-page .icon {
	width: 72px; height: 72px; flex: none;
	border-radius: 18px; background: var(--app); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font: 600 28px/1 system-ui, "Segoe UI", sans-serif;
}
.app-page h1 { font-size: 32px; margin: 0; color: var(--app); overflow-wrap: anywhere; }
.app-page h1:focus { outline: none; }
/* An app's name in its own font (the launcher's nameFont): Pixelapp's in its UI font, Aseprite's own (Aseprite Font) (capitals 6/8 of the size; crisp at 16/32, multiples of its 8 px grid). */
@font-face { font-family: "Aseprite Font"; src: url("/user/fonts/AsepriteFont.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "Aseprite Font"; src: url("/user/fonts/AsepriteFont-Bold.ttf") format("truetype"); font-weight: 700; }
.app-page h1.pixel-name { font-family: "Aseprite Font", monospace; font-weight: 700; -webkit-font-smoothing: none; }

.app-page .tagline { margin: 4px 0 0; color: var(--muted); font-size: 18px; }
.app-page button.launch {
	font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
	padding: 10px 28px; border-radius: 8px; border: 0;
	background: var(--app); color: #fff;
}
.app-page button.launch:hover { filter: brightness(1.1); }
.app-page .screenshot {
	aspect-ratio: 16 / 10;
	margin: 24px 0 32px;
	border: 2px dashed var(--line); border-radius: 8px;
	background: var(--card);
	display: flex; align-items: center; justify-content: center;
	color: var(--muted);
}
.app-page h2 { font-size: 20px; margin: 32px 0 12px; }
.app-page ul.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.app-page ul.points li {
	padding: 14px 16px;
	background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--app); border-radius: 6px;
}
.app-page ul.points strong { display: block; margin-bottom: 2px; }
.app-page ul.coming { margin: 0; padding-left: 20px; color: var(--muted); }
.app-page footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
