/* Kadosan Servis – çerez tercih penceresi ve test paneli (temadan bağımsız temel stiller). */
.ks-consent { position: fixed; z-index: 9990; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #1c1f22; color: #f4f3ef; border-radius: 10px; box-shadow: 0 18px 48px rgba(0,0,0,.35); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.ks-consent[hidden] { display: none; }
.ks-consent__inner { padding: 18px 20px; }
.ks-consent__title { margin: 0 0 6px; font-weight: 700; font-size: 16px; }
.ks-consent__desc { margin: 0 0 12px; color: #d8d6d0; }
.ks-consent a { color: #fff; text-decoration: underline; }
.ks-consent__prefs { display: grid; gap: 8px; margin: 0 0 12px; }
.ks-consent__prefs[hidden], .ks-consent__btn[hidden] { display: none; }
.ks-consent__opt { display: flex; gap: 10px; align-items: flex-start; }
.ks-consent__opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: #c8161d; }
.ks-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-consent__btn { flex: 1 1 auto; min-height: 44px; padding: 8px 14px; border-radius: 6px; border: 1px solid #5b6066; background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ks-consent__btn:hover { background: #2a2e32; }
.ks-consent__btn--primary { background: #c8161d; border-color: #c8161d; }
.ks-consent__btn--primary:hover { background: #a91218; }
.ks-consent__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) { .ks-consent { bottom: calc(76px + env(safe-area-inset-bottom)); left: 8px; right: 8px; } }
.ks-debug { position: fixed; z-index: 9999; left: 8px; bottom: 8px; width: min(480px, calc(100vw - 16px)); max-height: 40vh; overflow: auto; background: #0b0d0e; color: #8ef59b; font: 12px/1.4 ui-monospace, Consolas, monospace; padding: 10px; border-radius: 6px; border: 1px solid #2c2f33; }
.ks-debug ol { margin: 6px 0 0; padding-left: 18px; }
.ks-debug li { margin-bottom: 4px; word-break: break-all; }
