.oc-app-header-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

.oc-app-header-editor-only {
  max-width: min(calc(100% - 24px), 720px);
  margin: 12px auto;
  padding: 10px 14px;
  border: 1px dashed rgba(32, 5, 4, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #200504;
}

.oc-app-header-editor-only h1 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.oc-app-header-editor-only p {
  margin: 4px 0 0;
  font-size: 12px;
}

.oc-bottom-nav {
  display: none !important;
}

.oc-app-bottom-nav-patch {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 99999;
  display: grid;
  grid-template-columns: repeat(var(--oc-app-tab-count), minmax(0, 1fr));
  align-items: stretch;
  width: min(calc(100vw - 28px), 720px);
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(19, 38, 39, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(236, 253, 255, 0.9) 0%, rgba(191, 225, 228, 0.96) 58%, rgba(156, 190, 193, 0.98) 100%);
  box-shadow:
    0 8px 0 rgba(24, 34, 35, 0.42),
    0 12px 22px rgba(0, 0, 0, 0.22),
    inset 0 2px 4px rgba(255, 255, 255, 0.92),
    inset 0 -4px 8px rgba(58, 83, 85, 0.3);
  overflow: hidden;
}

.oc-app-bottom-nav-patch::before {
  content: "";
  position: absolute;
  inset: 6px 8px 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: inherit;
  box-shadow: inset 0 1px 6px rgba(255, 255, 255, 0.8);
}

.oc-app-bottom-nav-patch-tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  color: #203334 !important;
  text-decoration: none !important;
  text-align: center;
  border-radius: 999px;
}

.oc-app-bottom-nav-patch-tab + .oc-app-bottom-nav-patch-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 999px;
  background: rgba(32, 51, 52, 0.62);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.52);
}

.oc-app-bottom-nav-patch-tab.is-active,
.oc-app-bottom-nav-patch-tab:focus-visible {
  background: rgba(255, 255, 255, 0.34);
  outline: none;
}

.oc-app-bottom-nav-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  object-position: center;
}

.oc-app-bottom-nav-text-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 104px;
  min-height: 30px;
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.05;
}

.oc-app-bottom-nav-label {
  display: none;
}

.oc-app-bottom-nav-patch-spacer {
  height: 104px;
}

@media (max-width: 520px) {
  .oc-app-bottom-nav-patch {
    width: calc(100vw - 14px);
    min-height: 62px;
    padding: 7px 8px;
  }

  .oc-app-bottom-nav-patch-tab {
    padding: 5px 4px;
  }

  .oc-app-bottom-nav-patch-tab + .oc-app-bottom-nav-patch-tab::before {
    top: 14px;
    bottom: 14px;
    width: 1px;
  }

  .oc-app-bottom-nav-icon {
    width: 26px;
    height: 26px;
  }

  .oc-app-bottom-nav-text-icon {
    min-height: 26px;
    max-width: 72px;
    font-size: 8px;
  }

  .oc-app-bottom-nav-patch-spacer {
    height: 92px;
  }
}
