body:has(.cat-home) { overflow: clip; }
/* The extra shortcuts must remain reachable on short screens. */
.start-menu { display: flex; flex-direction: column; max-height: calc(100dvh - var(--taskbar-height) - 12px); }
.start-menu-apps { min-height: 0; overflow-y: auto; }
.start-menu-header, .start-menu-footer { flex-shrink: 0; }
.cat-home-window { display: flex; flex-direction: column; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--taskbar-height) - 24px); min-width: 300px; transition: box-shadow .2s, transform .2s, opacity .2s; }
.cat-home-window .window-titlebar { flex-shrink: 0; }
.cat-home-window .window-content { padding: 0; flex: 1; min-height: 0; height: auto; background: #22202a; overscroll-behavior: contain; }
.cat-home-window.maximized { max-width: none; max-height: none; }
.cat-home { --cat-line: #45404b; --cat-muted: #d0c5d4; --cat-mint: #c7dfb5; color: #f5ece2; font: 16px/1.5 'Inter', sans-serif; container-type: inline-size; }
.cat-home *, .desktop-companion * { box-sizing: border-box; }
.cat-home [hidden], .desktop-companion[hidden] { display: none !important; }
.cat-home h1, .cat-home h2, .cat-home h3, .cat-home p { margin: 0; }
.cat-home button, .cat-home input, .cat-home select { font: inherit; }
.cat-home button { color: inherit; background: #322e3a; border: 1px solid #514756; padding: 9px 13px; border-radius: 9px; cursor: pointer; transition: background .15s, border-color .15s; }
.cat-home button:hover:not(:disabled) { background: #44394b; border-color: #b2a0bb; }
.cat-home button:disabled { opacity: .6; cursor: default; }
.cat-home :is(button, input, select, summary):focus-visible { outline: 2px solid #e6bdea; outline-offset: 3px; }
.cat-home button.cat-primary { color: #2b3925; background: #c7dfb5; border-color: #c7dfb5; font-weight: 600; }
.cat-home button.cat-primary:hover:not(:disabled) { background: #deedc9; }
.cat-home-header { padding: 23px 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cat-brand { display: flex; align-items: center; gap: 13px; }
.cat-brand-mark { width: 51px; height: 51px; display: grid; place-items: center; font-size: 27px; background: #d9bacd; border-radius: 17px; transform: rotate(-8deg); }
.cat-eyebrow { font: 12px/1.6 'JetBrains Mono', monospace; letter-spacing: 1.7px; color: #cfc0d1; }
.cat-brand h1 { font-size: 29px; letter-spacing: -1.3px; line-height: 1.25; }
.cat-brand h1 span { color: var(--cat-mint); }
.cat-home-header > p { font-size: 14px; color: var(--cat-muted); text-align: right; }
.cat-tabs { padding: 0 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; border-bottom: 1px solid var(--cat-line); }
.cat-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--cat-muted); padding: 10px 0 12px; }
.cat-tabs button[aria-pressed="true"] { border-bottom-color: #dcbde4; color: #ecd7ed; }
.cat-save-indicator { margin-left: auto; font-size: 13px; color: #bdc8b0; }
.cat-feedback { padding: 10px 28px; min-height: 39px; display: flex; gap: 12px; align-items: center; }
.cat-feedback:has(.cat-message:not(:empty)) { position: sticky; top: 0; z-index: 2; background: #22202af5; border-bottom: 1px solid #45404b66; }
.cat-message { font-size: 14px; color: #c6d8b5; }
.cat-message.cat-error { color: #f5b5ac; }
.cat-feedback button { padding: 3px 10px; font-size: 14px; }
.cat-home-page { padding: 0 28px 24px; }
.cat-adoption { display: grid; grid-template-columns: .9fr 1.1fr; background: #2c2833; border: 1px solid var(--cat-line); border-radius: 15px; overflow: hidden; }
.cat-adoption-intro { padding: 30px; background: #e5d6bd; color: #463745; position: relative; overflow: hidden; }
.cat-pill { font: 11px 'JetBrains Mono', monospace; letter-spacing: 1px; border: 1px solid #66574666; border-radius: 20px; display: inline-block; padding: 7px 10px; }
.cat-adoption-intro h2 { font-size: 36px; line-height: 1.1; letter-spacing: -1.4px; margin: 23px 0 14px; }
.cat-adoption-intro > p { max-width: 230px; font-size: 15px; color: #66545c; }
.cat-adoption-art { width: 175px; margin: 6px auto 0; position: relative; }
.cat-adoption-art::before { content: ''; position: absolute; inset: 25% -5% 4%; border-radius: 50%; background: #cbbaae; }
.cat-adoption-art svg { position: relative; }
.cat-adoption-intro .cat-gentle-note { text-align: center; font-size: 13px; margin: 3px auto 0; }
.cat-adopt-form { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cat-adopt-form h2 { font-size: 23px; letter-spacing: -.7px; margin-top: -7px; }
.cat-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d5c9d5; }
.cat-field input, .cat-field select { font-size: 16px; color: #f5ece2; background: #24202b; border: 1px solid #5f5264; border-radius: 7px; padding: 10px; min-height: 41px; min-width: 0; width: 100%; }
.cat-field input::placeholder { color: #a497aa; }
.cat-adopt-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cat-adopt-form legend { font-size: 14px; margin-bottom: 7px; }
.cat-coats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.cat-coats label { position: relative; cursor: pointer; }
.cat-coats input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cat-coats label > span { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 5px 3px 9px; background: #37303e; border: 1px solid #514459; border-radius: 9px; }
.cat-coats input:checked + span { background: #524355; border-color: #e4bfdc; box-shadow: inset 0 0 0 1px #e4bfdc; }
.cat-coats input:focus-visible + span { outline: 2px solid #e6bdea; outline-offset: 3px; }
.cat-coats svg { width: 100%; max-width: 76px; margin: 4px 0 7px; border-radius: 50%; background: #d9cdbb; }
.cat-coats strong { font-size: 14px; font-weight: 500; text-align: center; line-height: 1.3; }
.cat-coats .cat-tail, .cat-coats .cat-eyes { animation: none; }
.cat-coats input:disabled + span { opacity: .6; cursor: default; }
.cat-coat-picker { margin-bottom: 16px; border-bottom: 1px solid var(--cat-line); padding-bottom: 12px; }
.cat-coat-picker summary { font-size: 16px; }
.cat-coat-picker fieldset { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.cat-coat-picker legend { font-size: 14px; color: var(--cat-muted); margin-bottom: 12px; }
.cat-coat-picker .cat-coats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat-small { color: var(--cat-muted); font-size: 14px; line-height: 1.65; }
.cat-owner-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 18px; }
.cat-name { font-size: 29px; line-height: 1.15; letter-spacing: -1px; overflow-wrap: anywhere; margin: 3px 0 4px !important; }
.cat-personality { color: var(--cat-muted); font-size: 14px; }
.cat-level { background: #3c3542; color: #e1c8e3; padding: 7px 11px; border-radius: 30px; font-size: 14px; white-space: nowrap; }
.cat-living { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr); gap: 25px; }
.cat-room-column { min-width: 0; }
.cat-room { position: relative; height: 290px; overflow: hidden; border-radius: 12px; background: linear-gradient(90deg, #cfbcb533 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(#e5d6c4 72%, #bfaaa0 72%, #c5b2a9 73%); border: 1px solid #d4c0b780; isolation: isolate; }
.cat-room::before { content: ''; position: absolute; left: 12%; top: 20%; width: 50%; height: 100%; background: #f6edc854; transform: skew(-35deg); }
.cat-room.is-night { background: linear-gradient(#9a8fa6 72%, #7c738f 72%); }
.cat-room.is-night::before { opacity: .2; }
.cat-room-window { position: absolute; left: 12%; top: 12%; width: 74px; height: 90px; border: 6px solid #f5e9d4; background: #a8cbd0; border-radius: 30px 30px 0 0; box-shadow: 3px 4px #927b7340; }
.cat-room-window::before, .cat-room-window::after { content: ''; position: absolute; background: #f5e9d4; }
.cat-room-window::before { top: 48%; left: 0; right: 0; height: 4px; }
.cat-room-window::after { top: 0; bottom: 0; left: 48%; width: 4px; }
.cat-room-window span { display: block; color: #fff4bb; font-size: 29px; line-height: 1; margin: 5px; }
.cat-room.is-night .cat-room-window { background: #6d709f; }
.cat-room-frame { position: absolute; top: 17%; right: 15%; width: 77px; height: 62px; padding: 4px; background: #faf0d9; border: 5px solid #9f806c; box-shadow: 2px 3px #80646333; transform: rotate(4deg); }
.cat-room-frame > span { display: block; color: #7a695b; font: 9px/1.25 'JetBrains Mono', monospace; text-align: center; }
.cat-room-frame canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.cat-room-plant { position: absolute; right: 6%; bottom: 26%; font-size: 38px; }
.cat-room-plant::after { content: ''; display: block; position: relative; margin: -12px auto 0; width: 25px; height: 23px; background: #bb816e; border-radius: 0 0 7px 7px; }
.cat-room-rug { position: absolute; width: 60%; height: 18%; left: 20%; bottom: 7%; border-radius: 50%; background: #a493a6; border: 5px double #cbb7bd; }
.cat-room-pet { position: absolute; width: 180px; bottom: 9%; left: calc(50% - 90px); }
.cat-room-toy { position: absolute; bottom: 11%; right: 17%; font-size: 22px; transform: rotate(10deg); }
.cat-room-reaction { position: absolute; left: calc(50% + 40px); top: 32%; font-size: 29px; color: #af627d; opacity: 0; }
.cat-reacting .cat-room-reaction { animation: cat-love 2s ease-out; }
.cat-reacting .cat-head { animation: cat-nuzzle .4s ease-in-out 3; transform-origin: 100px 110px; }
.cat-room-caption { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-top: 10px; color: var(--cat-muted); }
.cat-mood { color: #c5d6b4; }
.cat-care h3 { font-size: 20px; margin: 3px 0 16px; letter-spacing: -.3px; }
.cat-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cat-needs label > span { font-size: 13px; display: flex; justify-content: space-between; gap: 5px; color: #d0c6d4; }
.cat-needs output { color: #c9bfd2; font: 12px 'JetBrains Mono', monospace; }
.cat-needs meter { display: block; width: 100%; height: 11px; margin-top: 3px; border: 0; background: transparent; }
.cat-needs meter::-webkit-meter-bar { background: #47404e; border: 0; border-radius: 4px; }
.cat-needs meter::-webkit-meter-optimum-value { background: #b7c69e; border-radius: 4px; }
.cat-needs meter::-webkit-meter-suboptimum-value { background: #d2b894; border-radius: 4px; }
.cat-needs meter::-webkit-meter-even-less-good-value { background: #d69e9b; border-radius: 4px; }
.cat-care-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 22px; }
.cat-care-actions button { position: relative; display: flex; align-items: center; flex-direction: column; gap: 5px; padding: 10px 4px 8px; min-height: 80px; background: #393240; }
.cat-care-actions button > span { font-size: 24px; line-height: 1.2; color: #ecc0d6; }
.cat-care-actions strong { font-size: 14px; font-weight: 500; }
.cat-care-actions small { position: absolute; top: -10px; right: -2px; background: #574b61; border-radius: 8px; padding: 0 4px; font-size: 12px; }
.cat-care-actions small:empty { display: none; }
.cat-sleep-note { margin-top: 13px !important; }
.cat-bond { margin: 23px 0; padding: 14px 16px; background: #302c35; border: 1px solid var(--cat-line); border-radius: 10px; display: flex; align-items: center; gap: 13px; }
.cat-bond > span { font-size: 28px; color: #d6adce; }
.cat-bond strong { font-size: 15px; font-weight: 500; }
.cat-bond p { color: var(--cat-muted); font-size: 13px; margin-top: 3px; }
.cat-bond-progress { margin-left: auto; width: 100px; min-width: 60px; height: 5px; border: 0; border-radius: 5px; background: #514554; }
.cat-bond-progress::-webkit-progress-bar { background: #514554; border-radius: 5px; }
.cat-bond-progress::-webkit-progress-value { background: #d6adce; border-radius: 5px; }
.cat-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cat-setting { padding: 17px; border: 1px solid var(--cat-line); border-radius: 10px; }
.cat-setting h3 { font-size: 18px; margin: 4px 0 10px; font-weight: 500; }
.cat-setting .cat-field { margin-bottom: 13px; }
.cat-toggle { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.cat-toggle input { width: 17px; height: 17px; flex-shrink: 0; accent-color: #c7dfb5; }
.cat-button-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.cat-button-row button { font-size: 13px; padding: 8px 10px; }
.cat-park-setting { grid-column: 1 / -1; background: #2a302d; border-color: #455146; }
.cat-park-setting .cat-toggle { margin-top: 13px; }
.cat-recovery, .cat-restore { margin-top: 18px; padding: 14px 0 0; border-top: 1px solid var(--cat-line); color: var(--cat-muted); font-size: 14px; }
.cat-home summary { cursor: pointer; padding: 4px 0; color: #e1cedf; }
.cat-recovery p, .cat-restore p { margin: 13px 0; max-width: 600px; }
.cat-recovery-code { font: 14px 'JetBrains Mono', monospace !important; }
.cat-restore-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; max-width: 650px; }
.cat-restore-form > p { grid-column: 1 / -1; margin-bottom: 0; }
.cat-restore-form > button { font-size: 14px; min-height: 41px; }
.cat-park-page { padding: 0 28px 24px; }
.cat-park-banner { padding: 27px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 225px; border-radius: 13px; background: #b8c6a5; color: #374539; position: relative; overflow: hidden; }
.cat-park-banner .cat-eyebrow { color: #4a5a43; font-size: 11px; }
.cat-park-banner h2 { font-size: 35px; line-height: 1.1; letter-spacing: -1px; margin: 12px 0 13px; }
.cat-park-banner p:last-child { color: #4c5c47; font-size: 14px; }
.cat-park-illustration { width: 230px; padding: 25px 25px 0; border-radius: 50% 50% 4px 4px; background: #d6d4b566; align-self: end; margin-bottom: -27px; position: relative; }
.cat-park-illustration > span { position: absolute; top: 0; right: 0; font-size: 45px; color: #f6e9b0; }
.cat-park-heading { margin: 26px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-park-heading h3 { font-size: 17px; font-weight: 500; }
.cat-park-heading button { font-size: 14px; }
.cat-park-message { color: var(--cat-muted); font-size: 15px; padding: 0 0 14px; }
.cat-park-message:empty { display: none; }
.cat-park-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.cat-home .cat-park-card { display: flex; flex-direction: column; padding: 0 0 14px; text-align: left; overflow: hidden; background: #2d2933; border-color: var(--cat-line); }
.cat-card-scene { display: block; width: 100%; background: linear-gradient(#cbc7b5 80%, #b4b89d 80%); position: relative; padding: 15px 20px 0; }
.cat-park-card:nth-child(3n+2) .cat-card-scene { background: linear-gradient(#cdbcc0 80%, #b6a7b4 80%); }
.cat-park-card:nth-child(3n+3) .cat-card-scene { background: linear-gradient(#b8c7ca 80%, #a4b5b0 80%); }
.cat-card-art { display: block; max-width: 155px; margin: auto; }
.cat-card-flower { position: absolute; bottom: 12px; right: 14px; color: #f9eacb; font-size: 30px; }
.cat-card-name { font-size: 17px; margin: 14px 14px 2px; font-weight: 600; overflow-wrap: anywhere; }
.cat-card-personality { font-size: 13px; color: var(--cat-muted); margin: 0 14px 14px; }
.cat-card-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: auto 14px 0; font-size: 12px; color: #c9b2cb; }
.cat-card-footer strong { font-weight: 500; color: #c6d5b6; }
.cat-load-more { display: block; margin: 22px auto 0; }
.cat-park-footer { color: var(--cat-muted); text-align: center; font-size: 13px; margin-top: 25px !important; }
.cat-visitor { max-width: 500px; margin: 0 auto 25px; padding: 15px; background: #34303c; border: 1px solid #79667e; border-radius: 13px; }
.cat-visitor-heading { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 13px; }
.cat-visitor-heading h3 { font-size: 17px; overflow-wrap: anywhere; }
.cat-visitor-heading p { color: var(--cat-muted); font-size: 13px; }
.cat-visitor-heading button { font-size: 13px; flex-shrink: 0; padding: 4px 9px; align-self: start; }
.cat-visitor > button { margin-top: 13px; }
.cat-wave-message { font-size: 14px; color: #dec6da; margin-top: 9px !important; }
.cat-art { width: 100%; height: auto; display: block; overflow: visible; }
.cat-tail { transform-origin: 148px 157px; animation: cat-tail 4s ease-in-out infinite; }
.cat-eyes { transform-origin: 100px 78px; animation: cat-blink 6s infinite; }
.cat-closed-eyes, .cat-zzz { display: none; }
.is-sleeping .cat-eyes { display: none; }
.is-sleeping .cat-closed-eyes, .is-sleeping .cat-zzz { display: block; }
.is-sleeping .cat-body { transform-origin: center bottom; animation: cat-breathe 4s ease-in-out infinite; }
.is-sleeping .cat-tail { animation: none; }
.desktop-companion { position: fixed; z-index: 102; left: calc(100vw - 160px); bottom: calc(var(--taskbar-height) - 2px); width: 132px; display: flex; align-items: end; transition: left 3.2s ease-in-out; pointer-events: none; }
.desktop-companion button { pointer-events: auto; border: 0; padding: 0; background: transparent; cursor: pointer; }
body:has(.cat-home-window:not(.minimized)) .desktop-companion { display: none; }
.desktop-cat { position: relative; width: 105px; min-width: 105px; filter: drop-shadow(0 3px 2px #271d3033); }
.desktop-cat-art { display: block; }
.desktop-cat-name { position: absolute; bottom: 96%; left: 50%; transform: translateX(-50%); white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; padding: 4px 9px; border-radius: 10px; background: #34293be8; color: #fae8ef; font: 13px 'Inter', sans-serif; opacity: 0; transition: opacity .2s; }
.desktop-cat:hover .desktop-cat-name, .desktop-cat:focus-visible .desktop-cat-name { opacity: 1; }
.desktop-companion button:focus-visible { outline: 2px solid #e6bdea; border-radius: 15px; }
.desktop-yarn { font-size: 23px; margin-bottom: 6px; }
.desktop-yarn:disabled { opacity: .6; cursor: default; }
.is-walking .desktop-cat-art { animation: cat-walk .4s ease-in-out infinite; }
.is-playing .desktop-yarn { animation: cat-yarn .5s ease-in-out 6; }
@keyframes cat-tail { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(7deg); } }
@keyframes cat-blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.1); } }
@keyframes cat-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.97); } }
@keyframes cat-walk { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes cat-yarn { 50% { transform: translateY(-14px) rotate(70deg); } }
@keyframes cat-love { 0% { opacity: 0; transform: translateY(15px) scale(.6); } 20%, 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px) scale(1.15); } }
@keyframes cat-nuzzle { 50% { transform: rotate(-5deg); } }
@container (max-width: 700px) {
    .cat-home-header { padding: 18px 20px; }
    .cat-home-header > p { display: none; }
    .cat-tabs { padding: 0 20px; }
    .cat-feedback { padding: 10px 20px; }
    .cat-home-page, .cat-park-page { padding: 0 20px 20px; }
    .cat-adoption-intro { padding: 23px; }
    .cat-adoption-intro h2 { font-size: 29px; }
    .cat-adopt-form { padding: 22px; }
    .cat-coats { grid-template-columns: 1fr 1fr; }
    .cat-coats svg { max-width: 60px; }
    .cat-living { grid-template-columns: 1fr; gap: 22px; }
    .cat-room { height: 280px; }
    .cat-care-actions { margin-top: 18px; }
    .cat-settings-grid { gap: 12px; }
    .cat-park-grid { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 460px) {
    .cat-home-header { padding: 18px 15px 15px; }
    .cat-brand-mark { width: 42px; height: 42px; font-size: 23px; }
    .cat-brand h1 { font-size: 25px; }
    .cat-brand .cat-eyebrow { font-size: 11px; letter-spacing: 1px; }
    .cat-tabs { padding: 0 15px; column-gap: 20px; row-gap: 0; }
    .cat-save-indicator { flex-basis: 100%; margin-left: 0; padding-bottom: 8px; }
    .cat-care-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-tabs button { font-size: 15px; }
    .cat-save-indicator { font-size: 13px; }
    .cat-feedback { padding: 9px 15px; }
    .cat-home-page, .cat-park-page { padding: 0 15px 20px; }
    .cat-adoption { grid-template-columns: 1fr; }
    .cat-adoption-intro { min-height: 210px; padding: 20px; }
    .cat-adoption-intro h2 { font-size: 27px; margin: 14px 0 8px; position: relative; z-index: 1; }
    .cat-adoption-intro > p { max-width: calc(100% - 82px); font-size: 13px; position: relative; z-index: 1; }
    .cat-adoption-art { position: absolute; width: 90px; right: 3px; bottom: 0; }
    .cat-adoption-intro .cat-gentle-note { display: none; }
    .cat-pill { font-size: 11px; padding: 5px 7px; }
    .cat-adopt-form { padding: 22px 18px; }
    .cat-coats { grid-template-columns: 1fr 1fr; gap: 9px; }
    .cat-coats strong { font-size: 14px; }
    .cat-coats label > span { padding: 5px 1px 7px; }
    .cat-owner-heading { align-items: start; flex-wrap: wrap; }
    .cat-level { font-size: 13px; padding: 6px 9px; margin-top: 0; }
    .cat-name { font-size: 26px; }
    .cat-room { height: 240px; }
    .cat-room-pet { width: 150px; left: calc(50% - 75px); }
    .cat-room-window { width: 60px; height: 75px; left: 9%; }
    .cat-room-frame { right: 11%; top: 15%; width: 67px; height: 55px; }
    .cat-room-frame > span { font-size: 8px; }
    .cat-room-caption { font-size: 12px; flex-wrap: wrap; }
    .cat-bond { padding: 12px; gap: 10px; }
    .cat-bond-progress { width: 45px; min-width: 40px; }
    .cat-bond strong { font-size: 14px; }
    .cat-settings-grid { grid-template-columns: 1fr; }
    .cat-restore-form { grid-template-columns: 1fr; }
    .cat-park-banner { padding: 21px; min-height: 220px; }
    .cat-park-banner h2 { font-size: 27px; position: relative; z-index: 1; }
    .cat-park-banner .cat-eyebrow { max-width: 180px; font-size: 11px; }
    .cat-park-banner p:last-child { max-width: 140px; font-size: 13px; position: relative; z-index: 1; }
    .cat-park-illustration { width: 110px; position: absolute; right: -20px; bottom: 27px; padding: 20px 12px 0; }
    .cat-park-illustration > span { top: -15px; right: 15px; font-size: 35px; }
    .cat-park-heading h3 { font-size: 18px; }
    .cat-park-heading button { font-size: 13px; padding: 7px 9px; }
    .cat-park-grid { gap: 10px; }
    .cat-card-scene { padding: 8px 8px 0; }
    .cat-card-name { margin: 10px 10px 2px; font-size: 16px; }
    .cat-card-personality { margin: 0 10px 10px; font-size: 13px; }
    .cat-card-footer { margin: auto 10px 0; font-size: 12px; }
    .cat-card-flower { font-size: 19px; right: 7px; }
    .cat-visitor { padding: 10px; }
    .cat-visitor-heading { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    body:has(.window:not(.minimized)) .desktop-companion { display: none; }
    .cat-home-window { min-width: min(300px, calc(100vw - 12px)); max-width: calc(100vw - 12px); max-height: calc(100dvh - var(--taskbar-height) - 16px); }
    .desktop-companion { width: 104px; }
    .desktop-cat { width: 80px; min-width: 80px; }
    .desktop-yarn { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .cat-home *, .desktop-companion, .desktop-companion * { animation: none !important; transition: none !important; }
    .cat-reacting .cat-room-reaction { opacity: 1; }
}
