.site-footer{
  background:var(--surface);
  border-top:1px solid var(--border);
  color:var(--ink-soft);
  line-height:1.75;
}
.footer-inner{
  max-width:1080px;
  margin-inline:auto;
  padding:20px 20px 24px;
}
.footer-toolbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px 24px;
  padding-bottom:16px;
  border-bottom:1px solid var(--border);
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.footer-links a,.footer-visits{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--bg);
  font-size:.82rem;
}
.footer-links a{
  padding:6px 14px;
  color:var(--heading-ink);
  font-weight:650;
  text-decoration:none;
}
.footer-links a:hover{
  border-color:var(--gold);
  text-decoration:underline;
  text-underline-offset:3px;
}
.footer-visits{
  max-width:100%;
  flex-wrap:wrap;
  gap:0 10px;
  padding-inline:12px 5px;
}
.footer-visits[hidden]{display:none;}
.footer-count{display:inline-flex;align-items:baseline;gap:5px;}
.footer-visits output{
  color:var(--heading-ink);
  font-size:.95rem;
  font-variant-numeric:tabular-nums;
  font-weight:750;
}
.footer-visits select{
  max-width:100%;
  min-height:44px;
  padding:4px 8px;
  color:var(--ink);
  background:transparent;
  border:0;
  border-inline-start:1px solid var(--border);
  border-radius:0;
  font:inherit;
  cursor:pointer;
}
.footer-visits option{background:var(--surface);color:var(--ink);}
.site-footer :is(a,select):focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
.footer-label{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.footer-meta{display:grid;gap:4px;padding-top:14px;}
.footer-meta p{margin:0;font-size:.78rem;}
.footer-note{color:var(--ink);font-weight:550;}

@media (max-width:560px){
  .footer-toolbar,.footer-links{justify-content:center;}
  .footer-meta{text-align:center;}
}
