/* Own consent (consent-kit v1, same structure as Immo68). philipjhalford.com dark theme at the end. */
:root { --ck-bg:#fff; --ck-ink:#16263b; --ck-text:#3b4a5e; --ck-accent:#16263b; --ck-accent-2:#24405f; --ck-on:#fff; --ck-soft:#f4f6f9; --ck-line:rgba(22,38,59,.14); --ck-r:16px; --ck-font:inherit; --ck-shadow:0 18px 48px -18px rgba(14,24,38,.45); }
.ck { position: fixed; z-index: 2147483000; left: 0; bottom: 0; width: min(480px, 100%); padding: 0 0 max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); pointer-events: none; font-family: var(--ck-font); box-sizing: border-box; }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; }
.ck-box { pointer-events: auto; background: var(--ck-bg); color: var(--ck-text); border: 1px solid var(--ck-line); border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: 14px 16px; max-height: calc(100dvh - 28px); overflow-y: auto; text-align: left; }
.ck-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--ck-ink); }
.ck-title svg { color: var(--ck-accent); flex: none; }
.ck-text { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--ck-text); }
.ck-text a, .ck-svc-m a { color: var(--ck-accent); font-weight: 600; text-decoration: underline; }
.ck-cats { display: grid; gap: 6px; margin: 10px 0 0; }
.ck-cat { border: 1px solid var(--ck-line); border-radius: 10px; background: var(--ck-soft); }
.ck-cat-row { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 10px; min-height: 40px; }
.ck-cat-row label { flex: 1; min-width: 0; color: var(--ck-ink); font-weight: 600; font-size: .86rem; cursor: pointer; margin: 0; }
.ck-cnt { font-weight: 500; font-size: .74rem; color: var(--ck-text); margin-left: 4px; }
.ck-cat-tg { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ck-accent); cursor: pointer; }
.ck-cat-tg svg { transition: transform .2s; }
.ck-cat.is-open .ck-cat-tg svg { transform: rotate(180deg); }
.ck-cat-tg:hover { background: rgba(127,127,127,.12); }
.ck-cat-d { padding: 0 10px 10px; display: grid; gap: 8px; }
.ck-cat-d[hidden] { display: none; }
.ck-cat-t, .ck-gpc { margin: 0; font-size: .76rem; line-height: 1.4; color: var(--ck-text); }
.ck-gpc { font-weight: 600; color: var(--ck-ink); }
.ck-box > .ck-gpc, .ck-note { margin: 10px 0 0; font-size: .76rem; line-height: 1.4; color: var(--ck-text); }
.ck-note a { color: var(--ck-accent); font-weight: 600; text-decoration: underline; }
.ck-svc { background: var(--ck-bg); border: 1px solid var(--ck-line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; min-width: 0; }
.ck-svc-row { display: flex; align-items: center; gap: 9px; }
.ck-svc-row label { font-weight: 600; font-size: .82rem; color: var(--ck-ink); cursor: pointer; min-width: 0; margin: 0; }
.ck input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: none; margin: 0; border: 2px solid var(--ck-accent); border-radius: 6px; background: var(--ck-bg) center / 14px 14px no-repeat; cursor: pointer; }
.ck-svc input[type=checkbox] { width: 20px; height: 20px; border-radius: 5px; background-size: 13px 13px; }
.ck input[type=checkbox]:checked { background-color: var(--ck-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ck input[type=checkbox]:indeterminate { background-color: var(--ck-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.ck input[type=checkbox]:disabled { opacity: .6; cursor: not-allowed; }
.ck input:focus-visible, .ck-btn:focus-visible, .ck-cat-tg:focus-visible { outline: 3px solid color-mix(in srgb, var(--ck-accent) 45%, transparent); outline-offset: 2px; }
.ck-svc-p, .ck-svc-m { margin: 0; font-size: .74rem; line-height: 1.4; color: var(--ck-text); overflow-wrap: anywhere; }
.ck-items { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 2px; font-size: .72rem; color: var(--ck-text); }
.ck-items code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; background: rgba(127,127,127,.12); color: var(--ck-ink); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.ck-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ck-btn { min-height: 42px; padding: 8px 10px; border: 0; border-radius: 999px; background: var(--ck-accent); color: var(--ck-on); font: 600 .86rem/1.2 var(--ck-font); cursor: pointer; transition: background-color .15s; }
.ck-btn:hover { background: var(--ck-accent-2); }
.ck-fab { position: fixed; z-index: 2147482000; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ck-accent); color: var(--ck-on); box-shadow: 0 10px 24px -10px rgba(14,24,38,.55); cursor: pointer; transition: transform .2s, background-color .2s; }
.ck-fab[hidden] { display: none; }
.ck-fab:hover { background: var(--ck-accent-2); transform: translateY(-2px); }
.ck-fab:focus-visible { outline: 3px solid color-mix(in srgb, var(--ck-accent) 45%, transparent); outline-offset: 3px; }
@media (max-width: 480px) { .ck { width: 100%; padding: 0 max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); } .ck-box { padding: 12px 13px; } .ck-text { font-size: .77rem; line-height: 1.4; } .ck-actions { gap: 6px; } .ck-btn { min-height: 40px; padding: 6px; font-size: .8rem; white-space: nowrap; } .ck-fab { width: 36px; height: 36px; left: max(8px, env(safe-area-inset-left)); bottom: max(8px, env(safe-area-inset-bottom)); } .ck-fab svg { width: 18px; height: 18px; } }
@media (max-width: 400px) { .ck-actions { grid-template-columns: 1fr 1fr; } .ck-actions .ck-btn:first-child { grid-column: 1 / -1; } .ck-box { padding: 11px 12px; } .ck-title { font-size: .9rem; margin-bottom: 2px; } .ck-text { font-size: .75rem; line-height: 1.38; } }
@media print { .ck, .ck-fab { display: none; } }
:root { --ck-bg: #0b111c; --ck-ink: #e9eff8; --ck-text: #a9b6c9; --ck-accent: #7fa8e8; --ck-accent-2: #bcd6ff; --ck-on: #05070c; --ck-soft: rgba(150, 180, 230, 0.07); --ck-line: rgba(200, 225, 255, 0.18); --ck-font: var(--f-sans), system-ui, sans-serif; --ck-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.95); }
.ck-text a, .ck-svc-m a { color: var(--ck-accent-2); } .ck-btn { white-space: nowrap; font-size: .8rem; }
