.explore-modal { --em-primary: #2456a6; --em-surface: #fff; --em-text: #173042; --em-muted: #5a6d79; --em-soft: #eaf1ff; font: 16px/1.5 system-ui, sans-serif; }
:root[data-theme="dark"] .explore-modal { --em-surface: #122b35; --em-text: #e5eef2; --em-muted: #afc0c8; --em-soft: #12383a; --em-primary: #9bc0ff; }
.explore-modal, .explore-modal * { box-sizing: border-box; }
.explore-modal:not([open]) { display: none; }
.explore-modal .explore-modal__action { padding: 13px 18px; border: 1px solid var(--em-primary); border-radius: 12px; background: var(--em-primary); color: var(--em-surface); font: 700 15px/1.4 system-ui,sans-serif; text-decoration: none; }
.explore-modal .explore-modal__action--secondary { background: transparent; color: var(--em-text); border-color: var(--em-muted); }
.explore-modal :focus-visible { outline: 2px solid var(--em-primary); outline-offset: 3px; box-shadow: none; }
.explore-modal h2 { color: var(--em-text); font-family: inherit; font-weight: 750; text-transform: none; }
.explore-modal button { font-family: inherit; }

.explore-modal { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px 28px 22px; border: 1px solid #d8e2e4; border-radius: 24px; color: var(--em-text); background: var(--em-surface); box-shadow: 0 24px 80px rgba(0, 20, 40, .25); text-align: center; overflow: auto; }
.explore-modal::backdrop { background: rgba(7, 25, 40, .56); }
.explore-modal__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--em-muted); line-height: 1; box-shadow: none; cursor: pointer; }
.explore-modal__close svg { display: block; flex: none; }
.explore-modal__close:hover { background: var(--em-soft); color: var(--em-text); }
.explore-modal__close:focus-visible { outline: 2px solid var(--em-primary); outline-offset: -4px; box-shadow: none; }
.explore-modal__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; background: var(--em-soft); color: var(--em-primary); }
.explore-modal .explore-modal__eyebrow { margin: 20px 0 8px; color: var(--em-primary); font-size: .82rem; font-weight: 700; }
.explore-modal h2 { margin: 0 0 14px; font-size: clamp(1.45rem, 5vw, 1.85rem); line-height: 1.2; }
.explore-modal h2::after { display: none; }
.explore-modal p { color: var(--em-muted); font-size: 1rem; line-height: 1.6; }
.explore-modal__actions { display: grid; gap: 10px; margin-top: 24px; }
.explore-modal .explore-modal__action { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; white-space: normal; }
.explore-modal__dismiss { min-height: 44px; margin-top: 12px; padding: 8px 16px; border: 0; background: transparent; color: var(--em-muted); text-decoration: underline; cursor: pointer; font: inherit; }
html.explore-modal-open { overflow: hidden; }
.explore-modal .explore-modal__bookmark { display: block; width: 100%; min-height: 44px; margin: 12px 0 0; padding: 10px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--em-primary); font: 600 14px/1.5 system-ui, sans-serif; text-align: center; text-decoration: underline; cursor: pointer; }
.explore-modal .explore-modal__bookmark-help { margin: 4px 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--em-soft); color: var(--em-text); font-size: .875rem; line-height: 1.6; }
.explore-modal .explore-modal__bookmark-help[hidden] { display: none; }
.explore-modal .explore-modal__bookmark-help kbd { display: inline-block; min-width: 1.7em; padding: 1px 6px; border: 1px solid var(--em-muted); border-bottom-width: 2px; border-radius: 5px; background: var(--em-surface); color: var(--em-text); font: 600 .9em/1.5 system-ui, sans-serif; text-align: center; vertical-align: baseline; white-space: nowrap; }
@media (max-width: 380px) { .explore-modal { padding: 32px 18px 16px; } }
