/* Layout is recomposed on smaller screens, never globally scaled down. */
@media(min-width:1500px){.home-view{column-gap:4%}.cat-stage{height:390px}}
@media(max-width:1150px) and (min-width:761px){.official-shell{padding:0 28px}.home-view{grid-template-columns:.82fr 1.1fr 1fr;column-gap:2%}.home-copy h1{font-size:36px}.home-copy>p{font-size:16px}.home-links .primary-button{font-size:13px;padding:12px 15px}.home-links .text-button{font-size:13px}.cat-actions{gap:4px}.cat-actions button{font-size:11px;padding:8px}.cat-greeting span{font-size:16px}.gallery-link{max-width:125px;white-space:normal;font-size:12px}.cat-picker button{height:68px}.cat-picker img{width:45px;height:45px}.setup-link{grid-column:1;grid-row:2;align-self:start;font-size:13px}.section-2{gap:4%;grid-template-columns:.8fr 1.3fr}}
@media(max-height:740px) and (min-width:761px){.official-shell{grid-template-rows:74px minmax(0,1fr) 40px}.official-main{padding:20px 0}.home-view{grid-template-rows:minmax(0,1fr) 82px;row-gap:10px}.cat-picker button{height:68px}.cat-picker img{width:46px;height:46px}.cat-stage{height:265px;min-height:180px}.cat-greeting{margin:4px 0 10px}.cat-greeting span{font-size:17px}.commerce-cat img{width:110px}}
@media(max-width:760px){
 .official-shell{grid-template-rows:116px minmax(0,1fr) 44px;padding:0 20px}.official-header{flex-wrap:wrap;gap:0;align-content:center;position:relative}.wordmark{font-size:26px;height:61px}.wordmark img{width:35px;height:35px}.header-tools{margin-left:auto;gap:12px}.motion-switch{width:35px;height:35px}.primary-nav{order:3;width:100%;height:49px;gap:0;justify-content:space-between}.primary-nav button{font-size:13px;min-height:44px;padding:0 2px}.primary-nav button:after{bottom:4px;left:0;right:0}.official-main{padding:16px 0;overflow:hidden}.official-footer{font-size:10px;gap:5px}.official-footer>span{display:none}.official-footer>div{width:100%;justify-content:space-between;gap:12px}.official-footer button{font-size:11px}.home-view{grid-template-columns:1fr;grid-template-rows:auto 40px minmax(0,1fr) 68px;gap:7px;align-items:stretch}.home-copy{align-self:start}.home-copy h1{font-size:clamp(30px,7.7vw,40px);line-height:1.3;white-space:normal}.home-copy h1 br{display:none}.home-copy>p{font-size:14px;margin:10px 0 0}.home-links{display:none}.home-pane-switch{display:flex;gap:22px;align-items:center;margin-top:4px}.home-pane-switch button{font-size:12px;min-height:36px;border-bottom:2px solid transparent;padding:0 2px}.home-pane-switch button[aria-pressed=true]{border-color:var(--green);font-weight:700;color:var(--green)}.home-cats{grid-row:3;grid-column:1;display:flex;min-height:0;height:100%;justify-content:center}.home-view[data-home-pane="1"] .home-cats{display:none}.cat-stage{min-height:90px;height:100%;max-height:calc(100% - 101px);width:100%;max-width:370px;margin:0 auto}.cat-sunlight{width:65%;left:18%;height:95%;aspect-ratio:auto}.hero-live{width:auto;height:100%;left:50%;transform:translateX(-50%);max-height:290px;aspect-ratio:1}.cat-neighbor{width:41%;max-height:75%;object-fit:contain;bottom:6%}.neighbor-left{left:-1%}.neighbor-right{right:-1%}.cat-greeting{margin:4px 0 9px}.cat-greeting strong{font-size:14px;margin-bottom:2px}.cat-greeting span{font-size:17px}.cat-actions{gap:8px}.cat-actions button{font-size:12px;min-height:40px;padding:8px 14px}.home-cat-dock{grid-row:4;grid-column:1;gap:8px;position:relative;min-width:0;padding-top:3px}.gallery-link{display:none}.cat-picker{overflow-x:auto;justify-content:flex-start;scrollbar-width:thin;gap:3px;padding-bottom:2px}.cat-picker button{flex-shrink:0;width:51px;height:58px;min-width:46px}.cat-picker img{width:41px;height:41px}.cat-picker span{font-size:10px}.setup-link{font-size:14px}.cat-portrait{padding:5px 8px 13px}.cat-portrait strong{font-size:15px}.cat-portrait span{font-size:11px}.integration-view,.mcp-view{padding:16px}.integration-project{font-size:16px;padding:14px}.integration-detail{grid-template-columns:1fr;margin-top:15px;gap:10px}.integration-tasks,.integration-files{padding:9px 12px}.integration-detail div>div{min-height:36px}.integration-view>p{margin-top:12px}.mcp-view h2{font-size:23px}.mcp-flow{margin:22px 0}.mcp-flow p{font-size:12px}.mcp-view blockquote{font-size:18px;padding:16px}.mcp-note{font-size:13px;margin-top:18px}
 .section-2{display:block;overflow:auto;scrollbar-width:thin}.section-heading{overflow:visible}.section-heading h1{font-size:33px}.section-heading h1 br{display:none}.section-heading>p:not(.product-category){font-size:15px;line-height:1.8;margin-top:15px}.section-heading .product-category{display:none}.contact-heading .commerce-cat{display:none}.contact-heading>.text-button{margin:14px 0;font-size:14px}.contact-letter{padding:22px}.contact-letter h2{font-size:24px}.contact-workspace{overflow:visible;padding-bottom:16px}.feedback-tips{padding-top:24px}
 .official-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:18px;border-radius:12px}.dialog-heading{gap:10px;margin-bottom:18px;padding-bottom:12px}.dialog-heading h2{font-size:16px}.dialog-tools{gap:9px}.dialog-tools>button{font-size:12px}.dialog-tools .icon-button{width:35px;height:35px}.dialog-product,.dialog-api-native{height:calc(100dvh - 20px)}.large-product{width:100%;min-width:0}.dialog-cats .cat-gallery{grid-template-columns:repeat(2,1fr);gap:10px}.cat-gallery-intro{display:block;margin:0 0 20px}.cat-gallery-intro h2{font-size:24px}.cat-gallery-intro p{font-size:13px;line-height:1.7;margin-top:10px}.legal-intro>div{gap:8px;margin-bottom:15px}.legal-intro>p{font-size:12px}.legal-intro>div>span{font-size:11px}.legal-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:18px}.legal-toc{display:none}.mobile-legal-select{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.mobile-legal-select select{padding:10px;background:var(--white);border:1px solid var(--line);font-size:14px;border-radius:6px}.legal-article h3{font-size:24px}.legal-article p{font-size:15px;line-height:1.9}.legal-intro>span{font-size:11px}
}
@media(max-width:760px) and (max-height:740px){.official-shell{grid-template-rows:105px minmax(0,1fr) 38px}.official-main{padding:12px 0}.home-view{grid-template-rows:auto 35px minmax(0,1fr) 60px;gap:4px}.home-copy h1{font-size:30px;line-height:1.3}.home-copy>p{font-size:13px;margin-top:5px}.cat-greeting span{font-size:16px}.cat-greeting strong{font-size:13px}.cat-actions button{min-height:36px;padding:6px 11px}.cat-stage{max-height:calc(100% - 87px)}.cat-greeting{margin:3px 0 6px}.home-cat-dock{padding-top:1px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:760px){.home-view{grid-template-columns:minmax(0,1fr)}.home-view>*{min-width:0}.cat-actions{gap:5px}.cat-actions button{flex:1;min-width:0;white-space:normal;font-size:12px;padding:7px 8px}.neighbor-left{left:4%}.neighbor-right{right:4%}.cat-neighbor{width:38%}html[lang=en] .home-copy h1 br{display:block}html[lang=en] .cat-actions button{font-size:11px;padding:7px 6px}html[lang=en] .cat-actions .icon{width:15px;height:15px}}
