/* ── Shared Footer ── */
.site-footer {
  margin-top: 80px;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 760px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: 'Noto Sans Mono', var(--mono);
  font-size: 13px; font-weight: 400;
  color: var(--text); margin-bottom: 10px;
  text-decoration: none; display: block;
}
.footer-brand-name:hover { opacity: 0.7; }
.footer-brand-desc {
  font-size: 12px; color: var(--text-3);
  line-height: 1.7; max-width: 220px;
}
.footer-bmc {
  display: inline-block; margin-top: 14px;
  padding: 5px 12px; border-radius: 6px;
  background: #212121; color: #fff;
  font-size: 11px; font-family: inherit;
  text-decoration: none; transition: opacity 0.15s;
}
.footer-bmc:hover { opacity: 0.8; }
.footer-about-link {
  display: block; margin-top: 10px;
  font-size: 12px; color: var(--text-2);
  text-decoration: none; transition: color 0.12s;
}
.footer-about-link:hover { color: var(--text); }
.footer-col-label {
  font-size: 10px; font-family: 'Noto Sans Mono', var(--mono);
  color: var(--text-3); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 9px; }
.footer-col-links a {
  font-size: 12px; color: var(--text-2);
  text-decoration: none; transition: color 0.12s;
}
.footer-col-links a:hover { color: var(--text); }
.footer-col-links span.muted { font-size: 12px; color: var(--text-3); }
.footer-share { display: flex; flex-direction: column; gap: 9px; }
.footer-share a {
  font-size: 12px; color: var(--text-2);
  text-decoration: none; transition: color 0.12s;
  display: flex; align-items: center; gap: 7px;
}
.footer-share a:hover { color: var(--text); }
.footer-share svg { width: 12px; height: 12px; fill: currentColor; flex-shrink: 0; }
.footer-bottom {
  max-width: 760px; margin: 24px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 11px; font-family: 'Noto Sans Mono', var(--mono); color: var(--text-3); }

/* ── Fixed share sidebar (PC) ── */
.share-sidebar {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
}
.share-sidebar-label {
  font-size: 10px;
  font-family: 'Noto Sans Mono', var(--mono);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 2px;
}
.share-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-3);
  transition: color 0.15s, background 0.15s;
}
.share-sidebar a:hover {
  color: var(--text);
  background: var(--border);
}
.share-sidebar svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Toast speech bubble ── */
.toast-bubble {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--accent);
  color: var(--accent-inv);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  padding: 8px 18px;
  border-radius: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.toast-bubble.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .share-sidebar { display: none; }
}

@media (max-width: 600px) {
  .site-footer { margin-top: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
