.modal:has(.import-dialog){background:#1d2024;width:min(620px,100% - 32px);margin-top:clamp(32px,8vh,80px);margin-bottom:auto;padding:26px 28px 24px;overflow:hidden}.modal:has(.import-dialog .import-footer){padding-bottom:0}.modal:has(.import-dialog) .modal-head{align-items:center;margin-bottom:20px}.modal:has(.import-dialog) h2{letter-spacing:-.5px;font-size:22px}.import-dialog{font-size:14px}.import-dialog .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.import-tabs{border-bottom:1px solid #34373c;gap:26px;margin-bottom:20px;display:flex}.import-tabs button{color:#989ea6;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:8px;padding:0 0 13px;font-size:14px;font-weight:500;display:inline-flex}.import-tabs button.active{color:#eef0f2;border-bottom-color:var(--accent)}.import-tabs button:hover{color:#eef0f2}.import-search{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding-bottom:10px;display:grid}.import-search:last-child{padding-bottom:14px}.import-search-field{color:#8f979f;background:#171a1e;border:1px solid #3a3e44;border-radius:8px;align-items:center;gap:10px;min-width:0;padding-left:12px;transition:border-color .15s,box-shadow .15s;display:flex}.import-search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #b5a0f51f}.import-dialog .import-search-field input{background:0 0;border:0;width:100%;min-width:0;padding:11px 12px 11px 0;font-size:14px;box-shadow:none!important;outline:none!important}.import-dialog .import-search-field input:focus{box-shadow:none!important;outline:none!important}.import-dialog .button{white-space:nowrap;border-radius:8px;height:42px;min-height:42px;padding:0 16px;font-size:14px}.import-search .button{color:#e3e6e9;background:#2d3137;border-color:#3d4249;transition:background-color .15s,border-color .15s,opacity .15s}.import-search .button:hover:not(:disabled){color:#fff;background:#3a3f47;border-color:#525963}.import-search .button:disabled{opacity:.5;cursor:not-allowed}.import-search-note{color:#9299a2;margin:28px 0 34px;font-size:14px}.import-profile{align-items:center;gap:10px;padding:20px 0 15px;display:flex}.import-profile>div{flex-direction:column;gap:2px;display:flex}.import-profile strong{font-size:14px;font-weight:550}.import-profile>div>span{color:#969da5;font-size:12px}.import-selection-action{color:#abb2bc;white-space:nowrap;background:0 0;border:0;margin-left:auto;padding:6px 0 6px 12px;font-size:12px}.import-selection-action:hover{color:#eef0f2}.import-rows{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#444a51 transparent;min-height:100px;max-height:min(350px,100dvh - 404px);margin:0 -10px;padding:0 3px 0 10px;overflow-y:auto}.import-row{cursor:pointer;border-radius:7px;grid-template-columns:16px 32px minmax(0,1fr) 45px 57px;align-items:center;gap:12px;min-height:64px;margin-left:-10px;padding:10px;display:grid}.import-row+.import-row{border-top:1px solid #ffffff07}.import-row:hover{background:#ffffff05}.import-row.is-selected{background:color-mix(in srgb, var(--accent) 8%, transparent)}.import-row input{width:15px;height:15px;accent-color:var(--accent);cursor:pointer;margin:0}.import-row .player-avatar{color:#a9b0b9;background:#2a2e34;border-radius:6px;flex-basis:32px;width:32px;height:32px;font-size:10px}.import-opponent{flex-direction:column;gap:5px;min-width:0;display:flex}.import-opponent strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.import-opponent>span{color:#939ba5;align-items:center;gap:9px;font-size:12px;line-height:1;display:flex}.import-opponent>span>span+span{border-left:1px solid #555b6366;padding-left:9px}.import-color{border-radius:50%;flex:0 0 8px;width:8px;height:8px;display:inline-block}.import-color.white{background:#deded8;border:1px solid #eee}.import-color.black{background:#101214;border:1px solid #78818b}.import-outcome{text-align:center;text-transform:capitalize;letter-spacing:.2px;border-radius:4px;justify-content:center;align-items:center;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex}.import-outcome.win{color:#4ade80;background:#4ade8029;border:1px solid #4ade8059}.import-outcome.loss{color:#ff6b6b;background:#ff6b6b29;border:1px solid #ff6b6b59}.import-outcome.draw{color:#cbd5e1;background:#cbd5e124;border:1px solid #cbd5e147}.import-date{color:#929aa5;font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;gap:4px;font-size:12px;display:flex}.import-date>span+span{color:#737d89}.import-more{color:#a5adb7;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;width:100%;padding:14px;font-size:12px;display:flex}.import-more:hover{color:#e1e5ea}.import-footer{background:#1a1d21;border-top:1px solid #33373c;justify-content:space-between;align-items:center;gap:12px;margin:16px -28px 0;padding:16px 28px;display:flex}.import-footer-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.import-footer>span{color:#969ea8;font-size:12px}.import-footer .button.primary{background:var(--accent);border-color:var(--accent);color:#211a31;gap:9px;font-weight:600}.import-footer .button.primary:hover{background:color-mix(in srgb, var(--accent) 85%, white);border-color:color-mix(in srgb, var(--accent) 85%, white)}.import-empty{color:#929aa5;padding:26px 10px;line-height:1.5}.import-upload{color:#aab5c1;background:#ffffff02;border:1px dashed #454c55;border-radius:10px;flex-direction:column;align-items:center;gap:8px;width:100%;padding:25px 16px;display:flex}.import-upload strong{color:#d9dfe6;font-size:14px;font-weight:500}.import-upload span{color:#8f99a5;font-size:12px}.import-image-placeholder{color:#8f99a5;background:#ffffff02;border:1px dashed #454c55;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:180px;margin-bottom:4px;display:flex}.import-image-placeholder strong{color:#d9dfe6;font-size:14px;font-weight:500}.import-paste textarea{resize:vertical;min-height:130px;max-height:22dvh;font-size:13px}.import-dialog>.error-message{margin-bottom:20px}@media (max-width:560px){.modal:has(.import-dialog){padding:20px 18px 0}.import-footer{flex-wrap:wrap;margin-left:-18px;margin-right:-18px;padding:14px 18px}.import-footer-actions{flex-wrap:wrap;flex-shrink:1;justify-content:flex-end}.import-search{gap:8px}.import-search .button{padding:0 11px}.import-row{grid-template-columns:16px minmax(0,1fr) 38px 49px;gap:10px}.import-row>.player-avatar{display:none}.import-date,.import-outcome{font-size:11px}.import-rows{max-height:min(350px,100dvh - 388px)}.import-paste .import-footer>span{max-width:none}}@media (max-height:500px){.modal:has(.import-dialog){overflow-y:auto}}
