
/* EXEHO SAFE UI V1 */

/* Eski çerez pencerelerinin çift görünmesini engeller. */
body > #ebook-consent,
body > .ebook-consent,
#ebook-consent.ebook-consent {
    display: none !important;
}

/* Çerez paneli */
#exeho-consent-layer {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 14, 24, 0.52);
}

#exeho-consent-layer[hidden] {
    display: none !important;
}

.exeho-consent-panel {
    width: min(680px, 100%);
    padding: 22px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
    color: #202536;
    font-family: inherit;
}

.exeho-consent-panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.exeho-consent-panel p {
    margin: 0 0 12px;
    line-height: 1.6;
}

.exeho-consent-links {
    margin-bottom: 16px;
    font-size: 14px;
}

.exeho-consent-links a {
    color: inherit;
    text-decoration: underline;
}

.exeho-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.exeho-consent-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #d1d5de;
    border-radius: 10px;
    background: #f5f6f8;
    color: #202536;
    font-weight: 600;
    cursor: pointer;
}

.exeho-consent-actions .exeho-consent-accept {
    border-color: #222a43;
    background: #222a43;
    color: #ffffff;
}

#exeho-privacy-choices {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 2147482000;
    padding: 7px 11px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #252a38;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
    font-size: 12px;
    cursor: pointer;
}

/* Kitap yıldız alanı */
#exeho-book-ratings {
    clear: both;
    margin: 18px 0 24px;
    padding: 18px;
    border: 1px solid rgba(40, 47, 65, 0.13);
    border-radius: 14px;
    background: rgba(250, 250, 252, 0.96);
    color: #252a38;
}

.exeho-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.exeho-rating-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.exeho-editorial-stars,
.exeho-reader-stars {
    display: inline-flex;
    gap: 3px;
}

.exeho-editorial-stars span {
    color: #e2a91d;
    font-size: 23px;
    line-height: 1;
}

.exeho-reader-stars button {
    padding: 1px;
    border: 0;
    background: transparent;
    color: #b9bec9;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.exeho-reader-stars button.is-active {
    color: #e2a91d;
}

.exeho-rating-note {
    margin: 8px 0 0;
    color: #666d7c;
    font-size: 13px;
}

@media (max-width: 600px) {
    #exeho-consent-layer {
        padding: 10px;
    }

    .exeho-consent-panel {
        padding: 18px;
    }

    .exeho-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .exeho-consent-actions button {
        width: 100%;
    }
}
