@media (max-width: 768px) {
  #left-sidebar {
    display: none;
  }

  #main-content {
    width: 100%;
    padding-top: calc(44px + env(safe-area-inset-top, 0px));
    overflow-y: auto;
    height: 100dvh;
  }

  #mobile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
    background: #ffffff;
    z-index: 100;
  }

  #mobile-header-logo {
    height: 24px;
    width: auto;
    display: block;
  }

  #feed-area {
    padding: 12px 0;
    padding-top: calc(52px + env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 12px));
  }

  .feed-card {
    width: 100%;
    max-width: 450px;
  }

  .feed-card-flipper {
    width: 100%;
    max-width: 450px;
  }

  .feed-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
  }

  .feed-card__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    object-fit: cover;
  }

  .feed-card-face {
    width: 100%;
  }

  .feed-card-face--front {
    width: 100%;
  }

  .feed-card-face--back {
    width: 100%;
  }

  #explore-sheet-overlay {
    display: block;
  }

  #bottom-nav {
    display: none;
  }

  #mobile-hamburger {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18181b;
  }

  #mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    background: #ffffff;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    overflow-y: auto;
  }

  #mobile-drawer.open {
    transform: translateX(0);
  }

  #mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
    display: none;
  }

  #mobile-drawer-overlay.visible {
    display: block;
  }

  #mobile-drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #18181b;
    padding: 4px;
  }

  .mobile-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #18181b;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
  }

  .get-coins-icon {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 769px) {
  #bottom-nav {
    display: none !important;
  }
}

#bottom-nav {
  display: flex;
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  cursor: pointer;
  color: #6b7280;
  gap: 2px;
}

.bottom-nav-btn.active {
  color: #6D28D9;
}

.bottom-nav-btn i {
  width: 24px;
  height: 24px;
}

.bottom-nav-btn span {
  font-size: 10px;
  font-weight: 500;
}

.bottom-nav-btn--new i {
  width: 28px;
  height: 28px;
  color: #6D28D9;
}

#explore-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}

#explore-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 0 32px;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

#explore-sheet.open {
  transform: translateY(0);
}

#explore-sheet-handle {
  width: 36px;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  margin: 0 auto 16px;
}

.explore-sheet-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  font-size: 16px;
  color: #18181b;
  cursor: pointer;
}

.explore-sheet-item:hover {
  background: #f9f9f9;
}

.explore-sheet-item i {
  width: 22px;
  height: 22px;
  color: #6D28D9;
}

