/* Mobile Bookmark Guide Styles */

/* 1. Sticky Top Bar */
#qzq-top-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f0f9ff;
    /* Light Blue */
    color: #333;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

#qzq-top-guide.qzq-slide-down {
    transform: translateY(0);
}

.qzq-guide-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    max-width: 600px;
    margin: 0 auto;
}

.qzq-guide-text {
    flex: 1;
    padding-right: 10px;
}

.qzq-guide-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

/* Icons mimicking native UI */
.qzq-icon-share {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin: 0 2px;
}

.qzq-icon-dots {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle;
}

/* 2. In-App Fullscreen Overlay */
#qzq-inapp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.qzq-overlay-content {
    position: relative;
    width: 80%;
    max-width: 400px;
}

.qzq-arrow-guide {
    position: absolute;
    top: -100px;
    /* Adjust based on typical screen */
    right: 0px;
    font-size: 80px;
    color: #ffcc00;
    /* Warning Yellow */
    font-weight: bold;
    animation: bounce 1.5s infinite;
}

/* Adjust arrow position for actual screen top-right */
@media screen and (min-height: 600px) {
    .qzq-overlay-content {
        margin-top: -100px;
    }

    .qzq-arrow-guide {
        position: fixed;
        top: 10px;
        right: 20px;
    }
}

.qzq-overlay-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffcc00;
}

.qzq-overlay-text p {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.6;
}

#qzq-overlay-close {
    margin-top: 30px;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5px, -5px);
    }
}