/*
 * install.css
 * Tikado
 *
 * Created by Kevin Naudin on 2026-11-17.
 *
 * The "Install Tikado" block and the store badges (design F34). Markup: printInstallBlock() and storeBadges()
 * in config.php. Load after tokens.css and tikado.css. The badges are the official files, never altered:
 * same height (48 px, Apple asks 40 px at least), width from each file's own ratio, clear space of a quarter
 * of the height (12 px), no effect of any kind.
 */

.inst { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 440px; padding: 18px 20px 20px; border-radius: 24px; background: var(--s1); box-shadow: var(--e1); color: var(--ink); }
.inst-t { margin: 0; font-family: var(--display); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.inst-x { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--grey); overflow-wrap: anywhere; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.store { display: inline-flex; flex: none; border-radius: 8px; text-decoration: none; }
.store img { display: block; width: auto; height: 48px; }
p.soon { margin: 12px 0 0; font-size: .9375rem; line-height: 1.45; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.inst-open { display: none; align-self: flex-start; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 12px; padding: 8px 20px; border-radius: 24px; border: 1.5px solid var(--redtx); color: var(--redtx); font-family: var(--display); font-size: .9375rem; font-weight: 600; text-align: center; text-decoration: none; }
.is-android .inst-open.install-only-android, .is-ios .inst-open.install-only-ios { display: inline-flex; }
.inst-open:hover { background: var(--tint); }
.inst :is(a, button):focus-visible { outline: 3px solid var(--redtx); outline-offset: 2px; }

.inst.on-red { background: transparent; box-shadow: none; border: 1px solid rgba(255, 255, 255, .32); color: #FFFFFF; }
.inst.on-red .inst-x { color: rgba(255, 255, 255, .88); }
.inst.on-red p.soon { color: #FFFFFF; }
.inst.on-red .inst-open { border-color: #FFFFFF; color: #FFFFFF; }
.inst.on-red .inst-open:hover { background: rgba(255, 255, 255, .12); }
.inst.on-red :is(a, button):focus-visible { outline-color: #FFFFFF; }
