/* React 页面与独立 HTML 工具共用的备案页脚；仅用于网页展示。 */
.tivis-footer {
  box-sizing: border-box;
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(18, 18, 18, .18);
  color: #5f5f5a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.tivis-footer-brand {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tivis-footer-brand > span {
  color: #121212;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: 18px;
  letter-spacing: -.03em;
}
.tivis-footer-brand > small { font-size: 10px; }
.tivis-footer-legal,
.tivis-footer-registration {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  text-align: center;
}
.tivis-footer-legal { width: 100%; flex-direction: column; }
.tivis-footer-legal > small { font-size: 12px; line-height: 1.8; }
.tivis-footer-registration a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: normal;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tivis-footer-registration a:hover { text-decoration: underline; }
.tivis-footer-registration a:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 4px;
}
.tivis-footer-registration img { flex-shrink: 0; }
body:has(.tivis-home) { background-color: #f8f8f6; }
.tivis-home ~ .tivis-footer { padding: 24px 0; gap: 16px; }
.tivis-home ~ .tivis-footer .tivis-footer-brand { display: flex; }
.app-shell > .tivis-footer { width: 100%; padding: 8px 0; border: 0; }
.app-shell #main { overflow-y: auto; justify-content: safe center; }
.app-shell #main > * { flex-shrink: 0; }

@media (max-width: 720px) {
  .tivis-footer { width: min(960px, calc(100% - 32px)); }
  body:has(.mobile-nav) > .tivis-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media print {
  .tivis-footer { display: none !important; }
}
