/* RPA-PET companions: decoration stays clear of operational controls. */
:root {
  --pet-mint: #e5f6ed;
  --pet-mint-ink: #36775f;
  --pet-lilac: #f0eafb;
  --pet-sand: #fff3df;
  --pet-coral: #fff0e8;
  --pet-border: #dfeae4;
}
.pet-icon {
  display: inline-block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}
.pet-mascot {
  display: block;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.pet-guide {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  min-width: 0;
  min-height: 134px;
  margin-bottom: 22px;
  padding: 12px 26px 12px 16px;
  border: 1px solid var(--pet-border);
  border-radius: 20px;
  background: linear-gradient(115deg, #f4fbf7, #fff 78%);
  overflow: hidden;
}
.pet-guide::after {
  position: absolute;
  right: -20px;
  top: -56px;
  width: 160px;
  height: 160px;
  border: 22px solid #eaf5ef;
  border-radius: 50%;
  content: "";
  opacity: .65;
  pointer-events: none;
}
.pet-guide-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.pet-guide-badge {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #dbeadf;
  border-radius: 30px;
  background: #ffffffc7;
  color: #5c7e68;
  font-size: 10px;
  white-space: nowrap;
}
.pet-guide small,
.pet-role {
  display: block;
  margin-bottom: 5px;
  color: var(--pet-mint-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.pet-guide h2,
.pet-guide h3 {
  margin: 0 0 7px;
  color: #263e37;
  font-size: 20px;
  line-height: 1.5;
}
.pet-guide p {
  max-width: 760px;
  margin: 0;
  color: #68796f;
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.pet-guide[data-pet="cat"] { background: linear-gradient(115deg, #f4f0fc, #fff 78%); border-color: #e5dff0; }
.pet-guide[data-pet="cat"]::after { border-color: #eee6f8; }
.pet-guide[data-pet="cat"] small { color: #7d68a0; }
.pet-guide[data-pet="parrot"] { background: linear-gradient(115deg, #f4fae7, #fff 78%); }
.pet-guide[data-pet="parrot"]::after { border-color: #eef6d9; }
.pet-guide[data-pet="parrot"] small { color: #647d39; }
.pet-guide[data-pet="turtle"] { background: linear-gradient(115deg, #edf5e9, #fff 78%); }
.pet-guide[data-pet="clownfish"] { background: linear-gradient(115deg, #fff0e7, #fff 78%); border-color: #f0e0d5; }
.pet-guide[data-pet="clownfish"]::after { border-color: #fce8db; }
.pet-guide[data-pet="clownfish"] small { color: #ac704c; }
.pet-guide[data-pet="rabbit"] { background: linear-gradient(115deg, #fff4ef, #fff 78%); border-color: #efdfdc; }
.pet-guide[data-pet="rabbit"]::after { border-color: #f9e7e6; }
.pet-guide[data-pet="rabbit"] small { color: #a07480; }
.pet-park {
  display: grid;
  grid-template-columns: 1.05fr 1.3fr;
  align-items: center;
  gap: 16px;
  position: relative;
  min-width: 0;
  margin-bottom: 24px;
  padding: 28px 26px 24px 32px;
  border: 1px solid #dceae1;
  border-radius: 24px;
  background: linear-gradient(120deg, #eff9f2 0%, #fafcf3 55%, #fff2e6 100%);
  overflow: hidden;
}
.pet-park-copy { position: relative; z-index: 1; min-width: 0; }
.pet-park-copy h2 { margin: 0 0 12px; color: #294738; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.55; letter-spacing: -.035em; }
.pet-park-copy p { margin: 0; color: #637a69; font-size: 13px; line-height: 1.9; }
.pet-park-copy .actions { margin-top: 18px; }
.pet-park-scene { display: block; width: 100%; max-width: 580px; height: auto; justify-self: end; object-fit: contain; }
.pet-features,
.pet-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.pet-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px 16px 12px;
  border: 1px solid #e2e9e3;
  border-radius: 16px;
  background: #fff;
  color: #2e4439;
  text-align: left;
  box-shadow: 0 3px 12px #264b3410;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
button.pet-feature-card { width: 100%; font-weight: 400; }
.pet-feature-card:hover { border-color: #98c8ac; box-shadow: 0 6px 18px #264b3417; transform: translateY(-2px); filter: none; }
.pet-feature-card:focus-visible { outline: 3px solid #9bcfb8; outline-offset: 3px; }
.pet-feature-card .pet-icon,
.pet-feature-card .pet-mascot { flex-basis: 62px; width: 62px; height: 62px; }
.pet-feature-card > div,
.pet-feature-card > span { min-width: 0; }
.pet-feature-card strong { display: block; margin: 0 0 4px; color: #304b3c; font-size: 14px; font-weight: 700; }
.pet-feature-card small { display: block; color: #7c887f; font-size: 11px; font-weight: 400; line-height: 1.7; }
.pet-feature-copy { display: block; flex: 1; }
.pet-feature-copy > span { display: block; color: #7c887f; font-size: 11px; line-height: 1.75; }
.pet-feature-arrow { flex: 0 0 14px; margin-left: auto; color: #a2b9a9; font-size: 19px; }
.pet-feature-card[data-pet="cat"] { border-color: #e6e0ed; }
.pet-feature-card[data-pet="cat"]:hover { border-color: #b8a6d2; }
.pet-feature-card[data-pet="cat"] small { color: #9180aa; }
.pet-feature-card[data-pet="parrot"] small { color: #789355; }
.pet-feature-card[data-pet="turtle"] small { color: #5e917c; }
.pet-feature-card[data-pet="clownfish"] { border-color: #ede1d7; }
.pet-feature-card[data-pet="clownfish"] small { color: #bc855e; }
.pet-feature-card[data-pet="rabbit"] small { color: #b28793; }
.pet-nav-icon { flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.pet-brand-icon { flex: 0 0 36px; width: 36px; height: 36px; }
.pet-auth-mascot { margin: 0 auto 8px; }
.auth-pet-scene { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 12px; }
@media (max-width: 1100px) {
  .pet-park { grid-template-columns: 1fr; padding: 25px; }
  .pet-park-scene { max-width: 540px; justify-self: center; }
  .pet-features, .pet-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pet-guide { gap: 9px; min-height: 113px; padding: 12px 15px 12px 7px; border-radius: 16px; }
  .pet-guide .pet-mascot { flex-basis: 78px; width: 78px; height: 78px; }
  .pet-guide h2, .pet-guide h3 { margin-bottom: 4px; font-size: 17px; }
  .pet-guide p { font-size: 11px; line-height: 1.8; }
  .pet-guide small { font-size: 9px; }
  .pet-guide-badge { display: none; }
  .pet-park { gap: 10px; padding: 22px 20px 10px; border-radius: 20px; }
  .pet-park-copy h2 { font-size: 23px; }
  .pet-park-scene { width: calc(100% + 16px); max-width: none; }
  .pet-features, .pet-feature-grid { gap: 10px; }
  .pet-feature-card { gap: 6px; padding: 12px 10px 12px 6px; border-radius: 13px; }
  .pet-feature-card .pet-icon, .pet-feature-card .pet-mascot { flex-basis: 47px; width: 47px; height: 47px; }
  .pet-feature-card strong { font-size: 12px; }
  .pet-feature-card small { font-size: 10px; }
  .pet-feature-copy > span { font-size: 10px; }
  .pet-feature-arrow { display: none; }
}
@media (max-width: 370px) { .pet-features, .pet-feature-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pet-feature-card { transition: none; }
  .pet-feature-card:hover { transform: none; }
}
