/* KS_golive_tracking: cookie banner + settings link. Linked only when a Pixel ID
   is set. Banner: mockup_landing_line_cookie_th.html PROPOSED block, plus the ×
   (prd_v4 §3.1, the one banner deviation). */
.ck{--ink:#0e1a33;--blue:#174ea6;position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:50;width:calc(100% - 32px);max-width:720px;display:flex;align-items:center;gap:16px;padding:14px 18px;background:#fff;border-radius:14px;box-shadow:0 12px 40px -8px rgba(15,23,42,.35),0 0 0 1px #e2e8f0;font-size:14px;line-height:1.6;color:var(--ink)}
.ck[hidden]{display:none}
.ck p{margin:0;flex:1;min-width:0;padding-right:22px}
.ck p a{color:var(--blue);font-weight:500}
.ck-btns{display:flex;gap:8px;flex:0 0 auto}
.ck-btns button{font:inherit;font-size:14px;font-weight:500;padding:8px 16px;border:0;border-radius:10px;cursor:pointer;background:#f1f5f9;color:#475569;min-width:96px;margin:0}
.ck-btns button.ok{background:var(--blue);color:#fff}
.ck .ck-x{position:absolute;top:4px;right:4px;width:32px;height:32px;padding:0;margin:0;border:0;background:transparent;color:#475569;font-size:22px;line-height:1;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ck .ck-x:focus-visible,.ck-settings:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
/* Beside the buttons the × would sit on Accept's corner: a click there would decline. */
@media (min-width:641px){.ck-btns{margin-right:18px}}
/* The dashboard's "?" (app.css .ksg-help, z-index 9000) would sit on Accept's corner: out of the way while the
   banner is open, up to the width where the two can touch. Not a higher .ck z-index: the page's modals must stay above the banner. */
@media (max-width:900px){body:has(#ks-ck:not([hidden])) .ksg-help{display:none}}
@media (max-width:640px){.ck{flex-direction:column;align-items:stretch;gap:10px}.ck-btns button{flex:1}}
.ck-row{text-align:center;margin:24px 0 16px}
.ck-row .ck-settings{font:inherit;font-size:13px;color:#64748b;text-decoration:underline;background:transparent;border:0;padding:8px;margin:0;cursor:pointer;min-height:0;width:auto}
