/* App download page (page-app-download.php). Loaded on every page so it also
   applies after Vice AJAX navigation, like sharing.css. */
.pr-app {
    position: relative;
    overflow: hidden;
    padding: 100px 24px 80px;
    background: radial-gradient(ellipse at 100% 0, rgba(232,0,90,.16), transparent 55%), #0d0d0d;
    color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
}
.pr-app__inner { max-width: 1040px; margin: 0 auto; }
.pr-app__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 64px; }
.pr-app .pr-app__eyebrow { margin: 0 0 20px; color: #e8005a; font: 600 12px/1.4 Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.pr-app #pr-app-title { margin: 0 0 24px; padding: 0; border: 0; color: #fff; font: 800 clamp(34px, 5vw, 60px)/1.1 Arial, sans-serif; letter-spacing: -.035em; text-transform: none; }
.pr-app #pr-app-title::before,
.pr-app #pr-app-title::after { content: none; }
.pr-app .pr-app__intro { max-width: 520px; margin: 0 0 32px; color: #aaa; font: 400 17px/1.7 Arial, sans-serif; }
.pr-app .pr-app__download { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 28px; border-radius: 999px; background: #e8005a; color: #fff; font: 700 16px/1.2 Arial, sans-serif; text-decoration: none; transition: background .2s, transform .2s; }
.pr-app .pr-app__download:hover { background: #ff1a70; color: #fff; transform: translateY(-1px); }
.pr-app .pr-app__meta { margin: 16px 0 4px; color: #ccc; font: 400 14px/1.6 Arial, sans-serif; }
.pr-app .pr-app__hint,
.pr-app .pr-app__admin { margin: 0; color: #888; font: 400 13px/1.6 Arial, sans-serif; }
.pr-app .pr-app__admin { margin-top: 12px; color: #ffb3cf; }
.pr-app .pr-app__soon { display: inline-block; margin: 0; padding: 14px 20px; border: 1px solid rgba(232,0,90,.4); border-radius: 9px; background: rgba(232,0,90,.08); color: #fff; font: 600 15px/1.5 Arial, sans-serif; }
.pr-app code { padding: 2px 6px; border-radius: 4px; background: #1c1c1c; color: #eee; font: 400 12px/1.6 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }

/* Decorative phone showing the player, as the app draws it. */
.pr-app__phone { justify-self: center; width: min(100%, 260px); aspect-ratio: 9 / 18; padding: 12px; border: 1px solid #333; border-radius: 36px; background: #050505; box-shadow: 0 30px 80px rgba(232,0,90,.18), 0 10px 30px rgba(0,0,0,.6); }
.pr-app__screen { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; border-radius: 26px; background: linear-gradient(180deg, rgba(232,0,90,.28), #0d0d0d 60%); }
.pr-app__art { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(135deg, #e8005a, #6b0029); color: rgba(255,255,255,.9); font: 800 26px/1 Arial, sans-serif; letter-spacing: 4px; }
.pr-app__onair { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: #e8005a; color: #fff; font: 800 9px/1.4 Arial, sans-serif; letter-spacing: 1.2px; }
.pr-app__screen strong { color: #fff; font: 800 17px/1.3 Arial, sans-serif; }
.pr-app__screen > span:not(.pr-app__onair) { color: #ff4081; font: 400 12px/1.4 Arial, sans-serif; }
.pr-app__play { align-self: center; width: 46px; height: 46px; margin-top: 18px; border-radius: 50%; background: #e8005a; position: relative; }
.pr-app__play::after { content: ""; position: absolute; left: 18px; top: 14px; border: 9px solid transparent; border-left: 13px solid #fff; border-right: 0; }

.pr-app .pr-app__features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 64px; padding: 0; list-style: none; }
.pr-app__features li { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 22px; border: 1px solid #292929; border-radius: 9px; background: #151515; }
.pr-app__features strong { color: #fff; font: 600 16px/1.4 Arial, sans-serif; }
.pr-app__features span { color: #999; font: 400 14px/1.6 Arial, sans-serif; }

.pr-app .pr-app__install h2 { margin: 0 0 24px; padding: 0; border: 0; color: #fff; font: 800 clamp(24px, 3vw, 32px)/1.2 Arial, sans-serif; letter-spacing: -.02em; text-transform: none; }
.pr-app .pr-app__install h2::before,
.pr-app .pr-app__install h2::after { content: none; }
.pr-app .pr-app__lead { max-width: 720px; margin: -8px 0 24px; color: #aaa; font: 400 15px/1.7 Arial, sans-serif; }
.pr-app__lead strong { color: #fff; }
.pr-app .pr-app__install ol { display: grid; gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: pr-step; }
.pr-app__install li { counter-increment: pr-step; display: flex; align-items: center; gap: 18px; margin: 0; padding: 18px 22px; border: 1px solid #292929; border-radius: 9px; background: #121212; color: #ccc; font: 400 15px/1.6 Arial, sans-serif; }
.pr-app__install li::before { content: counter(pr-step); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(232,0,90,.14); color: #ff4081; font: 800 15px/1 Arial, sans-serif; }
.pr-app__install strong { color: #fff; }
.pr-app__help { margin: 0 0 64px; padding: 24px; border: 1px solid rgba(232,0,90,.35); border-radius: 9px; background: rgba(232,0,90,.06); }
.pr-app .pr-app__help h3 { margin: 0 0 12px; padding: 0; color: #fff; font: 700 17px/1.4 Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.pr-app__help details { border-top: 1px solid #2a2a2a; }
.pr-app__help summary { padding: 14px 0; color: #eee; font: 600 15px/1.5 Arial, sans-serif; cursor: pointer; }
.pr-app__help summary::marker { color: #e8005a; }
.pr-app .pr-app__help p { margin: 0 0 16px; color: #aaa; font: 400 14px/1.7 Arial, sans-serif; }
.pr-app__help p strong { color: #fff; }

.pr-app__faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 48px; }
.pr-app .pr-app__faq h3 { margin: 0 0 10px; padding: 0; color: #fff; font: 600 16px/1.4 Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.pr-app .pr-app__faq p { margin: 0; color: #999; font: 400 14px/1.7 Arial, sans-serif; }
.pr-app__content { margin-bottom: 48px; color: #ccc; }

.pr-app__checksum { color: #888; font: 400 13px/1.6 Arial, sans-serif; }
.pr-app__checksum summary { cursor: pointer; margin-bottom: 8px; }
.pr-app :is(a, summary):focus-visible { outline: 2px solid #ff4389; outline-offset: 4px; }

@media (max-width: 900px) {
    .pr-app .pr-app__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pr-app__faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
    .pr-app { padding: 72px 16px 48px; }
    .pr-app__hero { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
    .pr-app__phone { width: 200px; }
    .pr-app .pr-app__download { width: 100%; justify-content: center; }
}
@media (max-width: 440px) {
    .pr-app .pr-app__features { grid-template-columns: 1fr; }
    .pr-app__install li { padding: 16px; gap: 14px; }
}
