/**sketch拾取*/
.sketch-picker {
  border-radius: 5px;
  box-shadow: none!important;
  padding: 0!important;
}
/*输入边距Pop*/
.input-padding-pop {
  background-color: var(--semi-color-bg-0);
  height: 100px;
  width: 280px;
}
/*输入边距*/
.input-padding {
  position: relative;
  top: 30px;
  left: 10px;
  margin: 0 40px 15px 25px;
  border: 1px solid #ece;
  height: 40px;
  width: 200px;
}
.input-padding.position-border .order-0 {
  left: 50%;
  margin-left: -35px;
  top: -12px;
}
.input-padding.position-border .order-1 {
  left: 100%;
  margin-left: -25px;
  top: 5px;
}
.input-padding.position-border .order-2 {
  left: 50%;
  margin-left: -35px;
  top: 28px;
}
.input-padding.position-border .order-3 {
  left: 0;
  margin-left: -25px;
  top: 5px;
}
.input-padding.position-corner .order-0 {
  left: 0;
  margin-left: -25px;
  top: -15px;
}
.input-padding.position-corner .order-1 {
  left: 100%;
  margin-left: -25px;
  top: -15px;
}
.input-padding.position-corner .order-2 {
  left: 100%;
  margin-left: -25px;
  top: 28px;
}
.input-padding.position-corner .order-3 {
  left: 0;
  margin-left: -25px;
  top: 28px;
}
.input-padding .input-padding-number {
  position: absolute;
  background-color: var(--semi-color-bg-0);
  width: 60px;
}
.event-edit {
  width: 100%;
}
.event-edit .tree-label i.bi {
  font-size: 18px;
}
.effect-pop-content {
  width: 720px;
  height: 480px;
  padding: 10px;
}
.effect-pop-content .semi-tabs-content {
  height: 430px;
}
.effect-pop-content .semi-tabs-content .semi-tabs-pane-motion-overlay {
  height: 100%;
}
.pop-select-file-content {
  padding: 0 12px;
  width: 340px;
  height: 420px;
}
.pop-select-file-content .semi-tree-option-disabled .semi-tree-option-label {
  color: var(--semi-color-text-0);
}
.pop-select-file-content .semi-tree-option-disabled .semi-checkbox-disabled {
  display: none;
}
.pop-select-file-content .semi-tree-option-label svg {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
}
.semi-portal img,
.semi-portal svg {
  vertical-align: initial;
}
.object-form {
  padding: 0 3px;
  height: 100%;
  overflow-y: overlay;
}
.object-form .semi-tabs-pane {
  width: 100%;
  height: 100%;
  overflow: hidden auto;
  color: var(--semi-color-text-0);
}
.object-form img,
.object-form svg {
  vertical-align: initial;
}
.object-form .event-edit .semi-tree-option-list {
  padding: 0;
}
.object-form .semi-form-horizontal .semi-form-field:last-child {
  margin-right: 2px;
}
.object-form .semi-form-horizontal .semi-form-field {
  padding-right: 2px;
}
.object-form .semi-table-wrapper table thead {
  display: none;
}
.object-form .semi-table-wrapper table .semi-table-tbody > .semi-table-row .btn-code {
  visibility: hidden;
  font-size: 18px;
}
.object-form .semi-table-wrapper table .semi-table-tbody > .semi-table-row .btn-code.semi-button-primary {
  visibility: visible;
}
.object-form .semi-table-wrapper table .semi-table-tbody > .semi-table-row:hover .btn-code {
  visibility: visible;
}
.object-form .semi-table-wrapper table td.semi-table-row-cell {
  padding: 4px 2px;
}
.object-form .semi-table-wrapper table td.semi-table-row-cell .semi-form-field {
  padding: 0;
}
.object-form .semi-form .field-block {
  padding: 4px 0;
  overflow: hidden;
}
.object-form .semi-form .field-block .semi-form-field[x-label-pos=left] .semi-form-field-label {
  margin-bottom: 0;
  margin-right: 0;
  padding-top: 0px;
  line-height: 26px;
  min-width: 63px;
  padding-bottom: 0px;
  padding-right: 8px;
  font-weight: normal;
  color: var(--semi-color-text-2);
}
.object-form .semi-form .field-block.full .semi-form-field[x-label-pos=left] .semi-form-field-label {
  min-width: 63px;
}
.object-form .semi-form .with-code-expr {
  display: flex;
}
.object-form .semi-form .with-code-expr .btn-code {
  font-size: 17px;
}
.object-form .semi-form .with-code-expr .semi-button-tertiary.btn-code {
  visibility: hidden;
}
.object-form .semi-form .with-code-expr .semi-button-tertiary.btn-code.semi-button-primary {
  visibility: initial;
}
.object-form .semi-form .with-code-expr .semi-button-tertiary.is-open {
  visibility: initial;
}
.object-form .semi-form .with-code-expr:hover .semi-button-tertiary.btn-code {
  font-size: 18px;
  visibility: initial;
}
.object-form .semi-form .semi-form-field-main > .semi-checkbox {
  padding: 2px;
}
.object-form .semi-form .semi-divider_inner-text {
  font-size: 14px;
  font-weight: normal;
  color: var(--semi-color-text-1);
}
.object-form .semi-form .semi-form-field .semi-checkboxGroup-horizontal-cardType {
  padding-top: 0;
  padding-bottom: 0;
  gap: 4px;
}
.object-form .semi-form .semi-form-field .semi-checkboxGroup-horizontal-cardType .semi-checkbox {
  padding: 2px 4px;
}
.object-form .semi-form .semi-form-field .semi-checkboxGroup-horizontal-cardType .semi-checkbox .semi-checkbox-addon {
  font-weight: normal;
}
.object-form .semi-form .semi-form-field .semi-radio-addon-buttonRadio-small {
  padding: 2px 4px;
}
.object-form .semi-form .semi-form-field .semi-checkboxGroup-horizontal-pureCardType .semi-checkbox {
  column-gap: 0;
  align-items: center;
  padding: 2px 5px;
}
.object-form .state-list-edit {
  display: flex;
}
.object-form .state-list-edit .state-list {
  flex: 1;
}
.object-form .state-list-edit .state-list .list-item {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.object-form .state-list-edit .state-list .list-item:hover {
  background-color: var(--semi-color-fill-1);
}
.object-form .state-list-edit .state-list .list-item.is-current {
  border: 1px solid var(--semi-color-info-light-active);
  background-color: var(--semi-color-info-light-default);
}
.object-form .state-list-edit .state-list .list-item .state-name {
  padding: 0 5px;
}
.object-form .background-edit {
  display: flex;
}
.object-form .background-edit .color-list {
  flex: 1;
}
.object-form .semi-input-number.digit2 {
  width: 46px;
}
.object-form .semi-input-wrapper .semi-input {
  padding-left: 6px;
  padding-right: 6px;
}
.object-form .semi-input-wrapper .semi-input-append {
  padding: 0 5px;
}
.object-form .semi-input-textarea-wrapper .semi-input-textarea {
  padding: 0;
  padding-left: 6px;
  padding-right: 6px;
}
.object-form .semi-input-number-suffix-btns {
  margin-left: 1px;
}
.object-form .picker-button {
  font-size: 20px;
  width: 21px;
  cursor: pointer;
}
.pop-icon-container .icon-list {
  width: 420px;
  height: 330px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pop-icon-container .icon-list i {
  cursor: pointer;
  color: var(--semi-color-tertiary-hover);
  padding: 5px;
  width: 40px;
  height: 40px;
  font-size: 24px;
}
.pop-icon-container .icon-list i:hover {
  color: var(--semi-color-primary-hover);
}
.series-table-edit {
  border: 1px solid var(--semi-color-border);
  border-collapse: collapse;
  font-size: 14px;
  border-right: none;
  border-bottom: none;
}
.series-table-edit th {
  background-color: var(--semi-color-fill-1);
}
.series-table-edit th:nth-child(1),
.series-table-edit td:nth-child(1),
.series-table-edit th.column-plus {
  background-color: var(--semi-color-fill-1);
  width: 28px;
  min-width: 28px;
}
.series-table-edit td.row-delete {
  padding: 0 5px;
  width: 28px;
  min-width: 28px;
  line-height: 14px;
  color: var(--semi-color-danger);
  border: none;
  display: none;
}
.series-table-edit td.column-delete {
  line-height: 14px;
  cursor: pointer;
  color: var(--semi-color-danger);
}
.series-table-edit tr:hover td.row-delete {
  width: 28px;
  border: none;
  min-width: 28px;
  cursor: pointer;
  display: table-cell;
}
.series-table-edit td,
.series-table-edit th {
  border: 1px solid var(--semi-color-border);
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
  min-width: 60px;
}
.series-table-edit th.column-plus,
.series-table-edit td.row-plus {
  cursor: pointer;
}
.series-table-edit th.column-plus:hover,
.series-table-edit td.row-plus:hover {
  background-color: var(--semi-color-fill-0);
}
.semi-tree-option-label .item-icon {
  width: 18px;
  margin-right: 4px;
  height: 18px;
}
.state-tree-wrapper {
  width: 480px;
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 560px;
  overflow: auto;
}
.state-tree-wrapper .semi-tree-option-label i.bi {
  color: var(--semi-color-primary);
  margin-right: 6px;
  font-size: 18px;
  height: 18px;
}
.state-tree-wrapper .semi-tree-option-empty {
  height: 370px;
}
.state-tree-wrapper .semi-tabs {
  flex: 1;
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

:focus-visible {
  outline: none;
}

.ridge-composite {
    position: relative;
    .ridge-runtime-hidden {
        display: none;
    }
    &.is-edit {
        .ridge-runtime-hidden {
            display: initial;
        }
    }
}

.ridge-composite > .ridge-element {
    position: absolute;
    left: 0;
    top: 0;
}
.ridge-portalled {
    display: none;
}

.ridge-is-full {
    width: 100%;
    height: 100%;
}

.ridge-is-hidden {
    display: none;
}

.ridge-element:has(.ridge-overlay) {
  position: relative;
}
.ridge-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.ridge-webstart-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.726);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: center;
    max-width: 80%;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.status-Loading {
    background: linear-gradient(90deg,#2e32380d 25%,#2e323817 44%,#2e32380d 88%);
    background-size: 400% 100%;
    animation: skeleton-loading 3s ease infinite;
    animation-fill-mode: forwards;
}


.status-not-found, .status-render-error, .status-Circular, .status-Page-not-found {
    position: relative;
    font-size: 9px;
    background-color: rgba(253, 185, 165, .3);
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    overflow: hidden;
}

.status-not-found::before, .status-Circular::before, .status-Page-not-found::before {  
    content: "无法加载";
    position: absolute;
    padding-left: 18px;
    left: 2px;
    top: 2px;
    /* transform: translate(-50%, -50%); */
    font-size: 14px;
    z-index: -1;
    background-size: 16px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%271em%27 height=%271em%27 viewBox=%270 0 24 24%27%3E%3Cpath fill=%27%23e86868%27 d=%27M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.493 2 11.953 2M13 17h-2v-2h2zm0-4h-2V7h2z%27/%3E%3C/svg%3E");
    pointer-events: none;
}  

.status-Circular::before {
    content: "循环渲染异常"; 
}
.status-Page-not-found::before {
    content: "页面未找到";  
}

.ridge-composite:not(.is-edit) .is-store {
    display: none;
}
@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%
    }

    to {
        background-position: 0 50%
    }
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2, h3, h4, h5, h6 {
  margin-top: 0;
}
/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

.outline-tree {
  height: 100%;
  overflow: auto;
}
.outline-tree .semi-tree-option-label:has(.is-hidden) {
  opacity: 0.6;
}
.outline-tree .tree-label {
  padding-right: 8px;
  width: auto;
}
.outline-tree .tree-label.is-hidden {
  opacity: 0.6;
}
img.outline-element-icon {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.menu-bar {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid var(--semi-color-border);
}
.menu-bar .page-tabs {
  flex: 1;
}
.menu-bar .page-tabs > .semi-tabs-bar {
  padding: 5px 0 0 5px;
}
.menu-bar .page-tabs > .semi-tabs-content {
  padding: 0;
}
.menu-bar .page-tabs .semi-tabs-bar-icon {
  font-size: 12px;
  margin-right: 5px;
  color: var(--semi-color-danger);
}
.menu-bar .page-tabs > .semi-tabs-bar-card.semi-tabs-bar-top::before {
  border-bottom: none;
}
.menu-bar .page-tabs .semi-tabs-tab-single.semi-tabs-tab .semi-icon:not(.semi-icon-checkbox_tick, .semi-icon-radio, .semi-icon-checkbox_indeterminate) {
  top: 0;
}
.menu-bar .semi-button svg {
  width: 18px;
  height: 18px;
}
.menu-bar .bar-content {
  background: var(--semi-color-bg-0);
  padding: 3px;
  z-index: 101;
}
.menu-bar .bar-content .bi {
  font-size: 16px;
}
.menu-bar .semi-slider-handle {
  width: 16px;
  height: 16px;
  margin-top: 8px;
}
.preview-menu-bar {
  height: 45px;
  background: #fff;
  border-bottom: 1px solid var(--semi-color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}
.preview-menu-bar .semi-btn {
  height: 36px;
}

.moveable-control {
  width: 8px!important;
  height: 8px!important;
  border: 1px solid var(--semi-color-primary)!important;
  box-sizing: border-box;
  border-radius: 0!important;
  background: #fff!important;
  margin-top: -4px!important;
  margin-left: -4px!important;
  z-index: 10;
}
.moveable-control-box {
  z-index: 100!important;
}

.moveable-line {
  background: var(--semi-color-primary)!important;
}

.workspace-movable .moveable-control {
  width: 18px!important;
  height: 18px!important;
  opacity: 0;
}

.workspace-movable .moveable-line {
  opacity: 0;
}

.rCSwd26qe .moveable-line.moveable-vertical.moveable-bold {
  width: 0.5px!important;
  background-color: var(--semi-color-warning)!important;
}
.rCSwd26qe .moveable-line.moveable-horizontal.moveable-bold {
  height: 1px!important;
  background-color: var(--semi-color-warning)!important;
}

/*
.rCSwd26qe {
	position: absolute;
	width: 1px;
	height: 1px;
	left: 0;
	top: 0;
    z-index: 3000;
    --moveable-color: #4af;
    --zoom: 1;
    --zoompx: 1px;
    will-change: transform;
}
.rCSwd26qe .moveable-control-box {
    z-index: 0;
}
.rCSwd26qe .moveable-line, .rCSwd26qe .moveable-control {
    position: absolute;
	left: 0;
    top: 0;
    will-change: transform;
}
.rCSwd26qe .moveable-control {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-sizing: border-box;
    background: #4af;
    background: var(--moveable-color);
	margin-top: -7px;
    margin-left: -7px;
    border: 2px solid #fff;
    z-index: 10;
}
.rCSwd26qe .moveable-padding {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100px;
    height: 100px;
    transform-origin: 0 0;
}
.rCSwd26qe .moveable-line {
	width: 1px;
    height: 1px;
    background: #4af;
    background: var(--moveable-color);
	transform-origin: 0px 50%;
}
.rCSwd26qe .moveable-line.moveable-edge {
    z-index: 1;
    background: transparent;
}
.rCSwd26qe .moveable-line.moveable-dashed {
    box-sizing: border-box;
    background: transparent;
}
.rCSwd26qe .moveable-line.moveable-dashed.moveable-horizontal {
    border-top: 1px dashed #4af;
    border-top-color: #4af;
    border-top-color: var(--moveable-color);
}
.rCSwd26qe .moveable-line.moveable-dashed.moveable-vertical {
    border-left: 1px dashed #4af;
    border-left-color: #4af;
    border-left-color: var(--moveable-color);
}
.rCSwd26qe .moveable-line.moveable-vertical {
    transform: translateX(-50%);
}
.rCSwd26qe .moveable-line.moveable-horizontal {
    transform: translateY(-50%);
}
.rCSwd26qe .moveable-line.moveable-vertical.moveable-bold {
    width: 2px;
}
.rCSwd26qe .moveable-line.moveable-horizontal.moveable-bold {
    height: 2px;
}

.rCSwd26qe .moveable-control.moveable-origin {
	border-color: #f55;
	background: #fff;
	width: 12px;
	height: 12px;
	margin-top: -6px;
    margin-left: -6px;
	pointer-events: none;
}

.rCSwd26qe .moveable-direction[data-rotation="0"],  .moveable-view-control-rotation0 {
	cursor:ns-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(0deg);transform-origin: 16px 16px"></path></svg>') 16 16, ns-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="15"],  .moveable-view-control-rotation15 {
	cursor:ns-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(15deg);transform-origin: 16px 16px"></path></svg>') 16 16, ns-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="30"],  .moveable-view-control-rotation30 {
	cursor:nesw-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(30deg);transform-origin: 16px 16px"></path></svg>') 16 16, nesw-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="45"],  .moveable-view-control-rotation45 {
	cursor:nesw-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(45deg);transform-origin: 16px 16px"></path></svg>') 16 16, nesw-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="60"],  .moveable-view-control-rotation60 {
	cursor:nesw-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(60deg);transform-origin: 16px 16px"></path></svg>') 16 16, nesw-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="75"],  .moveable-view-control-rotation75 {
	cursor:ew-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(75deg);transform-origin: 16px 16px"></path></svg>') 16 16, ew-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="90"],  .moveable-view-control-rotation90 {
	cursor:ew-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(90deg);transform-origin: 16px 16px"></path></svg>') 16 16, ew-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="105"],  .moveable-view-control-rotation105 {
	cursor:ew-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(105deg);transform-origin: 16px 16px"></path></svg>') 16 16, ew-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="120"],  .moveable-view-control-rotation120 {
	cursor:nwse-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(120deg);transform-origin: 16px 16px"></path></svg>') 16 16, nwse-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="135"],  .moveable-view-control-rotation135 {
	cursor:nwse-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(135deg);transform-origin: 16px 16px"></path></svg>') 16 16, nwse-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="150"],  .moveable-view-control-rotation150 {
	cursor:nwse-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(150deg);transform-origin: 16px 16px"></path></svg>') 16 16, nwse-resize;
}


.rCSwd26qe .moveable-direction[data-rotation="165"],  .moveable-view-control-rotation165 {
	cursor:ns-resize;cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 32 32" ><path d="M 16,5 L 12,10 L 14.5,10 L 14.5,22 L 12,22 L 16,27 L 20,22 L 17.5,22 L 17.5,10 L 20, 10 L 16,5 Z" stroke-linejoin="round" stroke-width="1.2" fill="black" stroke="white" style="transform:rotate(165deg);transform-origin: 16px 16px"></path></svg>') 16 16, ns-resize;
}

.rCSwd26qe .moveable-group {
    z-index: -1;
}
.rCSwd26qe .moveable-area {
    position: absolute;
}
.rCSwd26qe .moveable-area-pieces {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.rCSwd26qe .moveable-area.moveable-avoid, .rCSwd26qe .moveable-area.moveable-pass {
    pointer-events: none;
}
.rCSwd26qe .moveable-area.moveable-avoid+.moveable-area-pieces {
    display: block;
}
.rCSwd26qe .moveable-area-piece {
    position: absolute;
}


.rCSwd26qe {
    --bounds-color: #d66;
}
.rCSwd26qe .moveable-guideline {
    pointer-events: none;
    z-index: 2;
}
.rCSwd26qe .moveable-guideline.moveable-bounds {
    background: #d66;
    background: var(--bounds-color);
}
.rCSwd26qe .moveable-guideline-group {
    position: absolute;
    top: 0;
    left: 0;
}
.rCSwd26qe .moveable-guideline-group .moveable-size-value {
    position: absolute;
    color: #f55;
    font-size: 12px;
    font-weight: bold;
}
.rCSwd26qe .moveable-guideline-group.moveable-horizontal .moveable-size-value {
    transform-origin: 50% 100%;
    transform: translateX(-50%);
    left: 50%;
    bottom: 5px;
}
.rCSwd26qe .moveable-guideline-group.moveable-vertical .moveable-size-value {
    transform-origin: 0% 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
}
.rCSwd26qe .moveable-guideline.moveable-gap {
    background: #f55;
}
.rCSwd26qe .moveable-size-value.moveable-gap {
    color: #f55;
}

.rCSwd26qe .moveable-edge.moveable-edgeDraggable.moveable-line {
    cursor: move;
}
.rCSwd26qe .moveable-rotation {
    position: absolute;
    height: 40px;
    width: 1px;
    transform-origin: 50% 100%;
    height: calc(40px * var(--zoom));
    top: auto;
    left: 0;
    bottom: 100%;
    will-change: transform;
}

*/
html,
body {
  overflow: hidden;
  overflow-y: hidden !important;
  user-select: none;
  background-color: var(--semi-color-bg-0) !important;
  width: 100%;
  height: 100%;
}
#root {
  --bs-border-color: var(--semi-color-border);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.semi-portal {
  --bs-border-color: var(--semi-color-border);
}
:focus-visible {
  outline: none;
}
::-webkit-scrollbar,
::-webkit-scrollbar-thumb {
  width: 12px;
  height: 12px;
  border-radius: 20px;
  background-clip: padding-box;
  border: 2px solid transparent;
  color: var(--semi-color-fill-2);
}
::-webkit-scrollbar-thumb:hover {
  color: var(--semi-color-fill-2);
}
::-webkit-scrollbar-thumb:active {
  color: var(--semi-color-fill-2);
}
::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 0 10px;
}
::-webkit-scrollbar-corner {
  display: none;
}
.editor-root {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
}
.editor-root .root-nav {
  overflow: hidden;
  padding: 4px;
}
.editor-root .root-nav .semi-breadcrumb-item-icon {
  width: 16px;
  height: 16px;
}
.editor-root .left-content {
  height: 100%;
}
.editor-root .left-content .semi-tabs-bar {
  display: none;
}
.editor-root .left-content .semi-tabs-content {
  height: 100%;
  padding: 0;
}
.editor-root .left-content .semi-tabs-content .semi-tabs-pane {
  height: 100%;
}
.editor-root .left-content .semi-tabs-content .semi-tabs-pane .semi-tabs-pane-motion-overlay {
  height: 100%;
}
.editor-root .editor-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  display: flex;
}
.editor-root .editor-content .workspace-panel {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
}
.editor-root .editor-content .workspace-panel .workspace {
  flex: 1;
}
.editor-root .editor-content .workspace-panel .config-panel {
  width: 320px;
  padding: 4px;
  overflow: hidden;
  border-left: 1px solid var(--semi-color-border);
}
.editor-root .preview-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  display: flex;
}
.editor-root .preview-content .preview-space {
  background: var(--semi-color-fill-0);
  flex: 1;
  overflow: auto;
  padding: 20px;
}
.editor-root .preview-content .preview-space .preview-view-port {
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--semi-color-bg-0);
}
.workspace {
  flex: 1;
  position: relative;
  background: var(--semi-color-fill-0);
  overflow: hidden;
}
.workspace.preview {
  overflow: auto;
}
.workspace .viewport.preview-full {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.workspace .user-panel {
  background-color: var(--semi-color-bg-0);
  position: fixed;
  left: 5px;
  background: var(--semi-color-bg-0);
  border: 1px solid var(--semi-color-border);
  border-radius: 8px;
}
.workspace .no-open-file {
  position: absolute;
  width: 875px;
  height: 500px;
  left: 50%;
  top: 50%;
  margin-left: -435px;
  margin-top: -250px;
}
.workspace .view-port {
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--semi-color-bg-0);
  border: 1px solid var(--semi-color-border);
  border-radius: var(--semi-border-radius-small);
}
.workspace .view-port .ridge-element:has(.ridge-element:hover) {
  outline: none;
}
.workspace .view-port .ridge-container {
  background-color: rgba(var(--semi-light-blue-5), 0.04);
}
.workspace .view-port .ridge-element:hover {
  background-color: rgba(var(--semi-light-blue-5), 0.04);
}
.workspace .view-port .ridge-container:hover {
  transition: background-color 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  background-color: rgba(var(--semi-light-blue-5), 0.04);
}
.workspace .ridge-editor-element:has(.ridge-element-edit:hover) {
  outline: none;
}
.workspace .ridge-editor-element.selected:hover {
  outline: none;
}
.workspace .ridge-editor-element:hover {
  outline: 2px solid rgba(var(--semi-light-blue-5), 0.2);
  outline-offset: 3px;
}
.workspace .ridge-editor-element:hover:has(.drop-shadow) {
  outline: none;
  outline-offset: 2px;
}
.status-drag-over {
  z-index: 0;
  background-color: var(--semi-color-primary-light-default);
  border: 2px dashed var(--semi-color-primary);
}
slot {
  position: relative;
}
.code-editor-container .cm-editor .cm-scroller .cm-line {
  font-family: Menlo, Monaco, Consolas, Courier New, monospace;
}
.pop-code-editor-container {
  width: 420px;
  margin: 5px 0;
  height: 240px;
  overflow: auto;
  position: relative;
  background: var(--semi-color-bg-0);
  border: 1px solid var(--semi-color-border);
}
.tree-label {
  display: flex;
  margin-left: 5px;
}
.tree-label .label-content {
  flex: 1;
  height: 24px;
}
.tree-label .label-action {
  display: none;
}
.tree-label:hover .label-action {
  display: initial;
}
.tree-label:hover .hover-show {
  visibility: initial;
}
.tree-label .hover-show {
  visibility: hidden;
}
.editor-loading {
  position: absolute;
  z-index: 10001;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--semi-color-bg-3);
}
.editor-loading .semi-spin {
  width: 300px;
}
.drag-target-hint {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--semi-blue-2), 0.2);
  color: var(--semi-color-primary-hover);
  border: 2px dashed var(--semi-color-primary-hover);
  font-size: 1.2em;
  z-index: 1002;
  border-radius: 5px;
  animation: borderPulse 1s ease-in-out infinite;
}
/* 脉冲动画关键帧 */
@keyframes borderPulse {
  0%,
  100% {
    border: 2px dashed var(--semi-color-primary-hover);
  }
  50% {
    border: 2px dashed var(--semi-color-info-light-active);
  }
}
.code-edit-sheet .code-edit-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-edit-sheet .flex-1 {
  flex: 1;
}
.code-edit-sheet .code-editor-container {
  border: 1px solid var(--semi-color-border);
  overflow: auto;
  width: 100%;
  height: calc(100% - 60px);
}
.code-edit-sheet .no-open-script-file {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 60px);
  display: flex;
  justify-content: center;
  background-color: var(--semi-color-bg-3);
  align-items: center;
}
.code-edit-sheet .semi-tabs .semi-tabs-content {
  padding: 0;
}
.code-edit-sheet .semi-spin {
  width: 100%;
  height: 100%;
}
.code-edit-sheet .semi-spin .semi-spin-children {
  width: 100%;
  height: 100%;
}
.code-edit-sheet .semi-sidesheet-header {
  padding: 6px 18px;
}
.code-edit-sheet .semi-sidesheet-header .semi-sidesheet-title {
  font-size: 16px;
}
.code-edit-sheet .semi-sidesheet-body {
  padding: 0 16px;
}
.code-edit-sheet .semi-sidesheet-footer {
  padding: 6px 18px;
}
.semi-image.object-scale-down img {
  object-fit: scale-down;
}

