/* DNIPRO · preview v1.7 · navigation clarity, glass footer + compact Home button. */
/* CSS only applies to /preview/, and preserves dark/light theme contrast. */
body.dn-proto #publicSite .footer [data-proto-scroll-top]{
 -webkit-appearance:none;appearance:none;display:inline-flex!important;
 align-items:center;justify-content:center;gap:8px;
 min-height:46px;min-width:152px;padding:11px 19px!important;
 margin:0!important;transform:none!important;
 border-radius:999px!important;border:1px solid var(--p-line)!important;
 color:var(--p-blue)!important;
 background:color-mix(in srgb,var(--p-card) 78%,transparent)!important;
 box-shadow:0 10px 27px rgba(19,57,111,.09),inset 0 1px 0 rgba(255,255,255,.52);
 -webkit-backdrop-filter:blur(18px) saturate(140%);
 backdrop-filter:blur(18px) saturate(140%);
 font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:.01em;
 cursor:pointer!important;touch-action:manipulation;
 -webkit-tap-highlight-color:transparent;white-space:nowrap;
 transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
body.dn-proto #publicSite .footer [data-proto-scroll-top]:hover{
 transform:translateY(-2px)!important;
 box-shadow:0 13px 32px rgba(19,57,111,.15),inset 0 1px 0 rgba(255,255,255,.65);
}
body.dn-proto #publicSite .footer [data-proto-scroll-top]:active{transform:scale(.97)!important}
body.dn-proto[data-site-theme="dark"] #publicSite .footer [data-proto-scroll-top]{
 background:rgba(157,190,246,.085)!important;color:#a8cdff!important;
 border-color:rgba(191,215,254,.24)!important;
 box-shadow:0 12px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05)
}
body.dn-proto #publicSite #top .dn-proto-home{
 -webkit-appearance:none;appearance:none;display:grid!important;
 place-items:center;flex:0 0 auto;min-width:42px;width:42px;height:42px;
 padding:0!important;line-height:1!important;
 border:1px solid var(--p-line)!important;border-radius:14px!important;
 color:var(--p-blue)!important;
 background:color-mix(in srgb,var(--p-card) 82%,transparent)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 7px 18px rgba(16,52,107,.06)!important;
 backdrop-filter:blur(16px) saturate(150%);
 -webkit-backdrop-filter:blur(16px) saturate(150%);
 cursor:pointer!important;touch-action:manipulation;
 transition:transform .17s ease,background-color .17s ease!important
}
body.dn-proto #publicSite #top .dn-proto-home svg{display:block;width:19px;height:19px;flex:none;pointer-events:none}
body.dn-proto #publicSite #top .dn-proto-home:hover{background:color-mix(in srgb,var(--p-blue) 12%,var(--p-card))!important}
body.dn-proto #publicSite #top .dn-proto-home:active{transform:scale(.96)!important}
body.dn-proto[data-site-theme="dark"] #publicSite #top .dn-proto-home{
 background:rgba(149,189,248,.085)!important;
 border-color:rgba(187,214,250,.22)!important;color:#a8cdff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 9px 20px rgba(0,0,0,.12)!important
}
body.dn-proto #publicSite :is(.dn-proto-home,.footer [data-proto-scroll-top]):focus-visible{
 outline:3px solid var(--p-gold,#f2c45e)!important;outline-offset:3px!important
}
@media(max-width:700px){
 body.dn-proto #publicSite #top .dn-proto-home{min-width:38px;width:38px;height:38px;border-radius:13px!important}
 body.dn-proto #publicSite #top .dn-proto-home svg{width:17px;height:17px}
 body.dn-proto #publicSite #top .dn-proto-settings{gap:4px!important}
 body.dn-proto #publicSite .footer [data-proto-scroll-top]{min-width:145px;min-height:44px;padding:10px 16px!important}
}
@media(max-width:370px){
 body.dn-proto #publicSite #top .dn-proto-home{min-width:34px;width:34px;height:36px;border-radius:12px!important}
 body.dn-proto #publicSite #top .dn-proto-home svg{width:16px;height:16px}
 body.dn-proto #publicSite #top .dn-proto-settings{gap:3px!important}
 body.dn-proto #publicSite #top .brand small{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 body.dn-proto #publicSite :is(.dn-proto-home,.footer [data-proto-scroll-top]){transition:none!important}
}
