.jip-editor { position: absolute; inset: 0; z-index: 40; pointer-events: none; color: #fff; font: 400 13px/20px 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',Arial,sans-serif; }
.jip-editor *, .jip-editor *::before, .jip-editor *::after { box-sizing: border-box; }
.jip-editor [hidden] { display: none !important; }
.jip-editor button, .jip-editor textarea { font: inherit; }
.jip-editor button { cursor: pointer; }
.jip-editor button:disabled, .jip-editor textarea:disabled { cursor: default; opacity: .45; }
.jip-editor :is(button,textarea):focus-visible { outline: 2px solid #7eddf0; outline-offset: 2px; }
.jip-panel { position: absolute; display: flex; align-items: center; gap: 8px; width: 680px; max-width: calc(100% - 16px); min-height: 56px; padding: 12px 12px 12px 16px; overflow: hidden; border-radius: 16px; background: #222222b8; backdrop-filter: blur(12px); pointer-events: auto; }
.jip-label { flex: 0 0 84.71875px; width: 84.71875px; color: #f5f5f5; font-size: 13px; white-space: nowrap; }
.jip-input { display: block; flex: 1 1 0; min-width: 0; min-height: 24px; max-height: 120px; margin: 0; padding: 0; resize: none; border: 0; outline: 0; background: transparent; color: #f5f5f5; line-height: 24px; scrollbar-width: thin; }
.jip-input::placeholder { color: #898989; }
.jip-editor .jip-input:focus-visible { outline: none; }
.jip-resolution { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; gap: 4px; width: 48px; height: 32px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; color: #f5f5f5; }
.jip-resolution:hover, .jip-resolution[aria-expanded="true"] { background: #ffffff12; }
.jip-editor .jip-resolution svg { display: block; width: 10px; height: 10px; transition: transform .2s; }
.jip-editor .jip-resolution[aria-expanded="true"] svg { transform: rotate(180deg); }
.jip-pending { flex: 0 0 45.609375px; width: 45.609375px; color: #898989; font-size: 12px; text-align: center; white-space: nowrap; }
.jip-save { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 8px; border: 0; border-radius: 50%; background: #ffffff1f; color: #f5f5f5; }
.jip-save:hover { background: #ffffff33; }
.jip-editor .jip-save svg { display: block; width: 16px; height: 16px; }
.jip-menu { position: absolute; z-index: 2; display: flex; flex-direction: column; width: 120px; height: 80px; padding: 4px; border-radius: 12px; background: #262626; box-shadow: 0 8px 24px #0006; pointer-events: auto; }
.jip-menu-item { display: flex; align-items: center; flex: 0 0 36px; width: 100%; height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: #f5f5f5; text-align: left; }
.jip-menu-item:hover, .jip-menu-item[aria-checked="true"] { background: #ffffff12; }
@media (max-width: 480px) { .jip-label { flex-basis: 64px; width: 64px; font-size: 12px; } .jip-panel { gap: 6px; padding-left: 12px; } .jip-pending { flex-basis: 36px; width: 36px; font-size: 11px; } }
.jip-editor[data-compact="true"] .jip-panel { flex-wrap: wrap; gap: 6px; padding-left: 12px; }
.jip-editor[data-compact="true"] .jip-label { flex-basis: 64px; width: 64px; margin-right: auto; font-size: 12px; }
.jip-editor[data-compact="true"] .jip-pending { flex-basis: 36px; width: 36px; font-size: 11px; }
.jip-editor[data-compact="true"] .jip-input { order: 1; flex: 1 0 100%; }
.jip-editor[data-mobile="true"] .jip-panel,.jip-editor[data-mobile="true"] .jip-menu { overflow-y: auto; overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { .jip-editor *, .jip-editor *::before, .jip-editor *::after { animation: none !important; transition: none !important; } }
