/* Dedicated scroll viewport: navigation is outside the scrolling element. */
html:has(body:not([data-page=auth])){height:100%;overflow:hidden;overscroll-behavior:none}
body:not([data-page=auth]){height:100dvh!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)!important;--nav-reserve:calc(148px + env(safe-area-inset-bottom,0px));padding-bottom:var(--nav-reserve)!important}
body:not([data-page=auth])>main#app{flex:1 1 auto;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;width:100%;padding-bottom:28px!important}
body:not([data-page=auth])>nav{position:fixed!important;inset:auto 0 calc(72px + env(safe-area-inset-bottom,0px)) 0!important;margin:0 auto!important;max-width:620px!important;box-sizing:border-box;height:68px!important;min-height:68px!important;max-height:68px!important;display:flex;align-items:stretch;overflow:hidden!important;transform:none!important;transition:none!important;animation:none!important;background:linear-gradient(180deg,#343230,#1b1917)!important;border:1px solid #bc995c!important;box-shadow:inset 0 1px 0 #ffe3a24d,0 -5px 22px #0009!important;border-radius:17px 17px 0 0!important;z-index:1000!important}
body:not([data-page=auth])>nav button{height:54px!important;min-height:54px!important;max-height:54px!important;transition:none!important;transform:none!important;flex:1 1 0!important;font:500 11px/1.15 Georgia,serif!important;letter-spacing:0!important}
body>nav button svg{stroke:#e4c28a!important;stroke-width:1.25!important;filter:drop-shadow(0 1px 1px #0d0b09)}
#app .tools95-grid .tool95,#app .collectiongrid112 .collection102{min-height:216px!important;border:1px solid #c3a16b!important;background:linear-gradient(155deg,#38363488,#191715ed),var(--art102,url(texture.jpg)) center/cover!important;box-shadow:inset 0 0 0 3px #252321,inset 0 0 0 4px #b38a4b77,0 8px 18px #0005!important}
#app .heritage-icon{width:88px!important;height:88px!important;margin:5px auto!important;filter:drop-shadow(0 2px 3px #090502) drop-shadow(0 0 9px #c6a36655)}
#app .tools95-grid .tool95 strong,#app .collectiongrid112 .collection102 strong{font-size:26px!important;line-height:1.12!important}
#app .heritage115-banner{min-height:365px!important;box-shadow:inset 0 0 0 3px #1a1816,inset 0 0 0 4px #d1a66c77,0 8px 30px #0007!important}
#app .crystal102[hidden]{display:none!important}
@media(max-width:360px){body:not([data-page=auth])>nav button{font-size:10px!important}#app .heritage-icon{width:66px!important;height:66px!important}#app .tools95-grid .tool95 strong,#app .collectiongrid112 .collection102 strong{font-size:22px!important}}
