/* Tasfiya Tarbia : bandeau « sur votre écran d'accueil » (assets/application.js). Au-dessus du lecteur quand il est ouvert. */
.tt-app {
	position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + var(--tt-app-bas, 0px) + env(safe-area-inset-bottom, 0px));
	max-width: 540px; margin: 0 auto; padding: 14px 6px 14px 14px;
	display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px 12px;
	background: #12392D; color: #F6F0E5; border: 1px solid rgba(233, 198, 134, .35); border-radius: 16px;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .65);
	font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
	transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, bottom .25s ease;
}
.tt-app.ouvert { transform: none; opacity: 1; }
.tt-app-icone { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(233, 198, 134, .4); }
.tt-app-texte { min-width: 0; align-self: center; }
.tt-app-texte p { margin: 0; }
.tt-app-titre { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.tt-app-aide { font-size: 15px; line-height: 1.45; color: #BFD0C5; margin-top: 3px !important; }
.tt-app-aide b { color: #F6F0E5; font-weight: 700; }
.tt-app-partager { vertical-align: -3px; margin: 0 1px; color: #E9C686; }
.tt-app-fermer { margin: -8px 0 0; }
/* Le bouton « Installer » a sa propre ligne : large et facile à toucher. */
.tt-app-installer { grid-column: 1 / -1; margin-right: 8px; min-height: 50px; padding: 0 18px; border: 0; border-radius: 10px; background: #E9C686; color: #12392D; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.tt-app-installer:hover { background: #F0D49E; }
.tt-app-fermer { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: #BFD0C5; cursor: pointer; }
.tt-app-fermer:hover { color: #F6F0E5; background: rgba(246, 240, 229, .08); }
.tt-app-installer:focus-visible, .tt-app-fermer:focus-visible { outline: 2px solid #E9C686; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tt-app { transition: none; } }
