.sr-main {
  padding: 28px 20px 40px;
}

.sr-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.sr-hero {
  margin-bottom: 22px;
}

.sr-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.sr-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
}

.sr-subtitle {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.sr-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sr-filters-card,
.sr-results-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.sr-filters-card {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.sr-results-card {
  padding: 22px;
  min-height: 560px;
}

.sr-card-head,
.sr-results-head {
  margin-bottom: 18px;
}

.sr-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.sr-card-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.sr-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sr-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sr-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sr-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e1e1e;
}

.sr-field-note {
  font-size: 11px;
  color: var(--muted);
}

.sr-input,
.sr-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}

.sr-input:focus,
.sr-select:focus {
  border-color: rgba(240, 84, 84, 0.55);
  box-shadow: 0 0 0 4px rgba(240, 84, 84, 0.10);
}

.sr-hashtag-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.sr-add-btn {
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
}

.sr-add-btn:hover {
  opacity: 0.94;
}

.sr-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-chip-helper {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6f0ee;
  color: #3b2c2c;
  font-size: 12px;
  font-weight: 600;
}

.sr-chip-remove {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.sr-check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.sr-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fafafa;
}

.sr-check-item input {
  accent-color: var(--red);
}

.sr-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sr-btn,
.sr-page-btn,
.sr-open-btn {
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}

.sr-btn:hover,
.sr-page-btn:hover,
.sr-open-btn:hover {
  transform: translateY(-1px);
}

.sr-btn:disabled,
.sr-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.sr-btn-primary {
  background: var(--red);
  color: #fff;
  min-height: 46px;
}

.sr-btn-secondary {
  background: #f3f3f3;
  color: #222;
  min-height: 46px;
}

.sr-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.sr-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--red);
  animation: sr-spin 0.8s linear infinite;
}

@keyframes sr-spin {
  to {
    transform: rotate(360deg);
  }
}

.sr-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 18px;
}

.sr-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.sr-card-cover-link {
  display: block;
  background: #f5f2f1;
}

.sr-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.sr-card-cover-placeholder {
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #f6f0ee, #efe7e5);
}

.sr-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.sr-volume {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sr-card-title {
  display: inline-block;
  text-decoration: none;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.sr-card-title:hover {
  color: var(--red);
}

.sr-card-author {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sr-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sr-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f0ee;
  font-size: 11px;
  font-weight: 700;
  color: #6b4d4d;
}

.sr-meta-text {
  color: var(--muted);
  font-size: 12px;
}

.sr-card-actions {
  margin-top: auto;
  padding-top: 6px;
}

.sr-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #111;
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
}

.sr-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  text-align: center;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: #fcfcfc;
  padding: 20px;
}

.sr-empty-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.sr-empty-text {
  margin: 8px 0 0;
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.sr-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sr-page-btn {
  min-height: 42px;
  padding: 0 16px;
  background: #f3f3f3;
  color: #222;
}

.sr-page-indicator {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .sr-layout {
    grid-template-columns: 1fr;
  }

  .sr-filters-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .sr-main {
    padding: 20px 14px 30px;
  }

  .sr-results-card,
  .sr-filters-card {
    padding: 16px;
    border-radius: 18px;
  }

  .sr-actions,
  .sr-hashtag-entry {
    grid-template-columns: 1fr;
  }

  .sr-pagination {
    flex-direction: column;
  }

  .sr-page-btn {
    width: 100%;
  }
}

.sr-loading[hidden],
.sr-empty[hidden],
.sr-results-grid[hidden] {
  display: none !important;
}

.sr-card-author {
  display: inline-block;
  margin-top: 6px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.sr-card-author:hover {
  text-decoration: underline;
}