.left-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
  padding: 0;
}
/* 页面预览面板样式 */
.page-preview-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--semi-color-bg-0);
  border-radius: 8px;
  overflow: hidden;
}
.page-preview-panel .panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--semi-color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--semi-color-text-0);
}
.page-preview-panel .panel-title .page-count {
  padding: 2px 8px;
  background: var(--semi-color-fill-0);
  border-radius: 4px;
  font-size: 12px;
}
.page-preview-panel .page-tree-container {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}
.page-preview-panel .empty-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  color: var(--semi-color-text-2);
}
/* 页面预览树样式 */
.page-preview-tree .semi-tree-option.semi-tree-option-selected .tree-label {
  background-color: var(--semi-color-primary-light-default);
}
.page-preview-tree .semi-tree-option:hover .tree-label .page-run-button.hidden {
  opacity: 1;
  visibility: visible;
}
.page-preview-tree .page-run-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  z-index: 1;
}
.page-preview-tree .page-run-button.visible {
  opacity: 1;
  visibility: visible;
}
.page-preview-tree .page-run-button.hidden {
  opacity: 0;
  visibility: hidden;
}
.page-preview-tree .page-run-button .run-btn {
  padding: 0 8px;
  font-size: 12px;
  min-width: 40px;
  line-height: 1;
}
.page-preview-tree .page-run-button .run-btn:hover {
  transform: scale(1.05);
}
.page-preview-tree .tree-label {
  width: 100%;
  justify-content: space-between;
  height: var(--tree-node-height);
  padding-right: 40px;
}

