.image-picker{min-width:0}.image-file-label{flex-direction:column;gap:10px;font-size:13px;display:flex}.image-file-label>span{align-items:center;gap:8px;display:flex}.image-file-label input{width:100%;min-width:0;min-height:44px;padding:8px;font-size:12px}.image-file-label input::file-selector-button{border:1px solid var(--border);background:var(--panel);min-height:30px;color:inherit;cursor:pointer;border-radius:4px;margin-right:8px}.image-picker .field-help{line-height:1.8}.image-preview{flex-direction:column;align-items:flex-start;gap:12px;margin-top:12px;display:flex}.image-preview img{object-fit:contain;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:240px;max-width:100%;max-height:160px;display:block}.image-picker.avatar-picker .image-preview img{object-fit:cover;border-radius:50%;width:96px;height:96px}.media-editor{border-top:1px solid var(--border);min-width:0;margin-top:20px;padding-top:20px}.media-editor h2{margin:0 0 16px;font-size:16px}.media-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.media-editor .notice{margin:12px 0 0}.market-cover{object-fit:cover;border-radius:6px;flex-shrink:0;width:72px;height:56px;display:block}.detail-heading .market-cover{float:right;width:112px;height:78px;margin:0 0 14px 18px}.portfolio-profile{align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.portfolio-profile>.avatar{width:64px;height:64px;font-size:24px}.portfolio-profile .media-editor{border:0;flex:1;margin:0;padding:0}.nav-avatar{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.nav-avatar .avatar{width:30px;height:30px;font-size:12px}.detail-creator{align-items:center;gap:7px;display:inline-flex}.detail-creator .avatar{width:26px;height:26px;font-size:11px}.created-cover-result{background:#19243a;border:1px solid #475b83;border-radius:8px;padding:18px;scroll-margin-top:20px}.created-cover-result p{line-height:1.8}.created-cover-result>div{flex-wrap:wrap;gap:12px;display:flex}.create-cover-picker{border-top:1px solid var(--border);padding-top:16px}@media (width<=540px){.portfolio-profile{gap:12px}.portfolio-profile>.avatar{width:44px;height:44px;font-size:18px}.detail-heading .market-cover{width:80px;height:60px}.media-actions .button{flex:1}.created-cover-result>div>*{justify-content:center;width:100%}}.image-filename{color:var(--muted);overflow-wrap:anywhere;max-width:100%;font-size:12px}.media-control{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.avatar-control{margin:0}.media-current-avatar>img,.media-current-avatar>.avatar{object-fit:cover;border-radius:50%;width:56px;height:56px}.media-modal-backdrop{z-index:100;background:#000000a6;position:fixed;inset:0}.media-modal{box-sizing:border-box;z-index:101;overscroll-behavior:contain;border:1px solid var(--border);background:var(--panel);width:min(480px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);border-radius:16px;padding:24px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 24px 80px #00000073}.media-modal-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.media-modal-heading h2{margin:0;font-size:20px}.media-modal-description{color:var(--muted);margin:8px 0 20px;font-size:13px;line-height:1.7}.media-modal-preview{border:1px dashed var(--border);background:var(--surface);min-height:180px;color:var(--muted);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:12px;margin-bottom:16px;display:flex;overflow:hidden}.media-modal-preview>img{object-fit:contain;width:100%;height:220px;display:block}.media-modal-preview.avatar>img,.media-modal-preview.avatar>.avatar{object-fit:cover;border-radius:50%;width:112px;height:112px}.media-modal .media-remove{color:var(--muted);min-height:44px;margin-top:12px}.media-modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:10px;margin-top:24px;padding-top:16px;display:flex}.media-modal .notice{overflow-wrap:anywhere}.media-modal .icon-button{flex:none;min-width:44px;min-height:44px}@media (width<=540px){.media-modal{padding:18px}.media-modal-footer>.button{flex:1}.media-modal-preview>img{height:180px}}.detail-creator>a{overflow-wrap:anywhere;min-width:0}.detail-creator>.creator-suffix{white-space:nowrap;flex-shrink:0}.image-picker input[hidden]{display:none}.image-picker .field-help{margin:0;font-size:12px;line-height:1.6}.image-picker .image-filename{margin:8px 0 0;line-height:1.5}.image-picker .media-actions{align-items:center}.media-editor-content{flex:1;min-width:0}.media-editor h2{margin-bottom:6px}.avatar-editor{align-items:flex-start;gap:20px;display:flex}.avatar-editor-preview{flex-direction:column;flex:none;align-items:center;gap:8px;display:flex}.avatar-editor-preview>img,.avatar-editor-preview>.avatar{object-fit:cover;border:1px solid var(--border);border-radius:50%;width:72px;height:72px;font-size:26px}.avatar-editor-preview>span{color:var(--muted);font-size:11px}.avatar-editor .media-actions{gap:8px;margin-top:12px}.avatar-editor .media-actions .button{flex:none;min-height:36px;padding:7px 12px;font-size:12px}@media (width<=540px){.avatar-editor{gap:14px}.avatar-editor-preview>img,.avatar-editor-preview>.avatar{width:52px;height:52px;font-size:20px}.avatar-editor .media-actions{gap:6px}.avatar-editor .media-actions .button{min-height:44px;padding:8px 10px}}
