/* The scanned table aligns with the result table width and retains its proportions. */
.scan{width:100%;}
.scan img{display:block;width:100%;height:auto;}
.scan-control{display:block;overflow-x:auto}.scan-preview{width:100%;max-width:none}.scan-preview img{margin:0}.scan-frame{box-sizing:border-box;border:1px solid #cfe0d3;border-radius:6px;overflow:hidden}.scan-frame img{display:block;width:100%;height:auto}.scan-form{width:100%;margin:1rem 0 0}.scan-form input[type=number]{min-width:3.4rem;text-align:center}
.scan-upload-options{border:1px solid #cfe0d3;border-radius:7px;margin:.9rem 0;padding:.25rem .85rem .8rem}.scan-upload-options legend{font-weight:650;padding:0 .3rem}
.scan-form th:last-child,.scan-form td:last-child{border-right:1px solid #cfe0d3}
.managed-scan{display:block;max-width:100%;height:auto;border:1px solid #cfe0d3;border-radius:6px}.remove-scan{margin:1rem 0}
.scan-form tfoot th,.scan-form tfoot td{background:#e5f2e7;border-top:2px solid #a9c6b0;font-weight:750}.scan-form tfoot td{text-align:center;border-right:1px solid #cfe0d3}
.stats tfoot th,.stats tfoot td{background:#e5f2e7;border-top:2px solid #a9c6b0;font-weight:750}.stats tfoot td{text-align:center;border-right:1px solid #cfe0d3}
.team-matchup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:.75rem;margin:.8rem 0}.team-matchup span{padding-bottom:.55rem;font-size:1.5rem;font-weight:750}@media(max-width:600px){.team-matchup{gap:.4rem}.team-matchup span{font-size:1.2rem}}
.filter-actions{align-self:start;display:flex;padding-top:calc(.65rem + 1.5em + .25rem)}.filter-actions button{width:100%;height:calc(1.5em + 1.2rem + 2px);padding:.6rem .9rem}
.game-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.game-actions form{margin:0}.game-actions .button{white-space:nowrap}
.scan-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}.scan-actions .button{white-space:nowrap}
.editor-card .scan-form{margin:0}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem}.editor-actions .delete-form{margin:0}@media(max-width:600px){.editor-actions{align-items:flex-start;flex-direction:column}.editor-actions .delete-form{align-self:flex-end}}
.admin-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.admin-actions form{margin:0}.admin-actions .button{white-space:nowrap}
.password-field{display:flex;align-items:center;gap:.5rem}.password-field input{min-width:0;flex:1}.password-toggle{flex:0 0 auto;margin-top:.25rem;padding:.6rem .75rem;font-size:.9rem}
.cloud-analysis-text{max-height:13rem;overflow:auto;white-space:pre-wrap;background:#f4faf5;border:1px solid #cfe0d3;border-radius:6px;padding:.75rem;font:inherit}
.game-timestamps{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:.8rem 0;padding:.7rem .85rem;background:#f4faf5;border:1px solid #cfe0d3;border-radius:6px;color:#526171;font-size:.9rem}
.new-scan-preview{margin-top:1rem}.new-scan-preview img{display:block;max-width:100%;max-height:28rem;border:1px solid #cfe0d3;border-radius:6px}
@media(max-width:700px){.filter-actions{padding-top:0;align-self:auto}.filter-actions button{height:auto;width:100%}.scan-upload-options{padding:.25rem .7rem .7rem}.scan-actions,.game-actions,.admin-actions{width:100%}.scan-actions .button,.game-actions .button,.admin-actions .button{flex:1;text-align:center}.editor-actions{margin-top:.85rem}.password-field{align-items:stretch;flex-direction:column;gap:.15rem}.password-toggle{width:100%;margin-top:0}.scan-form input[type=number]{min-width:2.8rem;padding:.5rem .25rem}}@media(max-width:520px){.team-matchup{grid-template-columns:1fr;gap:.25rem}.team-matchup span{justify-self:center;padding:0;font-size:1.25rem}.editor-actions{gap:.65rem}.editor-actions>button,.editor-actions .delete-form,.editor-actions .delete-form button{width:100%}.editor-actions .delete-form{align-self:stretch}.scan-preview h2{font-size:1.2rem}}