.title-bar {
  display: flex;
  width: 100%;
  padding: 6px 12px;
  height: 45px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--semi-color-border);
}
.title-bar .align-right {
  justify-self: self-end;
}
.title-bar img {
  width: 28px;
  height: 28px;
}
.title-bar .semi-button {
  min-width: auto;
  padding: 4px 8px;
}
.title-bar .semi-button:hover {
  background-color: var(--semi-color-fill-0);
}

.app-file-list .buttons-bar {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 6px 16px;
}
.file-tree {
  flex: 1;
  display: flex;
  overflow: auto;
  overflow-y: auto;
  padding: 0;
  --tree-node-height: 32px;
  color: var(--semi-color-text-1);
}
.file-tree img.w24 {
  width: 24px;
  height: 24px;
}
.file-tree svg {
  color: var(--semi-color-text-1);
  width: 20px;
  height: 20px;
}
.file-tree .semi-tree-option-label .semi-input-wrapper-default {
  height: 24px;
  line-height: 24px;
}
.file-tree .semi-tree-option-label input.semi-input {
  padding-left: 4px;
  line-height: 24px;
  height: 24px;
}
.file-tree .tree-label {
  display: flex;
  align-items: center;
  position: relative;
  width: 95%;
  height: 32px;
  line-height: 28px;
}
.file-tree .tree-label span.semi-typography {
  flex: 1;
}
.file-tree .tree-label.opened .label-content {
  color: var(--semi-color-success);
  font-weight: bold;
}
.file-tree .tree-label .label-content {
  flex: 1;
  line-height: 22px;
}
.file-tree .tree-label .more-button {
  margin-right: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.file-tree .tree-label .more-button.hover-show {
  opacity: 0;
  transition: opacity 0.2s;
}
.file-tree .tree-label:hover .more-button.hover-show {
  opacity: 1;
}

.GDH8G0LT {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  font-size: 24px;
  padding: 8px;
}
.GDH8G0LT i {
  font-size: 16px;
}
.GDH8G0LT .zU6hsYCr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.GDH8G0LT .j22rmK6M {
  align-self: flex-end;
}

.w7opolR1 {
  height: 100%;
  display: flex;
  padding-top: 6px;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--semi-color-border);
}

