.sequence-match-overlay{position:fixed;inset:0;z-index:13030;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(2,7,13,.8);color:#d7e1eb;backdrop-filter:none;-webkit-backdrop-filter:none}
.sequence-match-dialog{width:min(760px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(145deg,#17202c,#0d1520);border:1px solid #454c58;border-radius:16px;box-shadow:0 24px 70px #0008;font:14px/1.6 system-ui,"Microsoft YaHei",sans-serif;outline:none}
.sequence-match-dialog *{box-sizing:border-box;font:inherit}.sequence-match-dialog button{padding:9px 15px;border:1px solid #455263;border-radius:8px;color:#dce5ef;background:#192431;cursor:pointer}.sequence-match-dialog button:hover:not(:disabled){background:#263444;border-color:#d8b576}.sequence-match-dialog button:disabled{opacity:.5;cursor:default}.sequence-match-dialog :focus-visible{outline:2px solid #e8c685;outline-offset:3px}
.sequence-match-dialog .sm-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-bottom:1px solid #35404e;flex:none}.sequence-match-dialog h2{margin:0;color:#f0ce8d;font-size:20px;font-weight:700}.sequence-match-dialog .sm-header p{margin:4px 0 0;color:#a9b9c9;font-size:12px}.sequence-match-dialog .sm-close{width:36px;height:36px;flex:none;padding:0;font-size:25px;line-height:1}
.sequence-match-dialog .sm-form{padding:21px 22px 0;overflow-y:auto;overscroll-behavior:contain}.sequence-match-dialog .sm-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;margin:0;border:0;min-width:0}.sequence-match-dialog .sm-fields label{min-width:0;display:flex;flex-direction:column;gap:8px;color:#c9d6e3;font-size:13px;font-weight:600}.sequence-match-dialog .sm-number{display:flex;align-items:center;gap:8px;min-width:0}.sequence-match-dialog .sm-number input{width:100%;min-width:0;height:44px;padding:9px 11px;border:1px solid #465363;border-radius:9px;background:#0a111b;color:#edf2f8;font-size:16px;font-weight:500;color-scheme:dark}.sequence-match-dialog .sm-number>span{color:#a5b4c3;font-size:12px;font-weight:400}
.sequence-match-dialog .sm-note{margin:16px 0 0;color:#9cafc2;font-size:12px}.sequence-match-dialog .sm-note+.sm-note{margin-top:7px}.sequence-match-dialog .sm-error,.sequence-match-dialog .sm-success{margin:14px 0 0;padding:10px 12px;border-radius:8px;font-size:12px}.sequence-match-dialog .sm-error{background:#3a2029;color:#ffc6c6;border:1px solid #71404b}.sequence-match-dialog .sm-success{background:#18372e;color:#b6dcc9;border:1px solid #355749}.sequence-match-dialog .sm-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:20px -22px 0;padding:14px 22px;border-top:1px solid #35404e}.sequence-match-dialog .sm-footer>span{margin-right:auto;color:#d7bb86;font-size:12px}.sequence-match-dialog .sm-primary{background:linear-gradient(135deg,#f3d49a,#dba34f);border-color:#dcb16e;color:#24190d;font-weight:700}.sequence-match-dialog .sm-primary:hover:not(:disabled){background:linear-gradient(135deg,#f8dfb0,#e5b566);color:#24190d}
@media(max-width:600px){.sequence-match-overlay{padding:12px}.sequence-match-dialog{max-height:calc(100dvh - 24px)}.sequence-match-dialog .sm-header{padding:15px 16px}.sequence-match-dialog .sm-form{padding:17px 16px 0}.sequence-match-dialog .sm-fields{grid-template-columns:1fr;gap:14px}.sequence-match-dialog .sm-footer{margin-inline:-16px;padding-inline:16px;flex-wrap:wrap}.sequence-match-dialog .sm-footer>span{flex-basis:100%}}
.sequence-match-dialog .sm-fields .sm-group-scope{grid-column:1/-1;flex-direction:row;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #35404e;border-radius:9px;background:#101a27;cursor:pointer}
.sequence-match-dialog .sm-group-scope input{flex:none;width:17px;height:17px;margin:2px 0 0;accent-color:#e8c685;color-scheme:dark}
.sequence-match-dialog .sm-group-scope strong{font-weight:700}.sequence-match-dialog .sm-group-scope small{display:block;margin-top:2px;color:#9cafc2;font-size:12px;font-weight:400;overflow-wrap:anywhere}
