.explore-modal { --em-primary: var(--accent, #de2827); --em-surface: var(--white, #fff); --em-text: var(--ink, #24312b); --em-muted: var(--ink-3, #5d6b62); --em-soft: var(--forest-soft, #edf2ee); --em-secondary: var(--forest, #254b42); font: 16px/1.5 var(--font, system-ui, sans-serif); }
.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 var(--font, system-ui, sans-serif); text-decoration: none; }
.explore-modal .explore-modal__action:hover { background: var(--accent-hover, #bd2223); border-color: var(--accent-hover, #bd2223); }
.explore-modal .explore-modal__action--secondary { background: transparent; color: var(--em-text); border-color: var(--em-muted); }
.explore-modal .explore-modal__action--secondary:hover { background: var(--em-soft); border-color: var(--em-secondary); }
.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(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 36px 28px 22px; border: 1px solid var(--line, #d9dfd8); border-radius: 24px; color: var(--em-text); background: var(--em-surface); box-shadow: 0 24px 80px rgba(24, 55, 47, .25); text-align: center; overflow: auto; overscroll-behavior: contain; }
.explore-modal::backdrop { background: rgba(24, 39, 33, .6); }
.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__icon img { width: 40px; height: 40px; object-fit: contain; }
.explore-modal .explore-modal__eyebrow { margin: 20px 0 8px; color: var(--em-secondary); 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, html.explore-modal-open body { 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-secondary); font: 600 14px/1.5 var(--font, 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; } }
