/* Footer release badge (resources/views/partials/release-badge.blade.php). */
.aku-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; min-inline-size: 0; }
.aku-footer__meta .aku-footer__copyright { white-space: nowrap; }
.ak-release {
  --ak-st: #9ca3af;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 7px;
  margin: 0;
  padding: 3px 11px;
  border: 1px solid rgba(99, 54, 200, .16);
  border-radius: 999px;
  background: rgba(99, 54, 200, .04);
  color: #6b6580;
  font-size: .72rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ak-release[data-state="ok"] { --ak-st: #16a34a; }
.ak-release[data-state="degraded"] { --ak-st: #d97706; }
.ak-release[data-state="down"] { --ak-st: #dc2626; }
.ak-release__status { display: inline-flex; align-items: center; gap: 6px; color: var(--ak-st); font-weight: 600; transition: color .4s ease; }
.ak-release__dot { position: relative; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--ak-st); transition: background-color .4s ease; }
.ak-release__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ak-st);
  animation: ak-release-pulse 2.2s cubic-bezier(.4, 0, .6, 1) infinite;
}
.ak-release[data-state="checking"] .ak-release__dot::after { animation-duration: 1s; }
.ak-release__sep { inline-size: 1px; block-size: .85em; background: rgba(99, 54, 200, .2); }
.ak-release__num { color: #3b3350; font-weight: 650; }
.ak-release__name { display: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; }
.ak-release__ago:not(:empty) { color: #8a849a; }
.ak-release__ago:not(:empty)::before { content: "· "; }
@keyframes ak-release-pulse {
  0% { transform: scale(1); opacity: .65; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ak-release__dot::after { animation: none; } }
@media (max-width: 640px) { .ak-release { flex-wrap: wrap; white-space: normal; } }
html[data-theme="dark"] .ak-release { background: rgba(205, 185, 255, .06); border-color: rgba(205, 185, 255, .18); color: #b8b0cc; }
html[data-theme="dark"] .ak-release__num { color: #f8f7fd; }
html[data-theme="dark"] .ak-release__sep { background: rgba(205, 185, 255, .25); }
html[data-theme="dark"] .ak-release[data-state="ok"] { --ak-st: #4ade80; }
.aku-footer__utilities button.aku-footer__utility-link { border: 0; background: none; cursor: pointer; font: inherit; font-size: .8125rem; font-weight: 625; }
.aku-footer__utilities button.aku-footer__utility-link[hidden] { display: none; }
@media (min-width: 1800px) { .ak-release__name { display: inline; } }
.ak-release__label { color: #8a849a; }
.aku-footer__bottom { flex-wrap: wrap; }
@media (min-width: 1240px) {
  .aku-footer__bottom { flex-wrap: nowrap; }
  .aku-footer__utilities { flex-wrap: nowrap; flex-shrink: 0; }
  .aku-footer__meta { flex-wrap: nowrap; }
  .ak-release { flex-wrap: nowrap; }
  .aku-footer__meta, .ak-release { flex-shrink: 0; }
  .aku-footer__utilities { min-inline-size: 0; }
}
.aku-footer__utilities .aku-footer__cookie-settings { padding-inline: .35rem; color: var(--aku-footer-muted, #6b6580); }
.aku-footer__utilities .aku-footer__cookie-settings:hover { color: var(--aku-footer-link, #6336C8); }
/* Between 1240 and 1599px the row is full: keep "All rights reserved" for screen readers only. */
@media (min-width: 1240px) and (max-width: 1599px) {
  .aku-footer__rights { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Narrower screens: copyright and badge on the first row, links on the next. */
@media (min-width: 641px) and (max-width: 1239px) { .aku-footer__meta { flex: 1 1 100%; } }
/* Same height and centre line for every item of the bottom row, whatever the page's global p margins. */
.aku-footer__bottom { align-items: center; }
.aku-footer__meta { align-items: center; min-block-size: 44px; }
.aku-footer__meta > p, .aku-footer__meta .ak-release { margin: 0 !important; }
