
    #customAgentCont,
    #account_settingsCont {
      background: rgba(0,0,0,.58) !important;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    @media(min-width: 577px){
        #customAgentCont {
          padding: 24px !important;
          box-sizing: border-box;
          align-items: center;
          justify-content: center;
          overflow: hidden !important;
        }
        #customAgentCont[style*="display: block"] {
          display: flex !important;
        }
        #customAgentC2,
        #editAgentC2 {
          width: min(600px, calc(100vw - 48px)) !important;
          max-width: 600px !important;
          height: min(760px, calc(var(--vh, 1vh) * 100 - 48px)) !important;
          max-height: calc(var(--vh, 1vh) * 100 - 48px) !important;
          margin: 0 !important;
          border: 1px solid rgba(255,255,255,.12) !important;
          border-radius: 22px !important;
          background: var(--bg-100,#171719) !important;
          box-shadow: 0 28px 80px rgba(0,0,0,.55) !important;
          overflow: hidden !important;
        }
        #account_settingsC2 {
          border: 1px solid rgba(255,255,255,.12) !important;
          border-radius: 22px !important;
          background: var(--bg-100,#171719) !important;
          box-shadow: 0 28px 80px rgba(0,0,0,.55) !important;
        }
        #customAgentC2[style*="display: block"],
        #editAgentC2[style*="display: block"] {
          display: flex !important;
          flex-direction: column;
        }
        #customAgentC2 > #customAgent,
        #editAgentC2 > #customAgent {
          height: 100%;
          min-height: 0;
          display: flex;
          flex-direction: column;
        }
        #customAgentC2 [data-create-tab],
        #editAgentC2 #agentContents {
          flex: 1 1 auto;
          min-height: 0;
          width: calc(100% + 40px);
          margin-top: 0 !important;
          margin-left: -20px;
          margin-right: -20px;
          padding-left: 20px;
          padding-right: 20px;
          box-sizing: border-box;
          overflow-y: auto;
          -webkit-overflow-scrolling: touch;
        }
        #customAgentC2 [data-create-tab] > :first-child,
        #editAgentC2 #agentContents > .row:first-child {
          margin-top: 20px;
        }
        #customAgentC2 .agent-md-source,
        #editAgentC2 .agent-md-source {
          margin-bottom: 18px;
        }
        #customAgentBtns {
          flex: 0 0 auto;
        }
        #editAgentC2 #customAgentBtns,
        #customAgentC2 #customAgentBtns {
          position: sticky;
          bottom: 0;
          z-index: 10;
          margin: 0 -20px -20px;
          padding: 11px 20px 14px;
          border-top: 1px solid rgba(255,255,255,.14);
          background: var(--bg-100,#171719);
        }
        #voicesCont,
        #voicesCont2,
        #avatarsCont,
        #avatarsCont2 {
          position: fixed !important;
          inset: 0 !important;
          top: 0 !important;
          right: 0 !important;
          bottom: 0 !important;
          left: 0 !important;
          width: 100vw !important;
          max-width: none !important;
          height: calc(var(--vh, 1vh) * 100) !important;
          max-height: none !important;
          margin: 0 !important;
          transform: none !important;
          z-index: 2147483007 !important;
          align-items: center;
          justify-content: center;
          padding: 18px;
          background: rgba(0,0,0,.48) !important;
          backdrop-filter: blur(8px);
          -webkit-backdrop-filter: blur(8px);
          box-sizing: border-box;
        }
        #voicesCont[style*="display: block"],
        #voicesCont2[style*="display: block"],
        #avatarsCont[style*="display: block"],
        #avatarsCont2[style*="display: block"] {
          display: flex !important;
        }
        #voices,
        #voices2,
        #avatars,
        #avatars2 {
          position: relative !important;
          inset: auto !important;
          top: auto !important;
          right: auto !important;
          bottom: auto !important;
          left: auto !important;
          transform: none !important;
          margin: auto !important;
          width: min(340px, calc(100vw - 36px)) !important;
          max-height: calc(var(--vh, 1vh) * 100 - 72px) !important;
          display: flex !important;
          flex-direction: column;
          padding: 14px !important;
          border: 1px solid rgba(255,255,255,.12) !important;
          border-radius: 22px !important;
          background: var(--bg-100,#171719) !important;
          box-shadow: 0 28px 80px rgba(0,0,0,.55) !important;
          overflow: hidden !important;
          box-sizing: border-box;
        }
        #voicesContents,
        #voicesContents2 {
          max-height: min(330px, calc(var(--vh, 1vh) * 100 - 150px)) !important;
          overflow-y: auto !important;
        }
        #voicesContents,
        #voicesContents2 {
          margin: 0 -14px -14px !important;
          padding: 0 0 8px !important;
          box-sizing: border-box;
        }
        #voiceList,
        #voiceList2 {
          max-height: none !important;
          margin: 0 !important;
          padding: 0 8px 0 !important;
          box-sizing: border-box;
          overflow: visible !important;
        }
        #voices > .row:first-child,
        #voices2 > .row:first-child {
          min-height: 54px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin: -14px -14px 10px !important;
          padding: 13px 18px 16px !important;
          font-size: 16px !important;
          line-height: 1.2;
        }
        #voices > .row:first-child .close,
        #voices2 > .row:first-child .close {
          width: 30px;
          height: 30px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          line-height: 1;
        }
        #voices .voice_id,
        #voices2 .voice_id2 {
          height: 48px;
          padding: 6px 82px 6px 6px;
          border-radius: 13px;
          font-size: 14px;
        }
        #voices .icon-container,
        #voices2 .icon-container {
          width: 30px;
          height: 30px;
          min-width: 30px;
          margin-right: 10px;
        }
        #voices .apply-button,
        #voices2 .apply-button {
          right: 8px;
          min-height: 30px;
          padding: 5px 14px !important;
          line-height: 1.1;
        }
        #voices .is-premium-voice,
        #voices2 .is-premium-voice {
          color: #c4b5fd;
        }
        #voices .premium-voice-button,
        #voices2 .premium-voice-button {
          border: 1px solid rgba(139,92,246,.78) !important;
          background: rgba(124,58,237,.16) !important;
          color: #ddd6fe !important;
        }
        #voices .premium-voice-button:hover,
        #voices2 .premium-voice-button:hover {
          background: rgba(124,58,237,.26) !important;
          border-color: rgba(167,139,250,.92) !important;
        }
        #embedCont {
          position: fixed !important;
          inset: 0 !important;
          width: 100vw !important;
          max-width: none !important;
          height: calc(var(--vh, 1vh) * 100) !important;
          max-height: none !important;
          margin: 0 !important;
          transform: none !important;
          z-index: 2147483007 !important;
          align-items: center;
          justify-content: center;
          padding: 18px;
          background: rgba(0,0,0,.48) !important;
          backdrop-filter: blur(8px);
          -webkit-backdrop-filter: blur(8px);
          box-sizing: border-box;
        }
        #embedCont[style*="display: block"] {
          display: flex !important;
        }
        #embed {
          position: relative !important;
          inset: auto !important;
          transform: none !important;
          width: min(600px, calc(100vw - 48px)) !important;
          max-height: calc(var(--vh, 1vh) * 100 - 72px) !important;
          display: flex !important;
          flex-direction: column;
          margin: auto !important;
          padding: 0 !important;
          border: 1px solid rgba(255,255,255,.12) !important;
          border-radius: 22px !important;
          background: var(--bg-100,#171719) !important;
          box-shadow: 0 28px 80px rgba(0,0,0,.55) !important;
          overflow: hidden !important;
          box-sizing: border-box;
        }
        #embed::after {
          content: "";
          display: block;
          flex: 0 0 auto;
          height: 76px;
          border-top: 1px solid rgba(255,255,255,.14);
          background: var(--bg-100,#171719);
        }
        #embed > div:first-child {
          min-height: 62px;
          margin: 0 !important;
          padding: 13px 20px !important;
          box-sizing: border-box;
          border-bottom: 1px solid rgba(255,255,255,.08) !important;
        }
        #embed > div:first-child span:first-child {
          color: var(--text-100,#fff);
          font-size: 15px !important;
          font-weight: 700 !important;
          letter-spacing: -.01em;
        }
        #embed > div:first-child .close {
          width: 30px;
          height: 30px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border-radius: 10px;
        }
        #embed #embedContents {
          flex: 1 1 auto;
          min-height: 0;
          max-height: min(560px, calc(var(--vh, 1vh) * 100 - 170px)) !important;
          overflow-y: auto !important;
          margin-top: 0 !important;
          margin-bottom: 0 !important;
          padding: 18px 28px 0 !important;
          box-sizing: border-box;
        }
        #embed #embedContents > div {
          margin-bottom: 16px !important;
        }
        #embed #embedContents label {
          color: var(--text-200,#bbb) !important;
        }
        #embed .embed-theme-btn,
        #embed .embed-style-btn {
          width: 100%;
          height: 34px;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 0 !important;
          border: 0 !important;
          border-radius: 11px !important;
          background: transparent !important;
          color: var(--text-300,#8f9098) !important;
          font-size: 12px !important;
          font-weight: 850 !important;
          box-shadow: none !important;
          box-sizing: border-box;
          transition: background .16s ease,color .16s ease,box-shadow .16s ease !important;
        }
        #embed #embedContents label:has(> input[type="radio"]) {
          display: flex !important;
          align-items: center;
          width: 100%;
          height: 34px;
          min-width: 0;
          margin-bottom: 0 !important;
        }
        #embed #embedContents div:has(> label > input[type="radio"]) {
          min-height: 42px;
          display: grid !important;
          grid-template-columns: 1fr 1fr;
          gap: 4px !important;
          padding: 4px;
          border: 1px solid rgba(255,255,255,.10);
          border-radius: 15px;
          background: rgba(0,0,0,.20);
          box-sizing: border-box;
        }
        #embed input[type="radio"]:checked + .embed-theme-btn,
        #embed input[type="radio"]:checked + .embed-style-btn {
          background: rgba(255,255,255,.075) !important;
          border-color: transparent !important;
          color: var(--text-100,#fff) !important;
          box-shadow: none !important;
        }
        #embed .embed-theme-btn:hover,
        #embed .embed-style-btn:hover {
          color: var(--text-100,#fff) !important;
        }
        #embed input[type="color"],
        #embed input[type="number"],
        #embed input[type="text"],
        #embed textarea {
          border-radius: 12px !important;
          border-color: rgba(255,255,255,.13) !important;
          background: rgba(255,255,255,.055) !important;
          color: var(--text-100,#fff) !important;
        }
        #embed .copy {
          position: absolute;
          right: 20px;
          bottom: 14px;
          z-index: 4;
          float: none !important;
          width: auto !important;
          min-height: 48px;
          margin: 0 !important;
          padding: 0 20px !important;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 12px !important;
          border: 0 !important;
          outline: 0 !important;
          background: #14b8a6 !important;
          color: #fff !important;
          font-size: 14px !important;
          font-weight: 800 !important;
          box-shadow: none !important;
        }
        #avatars #embedContents,
        #avatars2 #embedContents {
          max-height: min(420px, calc(var(--vh, 1vh) * 100 - 170px)) !important;
          overflow-y: auto !important;
        }
    }