/* Strategy-session pop-up (inc/strategy-modal.php + strategy-modal.js). Its own file, not glowup.css: W3 Total Cache strips
   ?ver= from asset URLs, so a changed glowup.css can sit in browsers and Cloudflare for hours; a new URL can't. */
.ds-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.ds-modal::backdrop { background: rgba(3, 9, 16, .78); backdrop-filter: blur(3px); }
.ds-modal[open] { animation: ds-modal-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes ds-modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ds-modal__card { max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 4px; background: var(--hd-bg-2, #0A1A2B); border: 1px solid var(--hd-line, #1C3A54); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.ds-modal__head { position: relative; padding: 22px 56px 18px 28px; }
.ds-modal__eyebrow { margin: 0 0 6px; color: var(--hd-red-text, #FF5C63); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ds-modal__title { margin: 0; color: #FFFFFF; font-family: var(--ds-head); font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 24px; font-weight: 500; line-height: 1.2; }
.ds-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hd-line, #1C3A54); border-radius: 2px; background: transparent; color: #FFFFFF; font-size: 24px; line-height: 1; cursor: pointer; }
.ds-modal__close:hover, .ds-modal__close:focus-visible { border-color: #FFFFFF; }
.ds-modal .hf { border-radius: 0 0 4px 4px; box-shadow: none; }
html.ds-modal-open { overflow: hidden; }
@media (max-width: 600px) { .ds-modal__head { padding: 18px 52px 14px 20px; } .ds-modal__title { font-size: 21px; } .ds-modal .hf__step { padding: 22px 20px 24px; } .ds-modal .hf__row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ds-modal[open] { animation: none; } }
