[hidden].kg-cerez-bar, .kg-harici-icerik [hidden] { display: none !important; }

.kg-cerez-bar, .kg-cerez-modal, .kg-harici-icerik {
    --kg-cerez-mor: #9e1f63;
    --kg-cerez-cizgi: #e8d6df;
    color: #25212b;
}
.kg-cerez-bar {
    position: fixed;
    z-index: 1050;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    width: min(460px, calc(100% - 32px));
    border: 1px solid var(--kg-cerez-cizgi);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 32px #34132a24;
}
.kg-cerez-modal {
    position: fixed;
    inset: 0;
    width: min(580px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--kg-cerez-cizgi);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px #32162940;
}
.kg-cerez-modal::backdrop { background: #261a25a6; }
.kg-cerez-icerik { padding: 18px 20px 14px; }
.kg-cerez-icerik h2 {
    margin: 0;
    color: var(--kg-cerez-mor);
    font-size: 20px;
}
.kg-cerez-icerik p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.kg-cerez-modal-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kg-cerez-kapat {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f8edf3;
    color: var(--kg-cerez-mor);
    font-size: 24px;
    line-height: 1;
}
.kg-cerez-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--kg-cerez-cizgi);
    border-radius: 10px;
}
.kg-cerez-satir small { display: block; margin-top: 3px; color: #5b5261; }
.kg-cerez-durum {
    flex: none;
    padding: 5px 8px;
    border-radius: 20px;
    background: #f8edf3;
    color: #80204f;
    font-size: 12px;
    font-weight: 700;
}
.kg-cerez-satir input {
    appearance: none;
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 24px;
    border: 1px solid #947685;
    border-radius: 20px;
    background: #e9dde3;
    cursor: pointer;
}
.kg-cerez-satir input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
}
.kg-cerez-satir input:checked { background: var(--kg-cerez-mor); border-color: var(--kg-cerez-mor); }
.kg-cerez-satir input:checked::after { transform: translateX(18px); }
.kg-cerez-islemler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 14px;
}
.kg-cerez-islemler button, .kg-harici-uyari button, .kg-politika button {
    min-height: 44px;
    padding: 7px 8px;
    border: 1px solid #9e1f63;
    border-radius: 8px;
    background: #fff;
    color: #80204f;
    font-size: 13px;
    font-weight: 700;
}
.kg-cerez-islemler button:hover, .kg-harici-uyari button:hover, .kg-politika button:hover { background: #f8edf3; }
.kg-cerez-bar :focus-visible, .kg-cerez-modal :focus-visible,
.kg-cerez-footer :focus-visible, .kg-harici-icerik :focus-visible {
    outline: 2px solid #9e1f63;
    outline-offset: 2px;
}
.kg-cerez-footer :focus-visible { outline-color: #fff; }
.kg-cerez-alt { display: block; padding: 9px 20px; background: #f8edf3; color: #80204f; font-size: 13px; }
.kg-cerez-footer { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.kg-cerez-footer a, .kg-cerez-footer button { color: #fff; text-decoration: underline; font-size: 14px; }
.kg-cerez-footer button { padding: 0; border: 0; background: transparent; }
.kg-harici-uyari { padding: 24px; text-align: center; border: 1px solid var(--kg-cerez-cizgi); border-radius: 10px; }
.kg-harici-uyari button { margin-top: 10px; }
.kg-harici-yer iframe { display: block; width: 100%; border: 0; }
.kg-harici-yer iframe.kg-video { aspect-ratio: 16 / 9; height: auto; }
.kg-politika { max-width: 920px; margin: 0 auto; }
.kg-politika h2 { margin-top: 22px; margin-bottom: 6px; color: #9e1f63; font-size: 22px; }
.kg-politika p { margin: 8px 0; }
.kg-politika a { color: #9e1f63; text-decoration: underline; }
.kg-politika ul { padding-left: 22px; list-style: disc; }
.kg-politika table { margin: 12px 0; font-size: 14px; }
@media (max-width: 575px) {
    .kg-cerez-footer { justify-content: center; }
    .kg-cerez-icerik { padding: 14px 14px 12px; }
    .kg-cerez-islemler { padding: 0 14px 12px; }
    .kg-cerez-satir { padding: 10px; }
}
@media print {
    .kg-cerez-bar, .kg-cerez-modal { display: none !important; }
}
