.prox-filters {
  position: fixed;
  z-index: 36;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  pointer-events: none;
}

.prox-filters[hidden] {
  display: none !important;
}

.prox-filter-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(46vw, 220px);
  height: 40px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--line, #e2e8f8);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--text, #151923);
  box-shadow: 0 6px 18px rgba(21, 25, 35, 0.12);
  font: 700 14px/1 inherit;
  cursor: pointer;
}

.prox-filter-btn.is-on {
  border-color: color-mix(in srgb, var(--brand, #e8542b) 45%, var(--line, #e2e8f8));
  color: var(--brand, #e8542b);
}

.prox-filter-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prox-filter-btn svg {
  flex: none;
}

.prox-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(21, 25, 35, 0.28);
}

.prox-sheet-backdrop[hidden] {
  display: none !important;
}

.prox-sheet {
  position: fixed;
  z-index: 71;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  width: min(380px, calc(100% - 24px));
  max-height: min(70vh, 480px);
  overflow: auto;
  background: var(--surface, #fff);
  color: var(--text, #151923);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(21, 25, 35, 0.22);
  padding: 16px 16px 8px;
}

.prox-sheet[hidden] {
  display: none !important;
}

.prox-sheet-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.prox-sheet-opt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid var(--line, #e2e8f8);
  background: transparent;
  color: inherit;
  text-align: left;
  font: 600 16px/1.3 inherit;
  cursor: pointer;
}

.prox-sheet-opt:last-child {
  border-bottom: 0;
}

.prox-radio {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c5ceda;
  box-sizing: border-box;
}

.prox-radio.on {
  border-color: var(--brand, #e8542b);
  background:
    radial-gradient(circle at center, #fff 0 3px, var(--brand, #e8542b) 4px 7px, transparent 8px);
}

@media (width <= 700px) {
  .prox-filters {
    bottom: calc(var(--bottom-nav-h, 56px) + 10px);
  }

  .prox-sheet {
    bottom: calc(var(--bottom-nav-h, 56px) + 62px);
  }
}

.app:has(.slip) .prox-filters {
  bottom: 78px;
}

@media (width <= 700px) {
  .app:has(.slip) .prox-filters {
    bottom: calc(var(--bottom-nav-h, 56px) + 72px);
  }

  .app:has(.slip) .prox-sheet {
    bottom: calc(var(--bottom-nav-h, 56px) + 124px);
  }
}
