/* Pet presentation: one bubble above Rose, one input bar below her feet. */
.rose-visual.pet-stage { height: 1090px; overflow: visible; }
.pet-stage .rose-arch { inset: 275px 26px 130px; }
.pet-stage .rose-word { top: 355px; }
.pet-stage > img { height: 680px; bottom: 125px; }
.pet-stage .rose-caption { display: none; }
.pet-bubble { position: absolute; bottom: calc(100% - 270px); left: 50%; transform: translateX(-50%); width: min(380px,96%); padding: 15px 19px 11px; background: #f3edf6; color: #2a2531; border: 2px solid #39323f; border-radius: 20px; box-shadow: 0 4px 0 #0c0a1433; text-align: center; }
.pet-bubble::after { content: ''; position: absolute; bottom: -15px; left: calc(50% - 11px); width: 20px; height: 20px; background: #f3edf6; border-right: 2px solid #39323f; border-bottom: 2px solid #39323f; transform: rotate(45deg); }
.pet-progress { display: block; color: #7a637f; font-size: 9px; letter-spacing: .09em; margin-bottom: 8px; }
.pet-words { font: 500 14px/1.65 var(--sans); min-height: 47px; overflow-wrap: anywhere; }
.pet-word { display: inline-block; white-space: nowrap; max-width: 100%; }
.pet-word:has(span:nth-child(28)) { white-space: normal; overflow-wrap: anywhere; }
.pet-space { white-space: pre-wrap; }
.pet-bubble button { font-family: inherit; cursor: pointer; }
.pet-start { display: flex; justify-content: center; gap: 15px; margin-top: 11px; }
.pet-start button, .pet-voice { background: none; border: none; color: #72508f; font-size: 11px; padding: 5px 0; min-height: 30px; }
.pet-start button:first-child { font-weight: 700; }
.pet-bubble-tools { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 7px; }
.pet-page { color: #837487; font-size: 10px; }
.pet-small { background: none; border: none; padding: 5px 0; min-height: 28px; font-size: 10px; color: #77637c; cursor: pointer; }
.pet-choices { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.pet-choices button { background: #e8dbee; color: #51345f; border: 1px solid #b8a2c8; border-radius: 14px; padding: 7px 10px; font-size: 11px; min-height: 34px; }
.pet-choices button:hover { background: #d4bfe2; }
.pet-bottom { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: min(380px,96%); }
.pet-form { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid #766282; background: #211a2ee8; border-radius: 28px; }
.pet-form input { width: 100%; min-width: 0; background: none; border: none; color: #eee5f5; font: 13px/1.5 var(--sans); padding: 6px 11px; }
.pet-form input::placeholder { color: #bfaed0; }
.pet-send { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: #c6a4e8; color: #251631; cursor: pointer; }
.pet-send:disabled { background: #3a2e46; color: #95839f; cursor: default; }
.pet-send svg { width: 18px; height: 18px; }
.pet-under { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 34px; }
.pet-under button { color: #c2aecf; font-family: inherit; }
.pet-under select { background: #251d31; border: 1px solid #554360; border-radius: 12px; color: #d4bce5; padding: 4px 7px; max-width: 130px; font: 10px var(--sans); }
.pet-last { margin: 0 8px 7px; color: #d4c4df; font-size: 11px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pet-error { color: #d9bfdc; font-size: 10px; text-align: center; }
.pet-error:empty { display: none; }
.pet-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 980px) and (min-width: 701px) {
 .rose-grid { grid-template-columns: .95fr 1fr; gap: 32px; }
 .rose-visual.pet-stage { height: 975px; }
 .pet-stage > img { height: 560px; bottom: 140px; }
 .pet-stage .rose-word { top: 345px; font-size: 110px; }
 .pet-stage .rose-caption { bottom: 113px; font-size: 8px; }
 .pet-bubble { width: 96%; }
 .pet-words { font-size: 13px; }
}
@media (max-width: 700px) {
 .rose-grid { grid-template-columns: 1fr; gap: 48px; }
 .rose-visual.pet-stage { display: block; height: 890px; width: min(390px,100%); margin: 0 auto; }
 .pet-stage > img { height: 490px; bottom: 125px; }
 .pet-stage .rose-arch { inset: 275px 12px 116px; }
 .pet-stage .rose-word { top: 330px; font-size: 99px; }
 .pet-stage .rose-caption { bottom: 99px; }
 .pet-bubble { width: 96%; padding: 13px 15px 10px; }
 .pet-words { font-size: 13px; }
 .pet-bottom { width: 96%; }
}
@media print { .pet-bottom, .pet-start, .pet-bubble-tools { display: none; } }
