/**
 * Explore for a non-member (includes/explore-teaser.php, since 2026-11-12):
 * the dock's own button (explore-dock.css) opens this panel. The members card
 * inside is the shared paywall card (styles/paywall.css): never restyled here.
 */

.explore-teaser {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: var(--tmb-black-45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.explore-teaser[hidden] { display: none; }
body.explore-teaser-open { overflow: hidden; }

.explore-teaser-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    background: var(--tmb-surface);
    border-radius: 14px;
    box-shadow: 0 16px 48px var(--tmb-black-30);
    padding: 22px 24px 24px;
    color: var(--tmb-gray-900);
}

.explore-teaser-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 4px !important;
    font-size: 26px;
    line-height: 1;
    color: var(--tmb-gray-600);
    cursor: pointer;
}
.explore-teaser-close:hover { color: var(--tmb-gray-900); }

.explore-teaser-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.explore-teaser-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--tmb-gray-700);
    margin: 0 0 12px;
}

.explore-teaser-asks {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.explore-teaser-asks li {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--tmb-gray-900);
    background: var(--tmb-gray-100);
    border: 1px solid var(--tmb-gray-300);
    border-radius: 8px;
    padding: 8px 12px;
}
.explore-teaser-asks li::before {
    content: '\201C';
    color: var(--tmb-gray-600);
    margin-right: 2px;
}
.explore-teaser-asks li::after {
    content: '\201D';
    color: var(--tmb-gray-600);
}

.explore-teaser-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tmb-brand-dark);
    margin-bottom: 16px;
}
.explore-teaser-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.explore-teaser-play {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    cursor: pointer;
    display: block;
}
.explore-teaser-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.explore-teaser-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--tmb-black-60);
    color: var(--tmb-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    transition: background 0.15s ease;
}
.explore-teaser-play:hover .explore-teaser-play-icon { background: var(--tmb-black-90); }
.explore-teaser-play-label {
    position: absolute;
    left: 12px;
    bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tmb-surface);
    background: var(--tmb-black-60);
    border-radius: 6px;
    padding: 4px 8px;
}

/* The card sits in the panel, not over anything: no shadow of its own. */
.explore-teaser .tmb-pw-card { box-shadow: none; max-width: none; }

@media (max-width: 767px) {
    .explore-teaser { padding: 0; align-items: flex-end; }
    .explore-teaser-box { border-radius: 16px 16px 0 0; max-height: 92dvh; padding: 20px 16px 20px; }
}
