/* Get-the-app modal (scripts/app-download.js) */
.ad-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--border); border-radius: var(--r-xl, 18px); background: var(--surface); color: var(--fg); box-shadow: 0 32px 70px -28px rgb(0 0 0 / 0.75); text-align: center; }
.ad-dialog::backdrop { background: rgb(0 0 0 / 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ad-dialog[open] { animation: adIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes adIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ad-dialog[open] { animation: none; } }
.ad-view { padding: 32px 28px 26px; }
.ad-view[hidden] { display: none; }
.ad-ic { width: 52px; height: 52px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #23281A; color: #A9B57C; }
.ad-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad-dialog h2 { margin: 0; font: 600 24px/1.2 var(--font-display); letter-spacing: -0.01em; }
.ad-dialog p { margin: 12px 0 0; font: 400 15.5px/1.55 var(--font-sans); color: var(--fg-muted); }
.ad-platforms { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ad-platform { display: block; height: 50px; border-radius: 9px; transition: transform var(--dur-fast, 0.15s) var(--ease-out, ease); }
.ad-platform:hover { transform: translateY(-1px); }
.ad-platform:focus-visible { outline: 2px solid #A9B57C; outline-offset: 3px; }
.ad-platform img { height: 100%; width: auto; display: block; }
.ad-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.ad-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 20px; box-sizing: border-box; border-radius: var(--r-md, 11px); border: 1px solid transparent; font: 500 15.5px/1 var(--font-sans); letter-spacing: -0.01em; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.ad-btn-primary { background: #6F8140; color: #fff; }
.ad-btn-primary:hover { background: #596A32; color: #fff; }
.ad-btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong, #474747); }
.ad-btn-ghost:hover { background: rgb(255 255 255 / 0.06); }
.ad-close-link { margin-top: 18px; background: none; border: 0; padding: 4px 8px; font: 500 14px/1 var(--font-sans); color: var(--fg-subtle); }
.ad-close-link:hover { color: var(--fg); }
