/* Коштар — the consent panel drawn by consent.js (shared with ordia.agency; same DOM, same rules, Коштар's own look).
   DESIGN.md: raised paper, ink, one rust mark; a stitch row instead of a frame; primary actions are ink, never rust.
   The two answers are the SAME button — same size, same weight, same colour — because a quiet refuse beside a loud
   accept is the dark pattern regulators name by example; Refuse comes first in the DOM (consent.js) and on screen. */
.ck{position:fixed;z-index:80;inset:auto 0 0 0;box-sizing:border-box;
  background:var(--raised,#fffdf8);border-top:1px solid var(--line-strong,#cdc3ab);
  box-shadow:0 -1px 2px rgba(38,35,29,.06),0 -18px 40px -24px rgba(38,35,29,.32);
  max-height:min(64vh,560px);overflow-y:auto;overscroll-behavior:contain;color:var(--fg,#26231d);
  --ck-answer-min:11rem}
/* the stitch row along the top edge: dots of thread, as between sections on the internal pages */
.ck::before{content:"";display:block;height:10px;margin-top:10px;
  background:radial-gradient(circle,var(--stitch,#bdb19a) 1.2px,transparent 1.4px) 0 50%/6px 10px repeat-x;opacity:.9}
.ck-in{max-width:1160px;margin:0 auto;padding:14px clamp(16px,4vw,40px) 22px;
  display:flex;align-items:center;gap:clamp(20px,3vw,44px);flex-wrap:wrap}
.ck-body{flex:1 1 460px;min-width:0}
.ck-h{margin:0 0 8px;font-size:17px;font-weight:640;letter-spacing:-.01em;line-height:1.3;color:var(--fg,#26231d)}
.ck-text{margin:0;font-size:14.5px;line-height:1.55;color:var(--body,#3a352c);text-wrap:pretty;max-width:78ch}
.ck-text a{color:var(--fg,#26231d);text-decoration:underline;text-decoration-color:var(--mark,#96482f);text-underline-offset:3px}
.ck-acts{display:flex;gap:10px;flex:none}
.ck-btn{font:inherit;font-size:15px;font-weight:600;height:44px;padding:0 22px;min-width:var(--ck-answer-min);
  cursor:pointer;white-space:nowrap;color:var(--bg,#f3eee2);background:var(--fg,#26231d);
  border:1px solid var(--fg,#26231d);border-radius:10px;
  transition:filter .16s var(--ease,ease),transform .16s var(--ease,ease)}
.ck-btn:hover{filter:brightness(1.28)}
.ck-btn:active{transform:scale(.975)}
.ck-btn:focus-visible{outline:2px solid var(--mark,#96482f);outline-offset:3px}
.ck:focus{outline:none}
/* while unanswered the panel is a modal question; clicking the dimmed page is not an answer */
.ck-scrim{position:fixed;inset:0;z-index:79;background:rgba(33,30,25,.5);opacity:0;transition:opacity .26s var(--ease,ease)}
.ck-scrim-in{opacity:1}
.ck-locked{overflow:hidden}
@media(max-width:720px){
  .ck-in{align-items:stretch;padding-bottom:0}
  .ck-acts{flex:1 1 100%;position:sticky;bottom:0;padding:10px 0 18px;background:var(--raised,#fffdf8);
    box-shadow:0 -10px 12px -8px var(--raised,#fffdf8);display:grid;gap:10px;
    grid-template-columns:repeat(auto-fit,minmax(var(--ck-answer-min),1fr))}
  .ck-btn{padding:0 12px;min-width:0}
}
.ck{opacity:0;translate:0 100%;transition:opacity .26s var(--ease,ease),translate .26s var(--ease,ease)}
.ck-in-shown{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){.ck{transition:opacity .01s;translate:none}.ck-in-shown{translate:none}.ck-scrim{transition:opacity .01s}}
/* the control on the Privacy page that reopens the panel, and the answer beside it */
.ck-now{margin:18px 0 0;font-size:14px;color:var(--muted,#6d6656)}
.ck-manage{margin-top:12px;font:inherit;font-size:15px;font-weight:600;height:44px;padding:0 20px;cursor:pointer;
  color:var(--fg,#26231d);background:var(--surface,#fbf7ec);border:1px solid var(--line-strong,#cdc3ab);border-radius:10px}
.ck-manage:hover{border-color:var(--fg,#26231d)}
.ck-manage:focus-visible{outline:2px solid var(--mark,#96482f);outline-offset:3px}
