.wks-ck__bar, .wks-ck__dlg { background: #fff; color: #1d2327; box-shadow: 0 8px 36px rgba(0,0,0,.28); border-radius: var(--wks-radius); font-size: 15px; line-height: 1.5; }
.wks-ck__bar[hidden], .wks-ck__modal[hidden], .wks-ck__float[hidden], .wks-ck__veil[hidden], .wks-ck__err[hidden] { display: none !important; }
.wks-ck__bar { position: fixed; z-index: 99990; padding: 16px 18px; display: flex; gap: 14px 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-sizing: border-box; }
.wks-ck--bar .wks-ck__bar { left: 12px; right: 12px; bottom: 12px; }
.wks-ck--box .wks-ck__bar { left: 14px; bottom: 14px; width: min(400px, calc(100vw - 28px)); flex-direction: column; align-items: stretch; }
.wks-ck--center .wks-ck__bar { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 28px)); flex-direction: column; align-items: stretch; }
.wks-ck__bar p { margin: 4px 0 0; }
.wks-ck__bar a { color: var(--wks-accent); text-decoration: underline; }
.wks-ck__title { font-size: 1.05em; }
.wks-ck__txt { flex: 1 1 320px; }
.wks-ck__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wks-ck__modal { position: fixed; inset: 0; z-index: 99995; display: flex; align-items: center; justify-content: center; padding: 14px; }
.wks-ck__back { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.wks-ck__dlg { position: relative; width: min(560px, 100%); max-height: calc(100vh - 28px); overflow: auto; padding: 22px; outline: 0; box-sizing: border-box; }
.wks-ck__dlg h3 { margin: 0 0 12px; }
.wks-ck__cat { padding: 10px 0; border-top: 1px solid var(--wks-line); }
.wks-ck__cat p { margin: 4px 0 0 26px; opacity: .8; font-size: .92em; }
.wks-ck__cat label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.wks-ck__cat input { width: 18px; height: 18px; accent-color: var(--wks-accent); }
.wks-ck__dlg .wks-ck__btns { margin-top: 14px; }
.wks .wks-ck__float, .wks button.wks-ck__float { position: fixed; left: 14px; bottom: 14px; z-index: 99980; background: #1d2327 !important; color: #fff !important; border: 0 !important; border-radius: 999px; padding: 8px 14px; font: 600 13px/1.2 system-ui, sans-serif; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.3); }
.wks-ck--bar .wks-ck__float, .wks-ck--box .wks-ck__float { left: auto; right: 14px; }
.wks-cookies.is-edit .wks-ck__bar { position: static; transform: none; width: auto; box-shadow: none; border: 1px dashed var(--wks-line); }
@media (prefers-reduced-motion: no-preference) { .wks-ck__bar:not([hidden]) { animation: wks-ck-in .3s ease; } }
@keyframes wks-ck-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.wks-ck__veil { position: fixed; inset: 0; z-index: 99985; background: rgba(0,0,0,.45); }
@supports ( backdrop-filter: blur(2px) ) { .wks-ck__veil { backdrop-filter: blur(3px); } }
.wks-ck--center .wks-ck__bar { max-height: calc(100vh - 28px); overflow: auto; }
/* Stacked layouts: the text keeps its own height (flex-basis 320px is a width only in the bar layout). */
.wks-ck--box .wks-ck__txt, .wks-ck--center .wks-ck__txt { flex: 0 0 auto; }
.wks-ck__langs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.wks-ck__langs-l { font-weight: 600; font-size: .9em; opacity: .75; }
.wks-ck__terms, .wks-ck__terms span { font-weight: 400; } .wks-ck__terms { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; cursor: pointer; font-size: .95em; }
.wks-ck__terms input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--wks-accent); }
.wks-ck__terms.is-err { color: #b42318; }
.wks-ck__terms.is-err input { outline: 2px solid #b42318; outline-offset: 2px; }
.wks-ck__err { margin: 6px 0 0 30px !important; color: #b42318; font-size: .9em; font-weight: 600; }
.wks-ck__langs .wakoo-langs ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
