.layerpop-overlay {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}
.layerpop-modal {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 0;
    max-width: 95vw;
    width: 400px;
    position: relative;
    text-align: center;
    animation: popIn 0.3s;
}
.layerpop-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}
.layerpop-close:hover {
    color: #ff3333;
}
.layerpop-content {
    padding: 0;
}
.layerpop-img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@media (max-width: 500px) {
    .layerpop-modal { width: 95vw; }
    .layerpop-img { border-radius: 8px; }
}