.MagicEffectsPanel_root__cMBW3{display:grid;grid-gap:9px;gap:9px;padding-top:10px;border-top:1px solid rgba(29,29,31,.08);color:#1d1d1f}.MagicEffectsPanel_drawerFooter__mvy_a,.MagicEffectsPanel_drawerHeader__x9gPf,.MagicEffectsPanel_ruleActions__NY_S_,.MagicEffectsPanel_ruleHeader__N39O0,.MagicEffectsPanel_ruleIdentity__IrKiD,.MagicEffectsPanel_statusRow___DeXA,.MagicEffectsPanel_summaryCopy__D5i40,.MagicEffectsPanel_summaryRow__xrqKm{display:flex;align-items:center}.MagicEffectsPanel_drawerFooter__mvy_a,.MagicEffectsPanel_drawerHeader__x9gPf,.MagicEffectsPanel_ruleHeader__N39O0,.MagicEffectsPanel_summaryRow__xrqKm{justify-content:space-between}.MagicEffectsPanel_summaryRow__xrqKm{gap:12px}.MagicEffectsPanel_summaryCopy__D5i40{min-width:0;gap:9px}.MagicEffectsPanel_spark__JCmOG{width:34px;height:34px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;background:rgba(255,56,92,.1);color:#ff385c;font-size:1.05rem}.MagicEffectsPanel_drawerFeedback__4MAk6,.MagicEffectsPanel_drawerHeader__x9gPf p,.MagicEffectsPanel_emptyAssets__JH94L,.MagicEffectsPanel_emptyRules__jOmAp p,.MagicEffectsPanel_feedback__Ei6DE,.MagicEffectsPanel_ruleIdentity__IrKiD p,.MagicEffectsPanel_ruleIdentity__IrKiD span,.MagicEffectsPanel_subtitle__MaT2X,.MagicEffectsPanel_title__nl_K1{margin:0}.MagicEffectsPanel_title__nl_K1{font-size:.9rem;line-height:1.2;font-weight:800}.MagicEffectsPanel_subtitle__MaT2X{margin-top:2px;color:#6e6e73;font-size:.74rem;line-height:1.3}.MagicEffectsPanel_miniSwitch__ggDNS,.MagicEffectsPanel_switch__mgKhW{position:relative;flex:0 0 auto;padding:0;border:0;border-radius:999px;background:#d1d1d6;transition:background-color .18s ease}.MagicEffectsPanel_switch__mgKhW{width:48px;height:28px}.MagicEffectsPanel_miniSwitch__ggDNS{width:38px;height:22px}.MagicEffectsPanel_miniSwitch__ggDNS span,.MagicEffectsPanel_switch__mgKhW span{position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.2);transition:transform .18s ease}.MagicEffectsPanel_switch__mgKhW span{width:24px;height:24px}.MagicEffectsPanel_miniSwitch__ggDNS span{width:18px;height:18px}.MagicEffectsPanel_miniSwitchOn__esI3x,.MagicEffectsPanel_switchOn__4eeu8{background:#ff385c}.MagicEffectsPanel_switchOn__4eeu8 span{transform:translateX(20px)}.MagicEffectsPanel_miniSwitchOn__esI3x span{transform:translateX(16px)}.MagicEffectsPanel_miniSwitch__ggDNS:disabled,.MagicEffectsPanel_switch__mgKhW:disabled{opacity:.5}.MagicEffectsPanel_statusRow___DeXA{min-height:34px;gap:7px;color:#6e6e73;font-size:.74rem;font-weight:650}.MagicEffectsPanel_statusDot__X30Ue{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#8e8e93}.MagicEffectsPanel_status_loading__DIWpV{background:#ff9500;box-shadow:0 0 0 4px rgba(255,149,0,.1)}.MagicEffectsPanel_status_ready__OFVw1{background:#34c759;box-shadow:0 0 0 4px rgba(52,199,89,.1)}.MagicEffectsPanel_status_paused__jXEJf{background:#8e8e93;box-shadow:0 0 0 4px hsla(240,2%,57%,.1)}.MagicEffectsPanel_status_error__hiQv1,.MagicEffectsPanel_status_unsupported__vrOSo{background:#ff3b30}.MagicEffectsPanel_customizeButton__aDe6f{margin-left:auto;min-height:32px;padding:0 12px;border:1px solid rgba(29,29,31,.1);border-radius:999px;background:#fff;color:#1d1d1f;font-size:.73rem;font-weight:750;transition:transform .16s ease,border-color .16s ease}.MagicEffectsPanel_customizeButton__aDe6f:hover{border-color:rgba(29,29,31,.24);transform:translateY(-1px)}.MagicEffectsPanel_addButton__dn2J3:disabled,.MagicEffectsPanel_customizeButton__aDe6f:disabled,.MagicEffectsPanel_deleteButton__p0QMR:disabled,.MagicEffectsPanel_resetButton__rXK_x:disabled,.MagicEffectsPanel_uploadButton__JA65l:disabled{cursor:not-allowed;opacity:.45;transform:none}.MagicEffectsPanel_drawerFeedback__4MAk6,.MagicEffectsPanel_feedback__Ei6DE{color:#b42318;font-size:.75rem;line-height:1.4}.MagicEffectsPanel_drawerLayer__GbDmg{position:fixed;inset:0;z-index:220}.MagicEffectsPanel_scrim__RDLGA{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(0,0,0,.34);animation:MagicEffectsPanel_fadeIn__Obxox .18s ease both}.MagicEffectsPanel_drawer__13Wpb{position:absolute;top:0;right:0;width:min(560px,100%);height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border-left:1px solid rgba(29,29,31,.1);background:#f8f8fa;box-shadow:-22px 0 64px rgba(0,0,0,.16);animation:MagicEffectsPanel_slideIn__yuIyY .24s cubic-bezier(.22,1,.36,1) both}.MagicEffectsPanel_drawerHandle__7nkg4{display:none}.MagicEffectsPanel_drawerHeader__x9gPf{min-height:106px;gap:18px;padding:max(24px,env(safe-area-inset-top)) 24px 20px;border-bottom:1px solid rgba(29,29,31,.08);background:hsla(0,0%,100%,.92)}.MagicEffectsPanel_eyebrow__0lGGH{color:#ff385c!important;font-size:.7rem!important;line-height:1.2!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.06em!important}.MagicEffectsPanel_drawerHeader__x9gPf h2{margin:4px 0 0;color:#1d1d1f;font-size:1.35rem;line-height:1.15;font-weight:850}.MagicEffectsPanel_drawerHeader__x9gPf p:last-child{margin-top:6px;color:#6e6e73;font-size:.76rem}.MagicEffectsPanel_closeButton__9_OwU{width:38px;height:38px;flex:0 0 auto;padding:0 0 2px;border:1px solid rgba(29,29,31,.09);border-radius:50%;background:#f2f2f7;color:#1d1d1f;font-size:1.45rem;line-height:1}.MagicEffectsPanel_drawerBody__jNEkr{overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 28px}.MagicEffectsPanel_ruleList__arEZB{display:grid;grid-gap:14px;gap:14px}.MagicEffectsPanel_rule__fOEL0{padding:17px;border:1px solid rgba(29,29,31,.09);border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.045)}.MagicEffectsPanel_ruleHeader__N39O0{gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(29,29,31,.07)}.MagicEffectsPanel_ruleIdentity__IrKiD{min-width:0;gap:10px}.MagicEffectsPanel_rulePreview__bILsT{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#f2f2f7;font-size:1.35rem}.MagicEffectsPanel_assetTile__apyBb img,.MagicEffectsPanel_rulePreview__bILsT img{width:100%;height:100%;display:block;object-fit:contain}.MagicEffectsPanel_ruleIdentity__IrKiD p{color:#1d1d1f;font-size:.85rem;font-weight:800}.MagicEffectsPanel_ruleIdentity__IrKiD span:not(.MagicEffectsPanel_rulePreview__bILsT){display:block;margin-top:2px;overflow:hidden;color:#6e6e73;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.MagicEffectsPanel_ruleActions__NY_S_{flex:0 0 auto;gap:8px}.MagicEffectsPanel_deleteButton__p0QMR{min-height:30px;padding:0 9px;border:0;border-radius:999px;background:rgba(255,59,48,.08);color:#c72a22;font-size:.67rem;font-weight:750}.MagicEffectsPanel_fieldGrid__qLqlp{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.MagicEffectsPanel_field__NzXwR{min-width:0;display:grid;grid-gap:6px;gap:6px}.MagicEffectsPanel_effectFieldset__x9Oa7 legend,.MagicEffectsPanel_field__NzXwR>span,.MagicEffectsPanel_sizeFieldset__4jHxo legend{color:#6e6e73;font-size:.68rem;font-weight:750}.MagicEffectsPanel_field__NzXwR select{width:100%;min-height:40px;padding:0 31px 0 11px;border:1px solid rgba(29,29,31,.1);border-radius:11px;background:#f7f7f9;color:#1d1d1f;font:inherit;font-size:.76rem;font-weight:650}.MagicEffectsPanel_effectFieldset__x9Oa7,.MagicEffectsPanel_sizeFieldset__4jHxo{min-width:0;margin:14px 0 0;padding:0;border:0}.MagicEffectsPanel_effectFieldset__x9Oa7 legend,.MagicEffectsPanel_sizeFieldset__4jHxo legend{margin-bottom:7px;padding:0}.MagicEffectsPanel_segmented__xJmyD,.MagicEffectsPanel_sizeButtons__qGUA9{display:grid;grid-gap:4px;gap:4px;padding:3px;border-radius:12px;background:#f2f2f7}.MagicEffectsPanel_segmented__xJmyD{grid-template-columns:repeat(2,minmax(0,1fr))}.MagicEffectsPanel_sizeButtons__qGUA9{grid-template-columns:repeat(3,minmax(0,1fr))}.MagicEffectsPanel_segmented__xJmyD button,.MagicEffectsPanel_sizeButtons__qGUA9 button{min-height:34px;padding:0 8px;border:0;border-radius:9px;background:transparent;color:#6e6e73;font-size:.72rem;font-weight:750}.MagicEffectsPanel_segmented__xJmyD .MagicEffectsPanel_segmentedActive__NaOsB,.MagicEffectsPanel_sizeButtons__qGUA9 .MagicEffectsPanel_sizeSelected__Pdbg2{background:#fff;color:#1d1d1f;box-shadow:0 2px 8px rgba(0,0,0,.08)}.MagicEffectsPanel_emojiGrid__AHdtk{margin-top:10px;max-height:168px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-gap:4px;gap:4px;overflow-y:auto;padding:6px;border-radius:14px;background:#f7f7f9}.MagicEffectsPanel_emojiGrid__AHdtk button{aspect-ratio:1;min-width:0;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;font-size:1.25rem}.MagicEffectsPanel_emojiGrid__AHdtk .MagicEffectsPanel_emojiSelected__X36bq{border-color:rgba(255,56,92,.36);background:rgba(255,56,92,.1)}.MagicEffectsPanel_assetArea__sWSvQ{margin-top:10px;display:grid;grid-gap:9px;gap:9px}.MagicEffectsPanel_assetGrid__dzXVD{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px}.MagicEffectsPanel_assetTile__apyBb{position:relative;min-width:0}.MagicEffectsPanel_assetTile__apyBb>button:first-child{width:100%;aspect-ratio:1;overflow:hidden;padding:6px;border:1px solid rgba(29,29,31,.1);border-radius:12px;background:#f7f7f9;color:#6e6e73;font-size:.6rem}.MagicEffectsPanel_assetTile__apyBb>button.MagicEffectsPanel_assetSelected__V6oXg:first-child{border-color:#ff385c;box-shadow:0 0 0 2px rgba(255,56,92,.14)}.MagicEffectsPanel_assetRemove__czpz4{position:absolute;top:-5px;right:-5px;width:20px;height:20px;padding:0 0 1px;border:2px solid #fff;border-radius:50%;background:#1d1d1f;color:#fff;font-size:.85rem;line-height:1}.MagicEffectsPanel_emptyAssets__JH94L{padding:13px;border-radius:12px;background:#f7f7f9;color:#6e6e73;font-size:.72rem;text-align:center}.MagicEffectsPanel_uploadButton__JA65l{min-height:36px;padding:0 12px;border:1px dashed rgba(29,29,31,.2);border-radius:11px;background:#fff;color:#1d1d1f;font-size:.71rem;font-weight:750}.MagicEffectsPanel_fileInput__Xtpa_{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.MagicEffectsPanel_emptyRules__jOmAp{min-height:190px;display:grid;place-items:center;align-content:center;grid-gap:9px;gap:9px;border:1px dashed rgba(29,29,31,.16);border-radius:20px;color:#6e6e73;text-align:center}.MagicEffectsPanel_emptyRules__jOmAp>span{color:#ff385c;font-size:1.5rem}.MagicEffectsPanel_emptyRules__jOmAp p{font-size:.82rem;font-weight:700}.MagicEffectsPanel_emptyRules__jOmAp button{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:#1d1d1f;color:#fff;font-size:.74rem;font-weight:750}.MagicEffectsPanel_drawerFeedback__4MAk6{margin-top:14px;padding:10px 12px;border-radius:11px;background:rgba(255,56,92,.07)}.MagicEffectsPanel_drawerFooter__mvy_a{gap:10px;padding:14px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid rgba(29,29,31,.08);background:hsla(0,0%,100%,.94)}.MagicEffectsPanel_addButton__dn2J3,.MagicEffectsPanel_resetButton__rXK_x{min-height:42px;padding:0 16px;border-radius:999px;font-size:.76rem;font-weight:800}.MagicEffectsPanel_resetButton__rXK_x{border:1px solid rgba(29,29,31,.1);background:#fff;color:#1d1d1f}.MagicEffectsPanel_addButton__dn2J3{margin-left:auto;min-width:112px;border:0;background:#1d1d1f;color:#fff}@keyframes MagicEffectsPanel_fadeIn__Obxox{0%{opacity:0}to{opacity:1}}@keyframes MagicEffectsPanel_slideIn__yuIyY{0%{transform:translateX(100%)}to{transform:translateX(0)}}@media (max-width:640px){.MagicEffectsPanel_drawer__13Wpb{top:auto;bottom:0;width:100%;height:min(92dvh,820px);border:0;border-radius:26px 26px 0 0;box-shadow:0 -22px 64px rgba(0,0,0,.18);animation-name:MagicEffectsPanel_slideUp__ABJVu}.MagicEffectsPanel_drawerHandle__7nkg4{position:absolute;top:8px;left:50%;z-index:1;width:38px;height:4px;display:block;border-radius:999px;background:rgba(60,60,67,.24);transform:translateX(-50%)}.MagicEffectsPanel_drawerHeader__x9gPf{min-height:96px;padding:23px 18px 15px}.MagicEffectsPanel_drawerHeader__x9gPf h2{font-size:1.14rem}.MagicEffectsPanel_drawerBody__jNEkr{padding:14px 12px 24px}.MagicEffectsPanel_rule__fOEL0{padding:14px;border-radius:18px}.MagicEffectsPanel_fieldGrid__qLqlp{grid-template-columns:1fr}.MagicEffectsPanel_emojiGrid__AHdtk{grid-template-columns:repeat(7,minmax(0,1fr))}.MagicEffectsPanel_drawerFooter__mvy_a{padding-inline:12px}@keyframes MagicEffectsPanel_slideUp__ABJVu{0%{transform:translateY(100%)}to{transform:translateY(0)}}}@media (prefers-reduced-motion:reduce){.MagicEffectsPanel_customizeButton__aDe6f,.MagicEffectsPanel_drawer__13Wpb,.MagicEffectsPanel_miniSwitch__ggDNS,.MagicEffectsPanel_miniSwitch__ggDNS span,.MagicEffectsPanel_scrim__RDLGA,.MagicEffectsPanel_switch__mgKhW,.MagicEffectsPanel_switch__mgKhW span{animation:none;transition:none}}