/* Neechabhanga Raja Yoga Checker — scoped styles (nbry-) */

.nbry-form-card {
  display: grid;
  gap: 1rem;
}

/* Hero */
.nbry-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #5a2233, #7a1834);
}

.nbry-hero--good {
  background: linear-gradient(135deg, #8a5a14, #b8860b);
}

.nbry-hero--mixed {
  background: linear-gradient(135deg, #1f5e4d, #2a8f6b);
}

.nbry-hero--weak {
  background: linear-gradient(135deg, #7a1834, #b3123b);
}

.nbry-hero__mark {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
}

.nbry-hero__label {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.nbry-hero__head {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* Chips */
.nbry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
}

.nbry-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e6d6c4;
  border-radius: 10px;
  background: #fbf5ee;
}

.nbry-chip__k {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a6b52;
}

.nbry-chip__v {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a0e1f;
}

/* Per-planet cards */
.nbry-card {
  border: 1px solid #e6d6c4;
  border-left-width: 4px;
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  margin: 0 0 0.85rem;
  background: #fff;
}

.nbry-card--good {
  border-left-color: #b8860b;
  background: #fffaf0;
}

.nbry-card--mixed {
  border-left-color: #2a8f6b;
  background: #f1faf5;
}

.nbry-card--weak {
  border-left-color: #b3123b;
  background: #fdf2f4;
}

.nbry-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.nbry-card__planet {
  font-size: 1.15rem;
  font-weight: 800;
  color: #4a0e1f;
}

.nbry-card__badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: #fff;
}

.nbry-card__badge--good {
  background: #b8860b;
}

.nbry-card__badge--mixed {
  background: #2a8f6b;
}

.nbry-card__badge--weak {
  background: #b3123b;
}

.nbry-card__pos {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #4d3d34;
  line-height: 1.45;
}

.nbry-card__sub {
  margin: 0.4rem 0 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b4e16;
}

.nbry-card__sub--warn {
  color: #b3123b;
}

.nbry-rules {
  margin: 0 0 0.55rem;
  padding-left: 1.1rem;
}

.nbry-rules li {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #2f6f4f;
}

.nbry-card__meaning {
  margin: 0.4rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px dashed #ead9c2;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #3a2c26;
}

/* Notes */
.nbry-note {
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 0.5rem;
}

.nbry-note p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.nbry-note--good {
  border: 1px solid #bfe3d0;
  background: #eef9f2;
}

.nbry-note--good p {
  color: #1f5e4d;
}

/* Subheads */
.nbry-subhead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a1834;
  border-bottom: 2px solid #eadfce;
  padding-bottom: 0.35rem;
  margin: 1.4rem 0 0.9rem;
}

/* Steps */
.nbry-steps {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
}

.nbry-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ece1d2;
  border-radius: 10px;
  background: #fbf5ee;
}

.nbry-step__n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: #7a1834;
}

.nbry-step__t {
  margin: 0 0 0.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #4a0e1f;
}

.nbry-step__d {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4d3d34;
}

.nbry-disclaimer {
  margin: 1.2rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px dashed #e0d4c4;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6b5e58;
}

@media (max-width: 480px) {
  .nbry-hero {
    flex-direction: column;
    text-align: center;
  }
}
