/* Keep the visible slim dock while extending its transparent touch area. */
html .app-nav.is-compact .app-nav-inner>a,html .app-nav.is-compact .app-nav-inner>button,html .app-nav.is-compact .app-nav-inner>#home-nav{position:relative}
html .app-nav.is-compact .app-nav-inner>a:after,html .app-nav.is-compact .app-nav-inner>button:after{content:"";position:absolute;inset:-4px 0;min-height:44px}
html .app-nav .app-nav-inner>a[aria-current=page] .nav-icon{stroke-width:2.6}
html .app-nav .app-nav-inner>a[aria-current=page]>span{text-decoration:underline;text-underline-offset:3px}
:where(button,input,select,textarea,a):focus-visible{outline:3px solid #baf35e;outline-offset:3px}
html[data-theme=light] :where(button,input,select,textarea,a):focus-visible{outline-color:#145a37}
#game-player button,.bfc-close,#account-close,#admin-close{min-width:44px;min-height:44px}
.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;width:100%;font:400 14px/1.5 system-ui,sans-serif}
.legal-links a,.account-privacy-links a{display:inline-flex;align-items:center;min-height:44px;color:#d0edda;text-decoration:underline;text-underline-offset:3px}
html[data-theme=light] .legal-links a,html[data-theme=light] .account-privacy-links a{color:#175134}
.account-privacy-links{font:400 14px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.skip-content{position:fixed;top:8px;left:8px;z-index:10000;transform:translateY(-160%);padding:12px 18px;background:#fff;color:#123b27;border-radius:8px}
.skip-content:focus{transform:none}
@media(pointer:coarse){#auth-form input,#profile-form input,#profile-form select,#contact-form input,#contact-form textarea{font-size:16px;min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Keep policy links directly below the social row. */
.site-footer .legal-links{border-top:1px solid #78938324;padding-top:12px;gap:4px 20px;font-size:12px}.site-footer .legal-links a{text-decoration:none;color:inherit;opacity:.85}.site-footer .legal-links a:hover{opacity:1;text-decoration:underline}.admin-legal-links{margin-bottom:24px;padding:16px 20px;border:1px solid #78938340;border-radius:14px}.admin-legal-links summary{cursor:pointer;font-size:14px;font-weight:600;min-height:28px}.admin-legal-links>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.admin-legal-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid #78938330;border-radius:10px;color:inherit;text-decoration:none;font-size:13px}.admin-legal-links a:hover{background:#78938318}@media(max-width:480px){.admin-legal-links>div{grid-template-columns:1fr}}
.site-footer .legal-links{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:clamp(5px,1.5vw,18px);font-size:clamp(7.5px,2.35vw,12px);width:100%;max-width:100%;padding-top:8px}.site-footer .legal-links a{display:inline-flex;flex:0 1 auto;gap:clamp(3px,.7vw,6px);white-space:nowrap;min-height:44px;line-height:1.2;letter-spacing:-.15px}.site-footer .legal-links svg{width:clamp(10px,2.8vw,14px);height:clamp(10px,2.8vw,14px);flex:none;opacity:.85}

.site-footer .legal-label-short{display:none}
@media(max-width:600px){.site-footer .legal-links{display:grid;grid-template-columns:1fr 1fr 1.15fr 1.35fr;gap:4px;min-width:0;font-size:clamp(10px,2.7vw,12px)}.site-footer .legal-links a{min-width:0;max-width:100%;justify-content:center;gap:4px;padding:0;letter-spacing:-.2px;white-space:nowrap}.site-footer .legal-links svg{width:12px;height:12px}.site-footer .legal-label-full{display:none}.site-footer .legal-label-short{display:inline}}
