.segment-selector{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.segment-selector button{border:1px solid var(--theme61-line-79a8ff);border-radius:6px;background:var(--theme61-bg-fff);color:var(--theme61-fg-1763eb);font-size:11px;min-height:36px;padding:8px 12px}.segment-selector span{font:11px 'Consolas',monospace;color:var(--theme61-fg-6e85a6);overflow-wrap:anywhere}#segment-dialog{width:620px;max-width:calc(100vw - 32px);max-height:85vh;overflow-y:auto;padding:25px;border:1px solid var(--theme61-line-e1e9f6)}.segment-dialog-head{display:flex;justify-content:space-between;align-items:center}.segment-dialog-head h2{font-size:22px;margin:8px 0 12px}#close-segments{border:0;background:none;color:var(--theme61-fg-899bb1);font-size:27px;padding:4px 8px}.segment-hint{margin:10px 0 18px;color:var(--theme61-fg-8a9ab0);font-size:10px!important}#segment-search{width:100%;padding:12px;border:1px solid var(--theme61-line-dce7f5);border-radius:6px;color:var(--theme61-fg-19365d);background:var(--theme61-bg-f8faff)}#segment-query-status{margin:12px 0;font-size:10px;color:var(--theme61-fg-7b8fac)}#segment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:310px;overflow:auto;padding:2px}.segment-choice{border:1px solid var(--theme61-line-dfe7f3);border-radius:6px;background:var(--theme61-bg-fff);color:var(--theme61-fg-435d81);padding:12px 8px;font:12px 'Consolas','Microsoft YaHei',monospace;min-height:44px;overflow-wrap:anywhere}.segment-choice:first-child{grid-column:1/-1;font-size:11px}.segment-choice[aria-pressed=true]{border-color:var(--theme61-line-4285ff);background:var(--theme61-bg-edf4ff);color:var(--theme61-fg-1763eb);box-shadow:0 0 0 1px var(--theme61-shadow-4285ff)}.segment-dialog-actions{display:flex;justify-content:space-between;border-top:1px solid var(--theme61-line-e5ecf5);margin-top:20px;padding-top:18px;gap:12px}#reload-segments{border:1px solid var(--theme61-line-dce7f5);border-radius:6px;background:var(--theme61-bg-ffffff);color:var(--theme61-fg-5273a3);padding:9px 14px;font-size:11px}.order-segment{font:11px 'Consolas','Microsoft YaHei',monospace;margin-top:14px;color:var(--theme61-fg-3970bf)}@media(max-width:650px){#segment-dialog{padding:20px}#segment-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.segment-ping-tip{background:var(--theme61-bg-edf5ff);border:1px solid var(--theme61-line-dbe9ff);border-radius:6px;padding:10px 12px;margin:0 0 16px!important;color:var(--theme61-fg-6482a9);font-size:11px!important;line-height:1.9}.segment-ping-tip a{color:var(--theme61-fg-1763eb);text-decoration:underline;text-underline-offset:3px}.segment-option-row{display:flex;min-width:0}.segment-option-row .segment-choice{flex:1;min-width:0;user-select:text;border-radius:6px 0 0 6px}.segment-copy{border:1px solid var(--theme61-line-dfe7f3);border-left:0;border-radius:0 6px 6px 0;background:var(--theme61-bg-f5f8fd);color:var(--theme61-fg-1763eb);padding:7px 9px;font-size:10px;min-width:44px}.segment-copy:hover{background:var(--theme61-bg-eaf2ff)}#segment-copy-status{font-size:10px;color:var(--theme61-fg-3976bd);line-height:1.7;min-height:18px;margin-top:10px}
