/* Evraklik cerez onayi */
.evc,.evc-ov{--evc-bg:#fff;--evc-ink:#1b2430;--evc-mute:#566273;--evc-line:#dfe3ea;--evc-soft:#f4f6f9;--evc-on-ink:#fff;--evc-acc:var(--ev-accent,#6B3DED);--evc-shadow:0 -8px 30px rgba(20,30,45,.14);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-text-size-adjust:100%}
html.dark-theme .evc,html.dark-theme .evc-ov{--evc-bg:#1a222c;--evc-ink:#eef1f5;--evc-mute:#aab4c2;--evc-line:#2d3744;--evc-soft:#222c38;--evc-on-ink:#10161d;--evc-shadow:0 -8px 30px rgba(0,0,0,.5)}
.evc[hidden],.evc-ov[hidden]{display:none!important}
.evc *,.evc-ov *{box-sizing:border-box}

/* Bar */
.evc{position:fixed;left:0;right:0;bottom:0;z-index:99990;padding:0 16px calc(16px + env(safe-area-inset-bottom));pointer-events:none;animation:evc-up .28s cubic-bezier(.2,.8,.2,1)}
.evc__inner{pointer-events:auto;max-width:1040px;margin:0 auto;display:flex;align-items:center;gap:20px;padding:16px 20px;background:var(--evc-bg);color:var(--evc-ink);border:1px solid var(--evc-line);border-radius:16px;box-shadow:var(--evc-shadow)}
.evc__text{flex:1;min-width:0}
.evc__title{margin:0 0 4px;font-size:.98rem;font-weight:700;line-height:1.3;color:var(--evc-ink)}
.evc__desc{margin:0;font-size:.88rem;line-height:1.55;color:var(--evc-mute)}
.evc__desc a,.evc-dlg__lead a{color:var(--evc-ink);text-decoration:underline;text-underline-offset:2px;font-weight:600}
.evc__actions{display:flex;gap:10px;flex:none}
.evc__btn{min-height:44px;padding:10px 18px;border-radius:10px;border:1.5px solid var(--evc-ink);font:inherit;font-size:.92rem;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap;transition:background .15s,transform .15s}
.evc__btn--solid{background:var(--evc-ink);color:var(--evc-on-ink)}
.evc__btn--line{background:transparent;color:var(--evc-ink)}
.evc__btn:hover{transform:translateY(-1px)}
.evc__btn--line:hover{background:var(--evc-soft)}
.evc :focus,.evc-ov :focus{outline:none}
.evc :focus-visible,.evc-ov :focus-visible{outline:3px solid var(--evc-acc);outline-offset:2px}
html.dark-theme .evc :focus-visible,html.dark-theme .evc-ov :focus-visible{outline-color:#f0b23e}

/* Dialog */
.evc-ov{position:fixed;inset:0;z-index:99995;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,22,32,.55);animation:evc-fade .2s ease}
.evc-dlg{width:100%;max-width:520px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:var(--evc-bg);color:var(--evc-ink);border-radius:18px;box-shadow:0 24px 60px rgba(10,16,25,.4);overflow:hidden}
.evc-dlg__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 8px}
.evc-dlg__head h2{margin:0;font-size:1.15rem;font-weight:700;color:var(--evc-ink)}
.evc-dlg__x{width:44px;height:44px;margin:-8px -10px -8px 0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:var(--evc-ink);cursor:pointer}
.evc-dlg__x:hover{background:var(--evc-soft)}
.evc-dlg__body{padding:0 20px 8px;overflow-y:auto;overscroll-behavior:contain}
.evc-dlg__lead{margin:0 0 12px;font-size:.88rem;line-height:1.55;color:var(--evc-mute)}
.evc-cats{list-style:none;margin:0;padding:0}
.evc-cat{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 0;border-top:1px solid var(--evc-line);margin:0}
.evc-cat__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.evc-cat__txt strong{font-size:.95rem;color:var(--evc-ink)}
.evc-cat__txt span{font-size:.83rem;line-height:1.45;color:var(--evc-mute)}
.evc-sw{position:relative;flex:none;width:46px;height:28px;display:block;cursor:pointer}
.evc-sw input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.evc-sw i{position:absolute;inset:0;border-radius:999px;background:#9aa5b4;transition:background .15s}
.evc-sw i::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s}
.evc-sw input:checked+i{background:var(--evc-acc)}
.evc-sw input:checked+i::after{transform:translateX(18px)}
.evc-sw input:disabled{cursor:not-allowed}
.evc-sw input:disabled+i{opacity:.55}
.evc-sw input:focus-visible+i{outline:3px solid var(--evc-ink);outline-offset:2px}
.evc-dlg__foot{display:flex;gap:10px;padding:14px 20px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--evc-line)}
.evc-dlg__foot .evc__btn{flex:1}
html.evc-lock,html.evc-lock body{overflow:hidden!important}
.ev-gated-hidden{display:none!important}
[data-ev-needs-consent]:not(.ev-consented){display:none!important}

@keyframes evc-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes evc-fade{from{opacity:0}to{opacity:1}}

@media (max-width:720px){
  .evc{padding:0}
  .evc__inner{flex-direction:column;align-items:stretch;gap:12px;padding:16px 16px calc(14px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;border-width:1px 0 0}
  .evc__desc{font-size:.85rem}
  .evc__actions{flex-wrap:wrap}
  .evc__actions .evc__btn{flex:1 1 calc(50% - 5px)}
  .evc__actions .evc__btn--line{flex-basis:100%}
  .evc-ov{align-items:flex-end;padding:0}
  .evc-dlg{max-width:none;border-radius:18px 18px 0 0;max-height:92vh;max-height:92dvh}
  .evc-dlg__foot{flex-wrap:wrap}
  .evc-dlg__foot .evc__btn{flex:1 1 calc(50% - 5px)}
}
@media (prefers-reduced-motion:reduce){
  .evc,.evc-ov{animation:none}
  .evc__btn,.evc-sw i,.evc-sw i::after{transition:none}
  .evc__btn:hover{transform:none}
}