.NcJ0nhro {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--semi-color-bg-1);
  border: 1px solid var(--semi-color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 8px;
  padding: 8px;
  box-sizing: border-box;
  /* 👇 强制卡片本身不被内容撑大 */
  contain: layout paint size;
}
.wtwWjSgw {
  border: 1px solid var(--semi-color-primary);
}
/* 👇 最关键：组件渲染容器 —— 固定宽高 + 隐藏溢出 */
.Fp39M8FC {
  position: relative;
  width: 100%;
  height: 80px;
  /* 固定高度，你可以自己调 */
  overflow: hidden;
  /* 超出隐藏 */
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout paint size;
}
/* 👇 组件内容等比缩放容器 */
.JWT7XSGh {
  transform-origin: center center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 下面保持不变 */
.XKhQEodE {
  width: 100%;
  text-align: center;
  height: 22px;
}
.M3xO2cNp {
  font-size: 12px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  margin: 0 0 4px 0;
  line-height: 1.4;
  word-break: break-word;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ZtJyIfcy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 32px;
  background-color: transparent;
}
.XSyIaiWz {
  position: absolute;
  height: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--semi-color-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.XSyIaiWz .FvhbkCYB {
  color: white;
  font-weight: 500;
  font-size: 12px;
}
.NcJ0nhro:hover .XSyIaiWz {
  opacity: 1;
}
.PVQ0tFDz {
  max-width: 480px;
  padding: 12px;
}
.YCyjyZDX {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.dzXJTuvt {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.QcPUbv4E {
  font-size: 14px;
  color: var(--semi-color-text-0);
}
.iz6mMIbe {
  padding: 12px 0;
}
.I7YnNSBv {
  font-size: 12px;
  line-height: 1.4;
  color: var(--semi-color-text-1);
  margin-bottom: 8px;
}
.u8UWuFL6 {
  display: flex;
  flex-wrap: wrap;
  margin: 12px 0;
  gap: 4px;
}
.zEmCrkhs {
  font-size: 11px;
  padding: 2px 6px;
  background: var(--semi-color-fill-0);
  border-radius: 4px;
  color: var(--semi-color-text-2);
}

.component-grid {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--semi-color-bg-0);
  overflow: hidden;
  box-sizing: border-box;
}
.component-grid-header {
  margin-bottom: 0px;
  padding-bottom: 8px;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--semi-color-border);
}
.component-grid-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  margin: 0;
}
.component-grid-subtitle {
  font-size: 12px;
  color: var(--semi-color-text-2);
  margin-top: 4px;
}
.component-grid-container {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px;
}
.component-grid-container .component-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--semi-color-bg-1);
  border: 1px solid var(--semi-color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px;
  box-sizing: border-box;
}
.component-grid-container .component-card:hover {
  border-color: var(--semi-color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.component-grid-container .component-card-image {
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
.component-grid-container .component-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.component-grid-container .component-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  text-align: center;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
}
.component-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.component-grid-footer {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--semi-color-border);
  text-align: center;
}
.component-grid-count {
  font-size: 12px;
  color: var(--semi-color-text-2);
}
.component-popover {
  width: 600px;
  max-width: 90vw;
  padding: 0;
}
.component-popover .popover-content {
  padding: 0;
}
.popover-detail {
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}
.popover-detail-header {
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, var(--semi-color-primary-light), var(--semi-color-bg-0));
  border-bottom: 1px solid var(--semi-color-border);
}
.popover-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.popover-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.popover-detail-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  margin: 0;
}
.popover-detail-module {
  font-size: 12px;
  color: var(--semi-color-text-2);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background-color: var(--semi-color-fill-0);
  padding: 2px 6px;
  border-radius: 4px;
}
.popover-detail-description {
  font-size: 14px;
  color: var(--semi-color-text-1);
  line-height: 1.6;
  margin: 12px 0;
}
.popover-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.popover-detail-version {
  font-size: 12px;
  color: var(--semi-color-primary);
  background-color: var(--semi-color-primary-light-default);
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 4px;
}
.popover-detail-root {
  font-size: 12px;
  color: var(--semi-color-text-2);
}
.popover-detail-body {
  padding: 12px 24px;
}
.popover-detail-section {
  margin-bottom: 8px;
}
.popover-detail-section:last-child {
  margin-bottom: 0;
}
.popover-detail-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.popover-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.popover-detail-tag {
  font-size: 12px;
  color: var(--semi-color-primary);
  background-color: var(--semi-color-primary-light-default);
  padding: 4px 8px;
  border-radius: 4px;
}
.popover-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.popover-detail-stat {
  background-color: var(--semi-color-fill-0);
  padding: 12px;
  border-radius: 8px;
}
.popover-detail-stat-label {
  font-size: 12px;
  color: var(--semi-color-text-2);
  margin-bottom: 4px;
}
.popover-detail-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--semi-color-text-0);
}
.popover-detail-dependencies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.popover-detail-dependency {
  font-size: 12px;
  color: var(--semi-color-text-1);
  background-color: var(--semi-color-fill-0);
  padding: 3px 6px;
  border-radius: 4px;
}
.popover-detail-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.popover-detail-image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}
.popover-detail-footer {
  padding: 12px 24px;
  background-color: var(--semi-color-fill-0);
  border-top: 1px solid var(--semi-color-border);
  text-align: center;
}
.category-header {
  grid-column: 1 / -1;
  margin: 0;
  margin-top: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--semi-color-border);
}
.category-header-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-header-count {
  font-size: 11px;
  color: var(--semi-color-text-2);
  background-color: var(--semi-color-fill-0);
  padding: 1px 6px;
  border-radius: 10px;
}
.component-view-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--semi-color-border);
}
.component-view-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.component-view-header .lib-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.component-view-header .lib-info .lib-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--semi-color-text-0);
  margin: 0;
}
.component-view-header .lib-info .lib-version {
  font-size: 12px;
  color: var(--semi-color-text-2);
  background-color: var(--semi-color-fill-0);
  padding: 2px 8px;
  border-radius: 10px;
}
.component-view-header .lib-description {
  font-size: 12px;
  color: var(--semi-color-text-2);
  line-height: 1.4;
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  gap: 16px;
}
.loading-container .loading-text {
  font-size: 12px;
  color: var(--semi-color-text-2);
}
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  gap: 20px;
}
.components-view-container {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.components-view-container .empty-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
}
.components-view-container .components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.components-view-container .component-grid-item {
  width: 100%;
}
.components-view-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--semi-color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.components-view-footer .components-count {
  font-size: 12px;
  color: var(--semi-color-text-2);
}
.components-view-footer .components-tip {
  font-size: 12px;
  color: var(--semi-color-text-3);
}
@media (max-width: 1200px) {
  .component-grid-list,
  .components-view-container .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .component-grid-list,
  .components-view-container .components-grid {
    grid-template-columns: 1fr;
  }
  .component-popover {
    width: 90vw;
  }
}

