:root{color:#172026;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.legacy-shell{min-height:100vh;padding:0 4%;background:#fff url(https://ew80-static.oss-cn-shanghai.aliyuncs.com/wd2wm/Public/Moban/cmoban/1005/images/bg.jpg) no-repeat top left;background-size:100% 100%}.legacy-content{width:min(520px,100%);margin:0 auto}.legacy-card{min-height:100vh;padding:0 0 28px;background:#fff}.legacy-spacer{height:2rem}.legacy-title{margin:0 0 2.5rem;text-align:center;font-size:1rem;font-weight:500}.legacy-search-row{display:grid;grid-template-columns:minmax(0,1fr) 58px}.legacy-input{width:100%;height:2.8rem;border:1px solid #9e9e9e;border-radius:10px;padding:0 14px;color:#172026;background:#fff;font-size:16px;line-height:1.2;outline:none}.legacy-code-input{border-radius:10px 0 0 10px}.legacy-scan{display:grid;place-items:center;height:2.8rem;border:1px solid #000000;border-radius:0 10px 10px 0;color:#fff;background:#000}.scan-icon{position:relative;display:inline-grid;place-items:center;width:26px;height:22px;border:2px solid currentColor;border-radius:6px}.scan-icon:before{content:"";position:absolute;top:-5px;left:6px;width:10px;height:5px;border:2px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0}.scan-icon:after{content:"";position:absolute;top:7px;right:3px;width:3px;height:3px;border-radius:50%;background:currentColor}.scan-icon span{width:9px;height:9px;border:2px solid currentColor;border-radius:50%}.legacy-search-row,.legacy-card>.legacy-input,.legacy-card>.scanner,.legacy-result{margin:0 0 20px}.legacy-location{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;color:#52616d;font-size:12px}.legacy-location button{min-height:34px;border-radius:8px;padding:0 12px;color:#fff;background:#000;font-weight:700}.legacy-spec-link{display:block;margin:0 auto 28px;color:#000;background:transparent;font-size:.7rem;text-decoration:underline}.legacy-submit{display:block;width:80%;height:50px;margin:0 auto 26px;border-radius:8px;color:#fff;background:#000;font-weight:700}.legacy-result{border:1px solid #d9e0e6;border-radius:8px;padding:16px;color:#172026;background:#f8fafb}.legacy-result h2{margin-bottom:8px;font-size:17px}.legacy-result p{margin-bottom:12px;line-height:1.5}.legacy-result.genuine{border-color:#9ad6ca;background:#e8f7f4}.legacy-result.used{border-color:#f0c08c;background:#fff4e8}.legacy-result.invalid{border-color:#eda6af;background:#fff0f2}.legacy-result.pending{border-color:#ecd488;background:#fff8dc}.legacy-result-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:18;display:grid;place-items:center;padding:0;color:#fff;background:#b43434}.legacy-result-modal.genuine{background:#148263}.legacy-result-modal.pending{background:#293846}.legacy-result-modal.mismatch{background:#3f5f73}.legacy-result-modal.used{background:#d07a1f}.legacy-result-modal.locked,.legacy-result-modal.invalid{background:#b43434}.legacy-result-page{position:relative;display:grid;align-content:center;justify-items:center;width:100%;min-height:100vh;max-height:none;overflow:auto;border:0;border-radius:0;padding:44px 24px 36px;background:transparent;text-align:center;box-shadow:none}.legacy-result-page img{width:100px;height:100px;object-fit:contain;margin-bottom:16px}.legacy-result-page h2{margin-bottom:14px;font-size:24px}.legacy-result-page p{margin:0 0 10px;line-height:1.5;max-width:520px}.legacy-result-page a{display:inline-block;margin-top:18px;color:#fff;text-decoration:underline}.legacy-result-close{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;color:#fff;background:#ffffff2e;font-size:24px;line-height:1}.legacy-result-muted{color:#ffffffc7;font-size:12px}.legacy-result-page.genuine{border-color:#9ad6ca}.legacy-result-page.mismatch,.legacy-result-page.pending{border-color:#9bb6c7}.legacy-result-page.used{border-color:#f0c08c}.legacy-result-page.locked,.legacy-result-page.invalid{border-color:#eda6af}.location-consent{position:fixed;top:0;right:0;bottom:0;left:0;z-index:16;display:grid;place-items:center;padding:20px;background:#121f2c47}.location-consent-panel{width:min(360px,100%);border-radius:8px;padding:20px;background:#fff;box-shadow:0 18px 50px #121f2c29}.location-consent-panel h2{margin-bottom:8px;font-size:18px}.location-consent-panel p{color:#52616d;font-size:14px;line-height:1.5}.location-consent-panel div{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.location-consent-panel button{min-height:38px;border-radius:8px;padding:0 14px;color:#172026;background:#e7edf2;font-weight:700}.location-consent-panel .primary{color:#fff;background:#000}.legacy-popup{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;align-items:end}.legacy-popup-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000005c}.legacy-popup-panel{position:relative;max-height:75vh;overflow:auto;border-radius:8px 8px 0 0;background:#fff}.legacy-popup-panel header{position:sticky;top:0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:46px;border-bottom:1px solid #e2e8ee;background:#fff}.legacy-popup-panel header button{grid-column:1;color:#172026;background:transparent;font-size:28px}.legacy-popup-panel header h2{grid-column:2;text-align:center;font-size:16px}.legacy-spec-copy{padding:18px 22px 26px;color:#24313a;font-size:14px;line-height:1.6}.legacy-spec-copy p+p{margin-top:10px}.shell{min-height:100vh;padding:24px}.workspace{width:min(1180px,100%);margin:0 auto}.topbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.entry-hint{border:1px solid #d9e0e6;border-radius:8px;padding:9px 12px;color:#52616d;background:#fff;font-size:13px;white-space:nowrap}.eyebrow{margin:0 0 4px;font-size:12px;font-weight:700;color:#64717c;letter-spacing:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.15}h2{font-size:20px}h3{font-size:16px}.tabs,.segmented{display:inline-flex;gap:4px;padding:4px;border:1px solid #d9e0e6;border-radius:8px;background:#fff}.tabs button,.segmented button{min-height:36px;padding:0 14px;border-radius:6px;color:#43505a;background:transparent;white-space:nowrap}.tabs button.active,.segmented button.active{color:#fff;background:#0f766e}.verify-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:18px}.panel{border:1px solid #dde4ea;border-radius:8px;background:#fff;box-shadow:0 1px 2px #121f2c0a}.query-panel,.result-panel,.docs-panel{padding:22px}.query-panel{display:grid;gap:18px}label{display:grid;gap:8px}label span,legend,.detected span,dt{font-size:13px;font-weight:700;color:#52616d}textarea,input{width:100%;border:1px solid #ccd6de;border-radius:8px;background:#fff;color:#172026;outline:none}textarea{resize:vertical;min-height:112px;padding:12px;line-height:1.5}input{height:44px;padding:0 12px}textarea:focus,input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.detected{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border:1px solid #e2e8ee;border-radius:8px;background:#f8fafb}.detected strong{overflow-wrap:anywhere;font-size:15px}.segmented{justify-self:start;margin:0}.segmented legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.actions{display:flex;justify-content:flex-end;gap:10px}.actions button{min-height:42px;padding:0 18px;border-radius:8px;color:#fff;background:#0f766e;font-weight:700}.actions .secondary{color:#172026;background:#e7edf2}.test-scan-label{display:inline-flex;align-items:center;gap:8px}.test-scan-label .scan-icon{width:22px;height:18px}.test-scan-label .scan-icon:before{left:5px;width:8px}.test-scan-label .scan-icon span{width:7px;height:7px}.actions .compact,.location-row .compact{min-height:36px;padding:0 14px}.location-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.location-row button{border-radius:8px;color:#172026;background:#e7edf2;font-weight:700}.location-row span{color:#52616d;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.result-panel{display:grid;align-content:start;gap:16px;min-height:360px}.result-panel.empty{color:#64717c}.status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:34px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:800}.status.loading,.status.needs_check_code,.status.unknown{color:#705100;background:#fff1bd}.status.ambiguous,.status.platform_mismatch{color:#214a63;background:#d7e9f4}.status.genuine{color:#075e52;background:#cceee8}.status.used{color:#6f3d00;background:#ffe0bd}.status.invalid,.status.error{color:#8a1424;background:#ffd7de}dl{display:grid;gap:12px;margin:0}dl div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px}dd{margin:0;overflow-wrap:anywhere}.inline-error{color:#8a1424}.result-message{color:#24313a;line-height:1.6}.scanner{display:grid;gap:8px}.scanner video{width:100%;aspect-ratio:4 / 3;border:1px solid #ccd6de;border-radius:8px;background:#0f171c;object-fit:cover}.scanner .hidden{display:none}.scanner p{color:#52616d;font-size:13px}.scanner-close{justify-self:start;min-height:34px;border-radius:8px;padding:0 12px;color:#fff;background:#000;font-size:13px;font-weight:700}.docs-panel{display:grid;gap:18px}.docs-head{display:flex;justify-content:space-between;gap:16px}.docs-head p{margin-top:6px;color:#64717c;font-size:13px}.base-list{display:grid;align-content:start;gap:6px}code{border-radius:5px;padding:2px 5px;background:#eef3f6;color:#24313a;font-size:12px}.api-groups{display:grid;gap:16px}.api-group{display:grid;gap:8px;overflow-x:auto}table{width:100%;min-width:720px;border-collapse:collapse;font-size:13px}th,td{padding:10px;border-top:1px solid #e2e8ee;text-align:left;vertical-align:top}th{color:#52616d;background:#f8fafb}@media(max-width:820px){.shell{padding:14px}.legacy-shell{padding:0 4%}.legacy-content{width:100%}.legacy-card{min-height:100vh}.legacy-location{grid-template-columns:1fr}.topbar,.docs-head{align-items:stretch;flex-direction:column}.entry-hint{white-space:normal}.verify-grid{grid-template-columns:1fr}.tabs{width:100%}.tabs button{flex:1}.actions{flex-direction:column-reverse}.actions button{width:100%}.location-row{grid-template-columns:1fr}.location-row button{width:100%}dl div{grid-template-columns:1fr;gap:4px}}
