:root{--internal-mobile-gutter:16px;--internal-mobile-nav-height:68px;--internal-mobile-control-size:44px;--internal-mobile-content-max:720px}.internal-app-content,.internal-app-main-scroll,.internal-app-root,.internal-app-shell,.internal-app-standalone{min-width:0}.internal-right-sidebar{width:min(var(--internal-right-sidebar-width,360px),calc(100vw - 16px))}.internal-mobile-toolbar,.internal-mobile-toolbar-actions{min-width:0}.internal-mobile-table{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.internal-horizontal-workspace{min-width:0}.internal-credit-plan-tabs,.internal-nav-mobile-logo{display:none}.internal-story-create-topbar-backdrop{height:96px;min-height:96px;max-height:96px}[data-mobile-plan-panel]{min-width:0;height:100%}.worlds-gallery-edge-mask{width:clamp(104px,10vw,180px);height:var(--card-image-height)}@media (min-width:768px){.worlds-gallery-edge-mask{width:clamp(220px,15vw,300px);height:calc(var(--card-height) + 120px);transform:translateY(16px)}}@media (max-width:767px){:root{--internal-mobile-gutter:16px;--internal-mobile-nav-height:calc(68px + env(safe-area-inset-bottom))}body,html{min-width:0;overscroll-behavior-x:none}body{-webkit-text-size-adjust:100%}.internal-app-shell{width:100%;height:100dvh}.internal-app-content{width:100%}.internal-app-shell[data-mobile-nav=visible] .internal-app-main-scroll{padding-bottom:var(--internal-mobile-nav-height);scroll-padding-bottom:var(--internal-mobile-nav-height)}.internal-app-rail{width:0!important;overflow:visible}.internal-nav-rail{position:fixed;z-index:1200;right:0;bottom:0;left:0;width:100%;height:var(--internal-mobile-nav-height);padding:0 max(16px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px,env(safe-area-inset-left));border-top:1px solid rgb(255 255 255/8%);background-color:color-mix(in srgb,var(--page-background-base) 92%,transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.internal-story-create-topbar-backdrop{height:96px;min-height:96px;max-height:96px}.internal-nav-logo,.internal-nav-spacer{display:none}.internal-nav-mobile-logo{position:fixed;z-index:21;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));display:flex;width:var(--internal-mobile-control-size);height:var(--internal-mobile-control-size);align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}.internal-nav-content{width:100%}.internal-nav-stack{width:100%;height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:space-between;align-items:center;gap:0}.internal-nav-actions,.internal-nav-world{display:contents}.internal-nav-stack button{min-width:var(--internal-mobile-control-size);min-height:var(--internal-mobile-control-size);-webkit-tap-highlight-color:transparent}.world-dropdown-panel .world-dropdown-action-trigger{width:var(--internal-mobile-control-size);height:var(--internal-mobile-control-size);opacity:1}.internal-app-account-controls{top:max(1rem,env(safe-area-inset-top));right:max(1rem,env(safe-area-inset-right))}.internal-app-secondary-rail{position:fixed;z-index:1100;top:0;right:0;bottom:var(--internal-mobile-nav-height);width:0!important;height:auto;max-width:100%;pointer-events:none}.internal-app-secondary-rail[data-mobile-open=true]{width:min(86vw,320px)!important;box-shadow:-16px 0 48px rgb(0 0 0/38%);pointer-events:auto}.internal-app-secondary-rail-content{width:100%;height:100%}.internal-app-topbar{min-height:calc(56px + env(safe-area-inset-top));padding:max(12px,env(safe-area-inset-top)) var(--internal-mobile-gutter) 12px}.internal-worlds-page-topbar{display:none}.internal-page-header{align-items:flex-start;gap:12px;padding:max(12px,env(safe-area-inset-top)) var(--internal-mobile-gutter) 12px}.internal-page-header-main{flex-wrap:wrap;gap:8px}.internal-page-header h1{overflow-wrap:anywhere;font-size:1.25rem;line-height:1.5}.internal-page-header-actions{max-width:48%;flex-wrap:wrap;justify-content:flex-end;gap:8px}.internal-panel-surface{max-width:calc(100vw - (var(--internal-mobile-gutter) * 2));margin-inline:var(--internal-mobile-gutter)}.internal-panel-surface-right{width:calc(100vw - (var(--internal-mobile-gutter) * 2))!important}.internal-right-sidebar{right:0;left:0;width:100%;max-width:100%;margin:0;padding-bottom:env(safe-area-inset-bottom)}.internal-popup-overlay{align-items:flex-end;padding-top:max(16px,env(safe-area-inset-top))}.internal-popup-content{width:100%!important;max-width:100%!important;max-height:calc(100dvh - max(16px, env(safe-area-inset-top)))!important;margin:0!important;border-right:0;border-bottom:0;border-left:0;border-radius:20px 20px 0 0;padding:16px 16px max(16px,env(safe-area-inset-bottom))}.internal-popup-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.internal-popup-footer>*{width:100%;min-width:0}.internal-mobile-page{width:100%;max-width:var(--internal-mobile-content-max);margin-inline:auto;padding-inline:var(--internal-mobile-gutter)}.internal-mobile-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.internal-mobile-toolbar-actions{width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:4px;scrollbar-width:none}.internal-mobile-toolbar-actions::-webkit-scrollbar{display:none}.internal-mobile-card-grid{grid-template-columns:minmax(0,1fr)!important}.internal-mobile-table>table{min-width:720px}.internal-mobile-sticky-actions{position:sticky;right:0;bottom:0;left:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}.profile-mobile-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px}.profile-mobile-grid>*{width:100%;min-width:0}.internal-worlds-page,.internal-worlds-stage{height:auto;min-height:100dvh}.internal-worlds-stage{justify-content:center;padding:calc(72px + env(safe-area-inset-top)) 0 calc(var(--internal-mobile-nav-height) + 20px)}.internal-worlds-heading{margin-bottom:40px}.internal-worlds-gallery{min-height:0;flex:none;justify-content:flex-start}.internal-worlds-create{margin-top:64px;margin-bottom:0}.script-template-dialog-shell{height:min(calc(100dvh - env(safe-area-inset-top)),840px);max-height:calc(100dvh - env(safe-area-inset-top));border-bottom:0;border-radius:16px 16px 0 0}.script-template-dialog-reading-panel{flex:0 0 232px}.script-template-reading{height:200px;min-height:0;margin-top:32px;overflow-y:auto;padding-top:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.script-template-dialog-overlay{align-items:flex-end;justify-content:center;padding:0}.script-template-dialog-frame{width:100%;max-width:none;margin-right:0}.script-template-dialog-close{top:12px;right:12px;border-radius:8px}.script-template-dialog-settings{min-height:0;flex:1 1 auto}.script-template-dialog-settings-scroll{max-height:none}.script-template-dialog-actions{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.internal-help-layout{flex-direction:column}.internal-help-nav{width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.internal-help-nav::-webkit-scrollbar{display:none}.internal-help-nav nav{display:flex;width:max-content;max-width:none;gap:6px}.internal-help-nav nav>button{width:auto;min-height:40px;white-space:nowrap}.internal-help-content{width:100%;margin-left:0}.internal-help-content h2{overflow-wrap:anywhere;font-size:1.75rem;line-height:1.2}.internal-catalog-page{height:100dvh;min-height:100dvh}.internal-catalog-header{padding:max(72px,calc(56px + env(safe-area-inset-top))) var(--internal-mobile-gutter) 12px}.internal-catalog-header h1{font-size:1.25rem;line-height:1.5}.internal-catalog-scroll{padding:8px var(--internal-mobile-gutter) var(--internal-mobile-nav-height)}.internal-catalog-main-scroll,.internal-entity-list-scroll{-ms-overflow-style:none;scrollbar-width:none}.internal-catalog-main-scroll::-webkit-scrollbar,.internal-entity-list-scroll::-webkit-scrollbar{display:none;width:0;height:0}.internal-entity-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.internal-entity-list-scroll{padding-inline:24px}.internal-commerce-page{height:auto;min-height:100dvh;overflow-y:auto}.internal-commerce-split{height:auto;min-height:100dvh;flex-direction:column;overflow:visible}.internal-commerce-form,.internal-commerce-summary{width:100%;height:auto;min-height:0;align-items:stretch;justify-content:flex-start;overflow:visible;padding:calc(32px + env(safe-area-inset-top)) var(--internal-mobile-gutter) 36px;border-right:0}.internal-commerce-form{padding-top:36px;padding-bottom:max(48px,calc(32px + env(safe-area-inset-bottom)))}.internal-commerce-inner{width:100%!important;max-width:520px;margin-inline:auto}.internal-commerce-page [data-testid$=back-btn]{position:static;margin-bottom:20px}.internal-commerce-account-details{max-width:100%}.internal-commerce-status-card{width:100%;max-width:400px;padding:28px 20px}.internal-credit-plans-content{padding-inline:var(--internal-mobile-gutter);padding-top:0}.internal-credit-plans-enterprise-action{margin-bottom:28px}.internal-credit-plan-tabs{position:sticky;z-index:20;top:max(8px,env(safe-area-inset-top));display:flex;width:100%;max-width:520px;gap:6px;overflow-x:auto;margin-bottom:16px;border:1px solid rgb(255 255 255/10%);border-radius:999px;background:color-mix(in srgb,var(--page-background-base) 88%,transparent);padding:4px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scrollbar-width:none}.internal-credit-plan-tabs::-webkit-scrollbar{display:none}.internal-credit-plan-tabs>button{min-width:max-content;min-height:40px;flex:1 0 auto;border-radius:999px;padding:0 16px;color:rgb(255 255 255/58%);font-size:13px;font-weight:600;white-space:nowrap}.internal-credit-plan-tabs>button[aria-selected=true]{background:rgb(255 255 255/90%);color:#141414}.internal-credit-plan-grid{width:100%;display:block;padding-inline:0}.internal-credit-plan-grid>[data-mobile-plan-panel]{display:none;width:100%;min-width:0;max-width:none}.internal-credit-plan-grid>[data-mobile-plan-panel][data-active=true]{display:block}.internal-credit-plan-grid>[data-mobile-plan-panel]>*{min-height:0}.subscription-mobile-dashboard .internal-mobile-page{padding:calc(60px + env(safe-area-inset-top)) var(--internal-mobile-gutter) max(32px,env(safe-area-inset-bottom))}.subscription-mobile-header{margin-bottom:20px;padding-inline:4px}.subscription-mobile-header>div:first-child{top:max(14px,env(safe-area-inset-top))}.subscription-mobile-section{margin-bottom:16px;border-radius:18px}.subscription-mobile-section>div:first-child{gap:12px}.subscription-mobile-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:14px}.subscription-mobile-order-amount,.subscription-mobile-order-date,.subscription-mobile-order-plan{width:auto;min-width:0;justify-content:flex-start;margin-left:0;text-align:left}.subscription-mobile-order-plan,.subscription-mobile-order-status{justify-content:flex-end;text-align:right}.subscription-mobile-order-action{grid-column:1/-1;justify-content:flex-end;border-top:1px solid rgb(255 255 255/8%);padding-top:10px}.internal-workspace-page,.internal-workspace-page>div{max-width:100vw}.internal-workspace-page{height:100dvh}.internal-horizontal-workspace{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.internal-horizontal-workspace>*{scroll-snap-align:start;scroll-snap-stop:always}[data-testid=story-production-workspace]{height:100dvh;--story-production-mobile-rail-height:52px;--story-production-mobile-rail-bottom-offset:max(16px,env(safe-area-inset-bottom));--story-production-mobile-content-to-rail-gap:12px}[data-testid=story-production-rail]{top:auto;bottom:var(--story-production-mobile-rail-bottom-offset);left:50%;z-index:1260;width:auto;max-width:calc(100vw - (var(--internal-mobile-gutter) * 2));flex-direction:row;gap:6px;transform:translateX(-50%)}[data-testid=story-production-rail]>div{width:auto;flex-direction:row}[data-testid=story-production-rail] button{min-width:var(--internal-mobile-control-size);min-height:var(--internal-mobile-control-size)}[data-testid=story-production-workspace]>div:first-child{left:12px;height:56px}.story-production-content{padding:0 var(--internal-mobile-gutter) var(--internal-mobile-gutter)}[data-testid=story-production-top-reserved-bar]{height:56px}.story-production-panel-row{gap:8px;padding-bottom:calc(var(--story-production-mobile-rail-height) + var(--story-production-mobile-rail-bottom-offset) + var(--story-production-mobile-content-to-rail-gap) - var(--internal-mobile-gutter))}[data-testid=story-production-slider]{width:100%}[data-testid=story-production-outline-binding-dots]{display:none}[data-testid=story-production-outline-paper-content]{padding-inline:var(--internal-mobile-gutter)}[data-testid=story-production-assets-panel],[data-testid=story-production-assets-preview-panel],[data-testid=story-production-fixed-ai-assistant-sidebar]{position:fixed;z-index:1250;top:58px;right:var(--internal-mobile-gutter);bottom:var(--internal-mobile-gutter);left:var(--internal-mobile-gutter);width:auto!important;min-width:0!important;max-width:none!important;height:auto;margin:0!important;transform:none;border-radius:18px;background-color:var(--page-background-base);box-shadow:0 24px 80px rgb(0 0 0/52%)}[data-testid=story-production-fixed-ai-assistant-sidebar]{right:var(--internal-mobile-gutter);bottom:var(--internal-mobile-gutter);left:var(--internal-mobile-gutter);border:0;background-color:initial;box-shadow:none}[data-testid=story-production-assets-panel]{bottom:calc(var(--story-production-mobile-rail-height) + var(--story-production-mobile-rail-bottom-offset) + var(--story-production-mobile-content-to-rail-gap))}[data-testid=story-production-assistant-resize-handle],[data-testid=story-production-fixed-ai-assistant-sidebar]~[data-testid=story-production-episode-directory-trigger]{display:none}.story-production-assistant-shell{border-color:transparent!important;background-color:initial!important;box-shadow:none!important}.character-detail-mobile-workspace{height:100dvh}.character-detail-mobile-row{padding:0 12px 12px}.character-detail-mobile-panels{width:100%;gap:12px}.character-detail-mobile-panels>*{width:calc(100vw - 24px)!important;min-width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;flex:0 0 calc(100vw - 24px)!important}}@media (max-width:399px){.internal-app-account-controls [data-testid=topnav-help-btn],.internal-app-account-controls [data-testid^=topnav-social-]{display:none}}@media (max-width:359px){:root{--internal-mobile-gutter:12px}.internal-nav-mobile-logo{display:none}.internal-app-account-controls .top-right-account-controls{gap:4px}}