/* Seller button + modal — terminal/pixel-mono palette, no rainbow/neon */

#nav-sellers-btn-desktop {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-dim, var(--terminal-text-dim));
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    font-family: 'Share Tech Mono', 'VT323', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.12s, border-color 0.12s, background 0.12s;
    white-space: nowrap;
}
#nav-sellers-btn-desktop:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(127, 127, 127, 0.05);
}
#nav-sellers-btn-desktop .nav-sellers-prefix {
    opacity: 0.6;
    margin-right: 4px;
}

#nav-sellers-btn-mobile {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 0;
    color: var(--text-dim, var(--terminal-text-dim));
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: color 0.12s;
}
#nav-sellers-btn-mobile:hover {
    color: var(--text-primary);
}

/* Modal */
#sellers-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sellers-modal.hidden { display: none; }

.sellers-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.sellers-modal-content {
    position: relative;
    background: var(--bg-primary);
    border: 2px solid var(--text-primary);
    padding: 2rem;
    width: calc(100% - 2rem);
    max-width: 600px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    font-family: 'Share Tech Mono', 'VT323', monospace;
    color: var(--text-primary);
    z-index: 1;
}

.sellers-modal-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent 0, transparent 20px,
            var(--text-primary) 20px, var(--text-primary) 21px),
        repeating-linear-gradient(90deg,
            transparent 0, transparent 20px,
            var(--text-primary) 20px, var(--text-primary) 21px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.sellers-modal-content > *:not(.sellers-modal-bg) {
    position: relative;
    z-index: 1;
}

.sellers-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    z-index: 2;
    transition: opacity 0.1s;
}
.sellers-modal-close:hover { opacity: 0.6; }

.sellers-modal-content h2 {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 0.5rem;
    padding-right: 2rem;
}

.sellers-modal-body p {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sellers-contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid var(--text-primary);
    text-transform: none;
    letter-spacing: 0.04em;
    transition: filter 0.1s, transform 0.1s;
}
.sellers-contact-link:hover {
    filter: invert(1);
}

@media (max-width: 480px) {
    .sellers-modal-content { padding: 1.25rem; }
    .sellers-modal-content h2 { font-size: 1.2rem; }
    .sellers-modal-body p { font-size: 0.88rem; }
}
