.site-footer{margin:22px auto 0;max-width:1160px;padding:0 5vw calc(24px + env(safe-area-inset-bottom));color:#234e43}
.site-footer-inner{background:#e0f0e6;border:3px solid #16847a;border-top:7px solid #edbd52;border-radius:22px;padding:25px;box-shadow:0 5px 0 #16847a1a}
.footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:13px;max-width:400px}
.footer-brand>a{display:block;flex:none;min-width:64px;min-height:64px}
.footer-brand img{display:block;object-fit:contain}
.footer-brand strong{font:700 18px/1.3 'Outfit',sans-serif;display:block;color:#214d40}
.footer-brand span{display:block;font-size:12px;color:#54725e;margin-top:5px}
.footer-socials>p{margin:0 0 9px;font-size:11px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase;color:#416b56}
.social-list{display:flex;gap:8px;flex-wrap:wrap}
.social-link{border:2px solid #8cb9a5;background:#fff9e7;border-radius:12px;padding:9px 14px;text-decoration:none;font-size:13px;font-weight:800;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;color:#245c4b}
a.social-link:hover{background:#ffe29b;border-color:#16847a}
.social-pending{display:flex;align-items:flex-start;gap:1px;flex-direction:column;border-style:dashed;color:#496951;cursor:default}
.social-pending small{font-size:8px;font-weight:500;line-height:1.3;color:#6b7d65}
.footer-bottom{margin-top:23px;padding-top:18px;border-top:1px solid #a3c7b1}
.footer-links{display:flex;gap:5px 22px;flex-wrap:wrap;align-items:center}
.footer-links a{font-size:12px;font-weight:700;min-height:44px;display:flex;align-items:center;color:#205f4f;text-underline-offset:4px}
.footer-links a:hover{color:#83552c}
.footer-beta-note{font-size:10px;line-height:1.7;max-width:650px;color:#58715f;margin:8px 0 15px}
.footer-copyright{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:9px;color:#61745c}
.info-header{max-width:1000px;margin:0 auto;padding:12px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:80px}
.info-header img{display:block;width:64px;height:64px;object-fit:contain}
.info-header>a:last-child{font-size:13px;min-height:44px;display:flex;align-items:center;text-underline-offset:4px;font-weight:700}
.info-shell{max-width:900px;margin:18px auto 30px;padding:0 24px}
.info-nav{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 12px;margin:0 0 20px;scrollbar-width:thin}
.info-nav a{flex:none;min-height:44px;display:flex;align-items:center;padding:9px 14px;border:2px solid #d7bc82;border-radius:12px;text-decoration:none;font-size:12px;font-weight:700;background:#fff1cd}
.info-nav a[aria-current="page"]{border-color:#16847a;background:#d2eee0;color:#1c5b4c}
.info-card{background:#fffdf5;border:2px solid #d7bc82;border-top:7px solid #edbd52;border-radius:22px;padding:30px;color:#624d3a}
.info-card h1{font-size:42px;line-height:1.12;letter-spacing:-1.4px;margin:12px 0 17px;color:#3b261f}
.info-card h2{font-size:23px;line-height:1.3;letter-spacing:-.3px;margin:30px 0 10px;color:#285f4d}
.info-card p,.info-card li{font-size:15px;line-height:1.8}
.info-card p{margin:12px 0}
.info-card ul{padding-left:23px}
.info-card li{margin:8px 0}
.info-card a{text-underline-offset:3px;overflow-wrap:anywhere}
.policy-date{font-size:11px!important;color:#876b50}
.policy-note{border-left:4px solid #16847a;background:#e6f2e8;padding:14px 17px;border-radius:8px;font-size:13px!important;color:#416750}
.policy-note p{font-size:13px}
.storage-table-wrap{overflow-x:auto;margin:18px 0}
.storage-table{border-collapse:collapse;width:100%;min-width:440px;font-size:13px;text-align:left}
.storage-table th,.storage-table td{padding:12px;border:1px solid #d9d6b8;vertical-align:top;line-height:1.6}
.storage-table th{background:#e2efdf;color:#2c5f48}
.contact-draft{margin-top:24px;padding:20px;border:2px solid #a4cbb6;border-radius:16px;background:#edf5e9}
.contact-draft h2{margin-top:0}
.contact-draft label{color:#355e49}
.contact-draft button{margin-top:8px}
.contact-status{font-size:13px!important;font-weight:700;color:#245f4c;min-height:24px}
.info-card .primary{background:#ffd16d;color:#3b261f;border:2px solid #ce9d3c;box-shadow:0 3px 0 #bd8a3544}
.info-card .small{font-size:12px}
@media(max-width:760px){
 .site-footer{margin-top:10px;padding-left:16px;padding-right:16px}
 .site-footer-inner{padding:19px 16px;border-radius:20px}
 .footer-top{gap:20px}
 .footer-brand{gap:10px}
 .footer-brand strong{font-size:16px}
 .footer-brand span{font-size:11px}
 .footer-brand img{width:56px;height:56px}
 .footer-brand>a{min-width:56px;min-height:56px}
 .footer-socials{width:100%}
 .social-list{gap:7px}
 .social-link{flex:1;padding:9px 10px;font-size:12px}
 .footer-links{gap:0 18px}
 .footer-links a{font-size:11px}
 .footer-bottom{margin-top:18px;padding-top:10px}
 .footer-copyright>span:last-child{display:none}
 .info-header{padding:8px 17px;min-height:76px}
 .info-header img{width:56px;height:56px}
 .info-shell{padding:0 16px;margin-top:12px}
 .info-card{padding:22px 18px;border-radius:19px}
 .info-card h1{font-size:34px;letter-spacing:-.9px}
 .info-card h2{font-size:21px}
 .info-card p,.info-card li{font-size:14px}
 .info-nav{margin-bottom:13px;gap:6px}
 .info-nav a{font-size:11px;padding:9px 12px}
 .contact-draft{padding:16px 13px}
}

/* Compact social icons, with accessible names and truthful pending states. */
.site-footer .social-list{display:flex;gap:8px;flex-wrap:wrap}
.site-footer .social-link{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border:1.5px solid #78aa93;border-radius:9px}
.site-footer .social-pending{border-style:dashed;color:#496951}
.site-footer .social-coming{display:block;font-size:9px;line-height:1.4;color:#61745c;margin-top:7px}

/* A slim footer belongs below the page, without competing with the welcome. */
/* Keep the home-indicator inset inside the footer, never below it. */
html{min-height:100%;background:#e7f1e8}
body:not(.playing){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;margin:0;padding-bottom:0}
body:not(.playing)>main{flex:1 0 auto}
.site-footer{flex:none;width:100%;max-width:none;margin:auto 0 0;padding:0 24px env(safe-area-inset-bottom,0px);background:#e7f1e8;border-top:3px solid #e2b550}
.site-footer-inner{max-width:1096px;margin:0 auto;background:none;border:0;border-radius:0;box-shadow:none;padding:10px 0 8px}
.footer-top{gap:12px;flex-wrap:nowrap;min-height:40px}
.footer-studio{font-size:11px;color:#466b5b}
.footer-socials{display:flex;align-items:center;gap:10px;width:auto;flex:none}
.footer-socials>p{margin:0;font-size:9px;letter-spacing:.7px}
.site-footer .social-list{gap:4px;flex-wrap:nowrap}
.site-footer .social-link{width:36px;min-height:36px;height:36px;flex:0 0 36px;border-radius:8px;background:#f9f9e9}
.site-footer .social-link svg{width:17px;height:17px}
.footer-bottom{margin:3px 0 0;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.footer-links{gap:0 20px}
.footer-links a{font-size:10px;min-height:32px}
.footer-beta-note{font-size:9px;line-height:1.4;margin:0;color:#607664}
@media(max-width:760px){
 .site-footer{padding:calc(env(safe-area-inset-bottom,0px) / 2) max(12px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) / 2) max(12px,env(safe-area-inset-left,0px));border-top-width:2px}
 .site-footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'studio socials' 'note socials' 'links links';column-gap:8px;row-gap:0;padding:3.5px 0}
 .footer-top,.footer-bottom{display:contents}
 .footer-studio{grid-area:studio;align-self:end;font-size:10px;line-height:1.2}
 .footer-socials{grid-area:socials;align-self:center}
 .footer-socials>p{display:none}
 .site-footer .social-list{gap:4px}
 .site-footer .social-link{width:24px;height:24px;min-height:24px;flex-basis:24px;border-radius:6px}
 .site-footer .social-link svg{width:15px;height:15px}
 .footer-links{grid-area:links;justify-content:space-between;gap:0 7px}
 .footer-links a{font-size:10px;line-height:1.2;min-height:24px}
 .footer-beta-note{grid-area:note;align-self:start;font-size:8.5px;line-height:1.2;margin:0}
}

/* Mobile browsers can expose a shorter visible viewport than their layout viewport.
   Keep the footer at that visible bottom and colour the overscroll canvas with it. */
@media(max-width:760px){
 html{background:#e7f1e8;overscroll-behavior-y:none}
 body:not(.playing){height:auto;min-height:var(--site-visible-height,100dvh);padding-bottom:0}
 body:not(.playing):has(>#app){background:#e7f1e8}
 body:not(.playing)>#app{min-height:0;background:var(--cream)}
 body:not(.playing)>.site-footer{margin-bottom:0}
}
