/* Community catches — mockup grid & filters */

html[data-layout="app-shell"] .catches-screen-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 48px;
}

html[data-layout="app-shell"] .catches-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

html[data-layout="app-shell"] .catches-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-layout="app-shell"] .catches-panel-sub {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

html[data-layout="app-shell"] .catches-seg.ff-pill-tabs {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 4px;
}

html[data-layout="app-shell"] .catches-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

html[data-layout="app-shell"] .catches-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  flex: 1 1 140px;
}

html[data-layout="app-shell"] .catches-filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

html[data-layout="app-shell"] .catches-filter-select,
html[data-layout="app-shell"] .catches-filter-input {
  appearance: none;
  padding: 10px 32px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  font-size: 0.86rem;
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-layout="app-shell"] .catches-filter-input {
  background-image: none;
  padding-right: 14px;
}

html[data-layout="app-shell"] .catches-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

html[data-layout="app-shell"] .catches-filter-extras {
  width: 100%;
  padding: 10px 0 0;
}

html[data-layout="app-shell"] .catches-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

html[data-layout="app-shell"] .catches-tile {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html[data-layout="app-shell"] .catches-tile--clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

html[data-layout="app-shell"] .catches-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

html[data-layout="app-shell"] .catches-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-layout="app-shell"] .catches-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

html[data-layout="app-shell"] .catches-tile-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

html[data-layout="app-shell"] .catches-tile-species {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

html[data-layout="app-shell"] .catches-tile-meta--loc {
  margin: 4px 0 0;
  font-size: 0.74rem;
  opacity: 0.92;
}

html[data-layout="app-shell"] .catches-tile-meta--gear {
  margin: 3px 0 0;
  font-size: 0.72rem;
  opacity: 0.85;
}

html[data-layout="app-shell"] .catches-tile-meta--detail {
  display: none;
}

html[data-layout="app-shell"] .catches-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  html[data-layout="app-shell"] .catches-browse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  html[data-layout="app-shell"] .catches-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  html[data-layout="app-shell"] .catches-browse-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-layout="app-shell"] .catches-screen-main {
    padding: 18px 16px 32px;
  }
}
