@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-1Thin.woff")
    format("woff");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-2ExtraLight.woff")
    format("woff");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff")
    format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff")
    format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff")
    format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff")
    format("woff");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Escoredream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-9Black.woff")
    format("woff");
  font-weight: 900;
  font-display: swap;
}

body {
  margin: 0;
  background: #fff;
  font-family: system-ui;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  padding: 16px;
}

a {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition:
    filter 0.2s,
    transform 0.2s;
}

a:hover img {
  transform: scale(1.05);
}

a.blur-wrap img {
  filter: blur(5px);
}

a.blur-wrap:hover img {
  filter: none;
  transform: scale(1.05);
}

.blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #fff;
  font-family: "Escoredream";
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.15);
  transition: opacity 0.1s;
  pointer-events: none;
}

a.blur-wrap:hover .blur-overlay {
  opacity: 0;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;

  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.filters > button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.filters > button.active {
  background: #262626;
  color: #fff;
  border-color: #262626;
}

.adult-seg {
  display: flex;
  margin-left: auto;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
}

.adult-seg button {
  padding: 5px 13px;
  border: none;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  color: #666;
}

.adult-seg button:not(:last-child) {
  border-right: 1px solid #ddd;
}

.adult-seg button.active {
  background: #262626;
  color: #fff;
}

.filter-sep {
  width: 2px;
}
