@media (max-width: 900px) {
  body.epmc-theme-v2,
  body.epmc-theme-v3,
  body.epmc-theme-v4,
  body.epmc-theme-v5 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .epmc-theme-v2 *,
  .epmc-theme-v2 *::before,
  .epmc-theme-v2 *::after,
  .epmc-theme-v3 *,
  .epmc-theme-v3 *::before,
  .epmc-theme-v3 *::after,
  .epmc-theme-v4 *,
  .epmc-theme-v4 *::before,
  .epmc-theme-v4 *::after,
  .epmc-theme-v5 *,
  .epmc-theme-v5 *::before,
  .epmc-theme-v5 *::after {
    box-sizing: border-box;
  }

  .epmc-theme-v2.epmc-app,
  .epmc-theme-v3.epmc-app,
  .epmc-theme-v4.epmc-app,
  .epmc-theme-v5.epmc-app {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: min(100% - 24px, 1320px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 16px auto 28px !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .epmc-theme-v2 .epmc-main *,
  .epmc-theme-v3 .epmc-main *,
  .epmc-theme-v4 .epmc-main *,
  .epmc-theme-v5 .epmc-main * {
    min-width: 0;
  }

  .epmc-theme-v2 img,
  .epmc-theme-v2 video,
  .epmc-theme-v2 iframe,
  .epmc-theme-v3 img,
  .epmc-theme-v3 video,
  .epmc-theme-v3 iframe,
  .epmc-theme-v4 img,
  .epmc-theme-v4 video,
  .epmc-theme-v4 iframe,
  .epmc-theme-v5 img,
  .epmc-theme-v5 video,
  .epmc-theme-v5 iframe {
    max-width: 100%;
    height: auto;
  }

  .epmc-theme-v2 .epmc-sidebar,
  .epmc-theme-v3 .epmc-sidebar,
  .epmc-theme-v4 .epmc-sidebar,
  .epmc-theme-v5 .epmc-sidebar {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    box-shadow: none;
  }

  .epmc-theme-v2 .epmc-profile,
  .epmc-theme-v3 .epmc-profile,
  .epmc-theme-v4 .epmc-profile,
  .epmc-theme-v5 .epmc-profile,
  .epmc-theme-v2 .epmc-sidebar-footer,
  .epmc-theme-v3 .epmc-sidebar-footer,
  .epmc-theme-v4 .epmc-sidebar-footer,
  .epmc-theme-v5 .epmc-sidebar-footer,
  .epmc-theme-v2 .epmc-nav-label,
  .epmc-theme-v3 .epmc-nav-label,
  .epmc-theme-v4 .epmc-nav-label,
  .epmc-theme-v5 .epmc-nav-label {
    display: none !important;
  }

  .epmc-theme-v2 .epmc-nav,
  .epmc-theme-v3 .epmc-nav,
  .epmc-theme-v4 .epmc-nav,
  .epmc-theme-v5 .epmc-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    overflow: visible !important;
  }

  .epmc-theme-v2 .epmc-nav-item,
  .epmc-theme-v3 .epmc-nav-item,
  .epmc-theme-v4 .epmc-nav-item,
  .epmc-theme-v5 .epmc-nav-item {
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    text-align: center !important;
  }

  .epmc-theme-v2 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v3 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon) {
    display: none !important;
  }

  .epmc-theme-v2 .epmc-nav-item b,
  .epmc-theme-v3 .epmc-nav-item b,
  .epmc-theme-v4 .epmc-nav-item b,
  .epmc-theme-v5 .epmc-nav-item b {
    display: none !important;
  }

  .epmc-theme-v2 .epmc-nav-icon,
  .epmc-theme-v3 .epmc-nav-icon,
  .epmc-theme-v4 .epmc-nav-icon,
  .epmc-theme-v5 .epmc-nav-icon {
    margin: 0 !important;
  }

  .epmc-theme-v2 .epmc-main,
  .epmc-theme-v3 .epmc-main,
  .epmc-theme-v4 .epmc-main,
  .epmc-theme-v5 .epmc-main {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    padding-bottom: 0 !important;
    overflow-x: hidden !important;
  }

  .epmc-theme-v2 .epmc-topbar,
  .epmc-theme-v3 .epmc-topbar,
  .epmc-theme-v4 .epmc-topbar,
  .epmc-theme-v5 .epmc-topbar {
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 14px !important;
  }

  .epmc-theme-v2 .epmc-content,
  .epmc-theme-v3 .epmc-content,
  .epmc-theme-v4 .epmc-content,
  .epmc-theme-v5 .epmc-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    overflow-x: hidden !important;
  }

  .epmc-theme-v2 .epmc-card,
  .epmc-theme-v3 .epmc-card,
  .epmc-theme-v4 .epmc-card,
  .epmc-theme-v5 .epmc-card,
  .epmc-theme-v2 .epmc-stat-card,
  .epmc-theme-v3 .epmc-stat-card,
  .epmc-theme-v4 .epmc-stat-card,
  .epmc-theme-v5 .epmc-stat-card,
  .epmc-theme-v2 .epmc-address-card,
  .epmc-theme-v3 .epmc-address-card,
  .epmc-theme-v4 .epmc-address-card,
  .epmc-theme-v5 .epmc-address-card,
  .epmc-theme-v2 .epmc-order-hero,
  .epmc-theme-v3 .epmc-order-hero,
  .epmc-theme-v4 .epmc-order-hero,
  .epmc-theme-v5 .epmc-order-hero,
  .epmc-theme-v2 .epmc-cashback-hero,
  .epmc-theme-v3 .epmc-cashback-hero,
  .epmc-theme-v4 .epmc-cashback-hero,
  .epmc-theme-v5 .epmc-cashback-hero {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .epmc-theme-v2 .epmc-stats-grid,
  .epmc-theme-v3 .epmc-stats-grid,
  .epmc-theme-v4 .epmc-stats-grid,
  .epmc-theme-v5 .epmc-stats-grid,
  .epmc-theme-v2 .epmc-cashback-stats,
  .epmc-theme-v3 .epmc-cashback-stats,
  .epmc-theme-v4 .epmc-cashback-stats,
  .epmc-theme-v5 .epmc-cashback-stats,
  .epmc-theme-v2 .epmc-two-columns,
  .epmc-theme-v3 .epmc-two-columns,
  .epmc-theme-v4 .epmc-two-columns,
  .epmc-theme-v5 .epmc-two-columns,
  .epmc-theme-v2 .epmc-address-grid,
  .epmc-theme-v3 .epmc-address-grid,
  .epmc-theme-v4 .epmc-address-grid,
  .epmc-theme-v5 .epmc-address-grid,
  .epmc-theme-v2 .epmc-settings-columns,
  .epmc-theme-v3 .epmc-settings-columns,
  .epmc-theme-v4 .epmc-settings-columns,
  .epmc-theme-v5 .epmc-settings-columns,
  .epmc-theme-v2 .epmc-form-grid,
  .epmc-theme-v3 .epmc-form-grid,
  .epmc-theme-v4 .epmc-form-grid,
  .epmc-theme-v5 .epmc-form-grid {
    grid-template-columns: 1fr !important;
  }

  .epmc-theme-v2 .epmc-page-heading,
  .epmc-theme-v3 .epmc-page-heading,
  .epmc-theme-v4 .epmc-page-heading,
  .epmc-theme-v5 .epmc-page-heading,
  .epmc-theme-v2 .epmc-order-hero,
  .epmc-theme-v3 .epmc-order-hero,
  .epmc-theme-v4 .epmc-order-hero,
  .epmc-theme-v5 .epmc-order-hero,
  .epmc-theme-v2 .epmc-cashback-hero,
  .epmc-theme-v3 .epmc-cashback-hero,
  .epmc-theme-v4 .epmc-cashback-hero,
  .epmc-theme-v5 .epmc-cashback-hero {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .epmc-theme-v2 .epmc-cashback-overview,
  .epmc-theme-v3 .epmc-cashback-overview,
  .epmc-theme-v4 .epmc-cashback-overview,
  .epmc-theme-v5 .epmc-cashback-overview {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 640px) {
  .epmc-theme-v2.epmc-app,
  .epmc-theme-v3.epmc-app,
  .epmc-theme-v4.epmc-app,
  .epmc-theme-v5.epmc-app {
    width: calc(100% - 16px) !important;
    margin: 8px auto 18px !important;
  }

  .epmc-theme-v2 .epmc-nav,
  .epmc-theme-v3 .epmc-nav,
  .epmc-theme-v4 .epmc-nav,
  .epmc-theme-v5 .epmc-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 8px !important;
  }

  .epmc-theme-v2 .epmc-nav-item,
  .epmc-theme-v3 .epmc-nav-item,
  .epmc-theme-v4 .epmc-nav-item,
  .epmc-theme-v5 .epmc-nav-item {
    justify-content: flex-start !important;
    min-height: 48px !important;
    text-align: left !important;
  }

  .epmc-theme-v2 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v3 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon) {
    display: inline !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .epmc-theme-v2 .epmc-nav-item b,
  .epmc-theme-v3 .epmc-nav-item b,
  .epmc-theme-v4 .epmc-nav-item b,
  .epmc-theme-v5 .epmc-nav-item b {
    display: inline-flex !important;
  }

  .epmc-theme-v2 .epmc-topbar,
  .epmc-theme-v3 .epmc-topbar,
  .epmc-theme-v4 .epmc-topbar,
  .epmc-theme-v5 .epmc-topbar,
  .epmc-theme-v2 .epmc-content,
  .epmc-theme-v3 .epmc-content,
  .epmc-theme-v4 .epmc-content,
  .epmc-theme-v5 .epmc-content {
    padding: 12px !important;
  }

  .epmc-theme-v2 .epmc-page-heading h1,
  .epmc-theme-v3 .epmc-page-heading h1,
  .epmc-theme-v4 .epmc-page-heading h1,
  .epmc-theme-v5 .epmc-page-heading h1 {
    font-size: clamp(24px, 9vw, 34px) !important;
    line-height: 1.05 !important;
  }

  .epmc-theme-v2 .epmc-store-link,
  .epmc-theme-v3 .epmc-store-link,
  .epmc-theme-v4 .epmc-store-link,
  .epmc-theme-v5 .epmc-store-link {
    width: 100% !important;
    justify-content: center !important;
    font-size: 12px !important;
  }

  .epmc-theme-v2 .epmc-filters,
  .epmc-theme-v3 .epmc-filters,
  .epmc-theme-v4 .epmc-filters,
  .epmc-theme-v5 .epmc-filters {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .epmc-theme-v2 .epmc-table-wrap,
  .epmc-theme-v3 .epmc-table-wrap,
  .epmc-theme-v4 .epmc-table-wrap,
  .epmc-theme-v5 .epmc-table-wrap {
    overflow: visible !important;
  }

  .epmc-theme-v2 .epmc-orders-table,
  .epmc-theme-v3 .epmc-orders-table,
  .epmc-theme-v4 .epmc-orders-table,
  .epmc-theme-v5 .epmc-orders-table,
  .epmc-theme-v2 .epmc-orders-table tbody,
  .epmc-theme-v3 .epmc-orders-table tbody,
  .epmc-theme-v4 .epmc-orders-table tbody,
  .epmc-theme-v5 .epmc-orders-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .epmc-theme-v2 .epmc-orders-table thead,
  .epmc-theme-v3 .epmc-orders-table thead,
  .epmc-theme-v4 .epmc-orders-table thead,
  .epmc-theme-v5 .epmc-orders-table thead {
    display: none !important;
  }

  .epmc-theme-v2 .epmc-orders-table tbody,
  .epmc-theme-v3 .epmc-orders-table tbody,
  .epmc-theme-v4 .epmc-orders-table tbody,
  .epmc-theme-v5 .epmc-orders-table tbody {
    display: grid !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .epmc-theme-v2 .epmc-orders-table tbody tr,
  .epmc-theme-v3 .epmc-orders-table tbody tr,
  .epmc-theme-v4 .epmc-orders-table tbody tr,
  .epmc-theme-v5 .epmc-orders-table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "order" "date" "total" "status" "action" !important;
    gap: 7px !important;
    padding: 15px !important;
    border: 1px solid var(--epmc-border) !important;
    border-radius: 14px !important;
    background: var(--epmc-bg-2) !important;
  }

  .epmc-theme-v2 .epmc-orders-table td,
  .epmc-theme-v3 .epmc-orders-table td,
  .epmc-theme-v4 .epmc-orders-table td,
  .epmc-theme-v5 .epmc-orders-table td {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(1),
  .epmc-theme-v3 .epmc-orders-table td:nth-child(1),
  .epmc-theme-v4 .epmc-orders-table td:nth-child(1),
  .epmc-theme-v5 .epmc-orders-table td:nth-child(1) { grid-area: order !important; }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(2),
  .epmc-theme-v3 .epmc-orders-table td:nth-child(2),
  .epmc-theme-v4 .epmc-orders-table td:nth-child(2),
  .epmc-theme-v5 .epmc-orders-table td:nth-child(2) { grid-area: date !important; }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(3),
  .epmc-theme-v3 .epmc-orders-table td:nth-child(3),
  .epmc-theme-v4 .epmc-orders-table td:nth-child(3),
  .epmc-theme-v5 .epmc-orders-table td:nth-child(3) { grid-area: total !important; }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(4),
  .epmc-theme-v3 .epmc-orders-table td:nth-child(4),
  .epmc-theme-v4 .epmc-orders-table td:nth-child(4),
  .epmc-theme-v5 .epmc-orders-table td:nth-child(4) { grid-area: status !important; }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(5),
  .epmc-theme-v3 .epmc-orders-table td:nth-child(5),
  .epmc-theme-v4 .epmc-orders-table td:nth-child(5),
  .epmc-theme-v5 .epmc-orders-table td:nth-child(5) {
    grid-area: action !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--epmc-border) !important;
  }

  .epmc-theme-v2 .epmc-orders-table td:nth-child(5) .epmc-small-button,
  .epmc-theme-v3 .epmc-orders-table td:nth-child(5) .epmc-small-button,
  .epmc-theme-v4 .epmc-orders-table td:nth-child(5) .epmc-small-button,
  .epmc-theme-v5 .epmc-orders-table td:nth-child(5) .epmc-small-button,
  .epmc-theme-v2 .epmc-primary-button,
  .epmc-theme-v3 .epmc-primary-button,
  .epmc-theme-v4 .epmc-primary-button,
  .epmc-theme-v5 .epmc-primary-button {
    width: 100% !important;
  }

  .epmc-theme-v2 .epmc-status,
  .epmc-theme-v3 .epmc-status,
  .epmc-theme-v4 .epmc-status,
  .epmc-theme-v5 .epmc-status {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .epmc-theme-v2 .epmc-timeline,
  .epmc-theme-v3 .epmc-timeline,
  .epmc-theme-v4 .epmc-timeline,
  .epmc-theme-v5 .epmc-timeline {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .epmc-theme-v2 .epmc-timeline > div,
  .epmc-theme-v3 .epmc-timeline > div,
  .epmc-theme-v4 .epmc-timeline > div,
  .epmc-theme-v5 .epmc-timeline > div {
    align-items: center !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .epmc-theme-v2 .epmc-timeline > div:not(:last-child)::after,
  .epmc-theme-v3 .epmc-timeline > div:not(:last-child)::after,
  .epmc-theme-v4 .epmc-timeline > div:not(:last-child)::after,
  .epmc-theme-v5 .epmc-timeline > div:not(:last-child)::after {
    top: 29px !important;
    left: 14px !important;
    width: 1px !important;
    height: 22px !important;
  }

  .epmc-theme-v2 .epmc-order-item,
  .epmc-theme-v3 .epmc-order-item,
  .epmc-theme-v4 .epmc-order-item,
  .epmc-theme-v5 .epmc-order-item,
  .epmc-theme-v2 .epmc-transaction,
  .epmc-theme-v3 .epmc-transaction,
  .epmc-theme-v4 .epmc-transaction,
  .epmc-theme-v5 .epmc-transaction {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  .epmc-theme-v2 .epmc-order-item > b,
  .epmc-theme-v3 .epmc-order-item > b,
  .epmc-theme-v4 .epmc-order-item > b,
  .epmc-theme-v5 .epmc-order-item > b,
  .epmc-theme-v2 .epmc-transaction > b,
  .epmc-theme-v3 .epmc-transaction > b,
  .epmc-theme-v4 .epmc-transaction > b,
  .epmc-theme-v5 .epmc-transaction > b {
    grid-column: 2 !important;
    justify-self: start !important;
    white-space: normal !important;
  }

  .epmc-theme-v2 .epmc-address-card,
  .epmc-theme-v3 .epmc-address-card,
  .epmc-theme-v4 .epmc-address-card,
  .epmc-theme-v5 .epmc-address-card {
    min-height: 0 !important;
    padding-bottom: 70px !important;
  }

  .epmc-theme-v2 .epmc-address-card .epmc-small-button,
  .epmc-theme-v3 .epmc-address-card .epmc-small-button,
  .epmc-theme-v4 .epmc-address-card .epmc-small-button,
  .epmc-theme-v5 .epmc-address-card .epmc-small-button {
    right: 18px !important;
    left: 18px !important;
    width: auto !important;
  }

  .epmc-theme-v2 .epmc-address-drawer,
  .epmc-theme-v3 .epmc-address-drawer,
  .epmc-theme-v4 .epmc-address-drawer,
  .epmc-theme-v5 .epmc-address-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .epmc-theme-v2 .epmc-drawer-footer,
  .epmc-theme-v3 .epmc-drawer-footer,
  .epmc-theme-v4 .epmc-drawer-footer,
  .epmc-theme-v5 .epmc-drawer-footer {
    flex-direction: column-reverse !important;
  }

  .epmc-theme-v2 .epmc-drawer-footer .epmc-primary-button,
  .epmc-theme-v3 .epmc-drawer-footer .epmc-primary-button,
  .epmc-theme-v4 .epmc-drawer-footer .epmc-primary-button,
  .epmc-theme-v5 .epmc-drawer-footer .epmc-primary-button,
  .epmc-theme-v2 .epmc-drawer-footer .epmc-outline-button,
  .epmc-theme-v3 .epmc-drawer-footer .epmc-outline-button,
  .epmc-theme-v4 .epmc-drawer-footer .epmc-outline-button,
  .epmc-theme-v5 .epmc-drawer-footer .epmc-outline-button {
    width: 100% !important;
  }
}

@media (max-width: 420px) {
  .epmc-theme-v2.epmc-app,
  .epmc-theme-v3.epmc-app,
  .epmc-theme-v4.epmc-app,
  .epmc-theme-v5.epmc-app {
    width: calc(100% - 10px) !important;
    margin-top: 5px !important;
  }

  .epmc-theme-v2 .epmc-nav,
  .epmc-theme-v3 .epmc-nav,
  .epmc-theme-v4 .epmc-nav,
  .epmc-theme-v5 .epmc-nav {
    grid-template-columns: 1fr !important;
  }

  .epmc-theme-v2 .epmc-card,
  .epmc-theme-v3 .epmc-card,
  .epmc-theme-v4 .epmc-card,
  .epmc-theme-v5 .epmc-card,
  .epmc-theme-v2 .epmc-stat-card,
  .epmc-theme-v3 .epmc-stat-card,
  .epmc-theme-v4 .epmc-stat-card,
  .epmc-theme-v5 .epmc-stat-card,
  .epmc-theme-v2 .epmc-order-hero,
  .epmc-theme-v3 .epmc-order-hero,
  .epmc-theme-v4 .epmc-order-hero,
  .epmc-theme-v5 .epmc-order-hero,
  .epmc-theme-v2 .epmc-cashback-hero,
  .epmc-theme-v3 .epmc-cashback-hero,
  .epmc-theme-v4 .epmc-cashback-hero,
  .epmc-theme-v5 .epmc-cashback-hero {
    padding: 15px !important;
  }
}

@media (max-width: 760px) {
  body.epmc-theme-v5 {
    padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px));
  }

  .epmc-theme-v5.epmc-app {
    margin-bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible !important;
  }

  .epmc-theme-v5 .epmc-main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .epmc-theme-v5 .epmc-sidebar {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    z-index: 900000 !important;
    width: min(calc(100% - 28px), 390px) !important;
    max-width: 390px !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px 12px !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(32, 33, 36, .08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .95) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .epmc-theme-v5 .epmc-profile,
  .epmc-theme-v5 .epmc-sidebar-footer,
  .epmc-theme-v5 .epmc-nav-label {
    display: none !important;
  }

  .epmc-theme-v5 .epmc-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .epmc-theme-v5 .epmc-nav-item,
  .epmc-theme-v5 .epmc-nav-item:last-of-type {
    position: relative !important;
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 6px 3px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  .epmc-theme-v5 .epmc-nav-item:hover,
  .epmc-theme-v5 .epmc-nav-item.is-active {
    background: rgba(239, 43, 45, .08) !important;
    color: var(--epmc-gold) !important;
  }

  .epmc-theme-v5 .epmc-nav-icon,
  .epmc-theme-v5 .epmc-nav-item.is-active .epmc-nav-icon {
    display: grid !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    margin: 0 !important;
    place-items: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
  }

  .epmc-theme-v5 .epmc-nav-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }

  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon)::after {
    display: block;
    overflow: hidden;
    font-size: 10px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .epmc-theme-v5 .epmc-nav-item b {
    position: absolute !important;
    top: 6px !important;
    right: 10px !important;
    display: inline-grid !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 5px !important;
    place-items: center !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: var(--epmc-red) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
}

@media (max-width: 360px) {
  .epmc-theme-v5 .epmc-sidebar {
    width: calc(100% - 18px) !important;
    padding: 8px !important;
  }

  .epmc-theme-v5 .epmc-nav {
    gap: 0 !important;
  }

  .epmc-theme-v5 .epmc-nav-item {
    min-height: 56px !important;
    padding-right: 1px !important;
    padding-left: 1px !important;
  }

  .epmc-theme-v5 .epmc-nav-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon)::after {
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  body.epmc-theme-v4 {
    padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px));
  }

  .epmc-theme-v4.epmc-app {
    margin-bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible !important;
    border-radius: 20px !important;
  }

  .epmc-theme-v4 .epmc-main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .epmc-theme-v4 .epmc-sidebar {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    z-index: 900000 !important;
    width: min(calc(100% - 28px), 390px) !important;
    max-width: 390px !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px 12px !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
    border: 1px solid var(--epmc-border-strong) !important;
    border-radius: 18px !important;
    background: var(--epmc-bg-2) !important;
    box-shadow: 0 18px 42px rgba(52, 56, 44, .18) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .epmc-theme-v4 .epmc-profile,
  .epmc-theme-v4 .epmc-sidebar-footer,
  .epmc-theme-v4 .epmc-nav-label {
    display: none !important;
  }

  .epmc-theme-v4 .epmc-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .epmc-theme-v4 .epmc-nav-item,
  .epmc-theme-v4 .epmc-nav-item:last-of-type {
    position: relative !important;
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 6px 3px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: var(--epmc-muted) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  .epmc-theme-v4 .epmc-nav-item:hover,
  .epmc-theme-v4 .epmc-nav-item.is-active {
    background: var(--epmc-gold-glow) !important;
    color: var(--epmc-gold-light) !important;
  }

  .epmc-theme-v4 .epmc-nav-icon,
  .epmc-theme-v4 .epmc-nav-item.is-active .epmc-nav-icon {
    display: grid !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    margin: 0 !important;
    place-items: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
  }

  .epmc-theme-v4 .epmc-nav-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }

  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon)::after {
    display: block;
    overflow: hidden;
    font-size: 10px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .epmc-theme-v4 .epmc-nav-item b {
    position: absolute !important;
    top: 6px !important;
    right: 10px !important;
    display: inline-grid !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 5px !important;
    place-items: center !important;
    border: 2px solid var(--epmc-bg-2) !important;
    border-radius: 999px !important;
    background: var(--epmc-red) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
}

@media (max-width: 360px) {
  .epmc-theme-v4 .epmc-sidebar {
    width: calc(100% - 18px) !important;
    padding: 8px !important;
  }

  .epmc-theme-v4 .epmc-nav {
    gap: 0 !important;
  }

  .epmc-theme-v4 .epmc-nav-item {
    min-height: 56px !important;
    padding-right: 1px !important;
    padding-left: 1px !important;
  }

  .epmc-theme-v4 .epmc-nav-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon)::after {
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon),
  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon) {
    display: block !important;
    font-size: 10px !important;
  }

  .epmc-theme-v4 .epmc-nav-item > span:not(.epmc-nav-icon)::after,
  .epmc-theme-v5 .epmc-nav-item > span:not(.epmc-nav-icon)::after {
    content: none !important;
    display: none !important;
  }
}
