/* 设置弹层：z-index 50，高于输入框（40），低于提示（55 / 60） */
.set-overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 26, 40, 0.35); }
.set-panel { position: relative; width: min(480px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20, 26, 40, 0.3); padding: 14px 18px 12px; outline: none; }
.set-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.set-head h2 { margin: 0; font-size: 17px; }
.set-close { width: 32px; height: 32px; padding: 0; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); }
.set-sec { padding: 12px 0; border-top: 1px solid var(--line); }
.set-sec:first-child { border-top: 0; }
.set-sec h3 { margin: 0 0 2px; font-size: 14px; }
.set-hint { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.set-line { margin-bottom: 8px; word-break: break-all; }
.set-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.set-num { width: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: #fff; }
.set-num:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.set-color { width: 36px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.swatch { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid var(--line); }
.swatch.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.set-note { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.side-foot .set-btn { margin-top: 4px; }
.set-text-row { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.set-text { width: 100%; font-size: 14px; color: var(--text); }