.app-list-panel {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  padding: 24px;
}
.app-list-panel .btn-add-full {
  border-radius: 12px;
  padding: 38px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  cursor: pointer;
  gap: 8px;
  font-size: 20px;
  color: #fff;
}
.app-list-panel .panel-desc {
  padding: 8px;
  font-size: 13px;
}
.app-list-panel .app-section {
  margin-bottom: 16px;
  padding: 8px;
}
.app-list-panel .app-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.app-list-panel .app-section .section-header > span:first-child {
  font-size: 15px;
}
.app-list-panel .app-section .semi-empty-horizontal {
  width: 100%;
  justify-content: center;
}
.app-list-panel .app-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}
.app-list-panel .app-grid .app-card {
  width: 120px;
}
.app-list-panel .app-grid :global(.semi-empty) {
  grid-column: 1 / -1;
}
.app-list-panel .app-card {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.app-list-panel .app-card:hover {
  background-color: rgba(var(--semi-light-blue-5), 0.04);
  border-color: rgba(var(--semi-light-blue-5), 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.app-list-panel .app-card.recommend {
  background: rgba(var(--semi-light-blue-5), 0.02);
  border-color: rgba(var(--semi-light-blue-5), 0.1);
}
.app-list-panel .app-card .app-icon {
  font-size: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.app-list-panel .app-card .app-icon img {
  border-radius: 6px;
  width: 100%;
  object-fit: contain;
}
.app-list-panel .app-card .app-name {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  line-height: 1.3;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-list-panel .app-card .app-desc,
.app-list-panel .app-card .app-tag {
  font-size: 12px;
  color: var(--semi-color-text-2);
}
.app-list-panel .app-card .app-tag {
  background: rgba(var(--semi-light-blue-5), 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.app-list-panel .app-card .app-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.app-list-panel .app-card .app-actions .semi-typography {
  font-size: 20px;
}
.app-list-panel .app-card:hover .app-actions {
  opacity: 1;
}
.app-list-panel .app-card-recommend {
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.app-list-panel .app-card-recommend:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-color: #c9cdd4;
}
.app-list-panel .app-card-recommend.recommend {
  cursor: default;
}
.app-list-panel .app-card-recommend .app-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.app-list-panel .app-card-recommend .app-name {
  font-size: 14px;
  margin-bottom: 4px;
}
.app-list-panel .app-card-recommend .app-tag {
  font-size: 11px;
  color: #86909c;
}
.app-list-panel .app-card-recommend .app-desc {
  font-size: 12px;
  color: #86909c;
}
.app-list-table-container {
  padding: 16px;
}
.app-list-table-container .table-app-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5f7fa;
  border-radius: 6px;
}
.app-list-table-container .table-app-icon img {
  width: 100%;
  height: 100%;
}

.card-list-t {
  grid-gap: 16px;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  justify-content: space-between;
}
.card-list-t .card {
  border: 1px solid var(--semi-color-border);
  border-radius: 4px;
  box-shadow: var(--shadow-lv3);
  box-sizing: border-box;
  cursor: pointer;
  height: auto;
  opacity: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-shadow: var(--semi-shadow-elevated);
}
.card-list-t .card.selected {
  border: 1px solid var(--semi-color-primary);
}
.card-list-t .card .top {
  padding: 24px 16px 0;
  display: flex;
  justify-content: center;
  color: var(--semi-color-primary);
  font-size: 32px;
}
.card-list-t .card .top svg {
  width: 32px;
  height: 32px;
}
.card-list-t .card .bottom {
  padding: 16px 0;
  align-items: center;
  color: var(--text-ultrastrong);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 20px;
}

.share-description-space > div {
  width: 100%;
  margin: 6px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-sider .nav-sider-nav .semi-navigation-item-icon {
  font-size: 20px;
}

.N6OqBr44 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}
.N6OqBr44 .oaZVTPB0 {
  display: flex;
  justify-content: space-between;
}
.N6OqBr44 .hNoN7mZi .H9XlDd6B {
  width: 24px;
  height: 24px;
}
.N6OqBr44 .semi-tabs-content {
  padding: 0;
}
.N6OqBr44 .semi-tabs {
  margin-bottom: 2px;
}
.edbgKmGW {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gf3dlcSq {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  overflow-y: auto;
  align-content: start;
}
.JKSxQqH2 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.JKSxQqH2 .rB1OhsjE {
  position: absolute;
  z-index: 111;
  right: 16px;
  top: 16px;
}
.JKSxQqH2:hover {
  background: var(--semi-color-fill-0);
}
.OOpAlHxc {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0;
  color: var(--semi-color-text-3);
}
.Fb0jUkSY {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.SZQhQDMz {
  display: flex;
  max-width: 480px;
  align-items: start;
  flex-direction: column;
  padding: 12px 24px;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.SZQhQDMz .MUdDcT4v {
  margin-bottom: 24px;
}
.SZQhQDMz .S_hbL0RK {
  margin-bottom: 24px;
}
.SZQhQDMz .S_hbL0RK .l6Xg8fIh {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.MUdDcT4v {
  margin-left: 4px;
}

