/* Shared, readable footer. No tracking or learner-state behavior. */
body .site-footer, body .tt-learning-app [data-ui='siteFooterStyle'].site-footer {
  box-sizing: border-box; display: flex!important; flex-direction: column!important;
  align-items: center!important; justify-content: center; gap: 5px!important;
  grid-column: 1 / -1; width: 100%!important; max-width: 100%; height: auto!important;
  position: static; margin: 32px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom,0px))!important;
  background: #fcfaf5; color: #365447!important; text-align: center; line-height: 1.65!important;
  font-family: 'Ttobak UI','Malgun Gothic',sans-serif; font-size: 14px!important;
}
body .site-footer > span { display: block; max-width: 100%; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
body .site-footer .footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; }
body .site-footer a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 8px 6px; color: #244b3f; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; line-height: 1.6; }
body .site-footer a:focus-visible { outline: 3px solid #175d86; outline-offset: 2px; border-radius: 4px; }
@media(max-width:359px) { body .site-footer { padding-inline: 12px!important; } }
/* November 10 (owner approved): no copyright footer while a child is learning; it stays on the other pages. */
body[data-ttobak-screen^='stage-'] .site-footer, body[data-ttobak-screen^='stage-'] .tt-learning-app [data-ui='siteFooterStyle'].site-footer { display: none !important; }
body .site-footer .footer-compact-name { font-size: 14px; line-height: 1.65; }
/* November 15 (owner request): 이용안내·개인정보 링크는 밑줄 없이. 올리거나 키보드로 고르면 연한 바탕이 깔린다. */
html body .site-footer a{text-decoration:none!important;font-weight:600;border-radius:10px;padding:8px 10px;transition:background-color .15s}
html body .site-footer a:hover{background:#e6f0e8}
/* November 15 (owner request): 가운뎃점이 이름과 링크 사이 한가운데에 오도록 간격을 똑같이 맞춘다. */
html body .site-footer .footer-links{display:inline-flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 12px}
html body .site-footer .footer-links > a{padding:6px 8px;margin:0 -8px}
/* November 15 (owner request): 저작권 표시("© 2026 연화쌤")와 가운뎃점은 연하게, 누를 수 있는 링크만 진하게. */
html body .site-footer .footer-links > .footer-compact-name,html body .site-footer .footer-links > span[aria-hidden='true']{color:#6b7a70!important;font-weight:500!important}
html body .site-footer .footer-links > a{color:#1e4a3e!important;font-weight:700!important}
