/* HOME footer only. Reserve room for the browser's fixed navigation and LIVE PIN. */
body.home-with-footer>.portal-shell{padding-bottom:0!important;background:#f7f7f9!important}
/* The legacy fixed-nav backdrop painted over the end of the app footer. */
body.home-with-footer.home-motion>.portal-shell::after{content:none!important;display:none!important}
#homeFooter{box-sizing:border-box;position:relative;z-index:1;width:100%;margin:0;padding:24px 20px calc(184px + env(safe-area-inset-bottom,0px));border-top:0;background:#f7f7f9;color:#24212a;font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,sans-serif}
#homeFooter *{box-sizing:border-box}
#homeFooter .home-footer-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#homeFooter .home-footer-identity{flex:1;min-width:0}
#homeFooter .home-footer-brand{display:block;font-size:17px;font-weight:800;letter-spacing:-.4px}
#homeFooter .home-footer-socials{display:flex;align-items:center;gap:8px;flex:none}
#homeFooter .home-footer-social{display:grid;place-items:center;flex:none;width:35.2px;height:35.2px;border-radius:10.4px;background:#ebe8ef;color:#665c72;text-decoration:none}
#homeFooter .home-footer-social svg{display:block;width:18.4px;height:18.4px;pointer-events:none}
#homeFooter .home-footer-instagram{background:radial-gradient(circle at 28% 100%,#feda75 0%,#fa7e1e 25%,transparent 60%),linear-gradient(135deg,#4f5bd5 0%,#962fbf 45%,#d62976 75%,#fa7e1e 100%);color:#fff}
#homeFooter .home-footer-kakao{background:#fee500;color:#3c1e1e}
#homeFooter .home-footer-kakao svg{width:25.6px;height:24px}
#homeFooter .home-footer-tagline{margin:7px 0 0;color:#807887;font-size:12px;line-height:1.6}
#homeFooter a{font-size:12px;line-height:1.6;-webkit-tap-highlight-color:transparent}
#homeFooter .home-footer-support,#homeFooter .home-footer-policies{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:0}
#homeFooter .home-footer-support a,#homeFooter .home-footer-policies a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 0;color:#655e6f;text-decoration:none;overflow-wrap:anywhere}
#homeFooter .home-footer-support a{white-space:nowrap}
#homeFooter .home-footer-policies{margin-top:4px;padding-top:4px;border-top:1px solid #e5e1e9;column-gap:13px}
#homeFooter .home-footer-policies .home-footer-privacy{font-weight:750;color:#39313f}
#homeFooter .home-footer-business{margin-top:16px;font-size:12px;line-height:1.7}
#homeFooter summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;list-style:none;color:#665e71;cursor:pointer}
#homeFooter summary::-webkit-details-marker{display:none}
#homeFooter .home-footer-chevron{display:block;flex:none;width:16px;height:16px}
#homeFooter details[open] .home-footer-chevron{transform:rotate(180deg)}
#homeFooter dl{display:grid;grid-template-columns:84px minmax(0,1fr);gap:7px 8px;margin:8px 0 0;font-size:11px;line-height:1.7}
#homeFooter dt{color:#807786}
#homeFooter dd{margin:0;overflow-wrap:anywhere;color:#696170}
#homeFooter .home-footer-notice{margin:17px 0 0;color:#807786;font-size:11px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
#homeFooter .home-footer-copyright{margin:12px 0 0;color:#88808e;font-size:11px;line-height:1.7}
#homeFooter a:focus-visible,#homeFooter summary:focus-visible{outline:2px solid #8062d8;outline-offset:3px;border-radius:5px}
html.app-shell #homeFooter{padding-bottom:calc(128px + max(env(safe-area-inset-bottom,0px),var(--funy-native-safe-bottom,0px)))}
@media(pointer:coarse){#homeFooter .home-footer-support a,#homeFooter .home-footer-policies a{min-height:44px}}

/* Last CMS block margin must not collapse into a colored strip above the footer. */
body.home-with-footer .home-content-flow [data-cms-placement="home"]>.fp-cms-block:last-child{margin-bottom:0}

/* Add breathing room below TCG TOOL while keeping the footer boundary seamless. */
body.home-with-footer .home-content-flow [data-cms-placement="home"]>.fp-cms-block:has(a[href*="coin-flip.html"],a[data-funy-target-url*="coin-flip.html"]){padding-bottom:24px}

/* Notices sit after the main content now, using the full service frame width. */
body.home-with-footer>.portal-shell>.home-notice-strip{box-sizing:border-box;width:100%;margin:0;padding:10px 16px 24px;background:#fff}

/* Readable multilingual service information within the existing HOME footer. */
#homeFooter .home-footer-about{margin:0 0 12px;border-block:1px solid #e5e1e9;font-size:12px;line-height:1.75}
#homeFooter .home-footer-about section{margin:12px 0 18px}
#homeFooter .home-footer-about h2{margin:0 0 6px;font-size:13px;line-height:1.6;font-weight:700;color:#655e6f}
#homeFooter .home-footer-about p{margin:0;color:#807786;overflow-wrap:anywhere}
