.fv-pet-entry {
  box-sizing: border-box;
  width: min(100% - 32px, 760px);
  margin: 34px auto 26px;
  color: #291d36;
  font-family: Arial, sans-serif;
}

.fv-pet-question {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e7e1e9;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(34, 22, 45, .06);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.fv-pet-question::before {
  content: "MyPetPredicts · Optional";
  display: block;
  margin-bottom: 9px;
  color: #171219;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.fv-pet-question p { margin: 0 0 9px; }
.fv-pet-question p:last-child { margin-bottom: 0; color: #514a55; }

.fv-pet-toggle {
  display: block;
  width: min(270px, 88%);
  margin: 14px auto 0;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: #7437e8;
  color: #fff;
  box-shadow: 0 8px 20px rgba(116, 55, 232, .2);
  cursor: pointer;
  font: 700 16px/1.2 Arial, sans-serif;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.fv-pet-toggle:hover,
.fv-pet-toggle:focus-visible {
  background: #6428d6;
  box-shadow: 0 10px 24px rgba(116, 55, 232, .26);
  transform: translateY(-1px);
}

.fv-pet-panel { margin: 22px auto 0; padding: 0 4px; }
.fv-pet-panel[hidden] { display: none !important; }
.fv-pet-panel h2 {
  margin: 0 0 16px;
  color: #33233f;
  font: 700 18px/1.3 Arial, sans-serif;
}

.fv-pet-pictures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 14px;
  max-width: 620px;
}

.fv-pet-picture {
  padding: 7px;
  border: 2px solid #e5dcec;
  border-radius: 18px;
  background: #fff;
  color: #291d36;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
}

.fv-pet-picture[aria-checked=true] {
  border-color: #7437e8;
  box-shadow: 0 0 0 3px rgba(116, 55, 232, .1);
}

.fv-pet-picture img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f7f2fa;
}

.fv-pet-picture span { display: block; padding: 7px 3px 2px; font-size: 13px; }
.fv-pet-empty { font-size: 14px; line-height: 1.5; }
.fv-pet-empty a { color: #6d31dd; font-weight: 700; }
.fv-pet-prediction-label { display: block; margin: 24px 0 9px; font-size: 16px; }
.fv-pet-prediction-label span { color: #726878; font-size: 13px; font-weight: 400; }
.fv-pet-panel textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  padding: 15px 16px;
  border: 1.5px solid #ded2e2;
  border-radius: 18px;
  background: #fff;
  color: #21162d;
  font: 16px/1.5 Arial, sans-serif;
  resize: vertical;
}

.fv-pet-entry-inline { width: 100%; margin: 24px 0; }
.fv-pet-entry-inline + .check { display: none !important; }
.fv-pet-entry-inline .fv-pet-question { padding: 17px 18px; font-size: 14px; }
.fv-pet-entry-inline .fv-pet-toggle { width: min(240px, 90%); padding: 10px 18px; font-size: 15px; }

@media (max-width: 600px) {
  .fv-pet-entry { width: min(100% - 24px, 760px); margin-top: 26px; }
  .fv-pet-question { padding: 17px 18px; border-radius: 18px; font-size: 14px; }
  .fv-pet-toggle { width: min(230px, 90%); font-size: 15px; }
  .fv-pet-pictures { grid-template-columns: repeat(2, 1fr); }
}
