.selection-entry{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-height:38px;line-height:1.5;font-size:13px}
.selection-mode{color:#909399;white-space:nowrap}
.selection-mode.is-selected{color:#409eff}
.selection-entry button{font:inherit;cursor:pointer;line-height:1.5;box-sizing:border-box}
.selection-entry-button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 10px;border:1px solid #a0cfff;border-radius:5px;background:#409eff0a;color:#409eff;white-space:nowrap}
.selection-entry-button:hover{background:#409eff18;border-color:#409eff}
.selection-entry-button span{font-weight:600}
.selection-entry-clear{padding:4px 0;border:0;background:transparent;color:#909399}
.selection-entry-hint{color:#909399;font-size:12px}
.selection-entry [hidden],#paid-selection [hidden]{display:none!important}
#paid-selection{width:min(720px,calc(100vw - 32px));max-width:none;max-height:min(760px,calc(100dvh - 48px));margin:auto;padding:0;border:1px solid #e4e7ed;border-radius:12px;background:#fff;color:#303133;box-shadow:0 18px 64px #0003;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;box-sizing:border-box;overflow:hidden}
#paid-selection:not([open]){display:none}
#paid-selection[open]{display:flex;flex-direction:column}
#paid-selection::backdrop{background:#10182866}
#paid-selection .selection-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #ebeef5;flex:none}
#paid-selection h2{font-size:18px;line-height:1.5;font-weight:600;margin:0 0 3px}
#paid-selection .selection-dialog-header span{font-size:12px;color:#909399}
#paid-selection button{font:inherit;padding:7px 12px;border:1px solid #409eff;border-radius:5px;background:#409eff;color:#fff;cursor:pointer;white-space:normal;line-height:1.5}
#paid-selection button:disabled{opacity:.5;cursor:not-allowed}
#paid-selection button:focus-visible,.selection-entry button:focus-visible{outline:2px solid #409eff;outline-offset:3px}
#paid-selection button.selection-close{flex:none;background:transparent;border:0;color:#909399;font-size:26px;line-height:1;padding:6px;width:36px;height:36px}
#paid-selection .selection-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 24px 24px}
#paid-selection .selection-terms{margin:0 0 16px;padding:12px 14px;background:#409eff0a;border-radius:6px;font-size:13px;color:#606266}
#paid-selection .selection-no-refund{color:#d93025;font-weight:700}
#paid-selection [data-role=status]{display:block;margin:12px 0 0;color:#909399;font-size:13px;overflow-wrap:anywhere}
#paid-selection [data-role=pending]{margin-top:12px;font-size:13px}
#paid-selection [data-role=pending] a{color:#409eff;margin-right:8px}
#paid-selection [data-role=rows]{display:grid;gap:10px;margin-top:16px}
#paid-selection [data-role=rows]:empty{display:none}
#paid-selection [data-role=rows] label{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin:0;border:1px solid #dcdfe6;border-radius:6px;overflow-wrap:anywhere;cursor:pointer;font-weight:normal}
#paid-selection [data-role=rows] label:hover{border-color:#a0cfff}
#paid-selection [data-role=rows] label:has(input:checked){border-color:#409eff;background:#409eff0a}
#paid-selection [data-role=rows] input{display:block;flex:none;width:16px;height:16px;margin:3px 0 0;accent-color:#409eff}
#paid-selection [data-role=rows] span{min-width:0}
#paid-selection a.selection-profile-link{color:#409eff;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#paid-selection a.selection-profile-link:hover{color:#66b1ff}
#paid-selection a.selection-profile-link:focus-visible{outline:2px solid #409eff;outline-offset:2px;border-radius:2px}
#paid-selection [data-role=pages]{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:18px;font-size:13px}
#paid-selection button[data-action=clear],#paid-selection button[data-action=prev],#paid-selection button[data-action=next],#paid-selection button[data-action=cancel]{background:transparent;color:#409eff}
#paid-selection .selection-dialog-footer{display:flex;justify-content:flex-end;gap:10px;flex:none;padding:14px 24px;border-top:1px solid #ebeef5}
#paid-selection .selection-dialog-footer:has([data-action=done]:disabled){display:none}
@media(max-width:600px){#paid-selection{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:10px}#paid-selection .selection-dialog-header{padding:16px}#paid-selection .selection-dialog-body{padding:14px 16px 18px}#paid-selection .selection-dialog-footer{padding:12px 16px}#paid-selection [data-role=pages]{gap:6px}#paid-selection [data-role=pages] button{padding:6px 8px}}
@media(prefers-color-scheme:dark){#paid-selection{background:#202225;color:#e5e7eb;border-color:#45494f}#paid-selection .selection-dialog-header,#paid-selection .selection-dialog-footer{border-color:#45494f}#paid-selection .selection-terms{color:#c1c5cd}#paid-selection [data-role=rows] label{border-color:#555b64}}
@media(prefers-color-scheme:dark){#paid-selection .selection-no-refund{color:#ff7875}}
