.pro-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(1, 4, 9, 0.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.pro-modal--open {
    display: flex;
    animation: accessModalIn 0.35s ease;
}

@keyframes accessModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pro-modal--open .pro-modal__card {
    animation: accessCardIn 0.4s ease;
}

@keyframes accessCardIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pro-modal--tier-skipper .pro-modal__card {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
}
.pro-modal--tier-skipper .pro-modal__tag { color: #22d3ee; }
.pro-modal--tier-skipper .pro-modal__btn {
    border-color: #22d3ee;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.12);
}

.pro-modal--tier-pro .pro-modal__card {
    border-color: rgba(56, 189, 248, 0.35);
}
.pro-modal--tier-pro .pro-modal__tag { color: #38bdf8; }

.access-transition {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 4, 9, 0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.access-transition--visible {
    opacity: 1;
    pointer-events: auto;
}
.access-transition__card {
    text-align: center;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.95);
    animation: accessCardIn 0.45s ease;
}
.access-transition[data-tier="skipper"] .access-transition__card {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 48px rgba(34, 211, 238, 0.15);
}
.access-transition[data-tier="pro"] .access-transition__card {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 48px rgba(56, 189, 248, 0.15);
}
.access-transition__tag {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.75rem;
    color: #38bdf8;
}
.access-transition[data-tier="skipper"] .access-transition__tag { color: #22d3ee; }
.access-transition__text {
    font-size: 0.95rem;
    color: #e2e8f0;
}

.pro-modal__card {
    width: min(400px, 92vw);
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.15);
}
.pro-modal__tag {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #38bdf8;
}
.pro-modal__card h2 { margin: 0.5rem 0; font-size: 1.25rem; }
.pro-modal__card p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 1rem; line-height: 1.5; }
.pro-modal__card input {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #f8fafc;
}
.pro-modal__msg { font-size: 0.75rem; min-height: 1.2em; color: #f59e0b; }
.pro-modal__actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.pro-modal__btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-radius: 4px;
    cursor: pointer;
}
.pro-modal__btn--ghost { border-color: rgba(255, 255, 255, 0.15); color: #94a3b8; background: transparent; }

.access-badge {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 99;
}

.chat-nav .access-badge {
    position: static;
    flex-shrink: 0;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.9);
}
.access-badge--free { color: #94a3b8; }
.access-badge--skipper { color: #a5f3fc; border-color: rgba(34, 211, 238, 0.3); }
.access-badge--pro { color: #38bdf8; border-color: rgba(56, 189, 248, 0.35); }
.pro-modal__card input.pro-modal__email,
.pro-modal__card .pro-modal__email { width: 100%; }

.oldsalt-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f59e0b;
    cursor: pointer;
    user-select: none;
}
.oldsalt-toggle input { accent-color: #f59e0b; }

.nav-locked { opacity: 0.85; }
