/* Footer legal row: copyright + legal links on one line, bottom-left */
#kgf .foot-bottom {
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 24px !important;
  text-align: left !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  box-sizing: border-box !important;
}
#kgf .foot-copy,
#kgf .foot-legal {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}
#kgf .foot-legal { flex-wrap: wrap !important; gap: 8px 24px !important; }
#kgf .foot-legal button.kg-cc-link {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; font-weight: 500; color: inherit; cursor: pointer;
}
#kgf .foot-legal button.kg-cc-link:hover { color: var(--kg-red, #c8102e); }

/* Cookie consent bar (full-width, compact, frosted gray) */
#kg-cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  background: rgba(214,216,221,.68); color: #2b2d33;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 -4px 18px rgba(0,0,0,.12);
  padding: 8px 24px; font: 12px/1.45 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans SC", "Noto Sans JP", sans-serif;
  display: none; opacity: 0; transition: opacity .25s ease;
  align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap;
}
#kg-cc.kg-cc-open { display: flex; }
#kg-cc.kg-cc-show { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { #kg-cc { background: rgba(222,224,228,.97); } }
#kg-cc h2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0 !important; padding: 0 !important; }
#kg-cc p { margin: 0 !important; font-size: 12px !important; line-height: 1.45 !important; font-weight: 400 !important; color: #2b2d33 !important; text-align: left; }
#kg-cc .kg-cc-actions { display: flex; gap: 8px; flex: 0 0 auto; }
#kg-cc button {
  min-width: 72px; min-height: 26px; padding: 0 14px; border-radius: 4px;
  font: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: normal;
  cursor: pointer; border: 1px solid rgba(43,45,51,.3); background: rgba(255,255,255,.35); color: #2b2d33;
}
#kg-cc button.kg-cc-accept { background: #3a3d45; color: #fff; border-color: #3a3d45; }
#kg-cc button:hover { opacity: .85; }
#kg-cc button:focus-visible { outline: 2px solid #3a3d45; outline-offset: 2px; }
@media (max-width: 600px) { #kg-cc { padding: 8px 14px; justify-content: space-between; } #kg-cc p { flex: 1 1 100%; } #kg-cc .kg-cc-actions { flex: 1 1 100%; } #kg-cc button { flex: 1 1 0; } }
