/* Cookie consent */
.cc { --cc-bg: #fff; --cc-text: #1f2937; --cc-accent: var(--lc-primary, #2563eb); position: fixed; z-index: 9990; background: var(--cc-bg); color: var(--cc-text); box-shadow: 0 10px 40px rgba(0,0,0,.22); font-size: .95rem; line-height: 1.5; }
.cc[hidden], .cc-reopen[hidden], .cc [hidden] { display: none !important; }
.cc h2 { margin: 0 0 .35rem; font-size: 1.1rem; color: inherit; }
.cc p { margin: 0 0 .9rem; }
.cc-privacy { color: var(--cc-accent); text-decoration: underline; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cc-btn { font: inherit; font-weight: 600; cursor: pointer; padding: .6em 1.1em; border-radius: var(--lc-radius, 8px); border: 2px solid var(--cc-accent); background: transparent; color: var(--cc-accent); }
.cc-btn:hover { filter: brightness(.95); }
.cc-primary { background: var(--cc-accent); color: #fff; }
.cc-link { border-color: transparent; text-decoration: underline; padding-left: .4em; padding-right: .4em; }
.cc-more { border-top: 1px solid rgba(127,127,127,.3); margin: .2rem 0 1rem; max-height: 40vh; overflow: auto; }
.cc-cat { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(127,127,127,.2); cursor: pointer; }
.cc-cat small { display: block; opacity: .75; font-size: .85em; }
.cc-switch { position: relative; width: 44px; height: 24px; flex: none; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch i { position: absolute; inset: 0; background: #9ca3af; border-radius: 99px; transition: background .2s; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cc-switch input:checked + i { background: var(--cc-accent); }
.cc-switch input:checked + i::after { transform: translateX(20px); }
.cc-switch input:focus-visible + i { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-cat > input[disabled] { accent-color: var(--cc-accent); }
.cc-bar-bottom, .cc-bar-top { left: 0; right: 0; padding: 1.1rem max(1rem, calc((100vw - 1100px) / 2)); }
.cc-bar-bottom { bottom: 0; } .cc-bar-top { top: 0; }
.cc-bar-bottom .cc-main, .cc-bar-top .cc-main { display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: center; }
.cc-bar-bottom h2, .cc-bar-top h2, .cc-bar-bottom p, .cc-bar-top p { grid-column: 1; }
.cc-bar-bottom .cc-actions, .cc-bar-top .cc-actions { grid-column: 2; grid-row: 1 / span 2; }
.cc-bar-bottom .cc-more, .cc-bar-top .cc-more { grid-column: 1 / -1; grid-row: 3; margin-top: .6rem; }
.cc-box-left, .cc-box-right { bottom: 1rem; width: 400px; max-width: calc(100vw - 2rem); padding: 1.3rem; border-radius: 14px; }
.cc-box-left { left: 1rem; } .cc-box-right { right: 1rem; }
.cc-center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 560px; max-width: calc(100vw - 2rem); padding: 1.6rem; border-radius: 14px; }
.cc-center::before { content: ""; position: fixed; inset: -100vmax; background: rgba(15,23,42,.45); z-index: -1; }
.cc-reopen { position: fixed; left: 1rem; bottom: 1rem; z-index: 9980; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #111827; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
@media (max-width: 720px) {
    .cc-bar-bottom .cc-main, .cc-bar-top .cc-main { display: block; }
    .cc-bar-bottom, .cc-bar-top { max-height: 92vh; overflow: auto; }
    .cc-actions .cc-btn { flex: 1 1 auto; }
}
