.cat-test { max-width: 760px; margin: 0 auto; padding: 28px 16px 52px; color: #192b28; }
.cat-test [hidden] { display: none !important; }
.cat-intro, .cat-result { background: #e7f2ed; border: 1px solid #c5d9ce; border-radius: 20px; padding: clamp(20px, 5vw, 44px); }
.cat-test h1, .cat-test h2 { font-family: Georgia, serif; line-height: 1.08; margin: 0 0 12px; overflow-wrap: anywhere; }
.cat-test h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.cat-test h2 { font-size: clamp(1.8rem, 6vw, 3rem); }
.cat-test p { margin: 0 0 12px; line-height: 1.55; }
.cat-note { font-size: .92rem; color: #3c564f; }
.cat-test form { margin: 26px 0; }
.cat-test form > label { display: block; font-weight: 700; margin-bottom: 8px; }
.cat-test label span { font-weight: 400; }
.cat-test input[name="cat-name"] { width: min(100%, 320px); padding: 10px 12px; margin-bottom: 24px; border: 1px solid #80958d; border-radius: 8px; font: inherit; }
.cat-test fieldset { min-width: 0; padding: 12px; margin: 0 0 20px; border: 1px solid #b8c8bf; border-radius: 12px; }
.cat-test legend { padding: 0 6px; font-weight: 700; line-height: 1.4; }
.cat-test fieldset label { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px; border-radius: 6px; cursor: pointer; }
.cat-test fieldset label:has(:checked) { background: #e0eee7; }
.cat-test input[type="radio"] { flex: none; width: 18px; height: 18px; accent-color: #16614e; }
.cat-test button, .cat-button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; background: #175946; color: #fff; font: inherit; font-weight: 700; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; }
.cat-test :focus-visible { outline: 3px solid #955219; outline-offset: 3px; }
.cat-test #toy-pick { padding: 16px; margin: 18px 0; background: #fff; border-radius: 12px; }
.cat-test #toy-heading { margin: 0 0 10px; }
.cat-test #share-status { margin-top: 10px; overflow-wrap: anywhere; }
.cat-test footer { margin-top: 24px; }
