:root {
  --seed-bg: #ffffff;
  --seed-card: #fbfdff;
  --seed-border: rgba(15, 23, 42, 0.12);
  --seed-border-strong: #c3d4f1;
  --seed-text: var(--ink);
  --seed-muted: #4f6487;
  --seed-blue: var(--primary);
  --seed-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.seed-tool-page { background: var(--seed-bg); color: var(--seed-text); }
.seed-tool-page .tool-back { color: var(--seed-blue); }

.seed-hero {
  max-width: 980px;
  margin: 20px auto 0;
  text-align: center;
}

.seed-hero__title {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-family: "Syne", "Inter", system-ui, sans-serif;
}

.seed-hero__title span { color: var(--seed-blue); }

.seed-hero__sub {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--seed-muted);
  font-size: 1.02rem;
}

.seed-panel {
  max-width: 980px;
  margin: 14px auto 0;
  border: 1px solid var(--seed-border);
  border-radius: 20px;
  background: var(--seed-card);
  box-shadow: var(--seed-shadow-soft);
  padding: 16px;
}

.seed-panel h2 {
  margin: 0;
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.seed-form { margin-top: 12px; display: grid; gap: 10px; }

.seed-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--seed-border-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--seed-text);
  padding: 0 14px;
  font-size: 0.96rem;
}

.seed-search-input:focus,
.seed-field select:focus {
  outline: none;
  border-color: rgba(63, 139, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(63, 139, 255, 0.18);
}

.seed-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seed-field {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #536a8f;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.seed-field select {
  min-height: 40px;
  border: 1px solid var(--seed-border-strong);
  border-radius: 10px;
  background: #fff;
  color: #2a3b5c;
  padding: 0 10px;
  font-size: 0.88rem;
}

.seed-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seed-chip {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #b9cef1;
  background: #f5f9ff;
  color: #3d5989;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.seed-chip.is-active {
  border-color: #2f6cdf;
  background: linear-gradient(135deg, #3f86f5 0%, #2d69cf 100%);
  color: #fff;
}

.seed-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.seed-count {
  margin: 0;
  color: #57709a;
  font-size: 0.88rem;
  font-weight: 700;
}

.seed-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seed-card {
  border: 1px solid #d9e4f5;
  border-radius: 14px;
  background: #fbfdff;
  overflow: hidden;
  display: grid;
}

.seed-thumb {
  height: 150px;
  border-bottom: 1px solid #dbe6f7;
  position: relative;
}

.seed-thumb__edition {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(10, 18, 38, 0.42);
  color: #fff;
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.seed-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 23, 42, 0.25) 100%);
}

.seed-content {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.seed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.seed-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e2a44;
}

.seed-focus-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3f86f5 0%, #18afc6 100%);
  color: #fff;
  border: 1px solid #8fbbf7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seed-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.seed-badge {
  border: 1px solid #c8d8f2;
  background: #eff5ff;
  color: #4e6794;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  text-transform: uppercase;
}

.seed-value {
  margin: 0;
  color: #1e2a44;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  background: #f4f8ff;
  border: 1px solid #dbe6f7;
  border-radius: 8px;
  padding: 8px;
}

.seed-notes {
  margin: 0;
  color: #405578;
  font-size: 0.86rem;
  line-height: 1.4;
}

.seed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seed-btn {
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid #9ab4de;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: #2f527f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 2px 0 rgba(15, 23, 42, 0.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.seed-btn:hover { border-color: #7f9fd4; filter: brightness(1.03); }
.seed-btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(15,23,42,.12); }

.seed-btn--primary {
  border-color: #2f6cdf;
  background: linear-gradient(180deg, #3f86f5 0%, #2d69cf 100%);
  color: #fff;
}

.seed-empty {
  margin: 10px 0 0;
  color: #6a7f9f;
  font-size: 0.92rem;
}

.mc-final-cta { max-width: 980px; margin: 16px auto 0; }
.mc-final-cta__banner {
  border-radius: 14px;
  border: 1px solid var(--seed-border);
  background: linear-gradient(135deg, #edf4ff, #f8fbff);
  box-shadow: var(--seed-shadow-soft);
  padding: 26px 20px;
  text-align: center;
}
.mc-final-cta__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 4.2vw, 2.3rem);
  letter-spacing: -0.02em;
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-weight: 600;
}
.mc-final-cta__sub { margin: 8px 0 0; color: #506587; font-size: 0.95rem; }
.mc-final-cta__btn {
  margin-top: 16px;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 980px) {
  .seed-grid { grid-template-columns: 1fr; }
  .seed-filter-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .seed-hero { margin-top: 18px; }
  .seed-panel { padding: 12px; }
  .seed-results-head { align-items: flex-start; flex-direction: column; }
  .seed-btn { width: 100%; }
}
