:root {
  --ege-bg: #EAEAEA;
  --ege-input-bg: #EAEAEA;
  --ege-input-bg-hover: #DEDEDE;
  --ege-border: transparent;
  --ege-text: #1F2937;
  --ege-muted: #6B7280;
  --ege-radius: 12px;
  --ege-tile: 160px;
  --ege-gap: 16px;
}

.ege-wrap {
  width: 100%;
  background: #ffffff;
  padding: 20px 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.ege-top {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ege-select {
  flex: 1;
  min-width: 200px;
}

.ege-select--year {
  flex: 0 0 auto;
  min-width: 120px;
  width: auto;
}

.ege-dropdown {
  width: 100%;
  height: 100%;
  min-height: 54px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgb(0 0 0 / 46%);
  background: #ffffff;
  color: var(--ege-text);
  border-radius: 8px;
  padding: 24px 42px 24px 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;

  /* Custom Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239CA3AF'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
}

.ege-dropdown:hover {
  background-color: var(--ege-input-bg-hover);
}

.ege-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.ege-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ege-gap);
}

.ege-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 45px;
  overflow: hidden;
  background: #E5E7EB;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ege-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ege-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .ege-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .ege-top {
    gap: 8px;
  }

  .ege-select,
  .ege-select--year {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .ege-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ege-item {
    border-radius: 16px;
  }

  .ege-dropdown {
    font-size: 13px;
    min-height: 48px;
  }
}