.mew-gooey-tabs-wrap {
  display: flex;
  width: 100%;
}

.mew-gooey-tabs {
  --mew-tab-height: 48px;
  --mew-panel-height: 300px;
  --mew-surface: #efefef;
  --mew-gooey-strength: 15;
  --mew-indicator-duration: 400ms;
  position: relative;
  min-width: 0;
}

.mew-gooey-tabs *,
.mew-gooey-tabs *::before,
.mew-gooey-tabs *::after {
  box-sizing: border-box;
}

.mew-gooey-tabs__filter-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.mew-gooey-tabs__toolbar {
  display: flex;
  width: 100%;
}

.mew-gooey-tabs__toggle {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mew-gooey-tabs__toggle:hover {
  transform: translateY(-1px);
}

.mew-gooey-tabs__toggle:focus-visible,
.mew-gooey-tabs__tab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.mew-gooey-tabs__stage {
  position: relative;
  width: 100%;
  min-width: 0;
  isolation: isolate;
}

.mew-gooey-tabs__goo-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  transform: translateZ(0);
  will-change: filter;
}

.mew-gooey-tabs[data-filter-state="enabled"] .mew-gooey-tabs__goo-layer {
  filter: var(--mew-gooey-filter, none);
  -webkit-filter: var(--mew-gooey-filter, none);
}

.mew-gooey-tabs__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mew-indicator-width, 25%);
  height: var(--mew-tab-height);
  background: var(--mew-surface);
  transform: translate3d(var(--mew-indicator-x, 0px), 0, 0);
  transition:
    transform var(--mew-indicator-duration) cubic-bezier(.22, 1, .36, 1),
    width var(--mew-indicator-duration) cubic-bezier(.22, 1, .36, 1);
  will-change: transform, width;
}

.mew-gooey-tabs.is-safari-safe .mew-gooey-tabs__indicator {
  transition-duration: 0ms;
}

.mew-gooey-tabs__panel-bg {
  position: absolute;
  top: var(--mew-tab-height);
  left: 0;
  right: 0;
  height: var(--mew-panel-height);
  background: var(--mew-surface);
}

.mew-gooey-tabs__tablist {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: var(--mew-tab-height);
}

.mew-gooey-tabs__tab {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  height: var(--mew-tab-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.mew-gooey-tabs__tab span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mew-gooey-tabs__panels {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--mew-panel-height);
  background: transparent;
}

.mew-gooey-tabs__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.mew-gooey-tabs__panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mew-gooey-tabs__panel[hidden] {
  display: none !important;
}

.mew-gooey-tabs__panel-inner {
  width: 100%;
  min-height: 100%;
}

.mew-gooey-tabs__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mew-gooey-tabs__item {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.mew-gooey-tabs__item a {
  display: block;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.mew-gooey-tabs__item a:hover {
  transform: translateX(3px);
}

.mew-gooey-tabs__custom-content > :first-child {
  margin-top: 0;
}

.mew-gooey-tabs__custom-content > :last-child {
  margin-bottom: 0;
}

.mew-gooey-tabs.is-filter-disabled .mew-gooey-tabs__goo-layer {
  filter: none !important;
  -webkit-filter: none !important;
}


.mew-rtl .mew-gooey-tabs,
.mew-gooey-tabs[dir="rtl"] {
  direction: rtl;
}

.mew-rtl .mew-gooey-tabs__item a:hover,
.mew-gooey-tabs[dir="rtl"] .mew-gooey-tabs__item a:hover {
  transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .mew-gooey-tabs__indicator,
  .mew-gooey-tabs__tab,
  .mew-gooey-tabs__toggle,
  .mew-gooey-tabs__item a {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
