/* =========================================
   KIRA ADS STYLES
   ========================================= */

.manga-unlock-ads {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    font-family: var(--font-family, sans-serif);
}

.ads-instruction {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.reader-dark .ads-instruction {
    color: #e2e8f0;
}

/* Wavy underline utility for top content if needed */
.ads-instruction u,
.ads-instruction .wavy-underline {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #3b82f6;
    text-underline-offset: 4px;
}

.kira-ads-link-wrapper {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.ads-arrow {
    margin: 3px 0;
}

.ads-arrow img {
    height: 40px;
    object-fit: contain;
}

.ads-link-box {
    margin: 3px auto 8px;
    display: inline-block;
    border: 1px dashed #64748b;
    border-radius: 4px;
    padding: 3px 8px;
    background: #fff;
}

.reader-dark .ads-link-box {
    background: #1e293b;
    border-color: #94a3b8;
}

.kira-ads-link-text {
    color: #1d4ed8;
    font-weight: 600;
    font-size: 13px;
}

.reader-dark .kira-ads-link-text {
    color: #60a5fa;
}

.ads-banner {
    margin-bottom: 15px;
}

#kira-ads-banner {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ads-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f8fafc;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: left;
    margin-top: 25px;
}

.reader-dark .ads-notice {
    background-color: #1e293b;
}

.ads-notice-icon i {
    color: #f97316;
    font-size: 24px;
    margin-top: 2px;
}

.ads-notice-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.reader-dark .ads-notice-text {
    color: #cbd5e1;
}

.ads-notice-text u,
.ads-notice-text .wavy-underline {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #3b82f6;
    text-underline-offset: 4px;
}

/* Logic hide content */
body.kira-ads-locked #readerContent {
    display: none !important;
}

body.kira-ads-locked {
    /* Keep theme background */
}