/* Additive styles for the discovery-flow pages (home/categories/projects).
   Ported from page-specific <style> blocks in static-web/public-pages/*.html
   that have no equivalent in the shared style.css. */

/* `sticky` (not a scroll-triggered `fixed` toggle) keeps the header pinned on both
   desktop and mobile without removing it from flow — a `fixed` toggle needs a
   spacer to avoid a content jump/permanent overlap, which the ported design never had. */
.header-section { position: sticky; top: 0; background-color: #03211B; z-index: 1100; }
@media (max-width: 1199px) {
  .header-section { padding-top: env(safe-area-inset-top, 0); }
  .mobile-bottom-tabs {
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: calc(65px + env(safe-area-inset-bottom, 0));
  }
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0)); }
}

/* ---- Unified section vertical rhythm ----
   --section-space-y (globals.css) is the visual gap between stacked sections;
   each section contributes half via symmetric padding. Booking / payment flow
   pages keep their own padding for sticky CTAs. */
.app-page.section:not(.booking-form-page):not(.project-booking-page):not(.payment-page):not(.payment-proof-page):not(.withdraw-page):not(.bank-accounts-page):not(.profile-edit-page):not(.change-password-page):not(.my-bookings-page):not(.project-status-page),
.page-section.section,
.projects-section.app-page.section,
.sign-up.app-page.section,
.working-section4.testimonial4 {
  padding-top: calc(var(--section-space-y) / 2);
  padding-bottom: calc(var(--section-space-y) / 2);
}
.home-page .home-top-block,
.home-page .home-bottom-block__inner,
.home-page .horizontal-slide-section,
.home-page .home-category-section__mobile,
.home-page .home-social-sponsor,
.home-page .faq-section {
  padding-top: calc(var(--section-space-y) / 2);
  padding-bottom: calc(var(--section-space-y) / 2);
}

