.preview-container{max-height:calc(100vh - 120px)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px 0!important}.preview-container .phone-frame{height:min(680px,calc(100vh - 160px))!important;max-height:calc(100vh - 160px)!important;aspect-ratio:9 / 16!important;width:calc(min(680px,calc(100vh - 160px))*.5625)!important;min-width:unset!important;max-width:390px!important}.preview-container .phone-frame.clean-mode{height:min(660px,calc(100vh - 160px))!important;max-height:calc(100vh - 160px)!important;aspect-ratio:9 / 16!important;width:calc(min(660px,calc(100vh - 160px))*.5625)!important;min-width:unset!important;max-width:375px!important}@media (min-width: 992px){#ig-reel-form{width:465px!important;flex-shrink:0!important}.preview-container{max-height:none!important;height:auto!important;padding:10px 0 60px!important}.preview-container .phone-frame{width:395px!important;min-width:395px!important;max-width:395px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}.preview-container .phone-frame.clean-mode{width:385px!important;min-width:385px!important;max-width:385px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}}@media (min-width: 1280px){#ig-reel-form{width:490px!important}.preview-container .phone-frame{width:425px!important;min-width:425px!important;max-width:425px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}.preview-container .phone-frame.clean-mode{width:415px!important;min-width:415px!important;max-width:415px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}}@media (min-width: 1536px){#ig-reel-form{width:520px!important}.preview-container .phone-frame{width:465px!important;min-width:465px!important;max-width:465px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}.preview-container .phone-frame.clean-mode{width:455px!important;min-width:455px!important;max-width:455px!important;height:auto!important;max-height:none!important;aspect-ratio:9 / 16!important}}.preview-container .phone-screen{width:100%!important;height:100%!important;position:relative!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.toggle-wrapper{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:11px 14px!important;box-sizing:border-box!important}.toggle-label{flex:1 1 auto!important;min-width:0!important;font-size:.92rem!important;line-height:1.35!important;display:flex!important;align-items:center!important;gap:8px!important}.toggle-switch{position:relative!important;display:inline-block!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:24px!important;flex:0 0 44px!important;flex-shrink:0!important}.toggle-slider{position:absolute!important;cursor:pointer!important;inset:0!important;background-color:var(--bg-primary, #0f172a)!important;transition:.25s ease!important;border-radius:24px!important;border:1px solid var(--border-glass, rgba(255, 255, 255, .15))!important;box-sizing:border-box!important}.toggle-slider:before{position:absolute!important;content:""!important;height:16px!important;width:16px!important;left:3px!important;bottom:3px!important;background-color:#94a3b8!important;transition:transform .25s ease,background-color .25s ease!important;border-radius:50%!important}input:checked+.toggle-slider{background-color:#06b6d4!important;border-color:#06b6d4!important}input:checked+.toggle-slider:before{background-color:#fff!important;transform:translate(20px)!important}.reel-header-container{display:flex;gap:12px;align-items:flex-start;width:100%}.reel-header-text-block{flex:1;min-width:0}.reel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reel-title-row h1{font-size:1.35rem;margin:0;line-height:1.25;flex:1;min-width:0}.mobile-random-btn-row{display:none;margin-top:10px}@media (max-width: 768px){.desktop-random-btn{display:none!important}.mobile-random-btn-row{display:block!important}.reel-title-row h1{font-size:1.22rem!important;line-height:1.3!important}.form-panel-header,.form-panel-content{padding:16px!important}}
