/* consent.css — cookie wizard (forced first-visit gate) + legal-page banner. Built by /assets/js/cookies.js */
.ck-gate, .ck-banner, .ck-gate *, .ck-banner * { box-sizing: border-box; font-family: 'Cinzel', serif; }

/* first visit: hide the page until the wizard is up, then keep it hidden behind the opaque overlay */
html.tmt-gate body { visibility: hidden; }
html.tmt-gate body .ck-gate { visibility: visible; }
html.tmt-lock { overflow: hidden; }

.ck-gate {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(0,0,0,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ck-gate.is-forced {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,215,0,.10), transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(184,134,11,.12), transparent 55%),
        #050505;
}
.ck-card {
    position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
    padding: 30px 32px 26px; border-radius: 20px; outline: none; color: #fff; text-align: left;
    background: rgba(10,10,10,.94); border: 1px solid rgba(255,215,0,.38);
    box-shadow: 0 16px 70px rgba(0,0,0,.85), 0 0 0 1px rgba(255,215,0,.06);
    animation: ckPop .45s cubic-bezier(.2,.8,.2,1) both;
    scrollbar-width: none;
}
.ck-card::-webkit-scrollbar { display: none; }
@keyframes ckPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.ck-brand { font-size: 12px; font-weight: 700; letter-spacing: 6px; color: #FFD700; text-shadow: 0 0 14px rgba(255,215,0,.4); }
.ck-dots { display: flex; gap: 6px; margin: 12px 0 18px; }
.ck-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); transition: background .3s; }
.ck-dots i.on { background: #FFD700; }
.ck-dots i.done { background: #B8860B; }
.ck-h { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #fff; margin-bottom: 10px; }
.ck-x { position: absolute; top: 14px; right: 16px; font-size: 26px; line-height: 1; color: #C0C0C0; background: none; border: 0; cursor: pointer; padding: 0 6px; }
.ck-x:hover { color: #FFD700; }

.ck-text { font-size: 12px; line-height: 1.8; color: #C0C0C0; }
.ck-text strong { color: #fff; }
.ck-text a, .ck-fine a { color: #FFD700; }
.ck-fine { margin-top: 14px; font-size: 11px; color: #8a8a8a; }

.ck-points { list-style: none; margin: 16px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.ck-points li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border-left: 2px solid rgba(255,215,0,.5); }
.ck-points b { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #FFD700; }
.ck-points span { font-size: 11px; line-height: 1.65; color: #C0C0C0; }

.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ck-btn { font-size: 12px; letter-spacing: 1px; cursor: pointer; padding: 10px 18px; border-radius: 10px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); transition: background .2s, color .2s, border-color .2s; }
.ck-btn:hover { border-color: #FFD700; color: #FFD700; }
.ck-primary { color: #000; background: #FFD700; border-color: #FFD700; font-weight: 700; }
.ck-primary:hover { background: #FFC200; color: #000; }
.ck-ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.ck-btn:focus-visible, .ck-x:focus-visible, .ck-row input:focus-visible + .ck-sw, .ck-card a:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }

.ck-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.ck-row:first-of-type { margin-top: 14px; }
.ck-row strong { display: block; font-size: 13px; letter-spacing: 1px; }
.ck-row small { display: block; font-size: 11px; line-height: 1.6; color: #C0C0C0; margin-top: 3px; }
.ck-row input { position: absolute; opacity: 0; width: 44px; height: 24px; right: 0; margin: 0; cursor: pointer; }
.ck-row input:disabled { cursor: not-allowed; }
.ck-sw { flex: 0 0 44px; width: 44px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.18); position: relative; transition: background .2s; }
.ck-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ck-row input:checked + .ck-sw { background: #B8860B; }
.ck-row input:checked + .ck-sw::after { transform: translateX(20px); background: #FFD700; }
.ck-row input:disabled + .ck-sw { opacity: .6; }

.ck-scroll { overflow-x: auto; margin-top: 14px; }
.ck-scroll table { width: 100%; border-collapse: collapse; font-size: 11px; line-height: 1.5; }
.ck-scroll th { text-align: left; color: #C0C0C0; font-weight: 600; letter-spacing: 1px; padding: 6px 8px; border-bottom: 1px solid rgba(255,215,0,.3); white-space: nowrap; }
.ck-scroll td { vertical-align: top; padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.08); color: #ddd; }
.ck-scroll tr.off td { color: #6f6f6f; }
.ck-scroll code { font-family: 'Courier New', monospace; font-size: 11px; color: #FFD700; }

/* legal-page banner */
.ck-banner { position: fixed; z-index: 2000; left: 18px; bottom: 18px; width: min(420px, calc(100vw - 36px)); padding: 18px 20px 16px; border-radius: 16px; background: rgba(0,0,0,.92); border: 1px solid rgba(255,215,0,.35); box-shadow: 0 10px 40px rgba(0,0,0,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }
.ck-title { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #FFD700; margin-bottom: 8px; }
.ck-banner .ck-actions { margin-top: 14px; }

@media (max-width: 600px) {
    .ck-card { padding: 22px 18px 20px; border-radius: 16px; }
    .ck-h { font-size: 17px; }
    .ck-actions .ck-btn { flex: 1 1 auto; }
    .ck-banner { left: 10px; right: 10px; bottom: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .ck-card { animation: none; } .ck-sw, .ck-sw::after { transition: none; } }