/* Category grid card (categories.html) */
.category-card { display:block; background:#fff; border:1px solid #DFE0E4; border-radius:16px; padding:32px 24px; text-align:center; height:100%; transition:box-shadow .3s, transform .3s, border-color .3s; }
.category-card:hover { box-shadow:0 18px 40px rgba(7,76,62,.12); transform:translateY(-4px); border-color:#074C3E; }
.category-card__icon { width:80px; height:80px; border-radius:50%; background:#f3f7f5; color:#074C3E; font-size:34px; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; transition:.3s; }
.category-card:hover .category-card__icon { background:#074C3E; color:#fff; }
.category-card h4 { color:#222E48; font-size:19px; margin-bottom:8px; }

/* Category detail header (category-projects.html) */
.cat-head { background:#03211B; border-radius:18px; padding:36px 40px; color:#fff; margin-bottom:40px; }
.cat-head__badge { display:inline-flex; align-items:center; gap:8px; background:rgba(252,182,80,.18); color:#FCB650; font-size:var(--fs-small); font-weight:600; padding:6px 14px; border-radius:30px; margin-bottom:14px; }
.cat-head h2 { color:#fff; font-size:34px; font-weight:700; margin-bottom:8px; }
.cat-head p { color:#cfe0db; margin:0; max-width:640px; }

/* Projects list (projects.html) — 3-per-row desktop, 1-per-row mobile */
.projects-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
@media (max-width: 1199px) {
  .projects-list { grid-template-columns: 1fr; gap: 16px; }
}

/* Vertical category image card (categories.html grid + home category slider) */
.category-image-card { display: block; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; }
.category-image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-image-card__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 10px;
  background: linear-gradient(to top, rgba(3,33,27,.85), transparent);
  color: #fff; font-weight: 600; font-size: var(--fs-small); text-align: center;
}
@media (min-width: 768px) {
  .category-image-card__name { font-size: var(--fs-body); padding: 16px 14px; text-align: left; }
}

/* Category slider (index.html) — auto right-to-left over category-image-card slides.
   Selector is scoped to .category-slider so it beats the generic .embla-slide rule
   (same specificity, later in file) regardless of source order — without this, every
   slide fell back to .embla-slide's `flex: 0 0 100%` and rendered one card per row. */
.category-slider .embla-slide {
  flex: 0 0 calc((100% - 2 * 16px) / 3);
  margin-right: 16px;
}
@media (min-width: 768px) {
  .category-slider .embla-slide {
    flex: 0 0 calc((100% - 4 * 20px) / 5);
    margin-right: 20px;
  }
}
.category-slider .embla-slide:last-child { margin-right: 0; }

/* Net-new home sections with no static-design precedent */
.stats-bar { background: #03211B; border-radius: 18px; padding: 40px; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats-bar__value { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 6px; }
.stats-bar__label { color: #cfe0db; font-size: var(--fs-small); margin: 0; }
@media (max-width: 767px) {
  .stats-bar { padding: 20px 12px; }
  .stats-bar__grid { gap: 10px; }
  .stats-bar__value { font-size: 22px; margin-bottom: 2px; }
  .stats-bar__label { font-size: 12px; }
}

/* Sponsor marquee — viewport measured in JS; each item = 1/N of container width. */
.sponsor-marquee-block,
.sponsor-marquee,
.sponsor-marquee__viewport {
  width: 100%;
}
.sponsor-marquee__viewport {
  overflow: hidden;
}
.sponsor-marquee__track {
  display: flex;
  width: max-content;
  animation-name: sponsor-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--sponsor-scroll-duration, 20s);
}
.sponsor-marquee__item {
  flex: 0 0 var(--sponsor-slot-width, 96px);
  width: var(--sponsor-slot-width, 96px);
  height: var(--sponsor-logo-height, var(--sponsor-slot-width, 96px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  box-sizing: border-box;
}
.sponsor-marquee__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .8;
  transition: opacity .2s;
}
.sponsor-marquee__logo:hover { opacity: 1; }

@keyframes sponsor-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-marquee__track { animation: none; }
}

.social-links-strip { display: flex; gap: 16px; justify-content: center; }
.social-links-strip--home {
  gap: 24px;
  padding: 24px 0;
  justify-content: center;
  align-items: center;
}
.social-links-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #DFE0E4;
  background: #fff;
  color: #074C3E;
  font-size: 22px;
  text-decoration: none;
  transition: box-shadow .2s;
}
.social-links-strip__btn:hover { box-shadow: 0 4px 12px rgba(7,76,62,.12); }

/* App-style section header (matches mobile app HorizontalSlideSection) */
.app-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-left: 24px;
  padding-right: 24px;
}
.app-section-header__title {
  color: #222E48;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 2px;
  line-height: 1.25;
}
.app-section-header__desc {
  color: #6A7283;
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}
.app-section-header__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid #074C3E;
  border-radius: 20px;
  padding: 6px 12px;
  color: #074C3E;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.app-section-header__action i { font-size: 12px; }

/* Horizontal slide section (matches mobile app) */
.horizontal-slide-section { margin-top: 8px; margin-bottom: 28px; }
.horizontal-slide-section__track .embla-container {
  padding-left: 24px;
  padding-right: 24px;
}
.embla-slide--fixed { flex: 0 0 auto; }

/* Mobile-app-style testimonial card */
.app-testimonial-card {
  width: 280px;
  margin-right: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #DFE0E4;
  background: #fff;
}
.app-testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.app-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.app-testimonial-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #222E48;
  margin: 0;
  line-height: 1.3;
}
.app-testimonial-card__date {
  font-size: 10px;
  color: #6A7283;
  margin: 0;
}
.app-testimonial-card__quote {
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: #404A60;
  margin: 0;
}

/* Stats bar icons (mobile app layout) */
.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  min-width: 0;
}
.stats-bar__icon {
  font-size: 25px;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Hero banner dots (mobile app BannerSlider) */
.hero-banner__dots {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}
.hero-banner__dot {
  display: inline-block;
  height: 4px;
  width: 8px;
  border-radius: 999px;
  background: #C1C4CC;
  margin: 0 4px;
  transition: width .2s, background .2s;
}
.hero-banner__dot.is-active {
  width: 16px;
  background: #074C3E;
}
.hero-banner__nav { margin-top: 16px; }

/* Home page: desktop/mobile layout toggles */
.home-project-section__mobile,
.home-category-section__mobile,
.home-testimonials-mobile,
.home-sponsor-mobile { display: none; }
.home-sponsor-desktop { display: block; }

@media (max-width: 1199px) {
  .home-page .app-page .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-page .home-hero,
  .home-page .home-stats {
    padding-top: 0;
    padding-bottom: 0;
  }
  .home-page .home-hero { padding-top: 4px; }
  .home-page .home-hero .container,
  .home-page .home-stats .container {
    padding-left: 24px;
    padding-right: 24px;
    max-width: none;
  }
  .home-page .home-stats { margin-bottom: 8px; }
  .home-page .home-stats .stats-bar {
    border-radius: 16px;
    padding: 16px 8px;
    margin: 0;
  }
  .home-page .home-stats .stats-bar__grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  .home-page .home-stats .stats-bar__value {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .home-page .home-stats .stats-bar__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }
  .home-page .home-hero .hero-banner__slider { margin-bottom: 8px; }

  .hero-banner-slider { border-radius: 16px; }
  .hero-banner-slider .slide-banner img {
    height: 150px;
    border-radius: 16px;
  }
  .hero-banner__dots { display: flex; }
  .hero-banner__nav { display: none; }

  .home-project-section__desktop,
  .home-category-section__desktop,
  .home-testimonials-desktop,
  .home-sponsor-desktop {
    display: none !important;
  }
  .home-project-section__mobile,
  .home-category-section__mobile,
  .home-testimonials-mobile,
  .home-sponsor-mobile {
    display: block;
  }
  .home-project-section,
  .home-category-section,
  .home-social-sponsor {
    padding-top: 8px;
    padding-bottom: 0;
  }
  .home-project-section .container,
  .home-category-section .container,
  .home-social-sponsor .container {
    padding: 0;
    max-width: none;
  }
  .home-social-sponsor .social-links-strip--home {
    padding-left: 24px;
    padding-right: 24px;
  }
  .home-sponsor-mobile { margin-bottom: 16px; }

  /* Category banners — matches One-Investment-Mobile-App CategoryBannerSection */
  .category-banner-section {
    margin-top: 8px;
    margin-bottom: 28px;
  }
  .category-banner-section__viewport {
    overflow: hidden;
    width: 100%;
  }
  .category-banner-section__track {
    display: flex;
    padding-left: 10px;
  }
  .category-banner-section__slide {
    flex: 0 0 calc((100vw - 20px) / 3);
    width: calc((100vw - 20px) / 3);
    margin-right: 10px;
    min-width: 0;
  }
  .category-banner-section__slide:last-child {
    margin-right: 10px;
  }
  .category-banner-card {
    display: block;
    width: 100%;
    height: calc(((100vw - 20px) / 3) / 0.45);
    border-radius: 16px;
    overflow: hidden;
    background: #132f4c;
    border: 1px solid #1e4976;
    text-decoration: none;
  }
  .category-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Project list — stacked cards, one per row (replaces the old horizontal slider) */
  .home-project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 16px;
  }
  .home-project-list .project-card { margin-bottom: 0; }

  .home-page .faq-section.app-page.section .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1200px) {
  .home-project-section__mobile,
  .home-category-section__mobile,
  .home-testimonials-mobile,
  .home-sponsor-mobile {
    display: none !important;
  }
  .home-project-section__desktop,
  .home-category-section__desktop,
  .home-testimonials-desktop,
  .home-sponsor-desktop {
    display: block;
  }
  .home-social-sponsor .social-links-strip--home { display: none; }
  .hero-banner__dots { display: none; }
  .hero-banner__nav { display: flex; }

  .home-category-section__desktop .category-slider-wrap {
    position: relative;
  }
  .home-category-section__desktop .category-slider__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  /* Tall portrait cards — full banner visible, no crop */
  .home-category-section__desktop .category-slider .embla-slide {
    display: flex;
    align-items: stretch;
  }
  .home-category-section__desktop .category-image-card {
    width: 100%;
    aspect-ratio: 0.45;
    height: auto;
    min-height: 0;
    background: #132f4c;
  }
  .home-category-section__desktop .category-image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .home-category-section__desktop .category-image-card__name {
    display: none;
  }
}

.discovery-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.discovery-pagination__label { color: #6A7283; font-size: var(--fs-small); }

.empty-state { text-align: center; padding: 60px 20px; color: #6A7283; }
.empty-state i { font-size: 40px; color: #DFE0E4; margin-bottom: 16px; display: block; }

/* .app-gallery-item is an <a> in the static design; ProjectGallery uses a <button>
   (opens a lightbox instead of navigating) so it needs the same box reset. */
button.app-gallery-item { display: block; padding: 0; font: inherit; cursor: pointer; }

/* Hero banner slider (index.html) — top padding is fixed small so the slider
   sits close under the sticky header. */
.hero-banner {
  padding-top: 12px;
  padding-bottom: calc(var(--section-space-y) / 2);
}
.hero-banner-slider { border-radius: 12px; overflow: hidden; }
.hero-banner-slider .slide-banner img {
  width: 100%;
  height: clamp(200px, 30vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* Hero image sizing must come AFTER the base rule so cascade wins.
   Mobile: fixed short strip (unchanged). Desktop: full image, no crop. */
@media (max-width: 1199px) {
  .hero-banner-slider .slide-banner img {
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
  }
}
@media (min-width: 1200px) {
  .hero-banner-slider .slide-banner img {
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: unset;
    object-position: center;
  }
}

/* Minimal embla-carousel viewport/container, replacing slick's runtime-injected
   .slick-track/.slick-slide DOM (embla ships no CSS of its own). */
.embla-viewport { overflow: hidden; }
.embla-container { display: flex; }
.embla-slide { flex: 0 0 100%; min-width: 0; }
.embla-slide--card { flex: 0 0 auto; width: min(320px, 85vw); margin-right: 24px; }

/* Beat generic .embla-slide { flex: 0 0 100% } for mobile category banners */
@media (max-width: 1199px) {
  .category-banner-section__slide.embla-slide {
    flex: 0 0 calc((100vw - 20px) / 3);
    width: calc((100vw - 20px) / 3);
    min-width: 0;
  }
}

/* Project details page — e-commerce style top row (image left, purchase info right) */
.project-detail-top { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
@media (min-width: 992px) {
  .project-detail-top { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}
.project-detail-top__image { border-radius: 16px; overflow: hidden; }
.project-detail-top__image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
@media (min-width: 992px) {
  .project-detail-top__image img { height: 460px; }
}

/* Project map embed (Leaflet) */
.project-map__embed {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
  background: #eef1f0;
}
@media (max-width: 767px) {
  .project-map__embed { height: 240px; }
}
.project-map__embed--loading { background: #eef1f0; }
.project-map__embed .leaflet-container {
  height: 100% !important;
  width: 100% !important;
  background: #eef1f0;
  font-family: inherit;
}
/* Keep Leaflet layers inside the embed — default z-index 1000 overlaps the sticky header. */
.project-map__embed .leaflet-pane { z-index: 1 !important; }
.project-map__embed .leaflet-tile-pane { z-index: 1 !important; }
.project-map__embed .leaflet-overlay-pane { z-index: 2 !important; }
.project-map__embed .leaflet-shadow-pane { z-index: 3 !important; }
.project-map__embed .leaflet-marker-pane { z-index: 4 !important; }
.project-map__embed .leaflet-tooltip-pane { z-index: 5 !important; }
.project-map__embed .leaflet-popup-pane { z-index: 6 !important; }
.project-map__embed .leaflet-control-container,
.project-map__embed .leaflet-top,
.project-map__embed .leaflet-bottom { z-index: 7 !important; }
.project-map__embed .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 18px;
}

/* Dashboard stat cards — 2 columns on mobile so currency values and labels are not truncated */
@media (max-width: 1199px) {
  .app-stat-grid,
  .dash-stats-grid {
    gap: 12px;
    justify-content: flex-start;
  }
  .app-stat-tile,
  .dash-stat-tile {
    width: calc(50% - 6px);
    padding: 12px;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 0;
  }
  .app-stat-tile__label,
  .dash-stat-tile__label {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    line-height: 1.3;
    font-size: 11px;
  }
  .app-stat-tile__value,
  .dash-stat-tile__value {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    font-size: 16px;
    line-height: 1.25;
  }
}
@media (max-width: 575px) {
  .app-stat-tile,
  .dash-stat-tile {
    width: calc(50% - 6px);
    padding: 12px 10px;
  }
  .app-stat-tile__value,
  .dash-stat-tile__value {
    font-size: 15px;
  }
}

/* Profile page — equal-width action buttons on mobile (matches mobile app flex-1 row) */
.profile-page__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 1199px) {
  .profile-page__actions .btn_theme {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
    border-radius: 12px;
    gap: 4px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .profile-page__actions .btn_theme i {
    font-size: 13px;
    flex-shrink: 0;
  }
}

/* Notification bell dropdown — opens in place, no page navigation */
.notif-bell {
  position: relative;
  display: inline-flex;
}
.notif-bell > button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.notif-dropdown__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(3, 33, 27, 0.35);
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: min(380px, calc(100vw - 32px));
  max-height: min(480px, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #DFE0E4;
  background: #fff;
  box-shadow: 0 16px 40px rgba(34, 46, 72, 0.18);
  overflow: hidden;
}
.notif-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #DFE0E4;
  background: #fff;
}
.notif-dropdown__title {
  margin: 0;
  color: #222E48;
  font-size: 16px;
  font-weight: 700;
}
.notif-dropdown__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6A7283;
  font-size: 16px;
  cursor: pointer;
}
.notif-dropdown__close:hover { background: rgba(7, 76, 62, 0.06); color: #074C3E; }
.notif-dropdown__body {
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}
.notif-dropdown__status {
  margin: 24px 0;
  text-align: center;
  color: #6A7283;
  font-size: 14px;
}
.notif-dropdown__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 16px;
  color: #6A7283;
  text-align: center;
}
.notif-dropdown__empty i {
  font-size: 32px;
  color: #DFE0E4;
}
.notif-dropdown__empty p { margin: 0; font-size: 14px; }
.notif-dropdown__list .app-notif-card { margin-bottom: 8px; }
.notif-dropdown__list .app-notif-card:last-child { margin-bottom: 0; }

@media (max-width: 1199px) {
  .mobile-app-header .notif-bell > button {
    color: #fff;
  }

  /* Page title + action chips (e.g. Earnings: Withdraw / Bank Accounts) */
  .app-page__head-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .app-page__head-row .app-page__title {
    flex: none;
    width: 100%;
  }
  .app-page__head-row .app-page__actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .app-page__head-row .app-chip-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 8px;
    font-size: 12px;
  }

  .notif-dropdown__backdrop { display: block; }
  .notif-dropdown {
    position: fixed;
    top: calc(56px + env(safe-area-inset-top, 0));
    right: 12px;
    left: 12px;
    width: auto;
    max-height: min(520px, calc(100vh - 80px - env(safe-area-inset-top, 0) - env(safe-area-inset-bottom, 0)));
  }
}
