/*
 * The app page (includes/app-page.php), inside the theme's form-page layout (page-mobile-app.php).
 * Plain CSS, no build step. Colors match the alerts panel (panel.css) and the missing-alerts sheet.
 */
.tmbr-app {
	--tmbr-app-accent: #c34729;
	--tmbr-app-ink: #000;
	--tmbr-app-muted: #5b5f61;
	--tmbr-app-line: #e3e5e5;
	font-family: 'Roboto', sans-serif;
	color: var(--tmbr-app-ink);
}

.tmbr-app [hidden] {
	display: none !important;
}

/* The app ad on top */
.tmbr-app__banner {
	display: block;
	margin: 0 0 20px;
	border-radius: 10px;
	overflow: hidden;
}

.tmbr-app__banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* Getting the app */
.tmbr-app__get {
	display: grid;
	gap: 10px;
	margin: 0 0 28px;
}

.tmbr-app__store,
.tmbr-app__store:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	box-sizing: border-box;
	padding: 8px 16px;
	border-radius: 10px;
	background: #121212;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.tmbr-app__store.is-main,
.tmbr-app__inapp .tmbr-app__store {
	background: var(--tmbr-app-accent);
}

.tmbr-app__store:hover,
.tmbr-app__store:focus-visible {
	color: #fff;
	background: #000;
}

.tmbr-app__store:focus-visible {
	outline: 3px solid rgba(67, 141, 155, .6);
	outline-offset: 2px;
}

/* Like the stores' own badges: the logo, then "Download on the" over "App Store". */
.tmbr-app__logo {
	flex: none;
	width: 28px;
	height: 28px;
}

.tmbr-app__store-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 9.5em;
}

.tmbr-app__store-small {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .2px;
	opacity: .9;
}

.tmbr-app__store-name {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}

.tmbr-app__other,
.tmbr-app__free {
	margin: 0;
	font-size: 15px;
	text-align: center;
	color: var(--tmbr-app-muted);
}

.tmbr-app__other a {
	color: var(--tmbr-app-ink);
	text-decoration: underline;
}

.tmbr-app__qr {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.4;
}

.tmbr-app__qr img {
	flex: none;
	width: 180px;
	height: auto; /* keep its own shape: a squashed code doesn't scan */
}

.tmbr-app__qr p {
	margin: 0;
}

.tmbr-app__inapp {
	margin: 0 0 28px;
	font-size: 17px;
}

/* The alerts */
.tmbr-app__head {
	margin-top: 8px;
}

.tmbr-app__alerts {
	display: grid;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.tmbr-app__alert {
	display: grid;
	grid-template-columns: 72px 1fr;
	column-gap: 12px;
	row-gap: 3px;
	align-items: start;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--tmbr-app-line);
	border-radius: 8px;
}

.tmbr-app__pic {
	grid-row: span 3;
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 6px;
	overflow: hidden;
	background: #333;
}

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

.tmbr-app__pic.is-none {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tmbr-app-accent);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
}

.tmbr-app__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.tmbr-app__what {
	font-size: 15px;
	line-height: 1.4;
	color: var(--tmbr-app-muted);
}

.tmbr-app__example {
	font-size: 14px;
	line-height: 1.4;
	font-style: italic;
}

.tmbr-app__example span {
	font-style: normal;
	color: var(--tmbr-app-muted);
	white-space: nowrap;
}

/* How it works */
.tmbr-app__steps {
	margin: 0 0 24px;
	padding-left: 22px;
	list-style: decimal;
	font-size: 16px;
	line-height: 1.5;
}

.tmbr-app__steps li {
	display: list-item;
	margin: 0 0 8px;
}

.tmbr-app__steps a,
.tmbr-app__email a {
	color: var(--tmbr-app-ink);
	text-decoration: underline;
}

.tmbr-app__email {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--tmbr-app-line);
	font-size: 15px;
	color: var(--tmbr-app-muted);
}
