
@media (max-width: 480px){
  body{
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .header{
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border-color);
    z-index: 1000;
  }
  .header .inner{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 4px 8px;
  }
  
  .nav-toggle{
    display: none;
  }
  .nav{
    position: static !important;
    transform: none !important;
    height: auto !important;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    background: transparent;
    padding: 0;
    width: 100%;
  }
  .nav a{
    flex: 1 1 auto;
    padding: 6px 0;
    justify-content: center;
    text-align: center;
    font-size: 0;
  }
  .nav a .i{
    width: 22px;
    height: 22px;
  }
  .nav a span{
    display: none;
  }
  
  .theme-toggle{
    margin: 0;
  }
}

.header .inner{ display:flex; align-items:center; justify-content: center; padding: 14px 0; }

.light .header,
.light .header a { color: #fff !important; }

.light .header .i,
.light .header .i.stroke,
.light .header svg,
.light .header svg path,
.light .header svg circle {
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

.light .header #theme-toggle .i,
.light .header #theme-toggle svg,
.light .header #theme-toggle svg path,
.light .header #theme-toggle svg circle {
  color: #fff !important;
  stroke: #fff !important;
}
