@media(max-width:767px){
  body:has(.nb-mobile-dock:not([hidden])){padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
  .nb-mobile-dock:not([hidden]){position:fixed;z-index:90;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));background:rgba(12,15,32,.94);border-top:1px solid rgba(190,163,255,.28);box-shadow:0 -12px 40px #0506117a;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
  .nb-mobile-dock a,.nb-mobile-dock button{min-width:0;min-height:52px;border:0;border-radius:14px;background:transparent;color:#adb2ce;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;font:600 10px/1.15 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
  .nb-mobile-dock svg{width:23px;height:23px;flex:none}
  .nb-mobile-dock .is-active,.nb-mobile-dock a:active,.nb-mobile-dock button[aria-expanded=true]{color:#e8c9ff;background:rgba(156,105,240,.16)}
  .nb-mobile-dock :focus-visible,.nb-mobile-sheet :focus-visible{outline:2px solid #e4c0ff;outline-offset:2px}
  .nb-mobile-sheet:not([hidden]){position:fixed;inset:0;z-index:100}
  .nb-mobile-sheet-backdrop{position:absolute;inset:0;background:#030510b8}
  .nb-mobile-sheet-panel{position:absolute;bottom:0;left:0;right:0;max-height:85dvh;overflow-y:auto;padding:12px 20px calc(24px + env(safe-area-inset-bottom,0px));background:#15172b;border:1px solid #776396;border-radius:24px 24px 0 0;box-shadow:0 -16px 60px #0009}
  .nb-mobile-sheet-handle{width:44px;height:5px;border-radius:10px;background:#77718e;margin:0 auto 16px}
  .nb-mobile-sheet h2{font:700 18px system-ui;color:#f4eeff;margin:0 0 12px}
  .nb-mobile-sheet-panel a{display:flex;align-items:center;gap:14px;min-height:53px;padding:12px;color:#e7e2f7;text-decoration:none;border-bottom:1px solid #ffffff12;font:500 15px system-ui}
  .nb-mobile-sheet-panel svg{width:22px;height:22px;color:#bda0f5}
  .nb-mobile-sheet-panel button{width:100%;margin-top:16px;padding:13px;border-radius:13px;background:#302747;color:#fff;border:1px solid #6e568e}
  body.nb-dock-sheet-open{overflow:hidden}
  .nbx-snow-control{bottom:calc(87px + env(safe-area-inset-bottom,0px))!important}
}
@media(min-width:768px){.nb-mobile-dock,.nb-mobile-sheet{display:none!important}}

@media(max-width:767px){
 .nb-mobile-dock a,.nb-mobile-dock button{white-space:normal;text-align:center;overflow-wrap:anywhere;padding:4px 2px;justify-content:flex-start;}
 .nb-mobile-dock span{max-width:100%;}
 body:has(.nb-mobile-dock:not([hidden])){padding-bottom:calc(var(--nb-dock-height,78px) + 10px)}
 .nbx-snow-control{bottom:calc(var(--nb-dock-height,78px) + 9px)!important}
}
