html {height: 100%; margin: 0; padding: 0; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* 让文字不可选中 */
body {height: 100%;  margin: 0; padding: 0; display: flex; overflow: hidden; flex-direction: column; font-family: "Segoe UI", "Helvetica Neue", Arial, "Pingfang SC", "Noto Sans SC", "Microsoft Yahei", sans-serif;}


/* ========== 通用样式重置 ========== */
*, *::before, *::after {box-sizing: border-box; margin: 0; padding: 0; list-style: none; }
body {font-size: 14px; line-height: 1.6; background-color: #ffffff; color: #101010;}
h1, h2, h3, h4, h5, h6 {font-weight: normal;  font-size: inherit; }
a {text-decoration: none; color: inherit; outline: none; }
strong, b {font-weight: normal; }
em, i {font-style: normal; }
u {text-decoration: none; }
del {text-decoration: none; color: inherit; }
input, select, textarea, button {font-family: inherit; font-size: inherit; line-height: inherit; border: none; background-color: #fff; outline: none; padding: 0; appearance: none; -webkit-appearance: none; -moz-appearance: none;}

textarea {resize: none; }
select {background: url("/img/svg/down.svg") no-repeat calc(100% - 10px) center / 14px 14px;}
button {border: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; }
input[type="checkbox"], input[type="radio"] {appearance: auto; -webkit-appearance: auto; }
select::-ms-expand {display: none; }
table {border-collapse: collapse; border-spacing: 0; border: none; }
td, th {padding: 0; border: none; }
img, svg, video, audio, iframe {border: none; max-width: 100%; height: auto; vertical-align: middle; }
.clearfix::after {content: ""; display: block; clear: both; height: 0; visibility: hidden; }
:focus-visible {outline: none; box-shadow: none; }
input:-internal-autofill-selected {background-color: #fff !important;}
:root {--animate-duration: 0.4s; }  /* 全局修改 Animate.css 所有动画的时长为 0.4s */



/* 标题栏 ---------------------------------------------------------------------------------- */
.titlebar {height: 48px; -webkit-app-region: drag; display: flex; z-index:999;}
.titlebar .icon {flex: 1; padding: 4px 0px 0px 10px;}
.titlebar .icon img {width: 20px;}
.titlebar .title {flex: 3;   font-weight:bold; text-align: center; padding-top: 8px;}
.titlebar .bar {flex: 1; text-align: end; padding-right: 8px;}
.titlebar .bar button {float: right; width: 34px; height: 36px; font-size: 18px; margin: 1px 0px 0px 4px;  -webkit-app-region: no-drag; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer;}
.titlebar .bar button img {width: 18px;}
.titlebar .bar #minimize, .titlebar .bar #maximize, .titlebar .bar #close {width: 28px;}
.titlebar .bar #minimize img {width: 10px;}
.titlebar .bar #maximize img {width: 12px;}
.titlebar .bar #close img {width: 14px;}


/* 窗口核心区域 */
.main {flex: 1; display: flex; height: calc(100% - 48px);}


/* 登录之前，包含登录、注册、密码找回等模块的样式 */
.no-signin {flex: 1; display: flex; justify-content: center; align-items: center;}
.no-signin .box {width: 380px;}
.no-signin h4 {font-size: 18px; font-weight: bold; line-height: 18px; margin-bottom: 10px;}
.no-signin p { color: #888888; line-height: 36px; margin-bottom: 10px;}
.no-signin input {width: 100%; margin-bottom: 20px; height: 40px; line-height: 24px; border-radius: 8px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px; padding-right: 14px; padding-bottom: 1px;}
.no-signin input:focus {box-shadow: none; }
.no-signin .box-1 {display: flex; gap: 10px; margin-bottom: 18px;}
.no-signin .box-1 .remember {flex: 1; display: flex; align-items: center; justify-content: start;}
.no-signin .box-1 .remember span {margin-left: 26px;}
.no-signin .box-1 .remember input[type="checkbox"] {border: 1px solid #DDDDDD; border-radius: 4px; appearance: none; width: 16px; height: 16px; padding: 0px; cursor: pointer; margin: 0px 8px 0px 0px; position: absolute;}
.no-signin .box-1 .remember input[type="checkbox"]:checked {background-repeat: #0D99FF; background-image: url("/img/svg/checked.svg"); background-size: 16px 16px; border-color: #0D99FF;}
.no-signin .box-1 .forget {flex: 1;  display: flex; align-items: center; justify-content: end;}
.no-signin .box-1 .forget span {cursor: pointer;}
.no-signin .box-1 input {flex: 1; height: 18px; color: #888888; margin-right: 12px; border-color: #dddddd; padding-left: 16px; }
.no-signin .error {color: #FF900D; margin-top: -8px; margin-bottom: 15px; display: none;}
.no-signin p span {color: #0D99FF; cursor: pointer;}
.no-signin .box-2 {display: flex; gap: 10px; margin-bottom: 40px;}
.no-signin .box-2 button {flex: 1; height: 40px; border-radius: 8px;}
.no-signin .box-2 .btn-1 {background-color: #0D99FF; color: #ffffff; border: 1px solid #0D99FF; font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.no-signin .box-2 .btn-1:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}
.no-signin .box-2 .btn-2 {background-color: #ffffff; color: #444444; border: 1px solid #ffffff; font-weight: bold; box-shadow: rgba(223, 223, 223, 0.4) 0px 4px 6px 0px;}
.no-signin .box-2 .btn-2:active {border-color: #dddddd;}
.no-signin .box-3 {display: flex; gap: 10px;}
.no-signin .box-3 input {flex: 1;}
.no-signin .box-3 button {flex: 1; height: 40px; background-color: #0D99FF; border-radius: 8px; color: #ffffff; border: 1px solid #0D99FF; font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.no-signin .box-3 button:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}


/* 首页 */
.home {flex: 1; display: flex; flex-direction: column; height: 100%;}
.home-top {height: 70px; border-bottom: 1px solid #E6E6E6; padding: 2px 0px 0px 14px;}
.home-top .urer-head {position: absolute; cursor: pointer;}
.home-top .urer-head img {width: 48px; border-radius: 24px;}
.home-top .urer-head img:hover {animation: swing 0.4s ease forwards;}
.home-top .urer-name {position: absolute; margin: 3px 0px 0px 62px;  font-weight: bold; color: #212529; cursor: pointer;}
.home-top .urer-status {position: absolute; margin: 27px 0px 0px 62px; font-size: 13px; color: #888888; cursor: pointer;}
.home-bottom {display: flex;  height: calc(100% - 70px); padding-right: 5px;}
.home-left {width: 240px; border-right: 1px solid #E6E6E6; padding: 4px 0px 0px 0px; display: flex; flex-direction: column;}
.home-left .box-1 {flex: 1;}
.home-left .box-1 > :first-child {border-bottom: 1px solid #E6E6E6;}
.home-left .box-1 ul {list-style-type: none; padding: 0px 10px 6px 10px; margin-top: 20px;}
.home-left .box-1 li {align-items: center; display: flex;  height: 39px; line-height: 39px; margin-bottom: 8px; border-radius: 8px; padding: 0px 15px 0px 15px;cursor: pointer;}
.home-left .box-1 li:hover {background-color: #f2faff;}
.home-left .box-1 li:hover .icon {background-color: #666666;}
.home-left .box-1 .active {font-weight: 500; background-color: #E5F4FF !important; }
.home-left .box-1 li .icon {display: inline-block; width: 18px; height: 18px; margin: 0px 12px 0px 0px; background-color: #888888;}
.home-left .box-1 .active .icon {background-color: #303030;}
.home-left .box-1 li .icon-home {-webkit-mask: url('/img/svg/home.svg') no-repeat center / contain; mask: url('/img/svg/home.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-profile {-webkit-mask: url('/img/svg/profile.svg') no-repeat center / contain; mask: url('/img/svg/profile.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-card {-webkit-mask: url('/img/svg/card.svg') no-repeat center / contain; mask: url('/img/svg/card.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-wallet {-webkit-mask: url('/img/svg/wallet.svg') no-repeat center / contain; mask: url('/img/svg/wallet.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-money {-webkit-mask: url('/img/svg/money.svg') no-repeat center / contain; mask: url('/img/svg/money.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-safety {-webkit-mask: url('/img/svg/safety.svg') no-repeat center / contain; mask: url('/img/svg/safety.svg') no-repeat center / contain;}
.home-left .box-1 li .icon-out {-webkit-mask: url('/img/svg/out.svg') no-repeat center / contain; mask: url('/img/svg/out.svg') no-repeat center / contain;}
.home-left .box-1 li span {position: absolute; right: 30px; font-weight: 500;}
.home-left .ad-1 {height: 148px; padding: 0px 15px 15px 15px; display: flex; align-items: flex-end;}
.home-left .ad-1 p {line-height: 14px; margin-bottom: 10px;}
.home-left .ad-1 img {width: 210px; border-radius: 8px;cursor: pointer;}
/* .home-left .ad-1 img:hover {animation: rubberBand 0.3s ease forwards;} */
.home-right {flex: 1; padding: 30px 10px 30px 30px; overflow-y: auto; margin-bottom: 5px; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;} /* 让右侧区域的文字可以选中 */
.home-right::-webkit-scrollbar {width: 4px;} /* 设置滚动条样式 */
.home-right::-webkit-scrollbar-track {background: #ffffff;}  /* 滚动条轨道 */
.home-right::-webkit-scrollbar-thumb {background: #b2b2b2; border-radius: 4px;}/* 滚动条滑块 */
.home-right::-webkit-scrollbar-thumb:hover {background: #888888;} /* 滚动条滑块悬停状态 */

/* 我的脚本 */
.myscript h3 {font-size: 18px; font-weight: bold; margin-bottom: 30px; clear: both;}
.myscript ul {list-style-type: none; padding: 0px; margin-bottom: 40px; display: flow-root;}
.myscript li {width: 220px; height: 220px; margin: 0px 20px 20px 0px; float: left; position: relative}
.myscript li .box-1 {width: 220px; height: 140px; border-radius: 8px; border: 1px solid #E9F4FF; background-image: url("/img/bg-1.png"); margin-bottom: 12px; display: flex; justify-content: center; align-items: center;  cursor: pointer;}
.myscript li .icon {width: 48px; height: 48px; background-color: #5e9cfe; border-radius: 8px; display: flex; justify-content: center; align-items: center;}
.myscript li .icon .icon-new {-webkit-mask: url('/img/svg/add.svg') no-repeat center / contain; mask: url('/img/svg/add.svg') no-repeat center / contain; display: inline-block; width: 24px; height: 24px; background-color: #ffffff;}
.myscript li .icon .icon-script {-webkit-mask: url('/img/svg/script.svg') no-repeat center / contain; mask: url('/img/svg/script.svg') no-repeat center / contain; display: inline-block; width: 24px; height: 24px; background-color: #ffffff;}
.myscript .scriptlist li h4 {width: 180px;}
.myscript .scriptlist li .more {width: 100px; height: 136px; margin: 150px 0px 0px 120px; position: absolute;}
.myscript .scriptlist li .more img {width: 33px; height: 23px; padding-left: 10px; position: absolute; margin-left: 63px; cursor: pointer;}
.myscript .scriptlist li .more img:hover + .more-box {display: block;}
.myscript .scriptlist li .more .more-box {width: 100px; height: 100px; position: absolute; margin: 20px 0px 0px 0px; z-index: 9; display:none;}
.myscript .scriptlist li .more .more-box:hover {display: block;}
.myscript .scriptlist li .more .more-box .triangle {position: relative;width: 0;height: 0;border-bottom: 8px solid #E6E6E6;border-left: 8px solid transparent;border-right: 8px solid transparent; position: absolute; margin: 3px 0px 0px 76px;}
.myscript .scriptlist li .more .more-box .triangle::after {content: "";position: absolute;top: 1px;left: -8px;width: 0;height: 0;border-bottom: 8px solid #ffffff;border-left: 8px solid transparent;border-right: 8px solid transparent;}
.myscript .scriptlist li .more .more-box .list {width: 100px; height: 82px; border: 1px solid #E6E6E6; border-radius: 6px; background-color: #ffffff; position: absolute; margin-top: 10px; box-shadow: rgba(223, 223, 223, 0.4) 0px 4px 6px 0px;}
.myscript .scriptlist li .more .more-box .rename {width: 98px; height: 40px; position: absolute; margin: 11px 0px 0px 1px;  text-align: center; line-height: 40px; border-top-left-radius: 7px; border-top-right-radius: 7px; cursor: pointer; border-bottom: 1px solid #E6E6E6;}
.myscript .scriptlist li .more .more-box .rename:hover {background-color: #f2faff;}
.myscript .scriptlist li .more .more-box .delete {width: 98px; height: 40px; position: absolute; margin: 51px 0px 0px 1px;  text-align: center; line-height: 40px; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; cursor: pointer;}
.myscript .scriptlist li .more .more-box .delete:hover {background-color: #f2faff;}
.myscript li .box-2 {width: 220px; height: 140px; border-radius: 8px; margin-bottom: 12px; display: flex; justify-content: center; align-items: center;  cursor: pointer;position: relative; font-weight: 500; color: #888888;}
.myscript li .box-2 img {width: 220px; height: 140px; border-radius: 8px; position: absolute; }
.myscript li .icon-1 {width: 220px; height: 140px; border-radius: 8px; display: flex; justify-content: center; align-items: center; position: relative; background-color: rgba(0, 0, 0, 0.6);}
.myscript li .icon-1:hover {background-color: rgba(0, 0, 0, 0.4);}
.myscript li .icon-2 {width: 60px; height: 60px; background-color: #e6e6e6; border-radius: 30px; display: flex; justify-content: center; align-items: center;}
.myscript li .icon-2 .icon-more {-webkit-mask: url('/img/svg/more-1.svg') no-repeat center / contain; mask: url('/img/svg/more-1.svg') no-repeat center / contain; display: inline-block; width: 30px; height: 30px; background-color: #ffffff;}
.myscript li .box-2:hover .icon-2 {background-color: #888888;}
.myscript li .box-2:hover {color: #212529;}
.myscript li .icon-1 .icon-video {-webkit-mask: url('/img/svg/video.svg') no-repeat center / contain; mask: url('/img/svg/video.svg') no-repeat center / contain; display: inline-block; width: 40px; height: 40px; background-color: #ffffff;position: relative;}
.myscript li h4 { line-height: 20px; margin-bottom: 10px;}
.myscript li p {width: 180px; line-height: 18px; color: #888888;}
.myscript li .box-1:hover .icon {animation: swing 0.3s ease forwards;}
.myscript li .box-2:hover .icon-1 i {animation: swing 0.4s ease forwards;}
.myscript .scriptlist li:nth-child(1) .box-1 {background-image: url('/img/bg-1.png');}
.myscript .scriptlist li:nth-child(2) .box-1 {background-image: url('/img/bg-2.png');}
.myscript .scriptlist li:nth-child(3) .box-1 {background-image: url('/img/bg-3.png');}
.myscript .scriptlist li:nth-child(4) .box-1 {background-image: url('/img/bg-4.png');}
.myscript .scriptlist li:nth-child(5) .box-1 {background-image: url('/img/bg-5.png');}
.myscript .scriptlist li:nth-child(6) .box-1 {background-image: url('/img/bg-6.png');}
.myscript .scriptlist li:nth-child(7) .box-1 {background-image: url('/img/bg-1.png');}
.myscript .scriptlist li:nth-child(8) .box-1 {background-image: url('/img/bg-2.png');}
.myscript .scriptlist li:nth-child(9) .box-1 {background-image: url('/img/bg-3.png');}
.myscript .scriptlist li:nth-child(10) .box-1 {background-image: url('/img/bg-4.png');}
.myscript .scriptlist li:nth-child(11) .box-1 {background-image: url('/img/bg-5.png');}
.myscript .scriptlist li:nth-child(12) .box-1 {background-image: url('/img/bg-6.png');}
.myscript .scriptlist li:nth-child(13) .box-1 {background-image: url('/img/bg-1.png');}
.myscript .scriptlist li:nth-child(14) .box-1 {background-image: url('/img/bg-2.png');}
.myscript .scriptlist li:nth-child(15) .box-1 {background-image: url('/img/bg-3.png');}
.myscript .scriptlist li:nth-child(16) .box-1 {background-image: url('/img/bg-4.png');}
.myscript .scriptlist li:nth-child(17) .box-1 {background-image: url('/img/bg-5.png');}
.myscript .scriptlist li:nth-child(18) .box-1 {background-image: url('/img/bg-6.png');}
.myscript .scriptlist li:nth-child(19) .box-1 {background-image: url('/img/bg-1.png');}
.myscript .scriptlist li:nth-child(20) .box-1 {background-image: url('/img/bg-2.png');}
.myscript .scriptlist li:nth-child(21) .box-1 {background-image: url('/img/bg-3.png');}
.myscript .scriptlist li:nth-child(1) .icon {background-color:#5e9cfe;}
.myscript .scriptlist li:nth-child(2) .icon {background-color:#53ced9;}
.myscript .scriptlist li:nth-child(3) .icon {background-color:#9065ff;}
.myscript .scriptlist li:nth-child(4) .icon {background-color:#e982e3;}
.myscript .scriptlist li:nth-child(5) .icon {background-color:#fe71a2;}
.myscript .scriptlist li:nth-child(6) .icon {background-color:#fe9c6d;}
.myscript .scriptlist li:nth-child(7) .icon {background-color:#5e9cfe;}
.myscript .scriptlist li:nth-child(8) .icon {background-color:#53ced9;}
.myscript .scriptlist li:nth-child(9) .icon {background-color:#9065ff;}
.myscript .scriptlist li:nth-child(10) .icon {background-color:#e982e3;}
.myscript .scriptlist li:nth-child(11) .icon {background-color:#fe71a2;}
.myscript .scriptlist li:nth-child(12) .icon {background-color:#fe9c6d;}
.myscript .scriptlist li:nth-child(13) .icon {background-color:#5e9cfe;}
.myscript .scriptlist li:nth-child(14) .icon {background-color:#53ced9;}
.myscript .scriptlist li:nth-child(15) .icon {background-color:#9065ff;}
.myscript .scriptlist li:nth-child(16) .icon {background-color:#e982e3;}
.myscript .scriptlist li:nth-child(17) .icon {background-color:#fe71a2;}
.myscript .scriptlist li:nth-child(18) .icon {background-color:#fe9c6d;}
.myscript .scriptlist li:nth-child(19) .icon {background-color:#5e9cfe;}
.myscript .scriptlist li:nth-child(20) .icon {background-color:#53ced9;}
.myscript .scriptlist li:nth-child(21) .icon {background-color:#9065ff;}


/* 生成卡密 */
.addkey h3 {font-size: 18px; font-weight: bold; margin-bottom: 30px; clear: both;}
.addkey p { color: #888888; line-height: 14px; margin-bottom: 10px;}
.addkey select, .addkey input {width: 480px; margin-bottom: 20px; height: 40px; border-radius: 8px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px;}
.addkey input:focus, .addkey select:focus {box-shadow: none; }
.addkey h5 { font-weight: bold; margin-bottom: 12px; clear: both; margin-top: 10px;}
.addkey .l-mb-3 {margin-bottom: 30px;}
.addkey .error {color: #FF900D; margin-bottom: 20px; display: none;}
.addkey .btn-1 {width: 160px; height: 40px; margin-top: 10px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.addkey .btn-1:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}



/* 卡密管理 */
.keymanagement {padding-right: 20px;}
.keymanagement h3 {font-size: 18px; font-weight: bold; margin-bottom: 20px; clear: both;}
.keymanagement p { line-height: 18px; color: #888888; margin-bottom: 10px;}
.keymanagement .l-mb-20 {margin-bottom: 20px;}
.keymanagement .filter {margin-bottom: 20px;}
.keymanagement .filter select, .keymanagement .filter input {width: 330px; height: 40px; margin-right: 20px; border-radius: 8px; border: 1px solid #E6E6E6;  color: #101010; padding-left: 14px; float: left;}
.keymanagement .filter input:focus, .keymanagement .filter select:focus {box-shadow: none;}
.keymanagement .filter select {appearance: none; -webkit-appearance: none; -moz-appearance: none;}
.keymanagement .filter .l-w-220 {width: 220px;}
.keymanagement .filter button {width: 120px; height: 40px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.keymanagement .filter button:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}
.keymanagement table {width: 100%;  margin-bottom: 40px;border-collapse: collapse;}
.keymanagement table th {text-align: center; height: 42px; line-height: 42px; border-bottom: 1px solid #E6E6E6;}
.keymanagement table th:last-child {width: 80px;}
.keymanagement table th:first-child {text-align: left; padding-left: 0px;}
.keymanagement table td {color: #888888; text-align: center; height: 42px; line-height: 42px;  border-bottom: 1px solid #E6E6E6;}
.keymanagement table td:last-child {width: 80px;}
.keymanagement table td:first-child {text-align: left; padding-left: 0px;}
.keymanagement table td:nth-child(1) {color: #101010;}
.keymanagement table .delete {color: #ff7800; cursor: pointer;}
.keymanagement table .revoke {color: #ff0059; cursor: pointer;}
.keymanagement tbody tr:hover {background-color: #f8f8f8;}
.keymanagement .page {list-style: none; padding: 0px; padding-bottom: 60px;}
.keymanagement .page li {border: 1px solid #E6E6E6; border-radius: 6px; padding: 7px 15px 7px 15px; margin-right: 8px; float: left; color: #101010; cursor: pointer;}
.keymanagement .page li:hover {color: #5e9cfe;}
.keymanagement .page .active {color: #5e9cfe; border: 1px solid #5e9cfe;}


/* 余额 */
.financial {padding-right: 20px;}
.financial h3 {font-size: 18px; font-weight: bold; margin-bottom: 20px; clear: both;}
.financial p { line-height: 18px; color: #888888; margin-bottom: 10px;}
.financial .l-mb-20 {margin-bottom: 20px;}
.financial .filter {margin-bottom: 20px;}
.financial .filter select, .financial .filter input {width: 330px; height: 40px; margin-right: 20px; border-radius: 8px; border: 1px solid #E6E6E6;  color: #101010; padding-left: 14px; float: left;}
.financial .filter input:focus, .financial .filter select:focus {box-shadow: none;}
.financial .filter select {appearance: none; -webkit-appearance: none; -moz-appearance: none;}
.financial .filter .l-w-220 {width: 220px;}
.financial .filter button {width: 120px; height: 40px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.financial .filter button:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}
.financial table {width: 100%;  margin-bottom: 40px;border-collapse: collapse;}
.financial table th {text-align: center; height: 42px; line-height: 42px; border-bottom: 1px solid #E6E6E6;}
.financial table th:last-child {width: 150px;}
.financial table th:first-child {text-align: left; padding-left: 0px;}
.financial table td:nth-child(1) {color: #101010;}
.financial table td {color: #888888; text-align: center; height: 42px; line-height: 42px;  border-bottom: 1px solid #E6E6E6;}
.financial table td:last-child {width: 150px;}
.financial table td:first-child {text-align: left; padding-left: 0px;}
.financial table .delete {color: #FF900D; cursor: pointer;}
.financial table .revoke {color: #FF0D0D; cursor: pointer;}
.financial tbody tr:hover {background-color: #f8f8f8;}
.financial .page {list-style: none; padding: 0px; padding-bottom: 60px;}
.financial .page li { border: 1px solid #E6E6E6; border-radius: 6px; padding: 7px 15px 7px 15px; margin-right: 8px; float: left; color: #101010; cursor: pointer;}
.financial .page li:hover {color: #5e9cfe;}
.financial .page .active {color: #5e9cfe; border: 1px solid #5e9cfe;}


/* 修改登录密码 */
.changepassword h3 {font-size: 18px; font-weight: bold; margin-bottom: 30px; clear: both;}
.changepassword p { color: #888888; line-height: 14px; margin-bottom: 10px;}
.changepassword select, .changepassword input {width: 480px; margin-bottom: 20px; height: 40px; border-radius: 8px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px;}
.changepassword input:focus, .changepassword select:focus {box-shadow: none; }
.changepassword h5 { font-weight: bold; margin-bottom: 12px; clear: both; margin-top: 10px;}
.changepassword .l-mb-3 {margin-bottom: 30px;}
.changepassword .error {color: #FF900D; margin-bottom: 20px; display: none;}
.changepassword .btn-1 {width: 160px; height: 40px; margin-top: 10px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.changepassword .btn-1:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}


/* 修改个人信息 */
.profile h3 {font-size: 18px; font-weight: bold; margin-bottom: 20px; clear: both;}
.profile p {color: #888888; line-height: 14px; margin-bottom: 10px;}
.profile select, .profile input {width: 440px; margin-bottom: 20px; height: 40px; border-radius: 8px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px;}
.profile input:focus, .profile select:focus {box-shadow: none; }
.profile .box {display: flex; width: 890px; gap: 20px;}
.profile .box div {flex: 1; }
.profile .selecthead {width: 920px; font-size: 0px; padding-bottom: 40px;}
.profile .selecthead img {width: 60px; height: 60px; border-radius: 8px; margin: 0px 10px 10px 0px; padding: 0px; cursor: pointer;}
.profile .selecthead img:hover {animation: swing 0.3s ease forwards;}
.profile h5 { font-weight: bold; margin-bottom: 12px; clear: both; margin-top: 10px;}
.profile .l-mb-3 {margin-bottom: 30px;}
.profile .l-mt-5 {margin-top: 50px;}
.profile .error {color: #FF900D; margin-bottom: 20px; margin-top: 5px; display: none;}
.profile .btn-1 {width: 900px; height: 40px; margin-top: 10px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.profile .btn-1:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}


/* 工作区 */
.workspace {flex: 1; display: flex; flex-direction: column; height: 100%;}
.workspace .workspace-top {height: 52px; border-bottom: 1px solid #E6E6E6; display: flex; padding-bottom: 6px;}
.workspace .workspace-top .back {flex: 1; display: flex; justify-content: start; align-items: center; font-weight: bold; }
.workspace .workspace-top .back div {display: flex; height: 40px; border-radius: 8px; align-items: center; padding: 0px 15px 0px 5px; margin-left: 5px; cursor: pointer;}
.workspace .workspace-top .back div:hover {background-color: #f2faff  !important;}
.workspace .workspace-top .back img {width: 20px; height: 20px; margin-right: 5px; margin-top: 1px;}
.workspace .workspace-top .tool {flex: 4; display: flex; justify-content: end; align-items: center;}
.workspace .workspace-top .tool ul {margin-right: 12px;}
.workspace .workspace-top .tool li {height: 32px; padding-left: 15px; padding-right: 18px; border-radius: 8px; margin-left: 4px; float: left; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.workspace .workspace-top .tool li img {width: 20px; height: 20px; margin-right: 6px;}
.workspace .workspace-top .tool li:hover {background-color: #f2faff;}
.workspace .workspace-top .tool li:active {background-color: #E5F4FF;}
.workspace .workspace-top .tool .active {font-weight: 500; background-color: #E5F4FF !important;}


/* 脚本启动时启动按钮的动画 */
@keyframes float-smooth {
  0% {
    transform: translateY(0); /* 初始位置 */
  }
  50% {
    transform: translateY(-4px); /* 向上浮动10px */
  }
  100% {
    transform: translateY(0); /* 回到初始位置 */
  }
}

/* 脚本启动时启动按钮的动画 */
.running {
  animation: float-smooth 1.2s ease-in-out infinite; /* 2秒一个周期，无限循环 */
  /* 可选：防止元素浮动时遮挡其他内容 */
  position: relative; 
  z-index: 1;
}


.workspace .workspace-center {display: flex; height: calc(100% - 52px); padding-right: 5px;}


/* 积木块编辑区域 */
.workspace .editor {flex: 1; display: flex; flex-direction: column; position: relative;}
.workspace .editor .tip {position: absolute; font-size: 13px; padding: 5px 20px 5px 20px; top: 20px; right: 20px; border-radius: 8px; background-color: #f2faff; color: #888888; z-index: 9;}
.workspace .editor .book { position: absolute; font-size: 13px; padding: 10px; bottom: 14px; left: 13px; border-radius: 8px; z-index: 99; cursor: pointer; }
.workspace .editor .book:hover {background-color: #f2faff;}
.workspace .editor .book:active {background-color: #E5F4FF;}
.workspace .editor .book img {width: 24px; height: 24px;}
.workspace .editor #blocklyDiv {width: 100%; height: 100%; padding: 0px; }


/* 功能模块设置 */
.workspace .work_and_module {width: 250px; padding-bottom: 5px; border-left: 1px solid #E6E6E6; }
.workspace .work_and_module .box {width: 100%; height: 100%; overflow-y: auto;}
.workspace .work_and_module .box::-webkit-scrollbar {width: 4px;} /* 设置滚动条样式 */
.workspace .work_and_module .box::-webkit-scrollbar-track {background: #ffffff;}  /* 滚动条轨道 */
.workspace .work_and_module .box::-webkit-scrollbar-thumb {background: #b2b2b2; border-radius: 4px;}/* 滚动条滑块 */
.workspace .work_and_module .box::-webkit-scrollbar-thumb:hover {background: #888888;} /* 滚动条滑块悬停状态 */
.workspace .work_and_module .box .titlebox {height: 50px; padding: 20px 10px 0px 22px; margin-bottom: 15px; display: flex; font-weight: bold; align-items: center;}
.workspace .work_and_module .box .titlebox div {margin-right: 10px; display: flex;}
.workspace .work_and_module .box .titlebox > :nth-child(1) {margin-right: 0px;}
.workspace .work_and_module .box .titlebox > :nth-child(3) {margin-left: auto; margin-right: 0px; border-radius: 4px;}
.workspace .work_and_module .box .titlebox > :nth-child(3):hover {background-color: #f2faff;}
.workspace .work_and_module .box .titlebox > :nth-child(3):active {background-color: #E5F4FF;}
.workspace .work_and_module .box .titlebox > :nth-child(n+1) {cursor: pointer; padding: 4px;}
.workspace .work_and_module .box .titlebox img {width: 20px; height: 20px;}
.workspace .work_and_module .box .titlebox > :nth-child(2) img {width: 14px; height: 14px;}
.workspace .work_and_module .box ul {padding: 0px 10px 10px 10px;}
.workspace .work_and_module .box li {height: 40px; line-height: 39px; border-radius: 8px; padding-left: 16px; padding-right: 16px; margin-bottom: 6px; cursor: pointer; position: relative;}
.workspace .work_and_module .box .active {background-color: #E5F4FF !important;}
.workspace .work_and_module .box li:hover {background-color: #f2faff;}
.workspace .work_and_module .box li:active {background-color: #E5F4FF;}
.workspace .work_and_module .box .borbot {border-bottom: 1px solid #E6E6E6;}
.workspace .work_and_module .box .l-mb-200 {margin-bottom: 160px;}
.workspace .work_and_module .box li:hover .more {display: block;}
.workspace .work_and_module .box li .more {width: 40px; height: 20px; padding-left: 10px; padding-right: 10px; top: 9px; right: 2px; position: absolute; display: none;}
.workspace .work_and_module .box li .more:hover + .pop {display: block;}
.workspace .work_and_module .box li .pop:hover {display: block;}
.workspace .work_and_module .box li .pop {width: 100px; height: 173px; top: 24px; right: 6px; position: absolute; z-index: 9; font-weight: normal; display: none;}
.workspace .work_and_module .box li .pop .triangle {position: relative;width: 0;height: 0;border-bottom: 8px solid #E6E6E6;border-left: 8px solid transparent;border-right: 8px solid transparent; position: absolute; margin: 3px 0px 0px 76px;}
.workspace .work_and_module .box li .pop .triangle::after {content: "";position: absolute;top: 1px;left: -8px;width: 0;height: 0;border-bottom: 8px solid #ffffff;border-left: 8px solid transparent;border-right: 8px solid transparent; z-index: 9;}
.workspace .work_and_module .box li .pop .list {width: 100px; height: 162px; border: 1px solid #E6E6E6; border-radius: 6px; background-color: #ffffff; position: absolute; margin-top: 10px; box-shadow: rgba(223, 223, 223, 0.4) 0px 4px 6px 0px;}
.workspace .work_and_module .box li .pop .up_work, .workspace .work_and_module .box li .pop .up_module {width: 99px; height: 40px; position: absolute; margin: 0px 0px 0px 0px;  text-align: center; line-height: 40px;  cursor: pointer; border-bottom: 1px solid #E6E6E6; border-top-left-radius: 7px; border-top-right-radius: 7px;}
.workspace .work_and_module .box li .pop .up_work:hover,.workspace .work_and_module .box li .pop .up_module:hover {background-color: #f2faff;}
.workspace .work_and_module .box li .pop .down_work, .workspace .work_and_module .box li .pop .down_module {width: 99px; height: 40px; position: absolute; margin: 40px 0px 0px 0px;  text-align: center; line-height: 40px;  cursor: pointer; border-bottom: 1px solid #E6E6E6;}
.workspace .work_and_module .box li .pop .down_work:hover, .workspace .work_and_module .box li .pop .down_module:hover {background-color: #f2faff;}
.workspace .work_and_module .box li .pop .rename_work, .workspace .work_and_module .box li .pop .rename_module {width: 99px; height: 40px; position: absolute; margin: 80px 0px 0px 0px;  text-align: center; line-height: 40px;  cursor: pointer; border-bottom: 1px solid #E6E6E6;}
.workspace .work_and_module .box li .pop .rename_work:hover, .workspace .work_and_module .box li .pop .rename_module:hover {background-color: #f2faff;}
.workspace .work_and_module .box li .pop .delete_work, .workspace .work_and_module .box li .pop .delete_module {width: 99px; height: 40px; position: absolute; margin: 120px 0px 0px 0px;  text-align: center; line-height: 40px;  cursor: pointer; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px;}
.workspace .work_and_module .box li .pop .delete_work:hover, .workspace .work_and_module .box li .pop .delete_module:hover {background-color: #f2faff;}
.workspace .work_and_module .box ul p {padding-left: 16px; padding-bottom: 16px; color: #888;}
.workspace .work_and_module .box .ad {width: 244px; height: 85px; bottom: 0px; padding-left: 15px; background-color: #ffffff; position: absolute; z-index: 9;}
.workspace .work_and_module .box .ad div {position: absolute; bottom: 0px; margin-bottom: 15px;}
.workspace .work_and_module .box .ad img {width: 226px; border-radius: 8px; cursor: pointer;}
/* .workspace .work_and_module .box .ad img:hover {animation: pulse 0.3s ease forwards;} */
.workspace .work_and_module .box .ad p {margin-bottom: 8px;}


/* 弹出框样式 */
.popbox {width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; position: absolute; z-index: 99;}
.popbox > div {width: 520px; background-color: #fff; border-radius: 10px; padding: 30px; position: relative; display: none;}
.popbox .pop_close {width: 32px; height: 32px; line-height: 0px; padding: 6px; border-radius: 5px; top: 15px; right: 15px; position: absolute; cursor: pointer;}
.popbox .pop_close:hover {background-color: #f2faff;}
.popbox .pop_close:active {background-color: #E5F4FF;}
.popbox h2 {width: 100%; height: 52px; font-size: 16px; font-weight: 500; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}
.popbox .script_name {width: 100%; height: 40px; line-height: 24px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px; display: block;}
.popbox .error {color: #FF900D; display: none; margin-bottom: 0px;}
.popbox .des {margin-top: 25px; color: #888; float: left;}
.popbox .confirm_btn {width: 140px; height: 40px; margin-top: 15px; border-radius: 8px; background-color: #0D99FF; color: #ffffff; border: 1px solid #0D99FF; font-weight: bold; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px; float: right;}
.popbox .confirm_btn:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}
.popbox p {color: #888; margin-bottom: 18px; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}
.popbox p span {color: #0D99FF; cursor: pointer;}
.popbox .pop_call_logo {width: 80px;}
.popbox .pop_call div {user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}


/* 脚本基本设置和接口设置 */
.popbox .script_config {width: calc(100% - 200px); display: flex; height: calc(100% - 200px); max-width: 1600px; max-height: 900px; padding-right: 5px; padding-bottom: 10px; padding-top: 50px;}
.popbox .script_config .pop_close {width: 32px; height: 32px; line-height: 0px; padding: 6px; border-radius: 5px; top: 15px; right: 15px; position: absolute; cursor: pointer; z-index: 9;}
.popbox .script_config .pop_close:hover {background-color: #f2faff;}
.popbox .script_config .pop_close:active {background-color: #E5F4FF;}
.popbox .script_config h2 {width: calc(100% - 40px); height: 40px; background-color: #fff; top: 28px; left: 30px; font-size: 16px; font-weight: 500; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text; position: absolute; }
.popbox .script_config .box {width: 100%; height: 100%; padding: 30px 20px 0px 0px; overflow-y: auto; display: flex; }
.popbox .script_config .box::-webkit-scrollbar {width: 4px;} /* 设置滚动条样式 */
.popbox .script_config .box::-webkit-scrollbar-track {background: #ffffff;}  /* 滚动条轨道 */
.popbox .script_config .box::-webkit-scrollbar-thumb {background: #b2b2b2; border-radius: 4px;}/* 滚动条滑块 */
.popbox .script_config .box::-webkit-scrollbar-thumb:hover {background: #888888;} /* 滚动条滑块悬停状态 */
.popbox .script_config .box_1 {flex: 3; margin-bottom: 0px;}
.popbox .script_config .doc {flex: 2; padding-left: 30px; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}
.popbox .script_config .doc ul {list-style-type: decimal !important; padding-left: 16px; list-style-position: inside; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}
.popbox .script_config .doc ul li {list-style-type: decimal !important; color: #888888; padding-left: 5px; line-height: 24px; margin-bottom: 20px; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;}
.popbox .script_config .doc ul span {color: #0D99FF; cursor: pointer; pointer-events: auto;}
.popbox .script_config h4 {font-size: 14px; font-weight: 500; margin-bottom: 10px;}
.popbox .script_config p {color: #888888; line-height: 14px; margin-bottom: 10px;}
.popbox .script_config p span {color: #0D99FF; cursor: pointer;}
.popbox .script_config select, .popbox .script_config  input, .popbox .script_config textarea {width: 100%; margin-bottom: 30px; height: 40px; border-radius: 8px; border: 1px solid #E6E6E6; color: #666; padding-left: 14px;}
.popbox .script_config input:focus, .popbox .script_config select:focus, .popbox .script_config textarea:focus {box-shadow: none; }
.popbox .script_config .textarea_box {width: 100%; height: 440px; border-radius: 8px; border: 1px solid #E6E6E6; padding: 5px; margin-bottom: 4px;}
.popbox .script_config textarea {width: 100%; height: 430px; padding: 6px 10px 6px 10px; color: #666; border: none; margin-bottom: 0px;}
.popbox .script_config textarea::-webkit-scrollbar {width: 4px; right: 10px;} /* 设置滚动条样式 */
.popbox .script_config textarea::-webkit-scrollbar-track {background: #ffffff;}  /* 滚动条轨道 */
.popbox .script_config textarea::-webkit-scrollbar-thumb {background: #b2b2b2; border-radius: 4px;}/* 滚动条滑块 */
.popbox .script_config textarea::-webkit-scrollbar-thumb:hover {background: #888888;} /* 滚动条滑块悬停状态 */
.popbox .script_config button {width: 100%; height: 40px; margin-top: 10px; border-radius: 8px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: 500; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.popbox .script_config button:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}
.popbox .script_config .l-mb-30 {margin-bottom: 30px;}
.popbox .script_config .error {color: #FF900D; margin-bottom: 15px; display: none;}
.popbox .script_config .win_hwnd {height: 130px;}

.popbox .script_config .icon_box {width: calc(100% - 260px); float: left; cursor: pointer;}
.popbox .script_config .update {width: 120px; float: left; margin: 0px 0px 0px 10px;}
.popbox .script_config .png_to_ico {width: 120px; float: left; margin: 0px 0px 0px 10px;}
.popbox .script_config .png_to_ico {background-color: #ffffff; color: #444444; border: 1px solid #ffffff; border: 1px solid #E6E6E6; font-weight: 500; box-shadow: rgba(223, 223, 223, 0.4) 0px 4px 6px 0px;}
.popbox .script_config .png_to_ico:active {border-color: #ffffff; background-color: #ffffff; color: #444444;}

.popbox .script_config .box_2 {width: 100%; margin-top: -15px; margin-bottom: 30px; display: flex; flex-wrap: wrap;}
.popbox .script_config .checkbox {display: flex; align-items: center; justify-content: start; margin-bottom: 8px; width: 50%;}
.popbox .script_config .checkbox label {margin-left: 2px; cursor: pointer; color: #666;}
.popbox .script_config .checkbox input[type="checkbox"] {border: 1px solid #DDDDDD; border-radius: 4px; appearance: none; width: 16px; height: 16px; padding: 0px; cursor: pointer; margin: 1px 8px 0px 0px;}
.popbox .script_config .checkbox input[type="checkbox"]:checked {background-repeat: #0D99FF; background-image: url("/img/svg/checked.svg"); background-size: 16px 16px; border-color: #0D99FF;}
.popbox .script_config .spy {width: 100%; margin-bottom: 20px; display: flex; justify-content: flex-end}
.popbox .script_config .spy button {width: 110px; margin-left: 10px;}


/* 配置设置弹框样式 */
.popbox .configuration_config {width: 1124px; display: flex; height: 580px; max-width: 1600px; max-height: 900px; padding-right: 5px; padding-bottom: 10px; padding-top: 50px;}
.popbox .configuration_config .pop_close {width: 32px; height: 32px; line-height: 0px; padding: 6px; border-radius: 5px; top: 15px; right: 15px; position: absolute; cursor: pointer; z-index: 9;}
.popbox .configuration_config .pop_close:hover {background-color: #f2faff;}
.popbox .configuration_config .pop_close:active {background-color: #E5F4FF;}
.popbox .configuration_config h2 {width: calc(100% - 40px); height: 40px; background-color: #fff; top: 28px; left: 30px; font-size: 16px; font-weight: 500; user-select: text;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text; position: absolute;}
.popbox .configuration_config .description {color: #888888; line-height: 14px; margin-top: 15px; position: absolute;}
.popbox .configuration_config .box {width: 1064px; height: 450px; margin-top: 62px; padding: 0px 20px 0px 0px; overflow-y: auto; background-image: url("/img/config_bg.png");background-repeat: no-repeat; background-size: 802px 431px; position: relative;}
.popbox .configuration_config .box .canvas {width: 776px; height: 308px; top: 110px; left: 13px; position: absolute; overflow: hidden;}
.popbox .configuration_config .box .toolbox {width: 230px; height: 450px; top: 0px; left: 830px; position: absolute;}
.popbox .configuration_config .box .toolbox h4 {font-size: 14px; font-weight: 500; margin-bottom: 10px;}
.popbox .configuration_config .box .toolbox p {color: #888888; line-height: 14px; margin-bottom: 20px;}
.popbox .configuration_config .box .toolbox .control {width: 100%; height: 40px; padding-left: 16px; padding-right: 18px; margin-bottom: 6px; border-radius: 8px; display: flex; justify-content: start; align-items: center; cursor: pointer; }
.popbox .configuration_config .box .toolbox .control img {width: 20px; height: 20px; margin-right: 6px;}
.popbox .configuration_config .box .toolbox .control:hover {background-color: #f2faff;}
.popbox .configuration_config .box .toolbox .control:active {background-color: #E5F4FF;}
.popbox .configuration_config .box .toolbox input {width: 100%; margin-bottom: 20px; height: 40px; line-height: 24px; border-radius: 5px; border: 1px solid #E6E6E6; color: #101010; padding-left: 14px; padding-right: 14px; padding-bottom: 1px;}
.popbox .configuration_config .box .toolbox button {width: 100%; height: 40px; border-radius: 5px; background-color: #0D99FF; border: 1px solid #0D99FF; color: #ffffff;  font-weight: 500; box-shadow: rgba(68, 145, 236, 0.4) 0px 4px 6px 0px;}
.popbox .configuration_config .box .toolbox button:active {background-color: #0D99FF; color: #ffffff; border-color: #ffffff;}


/* 去掉默认获得焦点的用户代理样式 */
.popbox .configuration_config .box * {outline: none;}
/* 可调整大小+可移动的表单元素容器 */
.form-element {position: absolute;padding: 8px 16px 8px 12px; cursor: move; border-radius: 3px; height: 34px; user-select: none;box-sizing: border-box; display: inline-flex;align-items: center; gap: 8px; font-size: 14px;}
/* 选中元素高亮样式 */
.form-element.selected {border-color: #409eff; border: 1px dashed #409eff; background: #fff; border-style: solid; box-shadow: 0 0 6px rgba(64, 158, 255, 0.3);}
/* 调整大小的手柄 */
.resize-handle {position: absolute;width: 8px;height: 8px;background: #aaaaaa;border-radius: 50%;right: -6px;top: 50%;transform: translateY(-50%);cursor: ew-resize;z-index: 10;}
/* 表单元素基础样式 */
.form-element input {border: 1px solid #ddd; padding: 0 6px;outline: none;box-sizing: border-box;font-size: 13px;border-radius: 3px;}
/* 文本框样式（占满剩余宽度，最小宽度60px） */
.form-element .text-input {height: 28px;line-height: 28px; margin-left: 3px; min-width: 60px; /* 输入框最小宽度60px */width: 100%;flex: 1; margin-right: 10px; /* 右侧间距改为10px */}
/* 复选框样式 */
.form-element .checkbox-input {width: 14px;height: 14px;vertical-align: middle;flex-shrink: 0;margin-left: 1px;  gap: 8px;}
/* 可编辑标签通用样式 */
.editable-label {cursor: text;padding: 0;border-bottom: none;font-size: 13px;white-space: nowrap;flex-shrink: 0;}
/* 纯文本元素样式 */
.form-element .plain-text {line-height: 28px;white-space: nowrap;flex-shrink: 0;margin-right: 10px; /* 右侧间距改为10px */}
/* 复选框标签特殊处理：增加右侧间距 */
.form-element .checkbox-label {margin-right: 10px; /* 右侧间距改为10px */}
/* 隐藏Sortable克隆元素和ghost元素 */
.sortable-ghost, .sortable-clone {display: none !important;visibility: hidden !important;opacity: 0 !important;}





/* 小提示框样式 */
.tipbox {height: 30px; top: 45px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; position: absolute;  z-index: 9999; display: none;}
.tipbox div {background-color: rgba(240, 240, 240, 0.8); font-size: 14px; color: #fff; border-radius: 8px; padding: 5px 20px 5px 20px; animation: fadeInDown 0.4s ease forwards;}
.tipbox .success {background-color: rgba(83, 206, 217, 0.8); box-shadow: rgba(83, 206, 217, 0.4) 0px 3px 6px 0px; }
.tipbox .failure {background-color: rgba(254, 113, 162, 0.8); box-shadow: rgba(255, 230, 236, 0.4) 0px 3px 6px 0px; }
.tipbox .warning {background-color: rgba(254, 156, 109, 0.8); box-shadow: rgba(255, 242, 225, 0.4) 0px 3px 6px 0px; }
.tipbox .success_config {margin-top: 30px; background-color: rgba(83, 206, 217, 0.8); box-shadow: rgba(83, 206, 217, 0.4) 0px 3px 6px 0px; }
.tipbox .failure_config {margin-top: 30px; background-color: rgba(254, 113, 162, 0.8); box-shadow: rgba(255, 230, 236, 0.4) 0px 3px 6px 0px; }






/* Blockly 12.3.1 组件样式 ------------------------------------------------------------------------------- */

/* 工作区滚动条样式 */
.blocklyScrollbarVertical .blocklyScrollbarHandle {width: 4px;fill: #b2b2b2;rx:2;ry:2}
.blocklyScrollbarHorizontal .blocklyScrollbarHandle {height: 4px;fill: #b2b2b2;ry:2;rx:2;}
.blocklyScrollbarVertical .blocklyScrollbarHandle:hover {fill: #888888;}
.blocklyScrollbarHorizontal .blocklyScrollbarHandle:hover {fill: #888888;}

/* 工作区背景颜色 */
.blocklySvg {background-color: #ffffff;}

/* 工具箱 */
.blocklyToolbox {width: 72px; background-color: #ffffff; border-right: 1px solid #e6e6e6; padding-top: 10px;}
 
/* 工具箱每个分类块 */
.blocklyToolboxCategoryContainer {width: 100%; height: 62px; margin: 0px; background-color: #ffffff !important; cursor: pointer;}

/* 工具箱每个分类块内一级盒子 */
.blocklyToolboxCategory {width: 60px; height: 60px; margin-left: 8px; border-radius: 8px; padding-right: 0px; border-left: none !important; display: flex; justify-content: center; align-items: center;}

/* 工具箱每个分类块内二级盒子 */
.blocklyTreeRowContentContainer {width: 40px; height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;}

/* 工具箱每个分类块内图标 */
.blocklyToolboxCategoryIcon {width: 22px; height: 22px; margin-bottom: 2px; background-color: #000000; background-image: none; visibility: visible;  display: block !important;}

/* 工具箱每个分类块内文字 */
.blocklyToolboxCategoryLabel {font-size: 14px; color: #101010 !important;}

/* 工具箱分类交互样式 */
.blocklyToolboxCategoryContainer:hover .blocklyToolboxCategory {background-color: #f2faff  !important;}
.blocklyToolboxCategoryContainer:active .blocklyToolboxCategory {background-color: #E5F4FF  !important;}
.blocklyToolboxCategoryContainer:focus .blocklyToolboxCategory {background-color: #E5F4FF  !important;}
.blocklyToolboxCategoryContainer:focus-within .blocklyToolboxCategory {background-color: #E5F4FF  !important;}

/* 工具分类图标 */
.blocklyToolboxCategoryGroup > :nth-child(1) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/mouse-2.svg') no-repeat center / contain; mask: url('/img/svg/mouse-2.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(2) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/color.svg') no-repeat center / contain; mask: url('/img/svg/color.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(3) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/logic.svg') no-repeat center / contain; mask: url('/img/svg/logic.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(4) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/data.svg') no-repeat center / contain; mask: url('/img/svg/data.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(5) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/module-1.svg') no-repeat center / contain; mask: url('/img/svg/module-1.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(6) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/color.svg') no-repeat center / contain; mask: url('/img/svg/color.svg') no-repeat center / contain;}
.blocklyToolboxCategoryGroup > :nth-child(7) .blocklyToolboxCategoryIcon {-webkit-mask: url('/img/svg/more.svg') no-repeat center / contain; mask: url('/img/svg/more.svg') no-repeat center / contain;}

/* 工具分类弹出的工具盒子背景 */
.blocklyFlyoutBackground {fill: none; fill-opacity: 0.6;}
.blocklyFlyout {padding-top: 16px; background-color: rgba(248, 248, 248, 0.8);}

/* 工作区右键弹框样式 */
.blocklyWidgetDiv .blocklyMenu {overflow-y: hidden; padding: 8px !important; border-radius: 8px;}
.blocklyWidgetDiv .blocklyMenu .blocklyMenuItem {border-radius: 8px; margin-top: 2px; margin-bottom: 2px; font-size: 14px;}
.blocklyWidgetDiv .blocklyMenu {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyWidgetDiv .blocklyMenu:focus {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyWidgetDiv .blocklyMenu:active {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyWidgetDiv .blocklyMenu:hover {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}

/* 去除工作区2个像素的边框 */
.blocklyMainBackground {stroke-width: 0;stroke: #a02b2b;}

/* 未知但应该有用的样式 */
.blocklyTreeRow {height: 25px;margin-top: 2px;margin-bottom: 2px;padding-right: 12px;}


/* Blockly 11.2.2 组件样式 如果升级到12.3.1，把下来代码全删掉即可，目前是为了兼容 multiselect.js 多选插件，所以使用 Blockly 11.2.2 ------------------- */
.blocklyTreeIcon {width: 22px; height: 22px; margin-bottom: 2px; background-color: #000000; background-image: none; visibility: visible;  display: block !important;}
.blocklyToolboxContents > :nth-child(1) .blocklyTreeIcon {-webkit-mask: url('/img/svg/mouse.svg') no-repeat center / contain; mask: url('/img/svg/mouse.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(2) .blocklyTreeIcon {-webkit-mask: url('/img/svg/color.svg') no-repeat center / contain; mask: url('/img/svg/color.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(3) .blocklyTreeIcon {-webkit-mask: url('/img/svg/logic.svg') no-repeat center / contain; mask: url('/img/svg/logic.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(4) .blocklyTreeIcon {-webkit-mask: url('/img/svg/data.svg') no-repeat center / contain; mask: url('/img/svg/data.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(5) .blocklyTreeIcon {-webkit-mask: url('/img/svg/set.svg') no-repeat center / contain; mask: url('/img/svg/set.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(6) .blocklyTreeIcon {-webkit-mask: url('/img/svg/module-1.svg') no-repeat center / contain; mask: url('/img/svg/module-1.svg') no-repeat center / contain;}
.blocklyToolboxContents > :nth-child(7) .blocklyTreeIcon {-webkit-mask: url('/img/svg/more.svg') no-repeat center / contain; mask: url('/img/svg/more.svg') no-repeat center / contain;}
.blocklyTreeLabel {font-size: 14px; color: #101010 !important;}
.blocklyToolboxDiv {width: 72px; background-color: #ffffff; border-right: 1px solid #e6e6e6; padding-top: 10px;}
.blocklyTreeRow {border-left: none !important;}

/* 工具箱每个分类块 */
.blocklyToolboxCategory {width: 100%; height: 62px; margin: 0px; background-color: #ffffff !important; cursor: pointer; transform: scale(1) !important;}

/* 工具箱每个分类块内一级盒子 */
.blocklyTreeRow {width: 56px; height: 60px; border-radius: 8px; padding-right: 0px; border-left: none !important; display: flex; justify-content: center; align-items: center; transform: scale(1) !important;}

/* 工具箱每个分类块内二级盒子 */
.blocklyTreeRowContentContainer {width: 40px; height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column; transform: scale(1) !important;}

/* 工具箱每个分类块内图标 */
.blocklyToolboxCategoryIcon {width: 22px; height: 22px; margin-bottom: 2px; background-color: #000000; background-image: none; visibility: visible;  display: block !important; transform: scale(1) !important;}

/* 工具箱每个分类块内文字 */
.blocklyToolboxCategoryLabel {font-size: 14px; color: #101010 !important; transform: scale(1) !important;}

/* 工具箱分类交互样式 */
.blocklyToolboxCategory:hover .blocklyTreeRow {background-color: #f2faff  !important; transform: scale(1) !important;}
.blocklyToolboxCategory:active .blocklyTreeRow {background-color: #E5F4FF  !important; transform: scale(1) !important;}
.blocklyToolboxCategory:focus .blocklyTreeRow {background-color: #E5F4FF  !important; transform: scale(1) !important;}
.blocklyToolboxCategory:focus-within .blocklyTreeRow {background-color: #E5F4FF  !important; transform: scale(1) !important;}

/* 积木块内下拉菜单选项样式 */
.blocklyDropDownDiv {position: absolute;left: 0;top: 0;z-index: 1000;display: none;border: 1px solid;border-color: #dadce0;background-color: #ffffff;border-radius: 8px;padding: 4px;box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important; transform: scale(1) !important;}
.blocklyDropDownDiv:focus {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyDropDownDiv:active {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyDropDownDiv:hover {box-shadow: 0 0 6px 1px rgba(0, 0, 0, .1) !important;}
.blocklyDropDownDiv .blocklyMenuItem {border-radius: 6px;}

/* 修改积木块输入区域的颜色 */
.thrasos-renderer.classic-theme .blocklyNonEditableText>rect, .thrasos-renderer.classic-theme .blocklyEditableText>rect {
    fill: #fff;
    fill-opacity: 0.16;
    stroke: none;
}
.thrasos-renderer.classic-theme .blocklyNonEditableText>text, .thrasos-renderer.classic-theme .blocklyEditableText>text {
    fill: #fff;
}

/* 设置积木块里的输入框获得焦点的样式，边框设置为 1 个像素 */
.thrasos-renderer.classic-theme .blocklyEditableText:not(.editing):hover>rect {
    stroke: #fff;
    stroke-width: 1.5;
    height: 20px;
}

/* 修改积木块文字位置，修正文字靠下的问题 */
.thrasos-renderer.classic-theme .blocklyText {
    transform: translateY(-1px);
}
/* .blocklyText text {
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace !important;
    letter-spacing: normal;
    word-spacing: normal;
} */

/* .thrasos-renderer.classic-theme .blocklyText::before {
     content: "\00A0";
    display: inline-block;
    width: 1em;
    background: red;
} */


/* 去除积木块外面一个像素的边框 */
.blocklyBlockCanvas .blocklyPath {stroke: rgba(255, 255, 255, 0.16);}

/* 修改积木块输入区域的下拉框的滚动条样式 */
.blocklyDropDownContent::-webkit-scrollbar {width: 4px; transform: scale(1) !important;} /* 设置滚动条样式 */
.blocklyDropDownContent::-webkit-scrollbar-track {background: #ffffff; transform: scale(1) !important;}  /* 滚动条轨道 */
.blocklyDropDownContent::-webkit-scrollbar-thumb {background: #b2b2b2; border-radius: 4px;}/* 滚动条滑块 */
.blocklyDropDownContent::-webkit-scrollbar-thumb:hover {background: #888888; transform: scale(1) !important;} /* 滚动条滑块悬停状态 */


/* 修改语法错误提示起泡的样式 */
.thrasos-renderer.classic-theme .blocklyText.blocklyBubbleText text {
    transform: translateY(0.54em);
    fill: #ffffff;
}

.blocklyBubbleCanvas .blocklyBubble g {
  filter: none;
}

.blocklyBubbleCanvas .blocklyBubble .blocklyBubbleTail {
  fill: #6194e4;
}

.blocklyBubbleCanvas .blocklyBubble .blocklyDraggable {
  fill: #6194e4;
}

/* 修改语法错误提示小三角的样式 */
.blocklyIconGroup:not(:hover), .blocklyIconGroupReadonly {
    opacity: 1;
}

/* 修改积木块被选择后边缘出现的黄色边框 */
.thrasos-renderer.classic-theme .blocklySelected>.blocklyPath {
    stroke: #fc3;
    stroke-width: 2px;
}


/* 解决当工作区内出现大量隐藏块时拖动卡顿的问题，必须，必须，必须，也可以考虑只加在 blocklyDisabled（禁用块） 样式上 */
.blocklyDisabled {
    /* 提示浏览器优化 */
    /* will-change: opacity, filter; */
    will-change: transform;
}





/* .blocklyMenu {width: 4px;fill: #b2b2b2;rx:2;ry:2}
.blocklyMenu:hover {fill: #888888;}
.workspace .config .box {width: 100%; height: 100%; padding: 20px 18px 50px 20px; overflow-y: auto;} */
/* .blocklyDropDownContent {padding-right: 4px;} */

/* .blocklyMenu {margin-right: 20px;} */



/* 通过CSS强行控制工具箱里的元素不跟随缩放，但是有BUG，先留存部分代码 */
/* .blocklyFlyout .blocklyBlockCanvas {transform: scale(0.8) !important;} */
/* .blocklyFlyout {transform: scale(1) !important;} */

