.hero-create-menu {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.hero-create-menu > summary {
  list-style: none;
  cursor: pointer;
}

.hero-create-menu > summary::-webkit-details-marker {
  display: none;
}

.hero-create-menu[open] > summary {
  opacity: 0.96;
}

.hero-create-menu__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 4px;
  z-index: 40;
  min-width: 240px;
  max-width: min(320px, 92vw);
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.hero-create-menu__panel.hero-create-menu__panel--fixed {
  position: fixed !important;
  z-index: 1200 !important;
  max-width: min(320px, calc(100vw - 16px));
}

.hero-create-menu__item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
}

.hero-create-menu__item small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.hero-create-menu__item:hover,
.hero-create-menu__item:focus-visible {
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
}

.create-kind-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.create-kind-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
}

.create-kind-switch__item:hover {
  color: #0f172a;
  text-decoration: none;
}

.create-kind-switch__item.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
  .hero-create-menu__panel {
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
  }
}
