/* Full-height left/right caps: 1942px each; only the central 100px strip
   stretches horizontally. Rendered cap width = height × 1942 / 1696,
   so decorations and all vertical dimensions retain the same scale. */
html body :is(#app, .el-overlay, .el-message-box, .el-popper, .cc-ap, .cc-window, #desktop, #appstudio) :is(.el-input__wrapper, .el-textarea__inner):not(.geo-workspace *):not([data-native-controls] *),
html body :is(input:not([type]), input[type='text'], input[type='search'], input[type='password'], input[type='email'], input[type='number'], input[type='url'], input[type='tel'], textarea):not(.el-input__inner):not(.el-select__input):not(.el-textarea__inner):not(.selection-bubble-input):not(.tag-field-input):not(.geo-workspace *):not([data-native-controls] *) {
  box-sizing: border-box !important;
  border: solid transparent !important;
  border-width: 0 !important;
  border-image-source: url('/ui/tex/输入框.webp') !important;
  border-image-slice: 0 1942 0 1942 fill !important;
  border-image-width: 0 var(--input-art-cap, 91.6px) !important;
  border-image-repeat: stretch !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 22px 34px !important;
  min-height: 80px !important;
  min-width: 0;
  color: #3A2A30 !important;
}
html body :is(#app, .el-overlay, .el-message-box, .el-popper) .el-input__inner:not([data-native-controls] *) {
  background: transparent !important;
  color: #3A2A30 !important;
  min-width: 0;
}
html body :is(#app, .el-overlay, .el-message-box, .el-popper) .el-input__wrapper.is-focus {
  filter: brightness(1.04);
}
html body :is(#app, .el-overlay, .el-message-box) .el-textarea__inner:not([data-native-controls] *) {
  min-height: 80px !important;
  line-height: 1.6;
}
html body :is(.el-input.is-disabled, .el-textarea.is-disabled) { opacity: .6; }
html body :is(.el-input__prefix, .el-input__suffix) { flex-shrink: 0; }
/* Keep the full-height artwork proportional on long-form editors.
   Long content scrolls inside the input instead of crushing the end caps. */
html body :is(.sell-page, .editor-page, .emoji-editor) .el-textarea__inner {
  height: 120px !important;
  max-height: 120px !important;
  overflow-y: auto;
}
/* 全部原生 textarea / 封装文本域：删掉烦人的边框框框（用户要求） */
html body :is(#app, .el-overlay, .el-message-box, .el-popper, .cc-ap, .cc-window, #desktop, #appstudio) :is(.el-textarea__inner, textarea):not(.geo-workspace *):not([data-native-controls] *),
html body textarea:not(.geo-workspace *):not([data-native-controls] *) {
  border: none !important;
  border-image-source: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}
