/* Per-platform information and future business selection. */
.version-panel,.resource-panel{margin:35px 0;padding:32px;border:1px solid #3b5e62;border-radius:15px;background:linear-gradient(130deg,#142b30,#112030)}.version-panel h2,.resource-panel h2{font-size:30px}.release-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;margin-top:25px}.release-grid article{border:1px solid #4c6670;background:#10242b;padding:25px;border-radius:11px}.release-grid h3{font-size:25px;margin-bottom:17px}.release-access{display:inline-block;color:#c6f0de;background:#1d4437;border:1px solid #487a63;border-radius:30px;padding:7px 11px;font-size:11px;line-height:1.7;margin-bottom:20px}.release-grid article>p{font-size:13px;color:#b3cbd5;margin:12px 0}.release-grid dl{font-size:12px;color:#b2c8d2;line-height:1.9;border-top:1px solid #38545e;padding-top:15px}.release-grid dd{margin:5px 0 0;color:#e1edf0}.release-grid .inline-link{display:inline-block;margin-top:14px}.version-languages{margin-top:25px;font-size:12px;color:#bdd4d8}.product-history{border-top:1px solid #35475f;margin:40px 0;padding:30px 0}.product-history h2{font-size:29px;margin:14px 0}.product-history article{border-left:2px solid #52816f;padding:5px 23px;margin:25px 0}.product-history time{font-size:11px;color:#b8cedb}.product-history h3{font-size:22px;margin:15px 0}.product-history p{font-size:14px;color:#adc0d4;line-height:1.9;max-width:850px}.product-history .micro{font-size:12px}.dedicated-links{margin:20px 0 40px}.resource-choices{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.resource-choices button{min-height:46px;padding:12px 17px;border:1px solid #526d81;background:#14283c;color:#d3e3f4;border-radius:8px;font-size:13px}.resource-choices button[aria-pressed=true]{background:var(--mint);color:#133c30;border-color:var(--mint)}#resource-choice-result>p{font-size:14px;color:#bbd1d3;margin:20px 0}.resource-panel .micro{margin:25px 0 20px}.module-detail{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:25px 0}.module-detail article{background:#122b27;border:1px solid #406455;border-radius:13px;padding:30px}.module-detail h2{font-size:29px}.module-detail p{color:#b7cfc8;font-size:14px;margin:20px 0;line-height:1.9}.module-detail .micro{font-size:12px}.business-module .inline-link{color:#1c614e;display:inline-block;margin-top:25px}.comparison-scroll{overflow-x:auto;border:1px solid #405b65;border-radius:12px}.comparison-table{border-collapse:collapse;width:100%;min-width:680px;background:#11252d;color:#cfe0e9;text-align:left;font-size:14px}.comparison-table caption{text-align:left;padding:20px;background:#1b3440;font-weight:650;color:#e3f0f1}.comparison-table th,.comparison-table td{padding:20px;border-bottom:1px solid #38525d;line-height:1.7}.comparison-table th{font-weight:600;font-size:12px;color:#9ee3d1}.comparison-table a{text-decoration:underline;text-underline-offset:5px}.selection-panel{margin:35px 0;padding:32px;background:#14263b;border:1px solid #425d7a;border-radius:14px}.selection-panel h2{font-size:29px;margin-bottom:20px}.selection-panel p{font-size:14px;color:#b6cbdc;line-height:1.9}.selection-panel h3{font-size:23px;margin:20px 0}.selection-panel li{color:#cee0ed;font-size:14px;padding:8px 0;line-height:1.8}.selection-panel .micro{font-size:12px;margin-top:23px}.business-module{display:flex;flex-direction:column}.business-module .inline-link{margin-top:auto;padding-top:23px}
@media(max-width:700px){.module-detail{grid-template-columns:1fr}.version-panel,.resource-panel,.selection-panel{padding:25px}.release-grid{grid-template-columns:1fr}.release-grid article{padding:23px}.version-panel h2,.resource-panel h2,.selection-panel h2{font-size:27px}}
@media(max-width:400px){.version-panel,.resource-panel,.selection-panel{padding:22px 18px}.release-grid article{padding:20px 17px}.resource-choices button{font-size:12px}}
/* Filter continuity, touch controls and narrow screens. */
.catalogue-controls{flex-wrap:wrap}.catalogue-controls #reset-catalogue{flex-shrink:0;text-align:left;color:#c3e4dc}.lifecycle-filters button:disabled{opacity:.45;cursor:default}.button,.site-header nav a,.inline-link,.text-button{overflow-wrap:anywhere}.version-panel dl dd,.release-grid .inline-link{overflow-wrap:anywhere}.product-info .card-meta{align-items:start}.resource-choices button:focus-visible,.guide-options button:focus-visible{outline:3px solid var(--warm);outline-offset:4px}@media(max-width:540px){.catalogue-controls #reset-catalogue{padding-block:7px}.release-access{max-width:100%;white-space:normal}.gallery-toolbar h2{line-height:1.5}.footer-bottom a{padding-block:6px}.comparison-scroll{scrollbar-color:#7bcbb7 #142c35}.comparison-table caption{font-size:14px}}

.status-planned{background:#24364d;color:#dcecff;border-color:#6c8aac}.status-paused{background:#3d3020;color:#ffe2af;border-color:#b69157}.status-archived{background:#30313d;color:#e5e4ee;border-color:#878694}.product-news details,.product-history details{margin-top:24px}.product-news summary,.product-history summary{cursor:pointer;min-height:44px;padding:12px 0;color:#b9eddc}.product-news article{margin:20px 0;padding:20px;border:1px solid #3c5665;border-radius:12px}input,select,textarea{max-width:100%}.product-info,.release-grid article{min-width:0;overflow-wrap:anywhere}.release-grid dd{margin-left:0}#platform-filter{width:100%;min-height:44px;padding:12px;border:1px solid #587089;border-radius:7px;background:#102033;color:#edf4ff;font:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #ffdda6;outline-offset:4px}

.language-fallback{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;text-decoration:underline;text-underline-offset:4px}

/* Responsive comfort: retain zoom, reserve safe areas and support touch input. */
html{scroll-padding-block:24px}
.site-header,main,.site-footer{min-width:0}
main h1,main h2,main h3,.brand,.footer-top>p{overflow-wrap:anywhere}
.products-grid>*,.hero>*,.product-detail>*,.detail-content>*,.help-layout>*{min-width:0}
#studio-search-dialog,#gallery-dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
.studio-search-heading,.gallery-toolbar{position:sticky;top:0;z-index:2;background:#132038}
.studio-search-heading{padding:12px 0}
.studio-search-heading button,.gallery-toolbar button{flex-shrink:0;min-width:44px;min-height:44px}
.studio-search-result strong,.studio-search-result small{overflow-wrap:anywhere}
.comparison-scroll{overscroll-behavior-x:contain}
@media(max-width:1180px){
 .language-picker select,#menu-toggle{min-height:44px;min-width:44px}
 .site-header nav a{white-space:normal}
}
@media(max-width:820px){
 /* A readable field size avoids automatic focus zoom in mobile Safari. */
 main input,main textarea,main select,.language-picker select,.catalogue-controls input,.faq-controls input,.help-form-panel input,.help-form-panel textarea,.help-form-panel select{font-size:16px}
 .site-header,main,.site-footer{width:calc(100% - max(16px,env(safe-area-inset-left,0px)) - max(16px,env(safe-area-inset-right,0px)))}
 .mobile-quicknav{left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px))}
 input,textarea,select{scroll-margin-block:24px 110px;max-width:100%}
 .studio-search-heading{gap:10px;align-items:flex-start}
 .studio-search-heading h2{margin-block:6px}
}
@media(max-width:540px){
 .gallery-toolbar{padding:12px;gap:12px;align-items:flex-start}
 .gallery-toolbar h2{font-size:17px;overflow-wrap:anywhere}
 .gallery-controls{padding:12px;gap:12px;flex-wrap:wrap}
 .gallery-bottom{padding:16px;flex-wrap:wrap;gap:12px}
 #gallery-stage{padding:12px}
 .practical-panel dl>div{min-width:0}
 .practical-panel dd{overflow-wrap:anywhere}
 .deliverable-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 .hero-copy h1,.page-heading h1,.product-detail .page-heading h1{font-size:clamp(30px,10vw,40px)}
 .deliverable-list{grid-template-columns:1fr}
 .footer-actions{flex-wrap:wrap}
}
@media(max-height:540px) and (orientation:landscape){
 #gallery-image{max-height:48dvh}
 #studio-search-dialog,#gallery-dialog{margin-block:8px;max-height:calc(100dvh - 16px)}
}
@media(hover:none) and (pointer:coarse){
 .button,.filter-group button,.lifecycle-filters button,.faq-filters button,.resource-choices button{min-height:48px}
 .product-card:hover,.guide-choice:hover{transform:none}
}

/* In-page navigation does not occupy the viewport while scrolling. */
.product-section-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin:28px 0;border:1px solid #3e5a6e;border-radius:14px;background:linear-gradient(120deg,#13283b,#102a2e)}
.product-section-nav .micro{margin-top:8px;color:#bfd0dc;font-size:12px}
.product-section-buttons{display:flex;flex-wrap:wrap;gap:8px}
.product-section-buttons button{min-height:46px;padding:12px 15px;border:1px solid #52798a;border-radius:9px;background:#172f42;color:#e4f2f5;font:inherit;font-size:13px;line-height:1.4}
.product-section-buttons button:hover{background:#24485a;border-color:#91e6d0}
#product-features,#product-visuals,#product-access,#product-help{scroll-margin-top:24px}
#product-features:focus-visible,#product-visuals:focus-visible,#product-access:focus-visible,#product-help:focus-visible{outline:3px solid var(--warm);outline-offset:5px}
@media(max-width:820px){.product-section-nav{align-items:stretch;flex-direction:column;gap:16px;padding:22px}.product-section-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.product-section-buttons button{min-height:48px;overflow-wrap:anywhere;text-align:left}}
@media(max-width:360px){.product-section-nav{padding:18px}.product-section-buttons{grid-template-columns:1fr}}

/* Animation remains a separate studio creation, outside Android product lists. */
.animation-spotlight{display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:center;padding:28px;border:1px solid #3f617b;border-radius:20px;background:linear-gradient(120deg,#152841,#10252b);margin:45px 0}
.animation-spotlight h2{margin:16px 0}.animation-spotlight p:not(.eyebrow){color:#bdd0e2;font-size:15px}.animation-spotlight .micro{font-size:12px!important;margin:18px 0 23px}
.animation-preview{display:block;border-radius:13px;overflow:hidden}.animation-preview img{width:100%;height:auto}.animation-preview:focus-visible{outline-offset:5px}
.animation-hero{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:36px;padding:35px 0}
.animation-logo{width:100px;height:100px;border-radius:50%;border:1px solid #547698}.animation-hero .page-heading{padding-top:25px}.animation-hero .page-heading h1{font-size:clamp(32px,4vw,52px);overflow-wrap:anywhere}.animation-hero .micro{font-size:12px;color:#b4cddc;line-height:1.8}.animation-hero-art{width:100%;height:auto;border-radius:16px;border:1px solid #43647b}
.animation-worlds-intro{color:#bdd0e2;margin-bottom:25px}.animation-worlds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.animation-world{min-width:0;border:1px solid #48617b;border-radius:15px;overflow:hidden;background:#12253b}.animation-world>img{width:100%;height:240px;object-fit:cover}.animation-world>div:not(.animation-garden-art){padding:27px}.animation-world h3{font-size:26px;overflow-wrap:anywhere}.animation-world p{font-size:14px;color:#bdd0df;line-height:1.8;margin-top:18px}
.animation-garden-art{height:240px;position:relative;overflow:hidden;background-color:#193827}
.animation-garden-art img{position:absolute;right:0;top:50%;transform:translateY(-50%);width:300%;max-width:none;height:auto}
.animation-parent-panel{margin:25px 0 45px;padding:30px;border:1px solid #386258;border-radius:15px;background:#102a29}.animation-parent-panel h2{margin:15px 0}.animation-parent-panel p:not(.eyebrow){max-width:820px;color:#bbd3cd;margin-bottom:24px;font-size:14px}
@media(max-width:820px){.animation-spotlight,.animation-hero{grid-template-columns:1fr;gap:25px}.animation-spotlight{padding:22px}.animation-hero{padding-top:25px}.animation-hero-art{max-width:720px}.animation-worlds{grid-template-columns:1fr}.animation-world>img,.animation-garden-art{height:240px}.animation-parent-panel{padding:24px}}
@media(max-width:400px){.animation-world>div:not(.animation-garden-art){padding:22px}.animation-world h3{font-size:23px}.animation-spotlight{padding:18px}.animation-world>img,.animation-garden-art{height:190px}}

/* Give the expanded main navigation enough room before switching to its menu. */
@media(max-width:1320px){
 .site-header{flex-wrap:wrap}
 .site-header .brand{margin-right:auto}
 .site-header nav{display:none;width:100%;order:4;padding-bottom:20px;flex-direction:column;align-items:stretch}
 .site-header nav.open{display:flex}
 .site-header nav a{font-size:15px;padding:14px;white-space:normal;min-height:44px}
 .site-header nav .nav-support{margin:8px 0 0}
 .header-search-button{order:1}
 .language-picker{order:2}
 .language-picker select{min-height:44px;min-width:44px}
 #menu-toggle{display:block;order:3;min-height:44px;min-width:44px}
}

/* Keep the complete series banner, including its title, visible on every screen. */
.animation-world>img,.animation-garden-art{height:auto;aspect-ratio:16/9}
.animation-world>img{object-fit:contain}

/* Keep the primary navigation available while reading long pages. */
:root{--header-offset:104px}
html{scroll-padding-top:calc(var(--header-offset) + 20px)}
.site-header{position:sticky;top:0;z-index:40;background:#0a1120;box-shadow:0 10px 24px -16px #000c}
.help-sidebar,.behind-brand{top:calc(var(--header-offset) + 20px)}
@supports(backdrop-filter:blur(12px)){
 .site-header{background:#0a1120f5;backdrop-filter:blur(12px)}
}
@media(max-width:1320px){
 .site-header nav{max-height:calc(100vh - 124px);max-height:calc(100dvh - 124px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px}
}
@media(max-width:820px){
 :root{--header-offset:88px}
}
@media(max-height:500px){
 :root{--header-offset:72px}
 .site-header{min-height:72px}
}
@media(max-width:1320px) and (max-height:500px){
 .site-header nav{max-height:calc(100vh - 92px);max-height:calc(100dvh - 92px)}
}

/* Optional detail stays next to the contact form without interrupting the request. */
.contact-data-information{margin:18px 0 22px;padding:16px 18px;border:1px solid #456170;border-radius:10px;background:#102335}
.contact-data-information summary{min-height:44px;line-height:1.6;color:#b8e8dc;font-size:14px;padding:10px 0;cursor:pointer}
.contact-data-information summary:focus-visible{outline:3px solid var(--warm);outline-offset:3px}
.contact-data-information h3{font-size:18px;margin:20px 0 10px;letter-spacing:normal}
.contact-data-information p{color:#c3d4e1;font-size:14px;line-height:1.8;margin-top:10px}

/* Keep the footer signature on one line when the desktop layout has room. */
@media(min-width:1181px){
 .footer-top{grid-template-columns:auto minmax(0,1fr) auto;gap:32px}
 .footer-top>p{max-width:none;justify-self:center;white-space:nowrap;overflow-wrap:normal}
}
