/* Studio-wide refinement: clearer hierarchy, artwork-led mobile pages, and navigable galleries. */
:root { --green:#6550bd; --line:#e5e0e9; scroll-padding-top:170px; }
.orbit-header { position:sticky; top:0; height:80px; max-width:none; padding-inline:max(6%,calc((100vw - 1268px)/2)); background:#fffdf9f2; backdrop-filter:blur(16px); z-index:30; }
.orbit-brand { font-size:24px; }
.orbit-header .orbit-mark { width:40px; height:40px; }
#orbit-nav>a { color:#534c60; }
.studio-hero { min-height:600px; padding-top:44px; padding-bottom:44px; gap:60px; }
.studio-hero h1 { font-size:clamp(58px,6vw,86px); line-height:1.03; letter-spacing:-.065em; }
.studio-hero h1>span { font-family:Georgia,serif; font-weight:400; font-style:italic; letter-spacing:-.06em; }
.hero-description { max-width:450px; font-size:17px; }
.hero-footnote { color:#76687c; }
.orbit-system { max-width:510px; }
.orbit-satellite>span { font-size:11px; white-space:normal; width:145%; line-height:1.3; }
.studio-strip { font-size:12px; }
.app-collection { padding:72px 0; }
.collection-heading h2 { letter-spacing:-.055em; }
.filter-row { gap:8px; }
.filter-button { background:transparent; border-color:transparent; }
.filter-button:not(.active):hover { background:#eee8fa; border-color:transparent; }
.filter-button.active { background:var(--green); border-color:var(--green); }
.app-grid { gap:32px; }
.app-card { border-color:#e8e2e9; box-shadow:0 5px 14px #36244604; }
.app-card:focus-within { outline:3px solid var(--app-accent); outline-offset:4px; }
.app-card-link:focus-visible { outline:none; }
.app-card:hover { transform:translateY(-4px); box-shadow:0 16px 30px #3d305015; }
.card-info { padding:27px 28px 25px; }
.card-info>p { font-size:15px; line-height:1.65; margin-bottom:23px; }
.card-identity h3 { font-size:27px; line-height:1.12; }
.card-link-label { border-top:1px solid color-mix(in srgb,var(--app-accent) 12%,white); padding-top:16px; }
.card-link-label>span { width:36px; height:36px; transition:transform .2s; }
.app-card:hover .card-link-label>span { transform:rotate(45deg); }
.app-scene { height:350px; }
.scene-invisible-ink { background:#dfcef7; }
.scene-invisible-ink .scene-image-0 { border-radius:26px; height:auto; width:51%; max-width:51%; transform:rotate(-6deg); filter:none; box-shadow:0 15px 30px #42235528; }
.app-card:hover .scene-invisible-ink .scene-image-0 { transform:rotate(-3deg) translateY(-4px); }
.scene-teddy-toy-match { background:#fae2d8; }
.scene-pup-pup-go { background:#ffedbd; }
.scene-glowfall { background:#d7ece6; }
.scene-neon-ninja { background:#c7e7f3; }
.scene-orbit { border-style:solid; opacity:.65; }
.studio-note { background:#eee8f8; padding:52px; }
.support-band { background:#f6dfc6; }
.product-hero { grid-template-columns:.88fr 1.12fr; grid-template-rows:auto auto; gap:8px 48px; padding:48px 0; min-height:570px; }
.product-copy { grid-column:1; grid-row:1; align-self:end; }
.product-detail { grid-column:1; grid-row:2; align-self:start; }
.product-scene { grid-column:2; grid-row:1 / span 2; height:470px; }
.product-hero h1 { font-size:clamp(44px,4.5vw,64px); line-height:1.04; margin-bottom:12px; text-wrap:balance; }
.product-identity { margin:14px 0 20px; }
.product-identity img { width:56px; height:56px; border-radius:15px; }
.product-tagline { font-size:23px; margin-bottom:15px; }
.product-description { font-size:16px; line-height:1.75; margin-bottom:0; }
.product-actions { gap:14px 20px; margin-top:24px; }
.product-scene.scene-invisible-ink .scene-image-0 { height:auto; width:52%; max-width:52%; }
.product-tabs { position:sticky; top:80px; z-index:15; background:#fffdf9f5; backdrop-filter:blur(12px); padding:12px 0; border-top:1px solid var(--line); }
.product-tabs>div { flex-wrap:nowrap; gap:20px; overflow-x:auto; scrollbar-width:none; }
.product-tabs>div::-webkit-scrollbar { display:none; }
.product-tabs a { min-height:40px; flex-shrink:0; white-space:nowrap; }
.product-content-heading { margin-top:38px; }
.current-release { display:block; padding:0; border:1px solid color-mix(in srgb,var(--app-accent) 16%,white); background:color-mix(in srgb,var(--app-tone) 45%,white); border-radius:16px; margin-top:28px; }
.current-release>summary { display:flex; align-items:center; gap:20px; min-height:70px; padding:16px 24px; cursor:pointer; list-style:none; }
.current-release>summary::-webkit-details-marker { display:none; }
.release-label { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:14px; font-weight:650; color:var(--app-accent); }
.release-version { background:white; border:1px solid #0000000b; padding:3px 8px; border-radius:6px; font-size:11px; margin-left:4px; }
.release-summary { margin-left:auto; font-size:13px; color:var(--muted); }
.release-expand { font-size:20px; color:var(--app-accent); transition:transform .2s; }
.current-release[open] .release-expand { transform:rotate(45deg); }
.release-body { border-top:1px solid color-mix(in srgb,var(--app-accent) 12%,white); display:grid; grid-template-columns:1fr 1.4fr; gap:30px; padding:24px; }
.current-release h2 { font-size:24px; }
.source-content>section { padding-block:48px; }
.source-content>section>h2,.source-content .section-header>h2 { max-width:760px; font-size:clamp(28px,3.2vw,39px); line-height:1.12; letter-spacing:-.04em; }
.source-content .eyebrow,.source-content .section-kicker,.source-content .section-label { font:650 11px/1.5 "Avenir Next",Avenir,sans-serif; letter-spacing:.08em; }
.source-content .source-overview { padding:22px 0; margin-top:25px; border-top:1px solid var(--line); }
.source-content .source-overview>summary { min-height:34px; color:var(--app-accent); font-weight:650; }
.source-overview .hero { padding-bottom:0; }
.source-content .app-store-badge { padding:0; background:transparent; border:0; border-radius:0; }
.source-content .app-store-badge img { margin:0; height:44px; border-radius:0; }
.source-content .feature-card,.source-content .mode-card,.source-content .game-card { border-color:#e8e2e9; box-shadow:0 4px 12px #36244603; }
.source-content .quick-signals { border-bottom:0; padding-bottom:0; gap:16px; }
.source-content .quick-signals>* { padding:24px; border-radius:18px; }
.source-content .current-play { margin-top:32px; }
.gallery-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:24px 0 16px; }
.gallery-toolbar p { margin:0; font-size:12px; color:var(--muted); }
.gallery-controls { display:flex; gap:8px; }
.gallery-controls button { border:1px solid var(--line); background:white; color:var(--app-accent); width:44px; height:44px; min-height:44px; padding:0; border-radius:50%; font:22px/1 system-ui; margin:0; }
.gallery-controls button:hover:not(:disabled) { background:var(--app-tone); border-color:var(--app-accent); }
.gallery-controls button:disabled { opacity:.3; cursor:default; }
.source-content .browse-gallery,.otis-gallery.browse-gallery { display:flex; gap:22px; overflow-x:auto; padding:4px 2px 20px; scroll-snap-type:x mandatory; scroll-padding:2px; scrollbar-width:thin; scrollbar-color:color-mix(in srgb,var(--app-accent) 50%,white) transparent; grid-template-columns:none; }
.browse-gallery>figure,.source-content .browse-gallery>.story-card { flex:0 0 240px; width:240px; min-width:0; height:auto; scroll-snap-align:start; padding:16px; background:color-mix(in srgb,var(--app-tone) 65%,white); border-radius:18px; }
.source-content .browse-gallery img { display:block; width:auto; height:420px; max-height:420px; max-width:100%; margin:0 auto 16px; object-fit:contain; border-radius:12px; }
.source-content .browse-gallery figcaption { font-size:13px; line-height:1.5; }
.browse-gallery.gallery-landscape>figure { flex-basis:480px; width:480px; padding:14px; }
.source-content .browse-gallery.gallery-landscape img,.otis-gallery.browse-gallery img { width:100%; height:auto!important; max-height:none!important; margin-bottom:14px; }
.otis-gallery.browse-gallery img { border:0; }
.reading-page .source-content p,.reading-page .source-content li { line-height:1.85; }
.support-app { border-color:#e8e2e9; box-shadow:0 6px 20px #36244604; }
.support-app-links a { padding:5px 0; }
.image-dialog { width:fit-content; min-width:min(540px,94vw); padding:20px; }
.image-dialog>img { max-height:72vh; max-width:90vw; }
.dialog-caption { max-width:800px; }
@media(max-width:1400px) {
  .current-release { margin-inline:8%; }
}
@media(max-width:1050px) {
  .studio-hero { gap:32px; min-height:520px; }
  .studio-hero h1 { font-size:62px; }
  .orbit-satellite>span { font-size:9px; }
  .product-hero { gap:8px 28px; }
  .product-scene { height:410px; }
  .product-hero h1 { font-size:45px; }
  .product-tagline { font-size:21px; }
  .product-tabs { gap:20px; }
  .product-tabs>div { gap:17px; }
  .release-summary { display:none; }
  .release-expand { margin-left:auto; }
}
@media(max-width:760px) {
  :root { scroll-padding-top:145px; }
  .orbit-header { height:70px; padding-inline:6%; }
  .orbit-header .orbit-brand { font-size:21px; }
  .orbit-header .orbit-mark { width:34px; height:34px; }
  #orbit-nav { top:69px; }
  .studio-hero { min-height:0; padding:38px 6% 32px; gap:28px; }
  .studio-hero h1 { font-size:clamp(46px,12.8vw,72px); margin-bottom:21px; }
  .hero-description { font-size:16px; line-height:1.7; margin-bottom:23px; }
  .studio-hero .eyebrow { font-size:9px; margin-bottom:19px; }
  .hero-footnote { font-size:11px; }
  .orbit-system { max-width:360px; }
  .moon-name { font-size:25px; }
  .orbit-satellite>span { font-size:9px; }
  .app-collection { padding-block:42px; }
  .collection-heading h2 { font-size:34px; }
  .collection-intro { margin-top:15px; }
  .collection-count { display:none; }
  .filter-row { flex-wrap:nowrap; gap:4px; overflow-x:auto; scrollbar-width:none; }
  .filter-button { flex-shrink:0; padding:9px 13px; }
  .app-grid { gap:25px; }
  .app-scene { height:285px; }
  .scene-invisible-ink .scene-image-0 { width:54%; max-width:54%; height:auto; border-radius:20px; }
  .card-info,.upcoming .card-info { padding:22px; }
  .card-identity h3 { font-size:25px; }
  .card-info>p { font-size:14px; margin-bottom:20px; }
  .card-link-label { padding-top:14px; }
  .studio-note { padding:28px; }
  .product-hero { display:flex; flex-direction:column; align-items:stretch; min-height:0; padding:22px 0 30px; gap:20px; }
  .product-copy,.product-detail { align-self:stretch; }
  .breadcrumb { min-height:24px; font-size:12px; }
  .product-identity { gap:12px; margin:10px 0 14px; }
  .product-identity img { width:43px; height:43px; border-radius:12px; }
  .product-identity .mini-label { font-size:10px; }
  .product-hero h1 { font-size:clamp(35px,9.6vw,54px); line-height:1.06; margin-bottom:0; text-wrap:initial; }
  .previous-name { margin:9px 0 0; }
  .app-scene.product-scene { height:285px; min-height:0; padding:22px; border-radius:22px; }
  .app-scene.product-scene .scene-phone { width:min(35%,117px); border-width:4px; border-radius:23px; }
  .app-scene.product-scene .scene-phone:after { top:5px; height:6px; }
  .product-scene.scene-invisible-ink .scene-image-0 { width:54%; max-width:54%; height:auto; }
  .product-scene.scene-neon-ninja .scene-image-0,.product-scene.scene-teddy-toy-match .scene-image-0,.product-scene.scene-otis-next-door .scene-image-0 { height:250px; max-height:250px; }
  .app-scene.product-scene .scene-screen { width:min(36%,112px); height:auto; }
  .product-scene.scene-teddy-toy-match .scene-image-1 { height:auto; max-height:245px; }
  .product-scene.scene-neon-ninja .scene-image-1,.product-scene.scene-otis-next-door .scene-image-1 { bottom:24px; }
  .product-tagline { font-size:22px; margin-bottom:12px; }
  .product-description { font-size:15px; line-height:1.7; }
  .product-actions { margin-top:20px; gap:12px 18px; }
  .product-actions .app-button { padding-inline:19px; font-size:12px; gap:14px; }
  .product-actions .text-link { font-size:13px; }
  .product-tabs { top:70px; margin-inline:0; padding:8px 6%; gap:16px; align-items:center; flex-direction:row; }
  .product-tab-home { display:none!important; }
  .product-tabs>div { gap:22px; flex-wrap:nowrap; width:100%; }
  .product-tabs a { min-height:40px; font-size:12px; }
  .current-release { margin:24px 6% 8px; border-radius:14px; }
  .current-release>summary { min-height:64px; padding:14px 17px; gap:10px; }
  .release-label { font-size:13px; gap:6px; }
  .release-version { font-size:10px; margin-left:2px; }
  .release-body { display:block; padding:20px; }
  .release-body>div+div { margin-top:20px; }
  .current-release>div+div { margin-top:0; }
  .source-content,.product-content-heading,.app-resources,.otis-intro,.otis-screens { margin-inline:6%; }
  .reading-page .source-content { margin-inline:0; }
  .source-content>section { padding-block:34px; }
  .source-content>section>h2,.source-content .section-header>h2 { font-size:29px; }
  .source-content .quick-signals { display:grid; grid-template-columns:1fr; gap:12px; }
  .source-content .quick-signals>* { padding:22px; }
  .source-content .quick-signals h2,.source-content .quick-signals h3 { margin-top:8px; }
  .source-content .current-play { padding:24px; }
  .source-content .browse-gallery,.otis-gallery.browse-gallery { gap:16px; }
  .browse-gallery>figure,.source-content .browse-gallery>.story-card { flex-basis:215px; width:215px; padding:13px; }
  .source-content .browse-gallery img { height:385px; max-height:385px; }
  .browse-gallery.gallery-landscape>figure { flex-basis:92%; width:92%; padding:10px; }
  .gallery-toolbar { margin:20px 0 10px; }
  .gallery-toolbar p { font-size:11px; max-width:180px; }
  .image-dialog { padding:14px; }
  .dialog-caption { font-size:12px; }
  .dialog-bar,.dialog-controls { gap:10px; }
  .image-dialog>img { max-height:65vh; }
}
@media(max-width:370px) {
  .studio-hero h1 { font-size:44px; }
  .app-scene.product-scene { height:260px; }
  .app-scene.product-scene .scene-phone { width:min(35%,107px); }
  .product-scene.scene-neon-ninja .scene-image-0,.product-scene.scene-teddy-toy-match .scene-image-0,.product-scene.scene-otis-next-door .scene-image-0 { height:230px; }
  .app-scene.product-scene .scene-screen { width:min(35%,102px); }
  .filter-button { padding-inline:10px; }
}
@media(prefers-reduced-motion:reduce) { .release-expand,.card-link-label>span { transition:none; } }
