/* FlightScope Store feature modal */
.fs-modal-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(3,6,14,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .2s ease}
.fs-modal-backdrop[hidden]{display:none}
.fs-modal-backdrop.is-open{opacity:1}
.fs-modal{position:relative;width:100%;max-width:520px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:28px 26px 24px;border-radius:20px;color:#e6eefc;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(160deg,rgba(22,36,66,.92),rgba(9,14,28,.94));border:1px solid rgba(99,169,255,.28);box-shadow:0 24px 70px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);transform:translateY(12px) scale(.98);transition:transform .22s ease}
.fs-modal-backdrop.is-open .fs-modal{transform:none}
.fs-modal:focus{outline:none}
.fs-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(99,169,255,.25);background:rgba(255,255,255,.06);color:#cfe0ff;font-size:20px;line-height:1;cursor:pointer;transition:background .15s}
.fs-modal-close:hover{background:rgba(99,169,255,.22)}
.fs-modal-close:focus-visible,.fs-modal-download:focus-visible{outline:2px solid #8ac2ff;outline-offset:2px}
.fs-modal-head{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding-right:36px}
.fs-modal-icon{width:52px;height:52px;flex:none;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#3d8bff,#1b4fd6);box-shadow:0 6px 18px rgba(61,139,255,.4)}
.fs-modal-icon svg{width:30px;height:30px;fill:#fff}
.fs-modal h2{margin:0;font-size:1.35rem;font-weight:700;color:#fff}
.fs-modal-sub{margin:2px 0 0;font-size:.85rem;color:#9fb4d8}
.fs-modal ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.fs-modal li{position:relative;padding-left:24px;font-size:.92rem;line-height:1.4;color:#d6e2f7}
.fs-modal li::before{content:"";position:absolute;left:4px;top:.45em;width:10px;height:10px;border-radius:50%;background:#63a9ff;box-shadow:0 0 8px rgba(99,169,255,.7)}
.fs-modal-exclusive{margin:18px 0 14px;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,rgba(61,139,255,.2),rgba(120,90,255,.14));border:1px solid rgba(138,194,255,.45)}
.fs-modal-badge{display:inline-block;margin-bottom:6px;padding:2px 9px;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:#63a9ff;color:#06101f}
.fs-modal-exclusive h3{margin:0 0 8px;font-size:1.05rem;color:#fff}
.fs-modal-soon{margin:0 0 18px;font-size:.88rem;color:#8ac2ff;font-weight:600}
.fs-modal-download{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 18px;border-radius:12px;font-weight:700;font-size:1rem;color:#fff;text-decoration:none;background:linear-gradient(135deg,#3d8bff,#1f5fe0);box-shadow:0 8px 22px rgba(61,139,255,.4);transition:transform .15s,box-shadow .15s}
.fs-modal-download:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(61,139,255,.55)}
body.fs-modal-open{overflow:hidden}
@media (max-width:480px){.fs-modal-backdrop{align-items:flex-end;padding:0}.fs-modal{max-width:none;border-radius:20px 20px 0 0;max-height:92vh;max-height:92dvh;padding:24px 18px 20px}}
@media (prefers-reduced-motion:reduce){.fs-modal-backdrop,.fs-modal,.fs-modal-download{transition:none}}

/* Store + direct .exe download: two equal, separate buttons */
.dl-pair{--dl-h:52px;--dl-w:210px;display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.dl-pair.dl-compact{--dl-h:44px;--dl-w:180px;gap:10px}
.dl-pair>a{box-sizing:border-box;width:var(--dl-w);height:var(--dl-h);flex:0 0 var(--dl-w);border-radius:10px;text-decoration:none;transition:transform .15s,background .15s,border-color .15s}
.dl-pair>a:hover{transform:translateY(-1px)}
.dl-pair>a:focus-visible{outline:2px solid #8ac2ff;outline-offset:2px}
.dl-pair>a[href*="apps.microsoft.com"]{display:flex !important;align-items:center;justify-content:center;background:#202020;border:1px solid rgba(255,255,255,.14);position:static !important;opacity:1 !important}
.dl-pair>a[href*="apps.microsoft.com"] img{display:block;height:calc(var(--dl-h) - 2px) !important;width:auto !important;max-width:100%;transform:none !important}
.exe-download{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 14px;border:1px solid rgba(99,169,255,.5);background:linear-gradient(135deg,rgba(61,139,255,.28),rgba(31,95,224,.22));color:#fff;font-family:Inter,ui-sans-serif,-apple-system,"Segoe UI",sans-serif}
.exe-download:hover{background:linear-gradient(135deg,rgba(61,139,255,.42),rgba(31,95,224,.34));border-color:#8ac2ff}
.exe-download i{font-size:16px;color:#8ac2ff}
.exe-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;min-width:0}
.exe-title{font-weight:650;font-size:13px;white-space:nowrap}
.exe-download small{font-weight:500;font-size:11px;color:#b9cdee;margin-top:2px}
.dl-compact .exe-title{font-size:12px}
.dl-compact .exe-download{padding:0 10px;gap:8px}
.exe-note{flex-basis:100%;margin:10px 0 0;font-size:12px;line-height:1.5;color:#9fb4d8;max-width:560px}
.exe-note code,.fs-modal-note code{word-break:break-all;font-size:11px;color:#cfe0ff}
/* Tracker: the pair floats in the bottom-right corner of the map */
.tracker-dl{position:absolute;z-index:800;right:var(--gap,12px);bottom:var(--gap,12px)}
@media (max-width:640px){
  .dl-pair{width:100%;flex-direction:column}
  .dl-pair>a{width:100%;flex:0 0 auto}
}
/* Popup: same two buttons, full width */
.fs-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fs-modal-actions>a{height:52px;margin:0;box-sizing:border-box;border-radius:12px}
.fs-modal-actions .exe-download{width:auto}
@media (max-width:480px){.fs-modal-actions{grid-template-columns:1fr}}
.fs-modal-download{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 14px;border-radius:12px;font-weight:700;font-size:14px;color:#fff;text-decoration:none;background:linear-gradient(135deg,#3d8bff,#1f5fe0);box-shadow:0 8px 22px rgba(61,139,255,.4)}
.fs-modal-note{margin:10px 0 0;font-size:11.5px;line-height:1.5;color:#9fb4d8}
@media (max-width:720px){.tracker-dl{display:none}}
.store-cta{flex-wrap:wrap}
.dl-pair.dl-compact{--dl-w:210px}
.tracker-dl{flex-direction:column;gap:8px;bottom:calc(var(--gap,12px) + 22px)}
.tracker-dl>a{flex:0 0 auto}
.dl-pair .exe-download,.dl-pair .exe-download span,.dl-pair .exe-download small{font-family:Inter,ui-sans-serif,-apple-system,"Segoe UI",sans-serif !important;letter-spacing:normal;text-transform:none}
@media (min-width:641px){.dl-pair:not(.tracker-dl){flex-wrap:nowrap;flex-shrink:0}}
/* v3: grow to fit, both columns equal to the wider button */
.dl-pair{display:inline-grid !important;grid-auto-flow:column;grid-auto-columns:minmax(var(--dl-w),max-content);grid-auto-columns:1fr;flex-wrap:nowrap}
.dl-pair>a{width:auto;min-width:var(--dl-w);flex:none}
.dl-pair .exe-download{padding:0 16px;overflow:hidden}
.exe-title,.exe-download small{white-space:nowrap}
.tracker-dl{grid-auto-flow:row}
.tracker-dl>a{flex:none}
@media (max-width:640px){.dl-pair{display:grid !important;grid-auto-flow:row;width:100%}.dl-pair>a{min-width:0;width:100%}}
.fs-modal-actions>a{min-width:0;padding:0 12px}
@media (max-width:720px){.dl-pair.tracker-dl{display:none !important}}
@media (max-width:1180px) and (min-width:721px){.tracker-dl{bottom:76px}}
