
/* ===== 앱 설치 안내 (B안: 떠 있는 카드) ===== */
.app-ai { flex: none; width: 46px; height: 46px; border-radius: 22%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.08); }
.app-ai img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-card { position: fixed; z-index: 990; display: flex; flex-direction: column; background: #fff; border: 1px solid #f0e3dd; box-shadow: 0 14px 34px rgba(0,0,0,.14); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.app-card.show { opacity: 1; transform: none; pointer-events: auto; }
.app-card b { display: block; font-size: 14px; font-weight: 900; color: #1f1f1f; }
.app-card small { display: block; margin-top: 2px; font-size: 12px; color: #8a8a8a; }
.app-card-go { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: #ff6e41; font: inherit; font-size: 13px; font-weight: 800; color: #fff; cursor: pointer; box-shadow: 0 4px 10px rgba(255,110,65,.3); transition: background .15s ease; }
.app-card-go:hover { background: #e8572b; }
.app-card-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.app-card-row { display: flex; align-items: center; gap: 12px; }
.app-card-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f2ece9; }
.app-card-foot button { border: 0; padding: 2px 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: #9a9a9a; cursor: pointer; }
.app-card-foot button:hover { color: #1f1f1f; }
.app-card-foot [data-app-x] { color: #555; }
@media (min-width: 901px) {
  .app-card { right: 28px; bottom: 34px; width: 350px; padding: 16px 18px 12px 16px; border-radius: 14px; }
}
@media (max-width: 900px) {
  .app-card { left: 12px; right: 12px; bottom: calc(20px + env(safe-area-inset-bottom)); padding: 14px 14px 10px; border-radius: 14px; }
  .app-card-foot button { padding: 4px 2px; font-size: 13px; }
}
/* 아이폰 안내 시트 */
.app-ios { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(20,20,20,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.app-ios.show { opacity: 1; pointer-events: auto; }
.app-ios-sheet { width: 100%; max-width: 440px; margin: 0 10px calc(10px + env(safe-area-inset-bottom)); padding: 22px 20px 18px; border-radius: 18px; background: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.15); transform: translateY(30px); transition: transform .3s ease; }
.app-ios.show .app-ios-sheet { transform: none; }
.app-ios-h { display: flex; align-items: center; gap: 12px; }
.app-ios-h b { display: block; font-size: 16px; font-weight: 900; color: #1f1f1f; }
.app-ios-h small { display: block; margin-top: 2px; font-size: 12.5px; color: #888; }
.app-ios-st { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f7f7f8; font-size: 13.5px; font-weight: 700; color: #333; }
.app-ios-st i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ff6e41; font-style: normal; font-size: 12px; font-weight: 900; color: #fff; }
.app-ios-k { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; font-weight: 800; color: #0a84ff; }
.app-ios-k svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-sam-go { display: grid !important; place-items: center; background: #ff6e41 !important; text-decoration: none; }
.app-sam-x { display: block; width: 100%; height: 40px; margin-top: 6px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: #8a8a8a; cursor: pointer; }
.app-ios-ok { display: block; width: 100%; height: 46px; margin-top: 16px; border: 0; border-radius: 11px; background: #1f1f1f; font: inherit; font-size: 14px; font-weight: 800; color: #fff; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .app-card, .app-ios, .app-ios-sheet { transition: none; } }
