.modern-upload .upload-container:not(.container){max-width:64rem;margin:0 auto;padding:clamp(1rem,3vw,2rem);border-radius:1.25rem;color:var(--text-color);background:var(--container-bg)}.modern-upload .container.upload-container{margin:0 auto}.modern-upload .upload-heading{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.modern-upload .upload-heading h1,.modern-upload .upload-heading p{margin:.5rem 0}.modern-upload .photo-identity-form{display:grid;min-width:0;max-width:100%;gap:.875rem;margin:1rem 0}.modern-upload .photo-identity-grid{display:grid;grid-template-columns:minmax(0,1fr)}.modern-upload .photo-identity-grid>div{min-width:0}.modern-upload .photo-identity-form .photo-person-choice,.modern-upload .photo-identity-form>label{display:block;position:static;transform:none;margin-bottom:.375rem;padding:0;color:var(--text-color);background:transparent;font-size:1rem;pointer-events:auto}.modern-upload .photo-identity-form input,.modern-upload .photo-identity-form select,.modern-upload .photo-identity-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.modern-upload .photo-identity-form select{padding:clamp(.75rem,3vw,.9375rem) clamp(.625rem,2.5vw,.75rem);border:.0625rem solid var(--border-color);border-radius:clamp(.375rem,1.5vw,.5rem);color:var(--text-color);background:var(--input-bg);font:inherit}.modern-upload .photo-identity-form #photo-email-code{letter-spacing:.15em}.modern-upload .photo-verification-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.modern-upload .photo-person-card{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;width:fit-content;max-width:100%;box-sizing:border-box;overflow-wrap:break-word}.modern-upload .photo-person-card>div{flex:1 1 12rem;min-width:0;max-width:100%}.modern-upload .photo-person-card p{margin:.75rem 0 0}.modern-upload .photo-person-card ul{padding-left:1.5rem;list-style-type:disc}.modern-upload .photo-person-card .photo-existing{width:7.5rem;height:10rem;object-fit:contain}.modern-upload .photo-identity-form .photo-person-choice{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 .75rem;cursor:pointer}.modern-upload .photo-person-choice input{flex:0 0 auto;width:1.25rem;height:1.25rem;margin:1rem 0 0;padding:0;cursor:pointer}.modern-upload #photo-verification-status{max-width:40rem;overflow-wrap:break-word}.modern-upload .photo-verification-error{color:var(--error-color)}.modern-upload .photo-requirements{margin:1rem 0}.modern-upload .photo-requirements .universal-accordion-controls{display:none}.modern-upload .photo-check-result{margin:1rem 0;padding:1rem;border:.0625rem solid var(--border-color);border-radius:.75rem;color:var(--text-color);background:var(--section-bg)}.modern-upload .photo-requirements ul{margin:0;padding-left:1.5rem;list-style-type:disc;line-height:1.6}.modern-upload .photo-requirements .photo-identity-warning{color:red}.modern-upload[data-theme=dark] .photo-requirements .photo-identity-warning{color:lime}.modern-upload #upload-form .photo-agreement{display:flex;align-items:flex-start;gap:.625rem;color:var(--text-color);font-weight:600;pointer-events:auto;cursor:pointer}.modern-upload .photo-agreement input{flex:0 0 auto;width:1.25rem;height:1.25rem;margin:.125rem 0 0;padding:0;pointer-events:auto;cursor:pointer}.modern-upload #upload-form{display:grid;gap:.875rem;margin:1.5rem 0}.modern-upload #upload-form label{display:block;position:static;transform:none;margin-bottom:.25rem;padding:0;color:var(--text-color);background:transparent;font-size:1rem;font-weight:600}.modern-upload .photo-rotation{display:grid;gap:.75rem}.modern-upload .rotation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem}.modern-upload .photo-preview-frame{position:relative;width:100%;max-width:22.5rem;height:30rem;overflow:hidden;border:.0625rem solid var(--border-color);border-radius:.5rem;cursor:pointer}.modern-upload .photo-preview-frame,.modern-upload .photo-upload-loading{display:flex;align-items:center;justify-content:center;background:var(--section-bg);box-sizing:border-box}.modern-upload .photo-upload-loading{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;gap:.75rem;padding:1rem;color:var(--text-color);text-align:center}.modern-upload .photo-preview-frame.photo-drag-over,.modern-upload .photo-preview-frame:focus{outline:.125rem solid var(--accent-color,var(--text-color));outline-offset:.125rem}.modern-upload #photo-drop-prompt{padding:1rem;text-align:center;line-height:1.6}@media (max-width:48rem){.modern-upload .photo-drag-hint{display:none}}.modern-upload .photo-selfie-choice{margin:3.2rem auto 0}.modern-upload .photo-selfie-control{display:flex;margin:.75rem auto 0}.modern-upload #photo-camera-preview{display:block;width:100%;max-height:55vh;object-fit:contain}.modern-upload #photo-camera-dialog .dialog-buttons{flex-wrap:wrap}.modern-upload #approved-photo{display:block;width:13.5rem;max-width:100%;max-height:40vh;margin:0 auto;object-fit:contain}.modern-upload .photo-preview{display:block;max-width:100%;max-height:100%;object-fit:contain;transition:transform .2s ease}.modern-upload .rotation-90 .photo-preview,.modern-upload .rotation-270 .photo-preview{max-width:16rem;max-height:22rem}.modern-upload .rotation-90 .photo-preview{transform:rotate(90deg)}.modern-upload .rotation-180 .photo-preview{transform:rotate(180deg)}.modern-upload .rotation-270 .photo-preview{transform:rotate(270deg)}.modern-upload .upload-action:not(.btn-blue):not(.btn-gray){display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:.75rem;padding:.625rem 1rem;border:.125rem solid var(--border-color);border-radius:.5rem;color:var(--text-color);background:var(--container-bg);font:inherit;cursor:pointer}.modern-upload .upload-action.btn-blue,.modern-upload .upload-action.btn-gray{justify-self:end;max-width:100%}.modern-upload #photo-check:disabled,.modern-upload .upload-action:disabled{cursor:not-allowed;opacity:.6}.modern-upload .photo-icon-action{color:#333;background:ivory}.modern-upload .photo-icon-action span{display:none}.modern-upload .photo-check-hint{color:var(--text-color);line-height:1.6}.modern-upload .photo-check-result .pass{color:var(--success-color)}.modern-upload .photo-check-result .error,.modern-upload .photo-check-result .fail{color:var(--error-color)}.modern-upload .photo-check-result .preview{display:block;max-width:22.5rem;max-height:30rem;margin-top:1rem;border:.0625rem solid var(--border-color)}.modern-upload [hidden]{display:none}.modern-upload .photo-review-images{display:flex;flex-wrap:wrap;gap:1rem}.modern-upload .photo-review-images figure{margin:0 0 1rem;max-width:100%}.modern-upload .photo-review-images img{display:block;width:13.5rem;max-width:100%;margin-top:.5rem}.modern-upload .photo-review-reply{white-space:pre-wrap}.modern-upload .site-ban-dialog{width:fit-content;max-width:min(44rem,94vw);max-height:94vh;overflow:auto;box-sizing:border-box}.modern-upload .site-ban-dialog .dialog-content{text-align:left}.modern-upload .site-ban-dialog h1{font-size:1.125rem;line-height:1.5;overflow-wrap:break-word}.modern-upload .site-ban-photo{display:block;width:auto;height:auto;max-width:100%;max-height:15rem;margin:0 auto 1rem;object-fit:contain}.modern-upload .photo-review-errors{white-space:pre-wrap;word-wrap:break-word}.modern-upload #photo-retry{white-space:normal;text-align:center}.modern-upload .photo-review-images .photo-review-original{max-height:18rem;object-fit:contain;object-position:top left}