/* cookie-consent — compact first-visit notice, shown once per visitor.
 *
 * Themed automatically from the host site's design tokens (site.css): --ground / --ink /
 * --line / --accent(-solid) / --on-accent / --sans. Neutral fallbacks keep it readable if a
 * token is absent. External file so it satisfies a strict style-src 'self' with no inline
 * styles; the paired cookie-consent.js keeps a class-only DOM (no inline styles/scripts), so
 * the pair also satisfies a strict script-src 'self'. Target: ~9pt, small footprint.
 */
.cc-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2147483000;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  font-family: var(--sans, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  font-size: 9pt;               /* ~12px — the requested compact size */
  line-height: 1.5;
  color: var(--ink, #18181b);
  background: var(--ground, #ffffff);
  border: 1px solid var(--line, rgba(0, 0, 0, .12));
  border-top: 2px solid var(--accent-solid, var(--accent, #800000));
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  animation: cc-rise .28s ease-out both;
}
.cc-bar__text { margin: 0; flex: 1 1 auto; }
.cc-bar__accept {
  flex: 0 0 auto;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  color: var(--on-accent, #ffffff);
  background: var(--accent-solid, var(--accent, #800000));
}
.cc-bar__accept:hover { filter: brightness(1.08); }
.cc-bar__accept:focus-visible { outline: 2px solid var(--accent, #800000); outline-offset: 2px; }

@keyframes cc-rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .cc-bar { animation: none; } }

@media (max-width: 560px) {
  .cc-bar {
    left: 0; right: 0; bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    border-radius: 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    animation-name: cc-fade;
  }
  .cc-bar__accept { width: 100%; padding: 10px 16px; }
}
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
